Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rewind an instance

Status
Not open for further replies.

firegambler

Technical User
Sep 25, 2002
455
AT
hi out there,

what troubles me today is the following:

i want do create a menu-bar that moves like a marquee to the left when i press the "left" button ond that moves to the right when i press the "right" button.

the menu is a symbol that does the moving from the right to the left via tweening (instance-name: menueleiste)

moving the bar to the left with the button and stopping the menu on rollout doesn't troube me,
but i cant manage to move the menu to the right again (so to say against the direction of the tweening)

to handle that i got the tip to do the following:
i tried to make an extra symbol containing 3 keyframes:
1st one: stop ();
2nd one: menueleiste.prevFrame();
3rd one: gotoAndPlay (2);

then by putting a button on the main-film i wanted to start this "rewinder" (name of the symbol and instance that should cause the rewinding: richtungrechts)

on (press) {
richtungrechts.play();
}
on (release) {
richtungrechts.stop();
}

well, that just didn't work.

PLEASE any suggestions?!

yours

Firegambler

PS: you can find the swf-file on
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top