A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: [F8]AS2 bttns/timeline question

Hybrid View

  1. #1
    Member
    Join Date
    Mar 2006
    Posts
    48

    [F8]AS2 bttns/timeline question

    hello guys, I have 3 buttons in my timeline. each 3 of them will use the same transition after clicked and then, they will split up going to different frames on the timeline. How with AS2 can I tell each bttn to go to its own frame after reproduced the transition?

    so the 3 of them will have let me say, gotoandplay (either frame name or number, but is the same for the 3) and after that, each of them will need to go elsewhere

    how can I do that?

  2. #2
    Member
    Join Date
    Mar 2006
    Posts
    48
    help? anyone?

  3. #3
    trace("AKA: Biro Barna");
    Join Date
    Oct 2007
    Location
    RO.Timişoara
    Posts
    1,403
    By simply using another gotoAndPlay("frameName"); at the end of your transition code. Dispatch an event once the transition is finished telling a listener to "gotoAndPlay();" whatever you want...



    | Windows MSN: birobarna [at] hotmail [dot] com | Skype: barna.biro |
    WebLog: http://blog.wisebisoft.com/ |
    | Software Developer / Flash & Flex Developer | Student ( Computer Science ) | Interested in: Sharing Knowledge |
    |
    Romanian Adobe Flash, Flex, AIR Forum: http://www.flashforum.ro/
    | By perseverance the snail reached the ark. |


  4. #4
    Member
    Join Date
    Mar 2006
    Posts
    48
    thank you, do I have to create a "listener" in as or just leave the gotoandplay before the frame?

    like this

    on release gotoandplay (35)
    gotoanplay (next frame)


    ????

    thank you in advance

  5. #5
    trace("AKA: Biro Barna");
    Join Date
    Oct 2007
    Location
    RO.Timişoara
    Posts
    1,403
    I have no idea how you organized the whole thing.
    I can't answer that question.



    | Windows MSN: birobarna [at] hotmail [dot] com | Skype: barna.biro |
    WebLog: http://blog.wisebisoft.com/ |
    | Software Developer / Flash & Flex Developer | Student ( Computer Science ) | Interested in: Sharing Knowledge |
    |
    Romanian Adobe Flash, Flex, AIR Forum: http://www.flashforum.ro/
    | By perseverance the snail reached the ark. |


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