flashcoders,你好
    you can set like this:

var flag=0;
onEnterFrame=function()
{
    if(flag==1)
    {
    
    }
    else if(flag!=1)
    {

    }
}

I think this can do you want things!

[EMAIL PROTECTED]
2007-05-08 
----- Original Message ----- 
From: Count Schemula 
To: flashcoders list 
Sent: 2007-05-08, 12:52:24
Subject: [Flashcoders] pause an onEnterFrame?


Is there anyway to pause an onEnterFrame event?

Right now I delete the onEnterFrame when an onRollOver event occurs,
and reinitialize it when an onRollOut event occurs, but that causes
all of my motion variables to get re-initiated, and thus makes the
motion go through a huge jump.

Is there a way to pause, and resume an onEnterFrame?

Thanks.

-- 
count_schemula
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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