simple in menu
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: simple in menu

  1. #1
    Junior Member
    Join Date
    Dec 2000
    Posts
    8
    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

  2. #2
    Junior Member
    Join Date
    Aug 2000
    Posts
    13
    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
  •  




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com