[flashpro] flying!

Kaan Kaner kaan at d0bermann.com
Wed May 18 13:13:30 EDT 2005


onClipEvent(enterFrame){
    if (myCondition<100){
       // do stuff
          myCondition++
    }
}

as far as i know, stop command only works for the timeline.


Toby Pratt - Elsey Adcock Associates wrote:

>speaking of which...
>
>	Here's something...
>
>onClipEvent(enterFrame){
>	//Do stuff
>	if(myCondition==100){
>		stop();
>	}else{
>		myCondition = myCondition +1;
>	}
>
>or something like that - Problem is, the stop(); command doesn't work, the
>line is reached, but for some reason it doesn't stop the continual iteration
>of the enterFrame.  Is there a way to force the enterFrame thing to stop
>iterating?  Please let me know (P.S.  I know the above code doesn't work as
>is, but the example I'm paraphrasing does, and 100 is indeed reached, but it
>darned well don't stop.)
>
>
>Hints anybody?
>
>Usually I'd do this type of loop on a 2 frame movie clip, but found
>enterFrame more elegant, if I can get it to work...
>
>
>
>
>-----Original Message-----
>From: flashpro-bounces at muinar.org [mailto:flashpro-bounces at muinar.org]On
>Behalf Of John Holland
>Sent: 18 May 2005 17:46
>To: 'Mailing list for professional Flash designers and developers'
>Subject: RE: [flashpro] flying!
>
>
>That was a fun break.  Thanks
>
>John W. Holland
>Holland Kuhn, Inc.
>Multimedia Design & Development
>900 N. Lake Shore Drive, Suite 1414
>Chicago, Illinois  60611
>
>T:   312.274.0330
>M:  312.593.1554
>
>
>
>-----Original Message-----
>From: flashpro-bounces at muinar.org [mailto:flashpro-bounces at muinar.org] On
>Behalf Of Jason Van Pelt
>Sent: Wednesday, May 18, 2005 11:42 AM
>To: Mailing list for professional Flash designers and developers
>Subject: [flashpro] flying!
>
>The list has been very quiet lately, so I thought you might all enjoy
>this...  http://www.j-ink.com/flying/
>
>Have fun
>j.vanpelt
>------------------------------------------------------------------
>send message to the list:               mailto:flashpro at muinar.org
>[FlashPro] list info, subscribe, archive:   http://flash-list.com/
>There's also a WebPro mailing list:     http://webdesign-list.com/
>cutting-edge sounds for flash:            http://flash-sounds.com/
>
>
>------------------------------------------------------------------
>send message to the list:               mailto:flashpro at muinar.org
>[FlashPro] list info, subscribe, archive:   http://flash-list.com/
>There's also a WebPro mailing list:     http://webdesign-list.com/
>cutting-edge sounds for flash:            http://flash-sounds.com/
>
>------------------------------------------------------------------
>send message to the list:               mailto:flashpro at muinar.org
>[FlashPro] list info, subscribe, archive:   http://flash-list.com/
>There's also a WebPro mailing list:     http://webdesign-list.com/
>cutting-edge sounds for flash:            http://flash-sounds.com/
>
>  
>



More information about the FlashPro mailing list