Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: Flash, Infinite loop!
From: Aaron Cushing
Date: Wed, 5 Aug 1998 19:51:34 +0100


You're telling it to go to and play frame 1 when it's already there. Can't
play frame 1 when frame 1 is the frame that's already playing. No wonder
it's hanging your machine (kinda like asking it to divide by zero).
Sounds like you want to check if frame 20 is loaded, if it is, go to it, if
it's not, keep loading it and wait where you are, right?

how about:
if frame 20 loaded
go to frame 20
else go to frame 1
end if

This will keep you in frame 1 until frame 20 is loaded, then you can do or
go wherever you want. You should also probably have an action to actually
load frame 20, otherwise it might NEVER get there.
This isn't a bug, it's just a mixup on your part. I KNOW what that's like!
You should be able to open the Flash file and take that action out, or
change it, or whatever. Make sure you're opening the .FLA, not the .SWF


Aaron


=======================================
Aaron Cushing, New Media Engineer
Crescent Studios: "We Deliver"
http://www.c-studios.com
=======================================

----------
PontoCom wrote:

>Hi, I'm new with flash (or any other macromedia product) but I've
done a few
>tests and found a few bugs. To where can I send them?
>
>Altought the bugs aren't serious there was one little problem that
put my
>morning work completly unusable!
>
>I created a frame 1 with the following actions:
>
> - if frame 20 loaded
> - play frame 1
> - end if
> - goto frame 1
>
> (I know that this isn't the actual code, but you can get an
idea, right?)
>
>This crashes consumes 100% cpu time! and there is no way to
retreive my work
>now! Can someone help me? Can I edit the source format to remove
the last
>"goto frame 1" action? I can't edit it on flash because it parses
the file
>before letting me edit it, so it reaches the 100% cpu time before
I even see
>the edit window!
>
>Please advise.
>
>Thanx.
>
>Rui Ribeiro
>Pontocom, Lda
>

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: Flash, Infinite loop!, Marc Hoffman

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]