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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apply same action to multiple frames?

Status
Not open for further replies.

propshop

Technical User
Aug 16, 2002
9
US
I have many keyframes in the same layer that I want to apply the same frame action to ("stop"). Is there a shortcut to applying an action to all of them at once instead of one frame at a time?

Same question for symbols I have in each frame - each frame has a different symbol but I want each one to have the same action command (advance to next frame on keystroke)

Thanks!
Julie
 
You are out of luck on the stop() action. But you can declare a _global function for advancing to the next frame on keystroke.

Code:
_global.keyHit = function(){
   nextFrame();
}

Then on your button(s) you would add:

Code:
on(release){
   _global.keyHit;
}

Hope it helps.

Wow JT that almost looked like you knew what you were doing!
 
Thank you for your reply. I'll give it a shot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top