A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: sorry - i didn't explain the problem right...

  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    38


    the problem is a little more complex than it maybe sounded -
    i have a navigation with 5 items and a wipe in and a wipe out animation. the wipe animation scene contains 2 labels ("wipe in" and "wipe out") at the end of the wipe in animation i have a stop script. if the user clicks on one of the navigation items i want the "wipe out" animation to play and after finishing i want to play one of the five other scenes (correspnding to the navigation items) and play.

    that means the wipe out animation should play in any case after the user selected a navigation item - but i can't put a script at the end of that animation, because i don't know which item the user clicked.

    thanks a lot!!!

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    put a variable at the end of your wipe out anim. like _root.animation = "done" then in you clips put if (_root.animation = "done") {
    gotoAndPlay ("start");
    } else {
    gotoAndStop (1);}
    see?
    gparis

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    38


    thank you so much - i just learned quite a bit!!!!!!!



    Originally posted by gparis
    put a variable at the end of your wipe out anim. like _root.animation = "done" then in you clips put if (_root.animation = "done") {
    gotoAndPlay ("start");
    } else {
    gotoAndStop (1);}
    see?
    gparis

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