;

PDA

Click to See Complete Forum and Search --> : Calling specific frames of a movie from outside the movie?


Archbob
11-14-2007, 01:34 AM
Hi,
I need some help with with calling specific frames in flash from outside of flash.

This example: http://www.permadi.com/tutorial/flashjscommand/

shows me how to play and rewind, but lets say if I want to jump from step 1 to step 10 without hitting play 10 times, is there a function that does that?

whispers
11-14-2007, 01:47 AM
I didnt look at the link..but using ExternalInterface lets you register a function (for example javaScript in the html page that is holding the .swf) that can be called from with-in flash..

You can also do the opposite and register a function inside flash that can be called from outside of it..

Archbob
11-14-2007, 02:07 AM
I don't have any references or tutorials, anyone know the code for it?

whispers
11-14-2007, 08:31 AM
in Flash, hit [F1] and search for ExternalInterface or ExternalInterface.call

or google it.. or search her even.. its been covered countless times.