-
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
-
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
If that's the player SDK, then try using FindTarget().
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);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|