Re: [Flashcoders] Flash White Screen of Death
Hello, yes the JAVA_TOOLS_OPTIONS seems to work when setting its value to 128 or 256. If I understand well, Flash was using a 64M value. Actually, I thank all of you. I will give a try with the Flex aspect of compiling (since the bug is tied to the Flash IDE JVM), and I read yesterday evening on Jobe Makar's blog that the CS4 update (but nothing for CS3) resolves that specific issue. You can't picture how devastated I was on the 31st at 9pm. it smelt like I had lost the last 7 years of experience, my framework was failing silently in Flash. Wow! I mean: WOW! Note to Adobe: Hey, Adobe, one thing is for sure, if you put 'Professional' in the software's name and write thousands of lines about how cool RIAs are, please, please, let your killer app handle such amount of classes, or at least, display some Error/Warning :) I can't imagine that no one ever did some tests with fair big amounts of code :D I can't imagine At least, this proves that no one uses Flash to build RIA, or big applications ;) Cedric Hey Cedric, The Java tools option worked for me.. When i tried the higher mem amounts, it didn't work though.. I had to use -Xmx128M or -Xmx256M .. otherwise flash would complain that it needed a reinstall. See the coments at: http://www.negush.net/blog/5005-unknown-error- optimizing-byte-code/ Goodluck! - Original Message - From: "Cedric Muller" To: "Flash Coders List" Sent: Thursday, January 01, 2009 4:39 PM Subject: [Flashcoders] Flash White Screen of Death Hello, I am facing one of these White screens, and I must admin I am quite lost. The project has more than 100 classes, and works fine if I comment some of the 'imports'. The options / solutions provided in this technote kb.adobe.com/selfservice/viewContent.do? externalId=kb405257&sliceId=1> are ridiculous. SWC ? I cannot, won't. Loading in ? Man, this is something I would prefer not be doing on such project. I tried setting the JAVA_TOOLS_OPTIONS environment variable, but I don't know if this was setup correctly, as setting 512MB does not solve the problem. The latest, and most optimistic solution i have is to use the ASC compiler instead of Flash IDE. It seems the problem would go away. Now, how can I (simply and quickly) compile one AS3 CS3 FLA (only document class in it, with a few symbol exports) with ASC ? if anyone has any info I would be more than thankful Cedric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 3731 (20090101) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash White Screen of Death
Hello Juan! Thanks a lot for this very clear explanation. I will give it a global try. Cedric Maybe you've already tried this or maybe it won't work for you easily (without making many changes), but if the problem is that the IDE can't handle 100 or more classes, you could try a different approach. Let the Flash IDE just compile the graphic part (movieclips, sprites, etc, etc) and use the Flex SDK to compile the classes and build the swf. I think you could remove the document class from your .fla (assuming this is the "main point" that includes references to other classes, which in turn include references to other clasess and so on). That way, you won't be forcing the IDE to compile so many classes. Use the .fla to generate a .swc. It will export all "linked" symbols, so you'll still be able to reference them from Flex Builder, FlashDeveloper or any other IDE that can use the Flex SDK to compile. In your IDE of choice, create a pure AS 3 project, add the swc to your project and replace the Main class that is likely to be created automatically for you when you set the ne project (at least in FlashDevelop) with you current Document Class. If in that class you have references to symbols created on the timeline, you'll have to export those as well and add them by code. Or, maybe you could put all the stuff in the root timeline in a new symbol and just export that one. Then, try to build the project from FD or FB (I don't know if you have used FD or FB, but if you don't, I'd recommend using FD, if you're running windows; it's free and it works out of the box; you only have to configure the path to the Flex SDK and that's almost it). Hope this helps. Cheers Juan Pablo Califano 2009/1/1, Cedric Muller : Hello, I am facing one of these White screens, and I must admin I am quite lost. The project has more than 100 classes, and works fine if I comment some of the 'imports'. The options / solutions provided in this technote kb.adobe.com/selfservice/viewContent.do? externalId=kb405257&sliceId=1> are ridiculous. SWC ? I cannot, won't. Loading in ? Man, this is something I would prefer not be doing on such project. I tried setting the JAVA_TOOLS_OPTIONS environment variable, but I don't know if this was setup correctly, as setting 512MB does not solve the problem. The latest, and most optimistic solution i have is to use the ASC compiler instead of Flash IDE. It seems the problem would go away. Now, how can I (simply and quickly) compile one AS3 CS3 FLA (only document class in it, with a few symbol exports) with ASC ? if anyone has any info I would be more than thankful Cedric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash White Screen of Death
Hey Cedric, The Java tools option worked for me.. When i tried the higher mem amounts, it didn't work though.. I had to use -Xmx128M or -Xmx256M .. otherwise flash would complain that it needed a reinstall. See the coments at: http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/ Goodluck! - Original Message - From: "Cedric Muller" To: "Flash Coders List" Sent: Thursday, January 01, 2009 4:39 PM Subject: [Flashcoders] Flash White Screen of Death Hello, I am facing one of these White screens, and I must admin I am quite lost. The project has more than 100 classes, and works fine if I comment some of the 'imports'. The options / solutions provided in this technote kb.adobe.com/selfservice/viewContent.do? externalId=kb405257&sliceId=1> are ridiculous. SWC ? I cannot, won't. Loading in ? Man, this is something I would prefer not be doing on such project. I tried setting the JAVA_TOOLS_OPTIONS environment variable, but I don't know if this was setup correctly, as setting 512MB does not solve the problem. The latest, and most optimistic solution i have is to use the ASC compiler instead of Flash IDE. It seems the problem would go away. Now, how can I (simply and quickly) compile one AS3 CS3 FLA (only document class in it, with a few symbol exports) with ASC ? if anyone has any info I would be more than thankful Cedric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 3731 (20090101) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash White Screen of Death
Maybe you've already tried this or maybe it won't work for you easily (without making many changes), but if the problem is that the IDE can't handle 100 or more classes, you could try a different approach. Let the Flash IDE just compile the graphic part (movieclips, sprites, etc, etc) and use the Flex SDK to compile the classes and build the swf. I think you could remove the document class from your .fla (assuming this is the "main point" that includes references to other classes, which in turn include references to other clasess and so on). That way, you won't be forcing the IDE to compile so many classes. Use the .fla to generate a .swc. It will export all "linked" symbols, so you'll still be able to reference them from Flex Builder, FlashDeveloper or any other IDE that can use the Flex SDK to compile. In your IDE of choice, create a pure AS 3 project, add the swc to your project and replace the Main class that is likely to be created automatically for you when you set the ne project (at least in FlashDevelop) with you current Document Class. If in that class you have references to symbols created on the timeline, you'll have to export those as well and add them by code. Or, maybe you could put all the stuff in the root timeline in a new symbol and just export that one. Then, try to build the project from FD or FB (I don't know if you have used FD or FB, but if you don't, I'd recommend using FD, if you're running windows; it's free and it works out of the box; you only have to configure the path to the Flex SDK and that's almost it). Hope this helps. Cheers Juan Pablo Califano 2009/1/1, Cedric Muller : > > Hello, > > I am facing one of these White screens, and I must admin I am quite lost. > The project has more than 100 classes, and works fine if I comment some of > the 'imports'. > The options / solutions provided in this technote kb.adobe.com/selfservice/viewContent.do?externalId=kb405257&sliceId=1> are > ridiculous. SWC ? I cannot, won't. Loading in ? Man, this is something I > would prefer not be doing on such project. > I tried setting the JAVA_TOOLS_OPTIONS environment variable, but I don't > know if this was setup correctly, as setting 512MB does not solve the > problem. > The latest, and most optimistic solution i have is to use the ASC compiler > instead of Flash IDE. It seems the problem would go away. > > Now, how can I (simply and quickly) compile one AS3 CS3 FLA (only document > class in it, with a few symbol exports) with ASC ? > > if anyone has any info I would be more than thankful > > Cedric > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash White Screen of Death
Hello, I am facing one of these White screens, and I must admin I am quite lost. The project has more than 100 classes, and works fine if I comment some of the 'imports'. The options / solutions provided in this technote kb.adobe.com/selfservice/viewContent.do? externalId=kb405257&sliceId=1> are ridiculous. SWC ? I cannot, won't. Loading in ? Man, this is something I would prefer not be doing on such project. I tried setting the JAVA_TOOLS_OPTIONS environment variable, but I don't know if this was setup correctly, as setting 512MB does not solve the problem. The latest, and most optimistic solution i have is to use the ASC compiler instead of Flash IDE. It seems the problem would go away. Now, how can I (simply and quickly) compile one AS3 CS3 FLA (only document class in it, with a few symbol exports) with ASC ? if anyone has any info I would be more than thankful Cedric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders