Re: [flexcoders] Re: Security sandbox violation

2010-05-26 Thread Alex Harui
If you use relative paths, it might work when local, but I don’t think it will. Don’t test it with SWFLoader, it always converts relative paths to absolute which is guaranteed to be blocked when local. On 5/25/10 3:48 PM, Richard Rodseth rrods...@gmail.com wrote: Sorry :) That seems to

Re: [flexcoders] Re: Security sandbox violation

2010-05-26 Thread Richard Rodseth
That's how I started I out and will most likely end up. But getting the error while debugging (which has since gone away) and reading the responses here indicated it shouldn't work. On Wed, May 26, 2010 at 6:06 AM, valdhor valdhorli...@embarqmail.comwrote: Why not just keep networking on and

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Richard Rodseth
I'm not sure we're all talking about the same thing, but there must be zillions of SWFs accessing external XML configurations without any user intervention. I haven't tested on a web server yet, but this -use-network=false seems appropriate. On Tue, May 25, 2010 at 8:49 AM, Amy

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Richard Rodseth
I'm obviously thoroughly confused. Presumably -use-network must be true in order to run the folder from the server, because the swf will be local once it's trying to read the XML config file sitting beside the SWF on the server. I'm hoping I don't need a different SWF for the second scenario

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Richard Rodseth
Thanks. That's good to know about. It seems, though, that one has to choose between allowing local access or network access. Can anyone tell me if it's possible to create a single SWF (plus companion wrapper html and config xml that can either be hosted on a web server, or unzipped and run

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Oleg Sivokon
OK, it's like this: SWF launched in standalone player can interact with the system AND load remote content, just like the browser can do the same thing. SWF launched in browser plugin can only access permitted folders on your hard disc. To allow access to the folder you should either use the web

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Richard Rodseth
Thanks. That sounds like a no for supporting my two use cases, unless the customer adds a trusted location or opens the SWF in the standalone player. On Tue, May 25, 2010 at 12:45 PM, Oleg Sivokon olegsivo...@gmail.comwrote: OK, it's like this: SWF launched in standalone player can interact

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Alex Harui
I got lost trying to follow this topic. Whether it is browser or standalone shouldn’t matter. What matters is the url of the SWF (file:// or http://), the trust file settings on the computer, the use-network flag, and how you access the external resources. If you build a SWF to run locally

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Richard Rodseth
Sorry :) That seems to happen a lot with my topics. Use case 1: Customer (a sales engineer) accesses a demo that is hosted on the web like any other Flex app. This demo makes no api calls, but does need to access an XML config file that lives in a data folder beside the SWF Use case 2: Sales

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Oleg Sivokon
Whether it is browser or standalone shouldn’t matter. Now I'm lost... I have ShockwaveFlash ActiveX sitting on the form and loading MP3 files from any place on my PC (well, this is the easiest way to have MP3 player in .NET :D ), it can playback MP3s just fine, I'm getting no warnings / errors,

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Oleg Sivokon
BTW, this is what the code looks like if you want to try... // // flashMovie // this.flashMovie.Dock = System.Windows.Forms.DockStyle.Fill; this.flashMovie.Enabled = true; this.flashMovie.Location = new

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Alex Harui
What is the use-network setting? I don’t know the rules for audio. Remember that you can load an image from just about anywhere, but you can’t access the pixels. Poke through the security white-papers on the Adobe site. On 5/25/10 3:49 PM, olegsivo...@gmail.com olegsivo...@gmail.com wrote:

RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-02 Thread Alex Harui
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

RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Alex Harui
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:

RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Alex Harui
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

RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Alex Harui
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

RE: [flexcoders] Re: Security sandbox violation on Bitmapdata.draw( rtmpVid ) despite crosspolicy

2009-01-16 Thread Alex Harui
Did you try AS3 with CS4? There might be tighter security in AS3. Also check the code that does the load. You might need to set some security options in AS3 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jwebbsuccess Sent: Friday, January 16, 2009 4:45 PM

Re: [flexcoders] Re: security sandbox violation in standalone player but not in browser

2009-01-13 Thread Tom Chiverton
On Thursday 08 Jan 2009, Maciek Sakrejda wrote: Interesting; however I'm using Evolution against an Exchange server, Your 'From' address just changed from @gmail to something else... -- Tom Chiverton Helping to paradigmatically monetize distributed sticky granular infrastructures

Re: [flexcoders] Re: security sandbox violation in standalone player but not in browser

2009-01-08 Thread Tom Chiverton
On Wednesday 07 Jan 2009, maciek9billion wrote: Please ignore. I checked using the Yahoo! Groups interface, and the message showed up just fine. Must be something funky with either my mail or flexcoders mail. GMail wont show posts you send to mailing lists until someone replies. -- Tom

Re: [flexcoders] Re: security sandbox violation in standalone player but not in browser

2009-01-08 Thread Maciek Sakrejda
there are goblins in the tubes messing with my mail. -Maciek -Original Message- From: Tom Chiverton tom.chiver...@halliwells.com Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: security sandbox violation in standalone player but not in browser Date: Thu

Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-21 Thread Ward Loockx
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com] On Behalf Of Ward Loockx Sent: Thursday, November 20, 2008 8:30 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use

RE: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-21 Thread Alex Harui
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ward Loockx Sent: Friday, November 21, 2008 12:03 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property Alex Harui schreef

Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-20 Thread Ward Loockx
] *On Behalf Of *Ward Loockx *Sent:* Monday, November 17, 2008 9:07 AM *To:* flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com *Subject:* Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property valdhor schreef

RE: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-20 Thread Alex Harui
20, 2008 8:30 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property Alex Harui schreef: First you have to identify which code is causing the violation. Post the entire violation. It should

Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-18 Thread Ward Loockx
to put in some conditional code to deal with it *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Ward Loockx *Sent:* Monday, November 17, 2008 9:07 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Re: Security sandbox violation: local SWF

RE: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-18 Thread Alex Harui
=if (Security.sandboxType=='remote') ldr.trustContent=true else ldr.trustContent=false / From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ward Loockx Sent: Tuesday, November 18, 2008 12:06 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Security sandbox violation: local

Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-17 Thread Ward Loockx
valdhor schreef: Try adding your bin-debug directory to your Global Security Settings Manager (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html) --- In

RE: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-17 Thread Alex Harui
conditional code to deal with it From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ward Loockx Sent: Monday, November 17, 2008 9:07 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain

Re: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-06 Thread Oriol Gual
Hi Ben, This is quite strange, can you acces your db through php without calling it from Flex? Oriol. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

Re: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-05 Thread Oriol Gual
Why have you set the mysql default port to 80? 80 is the port for web servers usually and I wouldn't recommend to have mysql at it. The mysql default port is 3306.Another question, have you tried to access your php script without Flex? Just to make sure it's working properly. Oriol. --

RE: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-03 Thread Matt Chotin
Well your setup sounds pretty straightforward so not sure why it isn't working. I'm assuming useProxy=false (or isn't specified) on your HTTPService. The port that you access the SWF is the same as the PHP? http://localhost:1234/myswf.swf http://localhost:1234/myphp.php Not much more I can ask

RE: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-02 Thread Matt Chotin
I guess I misunderstood, are you using HTTPService to hit your PHP? And the PHP is on localhost? Are you accessing the SWF using a web browser from localhost as well? Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lift69boy Sent: Sunday,