This content has been marked as final. Show 4 replies
When you refresh the web page that houses shockwave content, it should
start the whole shockwave program over again from the beginning. I
can't say why yours isn't, but what you can do to deal with it is find
the place where it crashes. The first repeat loop that uses the list
that gets blanked out. Check to see if the list exists, and if it is
void. If it is void, then run whatever code needs to be run to rebuild
the list. Then it should work fine.
Thanks for your reply. Rebuilding the list is exactly what I am doing right now, although I don't find it a particular nice solution. I did found the exact place where the program crashes. I am putting the count of the list in a variable. This is exactly the point where it crashes. However, only a line before this i put the list to the message window without any problems... and it only happens after a refresh (all kinds of browers btw). I did got it working online, but I am quite curious on how this could happen in the first place. Is it a director bug, memory issue?
A small update on this.
Even rebuilding the list directly before the repeat loop sometimes causes issues. Currently, about 1 out of 10 times the bug, as stated in my original post, occurs. It is so weird that this happens and I cannot explain it. Thankfully it doesnt occur all the time anymore... so it's at least a step in the right direction :)
"PpHammer" <firstname.lastname@example.org> wrote in message
> Hi guys,
> I am currenlty facing one of the weirdest bugs i've ever encountered. I am
> working on an online project and to sum it up without going into to much
> detail: it has 3d member, seperate textures, etc. It also contains text
> with information (psuedo code) on how to build the 3d members with
> textures and
> all. At the beginning of the movie a property list is created with all
> info. During the program this list is used to build stuff when necessary.
> program has a main movie and 2 external castfiles. Everyhting works
> offline. Online however...
> Everything is preloaded correctly (the external casts as well) and runs as
> should only ONCE. When refreshing the webpage the program crashes. After a
> of debugging a found out a extremely strange bug (for me that is ;) ).
> the message window with the online version I noticed that always at the
> point (after the refresh) in the code the list is suddenly gone. I am not
> sure if it is void or just empty. I am very sure the list cannot be
> cleared by
> any other code,.. it just seems gone. Crashing the program immediately on
> first repeat loop it encounters (the repeat loop is setup correctly btw).
> everyhting works perfectly offline...
> A the moment I've tried everything I could think of. Even deconstructing
> program to it's most simple form without any luck
> Anybody recognizes this problem? Any tips/tricks?
what is the exact code you are using?