A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: poiting to a frame(/label) on Director's stage

  1. #1
    Junior Member
    Join Date
    Nov 2002
    Location
    Finland
    Posts
    12

    pointing to a frame(/label) on Director's stage

    Hello !

    Is it possible from Flash to point to some certain frame/label on Director's stage?

    For example, i have some small flash movie clip with few buttons. I import it into Director and place it on a stage.
    Then when play the scene, i can click on one button and the playhead will jump to some certain label on Director's stage.
    Last edited by tariel; 01-31-2003 at 05:10 PM.

  2. #2
    Member
    Join Date
    Jan 2003
    Posts
    60

    hmm

    I believe you could only control the root timeline of whatever SWF your actionscript buttons are in, and not the score in Director. However, you can simply just make a cast member of your button, make it a sprite on stage and add a simple script to the cast member...

    something like...

    on mouseUp
    go to frame/label
    end

    is the same as

    myButton.onRelease = function () {
    _root.gotoAndPlay(whatever);
    };

    edit:

    whoops... or you could use getURL in actionscript...

    getURL("lingo: go to frame \"whatever\"");
    Last edited by dotsyntaxJunkie; 01-31-2003 at 07:12 PM.

  3. #3
    Junior Member
    Join Date
    Nov 2002
    Location
    Finland
    Posts
    12
    Alright, thank you for your reply. Perhaps, i'll stick to flash cast members.

    getURL("lingo: go to frame \"whatever\"");
    - this is an interesting way.

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