Calling: isDebugSWF = new Error().getStackTrace().search(/:[0-9]+]$/m) > -1;
was preventing my swf from loading in the release version of the Flash Player (worked fine in the debug version). I had this code in the constructor of one of my classes. thanks On Mon, May 10, 2010 at 12:26 PM, Alex Harui <aha...@adobe.com> wrote: > > > Sounds like there is an exception being thrown when running in the release > player. The release player just eats exceptions and stops running code > until the next frame. If code that would run later sets up code to run in > the next frame, then that code won’t run. > > There could be a timing dependency if you are loading CSS modules and > depending on the styles at startup. There could be a stage-size dependency > where the SWF instance doesn’t have its final size until a bit later than > you might expect. That can cause some math to go negative and generate an > exception. > > During startup, almost everything is run from callLater as we validate > components. I would set UIComponentGlobals.catchCallLaterExceptions=true > and listen for “callLaterError” events on the systemManager and if you get > one, addChild a TextField to the SystemManager and display the error. > > > > On 5/9/10 11:50 PM, "dorkiedorkfromdorkt...@gmail.com" < > dorkiedorkfromdorkt...@gmail.com> wrote: > > > > > > > On some machines our app appears to only load when using the debug player: > > Does not finish loading: > Manufacturer: Adobe Windows > Flash Player: WIN 10,1,53,38 > Flash Player Debugger: false > Operating System: Windows XP > Language: en > CPU Architecture: x86 > Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) > Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729) > > Works: > Manufacturer: Adobe Windows > Flash Player: WIN 10,1,53,38 > Flash Player Debugger: true > Operating System: Windows XP > Language: en > CPU Architecture: x86 > Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) > Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729) > > > On Mon, May 10, 2010 at 1:26 AM, dorkie dork from dorktown < > dorkiedorkfromdorkt...@gmail.com> wrote: > > Shouldn't the playerglobal.swc tell me if I'm using api's that require 10.1 > when I set the required Flash Player version to 10.0.0 in the Flex Compiler > project options? > > On some machines we can load our site and in others it is stalling about a > quarter of the way through the second preloader progress bar. > > On Sun, May 9, 2010 at 11:38 PM, Alex Harui <aha...@adobe.com> wrote: > > > > > > > Are you using the official Flex 4 release build or some nightly build? > > TLF and the Flex SWCs should have no requirements on 10.1. They will use > 10.1 APIs if they exist though. But if your code is trying to do 10.1 > things like recycle textlines or set up a global error handler you could run > into trouble. > > > > On 5/9/10 9:44 AM, "dorkiedorkfromdorkt...@gmail.com < > http://dorkiedorkfromdorkt...@gmail.com> " < > dorkiedorkfromdorkt...@gmail.com <http://dorkiedorkfromdorkt...@gmail.com> > > wrote: > > > > > > > How would I be able to determine that? Is TLF one of them? > > On Sun, May 9, 2010 at 2:16 AM, Alex Harui <aha...@adobe.com < > http://aha...@adobe.com> > wrote: > > > > > > > No, 10.1 is not required, but if you setup your SWF to require 10.1 APIs > your SWF may not run on 10.0. > > > > On 5/8/10 11:36 PM, "dorkiedorkfromdorkt...@gmail.com < > http://dorkiedorkfromdorkt...@gmail.com> < > http://dorkiedorkfromdorkt...@gmail.com> " < > dorkiedorkfromdorkt...@gmail.com <http://dorkiedorkfromdorkt...@gmail.com> > <http://dorkiedorkfromdorkt...@gmail.com> > wrote: > > > > > > > I'm using Flash Player 10,0,45,2 and the project is not loading > completely. Does Flex 4 SDK require FP 10.1? It loads fine if I use > that version. > > JP > > > > > > -- > Alex Harui > Flex SDK Team > Adobe System, Inc. > http://blogs.adobe.com/aharui > >