for this part:

                        newClip.onEnterFrame = function():Void {
                                newClip._y -= riseSpeed;
                        };


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;
                        };



On Apr 24, 2006, at 4:24 PM, Mendelsohn, Michael wrote:

                        newClip.onEnterFrame = function():Void {
                                newClip._y -= 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

Reply via email to