PDA

View Full Version : Javascript in Flash 4, help me


daemoniacus
02-04-2001, 06:31 AM
How do I call a javascript function in flash 4? What I want to do is call up an earthquake effect in flash 4. Thanks in advance to anyone that posts.

Jesse
02-04-2001, 09:55 AM
To call javascripts you uuse GetURL and the function name something like:

GetURL ("javascript:functionName('proprties')")

That's freehand Flash 4 code, so it's prolly not right but you get what I mean.

Also see the tutorial on what you're trying to do:

http://www.flashkit.com/tutorials/Special_Effects/Shaking_-Mark_Fen-7/index.shtml

Cheers

Jesse

daemoniacus
02-04-2001, 10:09 PM
you are my savior. Check out these other flash I did.
http://punk0690.hypermart.net it has sound as well.