Re: [Flashcoders] Using Listeners to instantiate onEnterFrame

2005-11-22 Thread Hans Wichman
Hi, in your example i think it would have to be: public function handlePressedUP(){ this.onEnterFrame = function () { theBall._y -= 5; // Move ball by 5 px. } } greetz Hans At 06:56 PM 11/22/2005, Steven Loe wrote:

Re: [Flashcoders] Using Listeners to instantiate onEnterFrame SOLVED

2005-11-22 Thread JOR
If you didn't want to hard code the paths you could do this: public function handlePressedUP(){ theBall.onEnterFrame = function () { _y -= 5; // Move ball by 5 px. } } JOR ___ === James O'Reilly === === SynergyMedia, Inc. ===