i have a flash movie with 2 frames.
and i would like to call an external javasscript function on frame action.
to call it from a button i can use:
on (release) {
getURL("javascript:OpenMe();");
}
but i don’t know ho to do it on frame action, maybe on frame load…
any ideas?
Thanks
You can add code directly to a keyframe on the timeline. On your keyframe just put:
That said, this is not the recommended way to call JavaScript from Flash. You should be using the ExternalInterface class. The same call with ExternalInterface would look like this: