That worked perfectly. Thanks, Geoff.
- MM
you should set riseSpeed inside the newClip, and then apply the
onenterframe to the clip's _y, like this:
newClip.riseSpeed = ((0.03 * hitherYon) - 1.5);
newClip.onEnterFrame = function():Void {
this._y -= this.riseSpeed;
};
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com