Does anybody know how a button that's placed in a movie can target an other movie/button outside it's own movie, using the Flash SDK??
thanks
Printable View
Does anybody know how a button that's placed in a movie can target an other movie/button outside it's own movie, using the Flash SDK??
thanks
If that's the player SDK, then try using FindTarget().Quote:
Originally posted by jaidi
Does anybody know how a button that's placed in a movie can target an other movie/button outside it's own movie, using the Flash SDK??
thanks
Its a function of the SPlayer class. (or NativePlayerWnd as well).
It returns the thread of a movie or object, so that you can tell the movie / object what to do.
An example would be :
NativePlayerWnd *FlashWin;
ScriptThread *target = flashWin->FindTarget(flashWin->player.rootObject, "mybutton");
target->Seek(framenum);
target->Play(false);