Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

possibly a bit of a no-brainer

Status
Not open for further replies.

rolan18

Programmer
May 11, 2006
26
CA
I'm creating a video clip of a ball that moves, and I'm doing this all with actionscript.(except for the creation of the objects)

Essentially, I'm trying to pause my animation in my actionscript file by calling this function:

function stopMoving():Void {
this.targetMC.onEnterFrame = null;
}

this function has worked in my other programs, but for some reason it will not work with this one.

I'll also post these two examples of calls
1. (works):

_root.ball.startMoving();

2.(doesn't work)
(also, it is just using a different movie clip)

_root.particle.stopMoving();

I'm not understanding why both calls don't work the same...

any ideas?

thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top