Home
> FlashEff 2.0
> Topic
Show / Delay Problems
Posted by chrisrushingTW
Show / Delay Problems August 26, 2010 09:09PM | Registered: 13 years ago Posts: 15 |
I have my animations activated in actionscript to myeffect.show(); and hide(); within a function.
I'm using the panel for all my animation tweaking.
2 issues...
1. Is there anyway I can set delays to them in this manner, in the action script?
2. When I go to a fire a function that has myeffect.hide(); in it... when "myeffect" is already hidden (and suppose to be hidden) it automatically plays the hide effect. In other words... I need myeffect.hide(); to ONLY work if "myeffect" is visible. There is no need to play the effect if its already invisible.
I'm using the panel for all my animation tweaking.
2 issues...
1. Is there anyway I can set delays to them in this manner, in the action script?
2. When I go to a fire a function that has myeffect.hide(); in it... when "myeffect" is already hidden (and suppose to be hidden) it automatically plays the hide effect. In other words... I need myeffect.hide(); to ONLY work if "myeffect" is visible. There is no need to play the effect if its already invisible.
Re: Show / Delay Problems August 26, 2010 09:30PM | Registered: 13 years ago Posts: 15 |
Re: Show / Delay Problems August 27, 2010 02:06PM | Registered: 13 years ago Posts: 15 |
Sort of got a start on the issue.
My flash file goes forward and backwards though an array of functions with the arrow keys (left, right).
Basically if i'm going back and a specific mc is already hidden... then i don't need it to animate the hide animation.
But i can't find the best way to code this... nor get it to work even slightly.
If there is another parameter i should set this by... like with "if last slide == 2 , then do this... if last slide == 0 then do this."
Any help is appreciated.
Edited 1 time(s). Last edit at 08/27/2010 02:07PM by chrisrushingTW.
My flash file goes forward and backwards though an array of functions with the arrow keys (left, right).
Basically if i'm going back and a specific mc is already hidden... then i don't need it to animate the hide animation.
if (p.t_o1a.targetVisibility == true) { p.t_o1a.hide(); p.t_o2a.hide(); p.t_o3a.hide(); p.t_o4a.hide(); } else { }
But i can't find the best way to code this... nor get it to work even slightly.
If there is another parameter i should set this by... like with "if last slide == 2 , then do this... if last slide == 0 then do this."
Any help is appreciated.
Edited 1 time(s). Last edit at 08/27/2010 02:07PM by chrisrushingTW.
Re: Show / Delay Problems August 30, 2010 01:32PM | Admin Registered: 15 years ago Posts: 547 |
Re: Show / Delay Problems August 30, 2010 05:06PM | Registered: 13 years ago Posts: 15 |
Sorry, you do not have permission to post/reply in this forum.