Hello :)

you can test in AS3 the undocumented method : addFrameScript()

Usage : *MovieClip.addFrameScript(frame:uint,notify:Function)*

package
{

    class MyClip extends MovieClip
    {

             public function MyClip()
             {
                    this.addFrameScript( this.totalFrames, this.stop) ; //
not tested !
             }


    }

}

Article about this method :
http://www.flashguru.co.uk/undocumented-actionscript-3/
An example of use :
http://jeanphiblog.media-box.net/dotclear/index.php?2006/11/24/230-flash-9-addframescript-fonction-non-documentee

EKA+ :)

2007/6/24, Mark Badger <[EMAIL PROTECTED]>:

Hi,
I'm re-writing a beginning Flash class for designers. I used Movie Clips
so that they would just adjust to using movie clips for interactivity as
they move on to more complex topics. Graphic symbols vs. Movie Clips
would just confuse students and added a layer of confusion that made
life harder.

Now in AS 3 I can't add stops to the first frame of the movie clip. No
big deal, but then I can't add stops to the last frame of a Movie Clip
either. Is the only way to stop a Movie Clip from looping is to check
if  the last frame been reached and then stop it? This seems like an
overwhelming amount of thought for a newbie to grasp. And certainly puts
this poor teacher in tears trying to explain a conditional in the second
class of Flash.

Mark Badger


_______________________________________________
[email protected]
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

_______________________________________________
[email protected]
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