RE: [Flashcoders] Understanding Error 2036
%SYSTEMROOT%:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs hmm yeah, not on my machine, and I have the flash 9 debug player. I also saw the Adobe article to fix it if the log file isn't being created, but I'm not going to mess with all that on my system to test Helmut's example. Let us know what you find out. Is there a reason you need to use the log file instead of the IDE debugger messages? Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Understanding Error 2036
hmm yeah, not on my machine, and I have the flash 9 debug player. I also saw the Adobe article to fix it if the log file isn't being created, You can also just create the folder and an empty file flashlog.txt and that should fix the issue. but I'm not going to mess with all that on my system to test Helmut's example. Let us know what you find out. No problem, thanks for trying though. Is there a reason you need to use the log file instead of the IDE debugger messages? Most of the stuff I work on ends up on the web or uses some type of server side communication where I can only test on a server. In those cases I can still catch some trace statements from the browser by looking at the flashlog file and see where the application needs some adjustment or if everything has been successful. ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Understanding Error 2036
You can also just create the folder and an empty file flashlog.txt and that should fix the issue. Nope. I did that, created a flashlog.txt in the folder described by Glex, created new Flash file with your sample code, put a png file next to it called layout.png and when I run the .fla, my Flash IDE crashes completely. I think the better course of action is to follow the directions on Adobe's site to fix the log file issue. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Understanding Error 2036
ouch I didn't know you would get that reaction from flash. Sorry for giving you misleading information for your case. At work that is what we all do when the flashlog is created and never had that issue. Thanks for the heads up! I let you all know what I find out. On Thu, May 29, 2008 at 10:28 AM, Merrill, Jason [EMAIL PROTECTED] wrote: You can also just create the folder and an empty file flashlog.txt and that should fix the issue. Nope. I did that, created a flashlog.txt in the folder described by Glex, created new Flash file with your sample code, put a png file next to it called layout.png and when I run the .fla, my Flash IDE crashes completely. I think the better course of action is to follow the directions on Adobe's site to fix the log file issue. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Understanding Error 2036
Hi All, I am trying to understand Error 2036 [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2036: Load Never Completed. URL: file:url] When I test in Flash IDE I am able to see the error noted above in the Flash Log but it does not show in the Tracer panel and I was wondering if anyone knows why. I know the files are loading because the application depend on the files. So I am able to interact with the application and everything works as expected. Yet when I run the applicatin then close the preview window. I get the error listed for every file I loaded into the app. Does anyone has any insight of why this is happening? Needless to say I am able to catch the error and I just just do a blank trace -trace()- which works but I am still wondering why this error gets triggered even after the file has been loaded. TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Understanding Error 2036
That's odd if the file is being loaded afterall. You're sure the same file is being loaded that you think is being loaded and not a cache or another copy somewhere else? That error is the same error I get when the file cannot be found that was requested to be loaded. Have you tried removing the file that you think is being loaded to be sure it really is the same file being loaded? Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Understanding Error 2036
Yeah, I know it is weird that is why I was wondering if anyone else is getting the same error. Notice that this error wont get traced in the Flash IDE but it is in flashlog.txt. I removed one of the images that is being loaded and it breaks the application (as expected) so it must be something else but not sure what it is. Maybe a bug? I guess I can log it in to Adobe to confirm if it is a bug or not. On Wed, May 28, 2008 at 11:59 AM, Merrill, Jason [EMAIL PROTECTED] wrote: That's odd if the file is being loaded afterall. You're sure the same file is being loaded that you think is being loaded and not a cache or another copy somewhere else? That error is the same error I get when the file cannot be found that was requested to be loaded. Have you tried removing the file that you think is being loaded to be sure it really is the same file being loaded? Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Understanding Error 2036
I would say if it's not an error that the Flash IDE is messaging you about, or the Flash 9 debug player, then I wouldn't worry about it. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Understanding Error 2036
Are you by any chance inadvertently calling a load again after the initial file gets loaded? I wonder if the error is due to something else, not the load you think you're doing... Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Understanding Error 2036
I think I would have never noticed it (and a lot of people do not see it) if I didn't use the flashlog.txt as my debug system. Basically instead of using the Flash IDE output window I use a program that shows me the contents of flashlog.txt and that is when I see the issue. I wouldn't mind at all (and I don't) when I am only loading a few files but at times I am loading several items and I get a long row of errors that cover all the real items that I care about. Besides, in the back of my mind I know they are there! :) On Wed, May 28, 2008 at 3:55 PM, Merrill, Jason [EMAIL PROTECTED] wrote: I would say if it's not an error that the Flash IDE is messaging you about, or the Flash 9 debug player, then I wouldn't worry about it. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Understanding Error 2036
Good point... but to make my point I have created a very simple sample. 1. Copy and paste the code below to a blank FLA and run it (NOTICE: You have to provide a file to load and it can be a simple png)2. You should see a trace statement FILE LOADED 3. Close the window 4. Nothing appears on the trace window 5. Open flashlog.txt on your system 6. You should see the very last line of text something similar to the following: THERE WAS AN ERROR [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2036: Load Never Completed. URL: file:./layout.png] //--START COPY AND PASTE CODE var loader : Loader; var request : URLRequest; function load ( file : String) : void { request = new URLRequest( file ); loader.load(request); } function init() : void { loader = new Loader(); loader.contentLoaderInfo.addEventListener ( Event.COMPLETE, onComplete); loader.contentLoaderInfo.addEventListener ( IOErrorEvent.IO_ERROR, onError); } function onComplete ( e:Event ) : void { var target = e.target; var icon = loader; trace(FILE LOADED); } function onError ( e : IOErrorEvent ) : void { trace(THERE WAS AN ERROR); trace(e) } init(); load(layout.png); //END OF CODE FOR FLASH Interesting huh? helmut On Wed, May 28, 2008 at 4:10 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Are you by any chance inadvertently calling a load again after the initial file gets loaded? I wonder if the error is due to something else, not the load you think you're doing... Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Understanding Error 2036
Where is flashlog.txt normally? I couldn't locate it. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Wednesday, May 28, 2008 5:48 PM To: Flash Coders List Subject: Re: [Flashcoders] Understanding Error 2036 Good point... but to make my point I have created a very simple sample. 1. Copy and paste the code below to a blank FLA and run it (NOTICE: You have to provide a file to load and it can be a simple png)2. You should see a trace statement FILE LOADED 3. Close the window 4. Nothing appears on the trace window 5. Open flashlog.txt on your system 6. You should see the very last line of text something similar to the following: THERE WAS AN ERROR [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2036: Load Never Completed. URL: file:./layout.png] //--START COPY AND PASTE CODE var loader : Loader; var request : URLRequest; function load ( file : String) : void { request = new URLRequest( file ); loader.load(request); } function init() : void { loader = new Loader(); loader.contentLoaderInfo.addEventListener ( Event.COMPLETE, onComplete); loader.contentLoaderInfo.addEventListener ( IOErrorEvent.IO_ERROR, onError); } function onComplete ( e:Event ) : void { var target = e.target; var icon = loader; trace(FILE LOADED); } function onError ( e : IOErrorEvent ) : void { trace(THERE WAS AN ERROR); trace(e) } init(); load(layout.png); //END OF CODE FOR FLASH Interesting huh? helmut On Wed, May 28, 2008 at 4:10 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Are you by any chance inadvertently calling a load again after the initial file gets loaded? I wonder if the error is due to something else, not the load you think you're doing... Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ 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] Understanding Error 2036
MAC: /Users/YOURUSERID/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt PC: Not sure... You have to have flash player debug version and here are some tips in case you have the flash player debug and you can't find it: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19323 Note that the information in the article is talking about Flex but it also applies to flash. On Wed, May 28, 2008 at 4:51 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Where is flashlog.txt normally? I couldn't locate it. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Wednesday, May 28, 2008 5:48 PM To: Flash Coders List Subject: Re: [Flashcoders] Understanding Error 2036 Good point... but to make my point I have created a very simple sample. 1. Copy and paste the code below to a blank FLA and run it (NOTICE: You have to provide a file to load and it can be a simple png)2. You should see a trace statement FILE LOADED 3. Close the window 4. Nothing appears on the trace window 5. Open flashlog.txt on your system 6. You should see the very last line of text something similar to the following: THERE WAS AN ERROR [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2036: Load Never Completed. URL: file:./layout.png] //--START COPY AND PASTE CODE var loader : Loader; var request : URLRequest; function load ( file : String) : void { request = new URLRequest( file ); loader.load(request); } function init() : void { loader = new Loader(); loader.contentLoaderInfo.addEventListener ( Event.COMPLETE, onComplete); loader.contentLoaderInfo.addEventListener ( IOErrorEvent.IO_ERROR, onError); } function onComplete ( e:Event ) : void { var target = e.target; var icon = loader; trace(FILE LOADED); } function onError ( e : IOErrorEvent ) : void { trace(THERE WAS AN ERROR); trace(e) } init(); load(layout.png); //END OF CODE FOR FLASH Interesting huh? helmut On Wed, May 28, 2008 at 4:10 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Are you by any chance inadvertently calling a load again after the initial file gets loaded? I wonder if the error is due to something else, not the load you think you're doing... Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ 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 -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Understanding Error 2036
PC %SYSTEMROOT%:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs Helmut Granda wrote: MAC: /Users/YOURUSERID/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt PC: Not sure... You have to have flash player debug version and here are some tips in case you have the flash player debug and you can't find it: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19323 Note that the information in the article is talking about Flex but it also applies to flash. On Wed, May 28, 2008 at 4:51 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Where is flashlog.txt normally? I couldn't locate it. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Wednesday, May 28, 2008 5:48 PM To: Flash Coders List Subject: Re: [Flashcoders] Understanding Error 2036 Good point... but to make my point I have created a very simple sample. 1. Copy and paste the code below to a blank FLA and run it (NOTICE: You have to provide a file to load and it can be a simple png)2. You should see a trace statement FILE LOADED 3. Close the window 4. Nothing appears on the trace window 5. Open flashlog.txt on your system 6. You should see the very last line of text something similar to the following: THERE WAS AN ERROR [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2036: Load Never Completed. URL: file:./layout.png] //--START COPY AND PASTE CODE var loader : Loader; var request : URLRequest; function load ( file : String) : void { request = new URLRequest( file ); loader.load(request); } function init() : void { loader = new Loader(); loader.contentLoaderInfo.addEventListener ( Event.COMPLETE, onComplete); loader.contentLoaderInfo.addEventListener ( IOErrorEvent.IO_ERROR, onError); } function onComplete ( e:Event ) : void { var target = e.target; var icon = loader; trace(FILE LOADED); } function onError ( e : IOErrorEvent ) : void { trace(THERE WAS AN ERROR); trace(e) } init(); load(layout.png); //END OF CODE FOR FLASH Interesting huh? helmut On Wed, May 28, 2008 at 4:10 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Are you by any chance inadvertently calling a load again after the initial file gets loaded? I wonder if the error is due to something else, not the load you think you're doing... Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ 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 -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders