[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2
Glad that worked for you Tim. However, I am still having issues. I have had an mm.cfg file in my c:\users\username directory and have tried multiple things with it that I read online such as trying to specify a path to PreloadSwf, but I still keep getting the same error. Any other thoughts? I started out compiling my project under version 3.3 of the SDK, but recently compiled it under 3.2 to see if it would work, but to no avail. Thanks, Nate --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > Glad that worked. For the record if you kill a profiler session unexpectedly > (which can happen when the profiler barfs or hangs on a large app) it won't > clean up mm.cfg and you can run into this problem. And even if you don't get > security errors in other configs, you'll find your debug sessions are running > really slowly. > > Alex Harui > Flex SDK Developer > Adobe Systems Inc.<http://www.adobe.com/> > Blog: http://blogs.adobe.com/aharui > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Tim Hoff > Sent: Wednesday, April 01, 2009 9:01 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Security sandbox violation error after upgrade to > SDK 3.2 > > > Nailed it! > > C:\Users\Tim\mm.cfg: > TraceOutputFileName=C:\Users\Tim\AppData\Roaming\Macromedia\Flash > Player\Logs\flashlog.txt > ErrorReportingEnable=1 > MaxWarnings=0 > TraceOutputFileEnable=1 > PreloadSwf=C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhost&port= > > Removed the last line and problem solved. In thinking about it, this was > more of a technical support issue; that I could have investigated more > thoroughly. Thank you very much for your continued help though Alex. Hope > that this helps you too, Nate. > > -TH > > --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > > > http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html > > > > Looks like it will be in c:\users\username > > > > Alex Harui > > Flex SDK Developer > > Adobe Systems Inc.<http://www.adobe.com/> > > Blog: http://blogs.adobe.com/aharui > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > > Behalf Of Tim Hoff > > Sent: Wednesday, April 01, 2009 6:23 PM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Re: Security sandbox violation error after upgrade to > > SDK 3.2 > > > > > > Actually, I couldn't find that specific file on my system (vista ultimate). > > The closest thing that I could find was > > C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg. Any! clue where that > > file might be located? It didn't come up in a search. > > > > When I launch an Air app, this is what shows in the console: > > [SWF] > > C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf > > - 17,476 bytes after decompression > > [SWF] MyApp.swf - 2,472,578 bytes after decompression > > > > -TH > > > > --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: > > > > > > Is there a preloaderSWF in your mm.cfg or is one being written there as > > > you launch the app? > > > > > > Alex Harui > > > Flex SDK Developer > > > Adobe Systems Inc.<http://www.adobe.com/> > > > Blog: http://blogs.adobe.com/aharui > > > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > > > Behalf Of Tim Hoff > > > Sent: Wednesday, April 01, 2009 3:29 PM > > > To: f! lexcod...@yahoogroups.com > > > Subject: [flexcode! rs] Re: Security sandbox violation error after > > > upgrade to SDK 3.2 > > > > > > > > > Hi Nate, > > > > > > Unfortunately I'm still having the problem as well. The difference is > > > that mine shows up only when launching an Air app. I'm able to run the > > > profiler just fine, but for some reason the profiler swf is trying to be > > > loaded with a regular l! aunch. I tried Alex's suggestion (mm.cfg) with > > > no success yet. > > > > > > -TH > > > > > > --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, > > > "nateross83" nateross83@ wrote: > > > > > > > > I am experiencing the same problems trying to profile an AIR 1.5 app. > > > Here is my stack trace: > > > > > > > > Error #2044: Unhandled securityError:. text=Error #2048: Security > >
[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2
Yes, I've tried clearing out that line and even deleting the mm.cfg file (which is recreated for me automatically when I try to run the profiler), but nothing works. Nate --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > There should almost never be a preloadSWF entry in your mm.cfg. FlexBuilder > is supposed to put it in and take out at the beginning and end of profiler > sessions. If you clear that entry from mm.cfg do you still have problems? > > Alex Harui > Flex SDK Developer > Adobe Systems Inc.<http://www.adobe.com/> > Blog: http://blogs.adobe.com/aharui > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of nateross83 > Sent: Thursday, April 02, 2009 8:39 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Security sandbox violation error after upgrade to > SDK 3.2 > > > Glad that worked for you Tim. However, I am still having issues. > > I have had an mm.cfg file in my c:\users\username directory and have tried > multiple things with it that I read online such as trying to specify a path > to PreloadSwf, but I still keep getting the same error. Any other thoughts? > > I started out compiling my project under version 3.3 of the SDK, but recently > compiled it under 3.2 to see if it would work, but to no avail. > > Thanks, > Nate > > --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, Alex > Harui wrote: > > > > Glad that worked. For the record if you kill a profiler session > > unexpectedly (which can happen when the profiler barfs or hangs on a large > > app) it won't clean up mm.cfg and you can run into this problem. And even > > if you don't get security errors in other configs, you'll find your debug > > sessions are running really slowly. > > > > Alex Harui > > Flex SDK Developer > > Adobe Systems Inc.<http://www.adobe.com/> > > Blog: http://blogs.adobe.com/aharui > > > > From: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> > > [mailto:flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>] On > > Behalf Of Tim Hoff > > Sent: Wednesday, April 01, 2009 9:01 PM > > To: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> > > Subject: [flexcoders] Re: Security sandbox violation error after upgrade to > > SDK 3.2 > > > > > > Nailed it! > > > > C:\Users\Tim\mm.cfg: > > TraceOutputFileName=C:\Users\Tim\AppData\Roaming\Macromedia\Flash > > Player\Logs\flashlog.txt > > ErrorReportingEnable=1 > > MaxWarnings=0 > > TraceOutputFileEnable=1 > > PreloadSwf=C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhost&port= > > > > Removed the last line and problem solved. In thinking about it, this was > > more of a technical support issue; that I could have investigated more > > thoroughly. Thank you very much for your continued help though Alex. Hope > > that this helps you too, Nate. > > > > -TH > > > > --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, > > Alex Harui wrote: > > > > > > http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html > > > > > > Looks like it will be in c:\users\username > > > > > > Alex Harui > > > Flex SDK Developer > > > Adobe Systems Inc.<http://www.adobe.com/> > > > Blog: http://blogs.adobe.com/aharui > > > > > > From: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> > > > [mailto:flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>] > > > On Behalf Of Tim Hoff > > > Sent: Wednesday, April 01, 2009 6:23 PM > > > To: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> > > > Subject: [flexcoders] Re: Security sandbox violation error after upgrade > > > to SDK 3.2 > > > > > > > > > Actually, I couldn't find that specific file on my system (vista > > > ultimate). The closest thing that I could find was > > > C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg. Any! clue where that > > > file might be located? It didn't come up in a search. > > > > > > When I launch an Air app, this is what shows in the console: > > > [SWF] > > > C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf > > > - 17,476 bytes after decompression > > > [SWF] MyApp.swf - 2,472,578 bytes after decompression > > > > >
[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2
Glad that worked for you Tim. However, I am still having issues. I have had an mm.cfg file in my c:\users\username directory and have tried multiple things with it that I read online such as trying to specify a path to PreloadSwf, but I still keep getting the same error. Any other thoughts? I started out compiling my project under version 3.3 of the SDK, but recently compiled it under 3.2 to see if it would work, but to no avail. Thanks, Nate --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > Glad that worked. For the record if you kill a profiler session unexpectedly > (which can happen when the profiler barfs or hangs on a large app) it won't > clean up mm.cfg and you can run into this problem. And even if you don't get > security errors in other configs, you'll find your debug sessions are running > really slowly. > > Alex Harui > Flex SDK Developer > Adobe Systems Inc.<http://www.adobe.com/> > Blog: http://blogs.adobe.com/aharui > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Tim Hoff > Sent: Wednesday, April 01, 2009 9:01 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Security sandbox violation error after upgrade to > SDK 3.2 > > > Nailed it! > > C:\Users\Tim\mm.cfg: > TraceOutputFileName=C:\Users\Tim\AppData\Roaming\Macromedia\Flash > Player\Logs\flashlog.txt > ErrorReportingEnable=1 > MaxWarnings=0 > TraceOutputFileEnable=1 > PreloadSwf=C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhost&port= > > Removed the last line and problem solved. In thinking about it, this was > more of a technical support issue; that I could have investigated more > thoroughly. Thank you very much for your continued help though Alex. Hope > that this helps you too, Nate. > > -TH > > --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > > > http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html > > > > Looks like it will be in c:\users\username > > > > Alex Harui > > Flex SDK Developer > > Adobe Systems Inc.<http://www.adobe.com/> > > Blog: http://blogs.adobe.com/aharui > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > > Behalf Of Tim Hoff > > Sent: Wednesday, April 01, 2009 6:23 PM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Re: Security sandbox violation error after upgrade to > > SDK 3.2 > > > > > > Actually, I couldn't find that specific file on my system (vista ultimate). > > The closest thing that I could find was > > C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg. Any! clue where that > > file might be located? It didn't come up in a search. > > > > When I launch an Air app, this is what shows in the console: > > [SWF] > > C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf > > - 17,476 bytes after decompression > > [SWF] MyApp.swf - 2,472,578 bytes after decompression > > > > -TH > > > > --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: > > > > > > Is there a preloaderSWF in your mm.cfg or is one being written there as > > > you launch the app? > > > > > > Alex Harui > > > Flex SDK Developer > > > Adobe Systems Inc.<http://www.adobe.com/> > > > Blog: http://blogs.adobe.com/aharui > > > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > > > Behalf Of Tim Hoff > > > Sent: Wednesday, April 01, 2009 3:29 PM > > > To: f! lexcod...@yahoogroups.com > > > Subject: [flexcode! rs] Re: Security sandbox violation error after > > > upgrade to SDK 3.2 > > > > > > > > > Hi Nate, > > > > > > Unfortunately I'm still having the problem as well. The difference is > > > that mine shows up only when launching an Air app. I'm able to run the > > > profiler just fine, but for some reason the profiler swf is trying to be > > > loaded with a regular l! aunch. I tried Alex's suggestion (mm.cfg) with > > > no success yet. > > > > > > -TH > > > > > > --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, > > > "nateross83" nateross83@ wrote: > > > > > > > > I am experiencing the same problems trying to profile an AIR 1.5 app. > > > Here is my stack trace: > > > > > > > > Error #2044: Unhandled securityError:. text=Error #2048: Security > >
[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2
I am experiencing the same problems trying to profile an AIR 1.5 app. Here is my stack trace: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///C|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203%2F.metadata%2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost&port=9998 cannot load data from localhost:9998. at ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent.as:127] at runtime::ContentPlayer/loadInitialContent() at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at global/runtime::ADLEntry() I have tried changing the port from to other values without success, I disabled my firewall to try it (although I don't think localhost would be an issue). The strange thing is that a coworker of mine appears to have the same set up as I do and it works fine for him. Here is what I have: Flex Builder v 3.0.2 Flash Player 10 AIR 1.5.1 If you have solved the problem Tim, or anyone else for the matter, please help me out. Thanks, Nate --- In flexcoders@yahoogroups.com, "Tim Hoff" wrote: > > > Hi all, > > I just updated the Flex SDK to version 3.2, and am now getting a > Security sandbox violation error everytime that I launch an AIR > application from Eclipse. I was wondering if anyone else has run into > this and might know of a fix. The stack trace is listed below. > > Thanks, > -TH > > Error #2044: Unhandled securityError:. text=Error #2048: Security > sandbox violation: > file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.pr\ > ofiler%2FProfilerAgent.swf?host=localhost&port= > rofiler%2FProfilerAgent.swf?host=localhost&port=> cannot load data > from localhost:. > at > ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\ > s:127] > at runtime::ContentPlayer/loadInitialContent() > at runtime::ContentPlayer/playRawContent() > at runtime::ContentPlayer/playContent() > at runtime::AppRunner/run() > at global/runtime::ADLEntry() >
[flexcoders] Re: Nested DataGrid!
Glad to hear it helped Brian. Please let me know if you have any questions. Happy Flexing! - Nate Ross
[flexcoders] Re: AIR app not launching after installation
Igor, I am running the latest version of AIR on all of my machines. I just verified that a moment ago, but the problem still persists. Thanks, Nate --- In flexcoders@yahoogroups.com, "Igor Costa" <[EMAIL PROTECTED]> wrote: > > Nate be sure to have the last air runtime installed on your machine to > properly work. > > -- > Igor > > On Tue, Jul 15, 2008 at 4:52 PM, nateross83 <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > I have been having a strange problem and I have looked everywhere for > > a solution. I have generated an .air file for the AIR app I have been > > working on. When I run the .air file, the installation works fine, > > but when I try to run the application, it does nothing. > > > > In fact, the only way I can see the application is by adding > > true to the descriptor XML file. Otherwise, it > > doesn't show up in the taskbar (I am running Windows). The only trace > > of it I see is in the Task Manager where the process is running. Now, > > with me setting the visibility to true in the descriptor, I just see > > the window with nothing inside of it. > > > > I am not sure if it is just hanging for some reason when it is being > > unpacked, or if I have some code that is making it not work > > (Unfortunately I cannot release any source code for this project). > > The weird thing is that I can run it on a Mac without any problems. I > > have tried in Vista and XP and both are not working. > > > > I have verified that the app runs in FB3 under both Run and Debug > > configurations without any errors. Plus, I have successfully ran AIR > > apps with my Vista and XP machines in the past without any problems. > > > > Please help! > > > > Thanks, > > Nate Ross > > > > > > > > > > -- > > Igor Costa > www.igorcosta.com > www.igorcosta.org >
[flexcoders] AIR app not launching after installation
Hi all, I have been having a strange problem and I have looked everywhere for a solution. I have generated an .air file for the AIR app I have been working on. When I run the .air file, the installation works fine, but when I try to run the application, it does nothing. In fact, the only way I can see the application is by adding true to the descriptor XML file. Otherwise, it doesn't show up in the taskbar (I am running Windows). The only trace of it I see is in the Task Manager where the process is running. Now, with me setting the visibility to true in the descriptor, I just see the window with nothing inside of it. I am not sure if it is just hanging for some reason when it is being unpacked, or if I have some code that is making it not work (Unfortunately I cannot release any source code for this project). The weird thing is that I can run it on a Mac without any problems. I have tried in Vista and XP and both are not working. I have verified that the app runs in FB3 under both Run and Debug configurations without any errors. Plus, I have successfully ran AIR apps with my Vista and XP machines in the past without any problems. Please help! Thanks, Nate Ross