View comments | RSS feed

stop()

Availability

Flash 2.

Usage

stop()

Parameters

None.

Returns

Nothing.

Description

Function; stops the SWF file that is currently playing. The most common use of this action is to control movie clips with buttons.

See also

gotoAndStop(), MovieClip.gotoAndStop()

Comments


webweber@bluewin.ch said on Aug 23, 2004 at 2:41 AM :
You can also use Stop(); or stoP(); or STOP()...

To save the designers from running into case sensitivity issues with simple stop actions, the good folks at MM seem to have implemented a toLowerCase() mechanism in the compiler .
With the interesting result that a developer publishing for Player 7+ and relying on general case-sensitivity rules will have a problem when doing

STOP();

// will never be called...
function STOP(){
trace('STOP is called');
}

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/mx2004/main_7_2/00001702.html