-
[CS3] Glitch in flash? or in my scripting?
I have created a simple animation for colored bars to expand and retract on rollout, but while testing it out, I found the that bars would sometimes stick when they reached their max height.
Please let me know if you can see anything that can fix this problem
Thank you!!
Here is the swf: www.eventstyle.com/phase1_080519.swf
Here is the actionscript that I have written:
diver_mc.onRollOut = comp_mc.onRollOut = influ_mc.onRollOut = intim_mc.onRollOut = stim_mc.onRollOut = body_mc.onRollOut = chem_mc.onRollOut=space_mc.onRollOut=function () {
this.onEnterFrame = function() {
if (this._height<=365) {
this._height += 20;
if (this._height==371) {
this.onEnterFrame = function(){
if(this._height >= 11){
this._height -= 20;
if (this._height<= 11){
delete this.onEnterFrame;
}
}
}
}
};
};
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|