Urgent! - pauseClip function 2004-02-23 - By Merrill, Jason
Back Need help ASAP with a function that pauses the timline for a specified period of time. Had this working once, not working anymore...
Here is my script on _level0:
pauseClip = function(thisClip, thisPause, startTime){ trace("pauseClip function called"); thisPause = (thisPause*1000)+startTime; this.onEnterFrame = function(){ thisTime = _level0.getTimer(); if (thisTime < thisPause){ thisClip.stop(); } else { thisClip.play(); delete this.onEnterFrame } } }
And then I call it from a clip timeline higher up like this:
_level0.pauseClip(this, 2, getTimer());
Right now, the timeline simply stops when the function is called. I know its getting called because a trace verifies it. Thanks for any help! Have a massive deadline to meet by tonight.
Jason Merrill ICF Consulting Government e-Learning Solutions icfconsulting.com
NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) For additional commands, e-mail: flashnewbie-help@(protected)
|
|