Thanks Ray The game actually crashes now the first time it is played. I am still trying to narrow down the problem. Game works fine as a standalone swf but when loaded into the container movie, the game crashes if the user types into the input field. In fact all it takes is to click on the input field and give it focus.
The container movie has various shared movie assets such as buttons. If I strip all the shared movie assets out of the container movie, the game does not crash. However there are no scripts in these shared movie assets, they are simply graphics. It all seems bizarre! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Omar Fouad Sent: 22 March 2007 23:15 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash crashing dilemna - when adding an input textfield be sure you are resetting the initial settings when the game restarts, if not probabily the application will RELOAD things that makes it unstable On 3/22/07, Ray Chuan <[EMAIL PROTECTED]> wrote: > > Hi, > > there's no code to work with here, but i would guess it's a > recursive/infinite loop problem. > > Are there any handlers hooked up to that particular text field? > > On 3/22/07, Paul Steven <[EMAIL PROTECTED]> wrote: > > I have a really weird "bug" going on in a game I am making. Game is > > developed in Flash 8 PC. (Published Flash 8 Actionscript 2) > > > > My game was crashing the second time I played it so I have spent the > last > > day and a half tracking down the cause. > > > > I have narrowed it down to a text input field. This is where the user > enters > > their name if they get a high score. If a user goes to this screen > before > > playing the game a second time, then a few seconds into playing the game > the > > second time, the game hangs with an error saying a script in this movie > is > > causing the flash player to run slow or something to that effect which > > requires me to choose to stop this script. The game often hangs at this > > stage and I have to force quit Flash. > > > > If they do not get a high score they do not go to this frame of the > flash > > movie with the text input field and playing the game a second time does > not > > cause it to crash. > > > > I have tried recreating this text input field, changing the font, > changing > > the instance name but still seems to cause the game to hang on playing > it a > > second time. > > > > If anyone has any idea why this is happening or how I can determine what > > script is causing the error, I would be extremely grateful. > > > > Thanks > > > > Paul > > > > > > > > _______________________________________________ > > Flashcoders@chattyfig.figleaf.com > > 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 > > > > > -- > Cheers, > Ray Chuan > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > 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 > -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. _______________________________________________ Flashcoders@chattyfig.figleaf.com 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 _______________________________________________ Flashcoders@chattyfig.figleaf.com 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