Flex/Flash Sandbox security

I am a new Flex user and have encountered a security problem
with loading existing flash movies from my Flex Builder
application. The flash movie in question loads additional movie
clips at execution time. My flex app uses network services such as
HTTPService.
When the flash movie Publish Settings are set to "access
network only" the flex app runs but the flash created movie is
unable to load the additional movie clips from the local file
system. When the flash movie is set to "access local files only" I
get a sandbox security error flom flashplayer.
How can I fix this problem? is there anyway to configure the
flex app to use network services and allow called flash created
movies to movie load clips from the local file system?
We're talking Flex 3, Flash 8 and Flashplayer 9
Any help would be appreciated.

Hmmm... May need to use AIR, or else upload those local
assets to server then download. Strange but maybe this is
so.

Similar Messages

  • How can I fix 2121 sandbox security error, local swf MP3 player test calls MP3's from website?

    1st Issue.  I am a new user and am fighting #2121, #2044 & #2048 Flash security errors in getting an MP3 player to work as I test the fla file in Flash CS4 on my local computer.  The fla in Flash and swf in Dreamweaver calls mp3 files from our host server on the internet.
    After reading various sparce posts and Adobe articles on this issue, I have added a crossdomain.xml file at our websites root (see file below) and added the code, flash.system.Security.allowDomain in line 1 of the action script of the flash fla to allow our site access (-see script below).  These efforts have helped get the player to work better on our test site.
    But, I am still getting the 2121 error within Flash CS4 as I debug the player or play the swf in live view within Dreamweaver.  Playing the fla or swf will lock-up the Flash 10 player and crash the program. I am having the mp3 player access the mp3 files from our web site as I test the fla.
    Here is the debug message I am getting:
    Attemping to launch and connect to Player using URL C:\Web Site Files\Plank Productions afc\Plank Productions 2010\site\MP3_List_Player_AS3.swf [SWF] C:\Web Site Files\Plank Productions afc\Plank Productions 2010\site\MP3_List_Player_AS3.swf - 209827 bytes after decompression SecurityError: Error #2121: Security sandbox violation: Sound.id3: file:///C/Web%20Site%20Files/Plank%20Productions%20afc/Plank%20Productions%202010/site/MP3%5FList %5FPlayer%5FAS3.swf cannot access . This may be worked around by calling Security.allowDomain.
    at flash.media::Sound/get id3()
    at com.afcomponents.mp3player::MP3Player/get id3()
    at com.afcomponents.mp3player::MP3Player/handleBuffe ring()
    Here is the crossdomain xml code:
    <?xml version="1.0" encoding="utf-8"?>
    <?xml version="1.0"?><!DOCTYPE cross-domain-policySYSTEM "http://www.macromedia.com/xml/dtds/cross-domain- policy.dtd">
    <cross-domain-policy>
    <allow-access-from domain="www.plankproductions.com" secure="false"/>
    <allow-access-from domain="plankproductions.com" secure="false"/>
    </cross-domain-policy>
    Here is the AS3 in line 1 of the Fla file that I added:
    flash.system.Security.allowDomain("www.plankproductions.com", "plankproductions.com");
    2nd Issue.  The online playback of the mp3 player will play about 4-7 mp3’s then lock-up in Internet Explorer 8 on a pc.  I think that is related to flash security, not sure, I do not know how to debug the mp3 player on the web site.
    http://plankproductions.com/pptemplate_afc_mp3.shtml
    Questions.
    -How can I resolve the error 2121?
    -What as3 code do I need to target the local c drive to have security clearance and work properly, is this the problem?
    -Why is the mp3 player locking up on the web page?
    Thank you in advance for any help.
    Operating System: Windows XP Professional, CS4 Web Premium

    Do you have the standard or debug player installed?  Such errors should not occur with the standard player.
    See http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html#main_Find_Flash_Play er_version_type_and_capabilities__Flash_developers_only_

  • Remove "flash player security" alert

    Is it possible to avoid
    “flash player security” alert dialog box.
    My project is built in flash 6 but it won’t run under
    flash player 8.
    It gives security alert dialog box, and client asks me to
    remove this dialog box.
    Is it possible to remove it or not?
    Or is there any documentation available on net stating that
    it’s not possible to remove it?:confused

    The answer is inside the same article you quote, page 3:
    "Local-trusted: This sandbox has no restrictions. It offers the
    same open privileges as all local files were given in Flash Player
    7. Any local file may be placed in this sandbox if given
    authorization by the end user. This authorization may come in two
    forms: interactively via the Settings Manager or noninteractively
    via an exectuable installer that creates Flash Player configuration
    files on the user's computer."
    So you might have the user do something which is a lot more
    work than clicking ok in a security alert (I haven't even done it
    myself on my machine).
    Or you might provide an executable that needs to be
    downloaded with at least two more security alerts.
    The situation of course changes if you can deliver that
    executable in a different form, e.g. via a CD-ROM

  • Sandbox security error

    how do i avoid sandbox security error
    i try to read data from other website that isn't my own
    i got this error:
    securityError no controlado: text=Error #2048: Violación
    de la seguridad Sandbox: SMSinfo.swf cannot read from
    http://jack.xtremdesign.net/SMSInfo/config.xml.
    src="/webforums/forum/images/i/expressions/face-icon-small-confused.gif"
    border="0">

    The crossdomain file must go on the server serving the data
    you are trying toaccess, not on your server.
    If this is not possible, then you must make this call from a
    server, instead of the Flex client. This is called using a proxy,
    and no, you can't just set that property on the dataservice tag.
    Search google for some pre-built proxy code.
    Tracy

  • Data connection between Java Webdynpro - Flex Flash Island

    Hi,
    I'm developing a Java Webdynpro with connection to a Flex Flash Island. I'm using Flex 3.2.
    I've already set up the connection from WDJ to Flex, by using Events and the FlashIsland.fireEvent method, this all works fine. Now I'm trying to update a value in WDJ, to be updated in Flex. This gives the following error:
    Error: Error #1023: Stack overflow occurred.
         at Function/http://adobe.com/AS3/2006/builtin::apply()
         at mx.binding::Watcher/wrapUpdate()
         at mx.binding::PropertyWatcher/eventHandler()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()
         at UWLApplication/set opentask_updated()
         at MethodInfo-4234()
         at Function/http://adobe.com/AS3/2006/builtin::call()
         at sap.core.wd.context::WDContextListener/execute()
         at sap.core.wd.context::WDContext/notifyListeners()
         at sap.core.wd.context::WDContext/_set()
         at sap.core.wd.context::WDContext/set()
         at sap.wd.island::WDIsland/storeProperty()
         at sap.wd.island::WDIsland/onUpdateProperty()
         at mx.binding.utils::ChangeWatcher/wrapHandler()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()
         at UWLApplication/set opentask_updated()
         at MethodInfo-4234()
    This is especially strange, cause before I had a refresh button in which I updated my entire item collection. Now, I have added this field and suddenly I get this error !
    Does anybody has any idea what this could mean? Any help would be much appreciated ...
    My field in Flex:
    \[Bindable\]
    public var opentask_updated:Number;
    <mx:Text id="opentask_updated_text" text="{opentask_updated.toString()}" />
    My adaptions in WDJ:
    public void getInbox( )  {
           wdContext.currentInboxElement().setOpentask_updated(0);
    public void wdDoInit()  {
           getInbox();

    Solved!
    It appeared to be a "long" parameter and I was trying to put it in a "Number" parameter in Flex (because there is no long in Flex)
    When I changed both to String, it worked!

  • Flash Player security Pop up when using camera and microphone.

    Hello Friends
    Can any body suggest me how to remove flash player security pop up for camera and microphone through coding.
    Thanks in advance.

    The security pop-up was first introduced with FP7. If you want to bypass it I can name two ways off the top of my head:
    1. Regardless of ActionScript version (2.0/3.0) in the Flash authoring enviroment, in the Publish Settings dialogue box, the Flash tab, near the bottom choose Access Network Only from Local Playback Security.
    2. Publish your movie as a projector. Both of these techniques will allow to "play" your swf file locally.

  • Flash Islands Tutorial I - Confusion with Flex/Flash Builder Versions

    Hi Guys,
    i am new to the Adobe Flex/Flash Islands technology and tried to implement Tutorial I by Thomas Jung. Unfortunately i am confused by the various different versions for flex and the corresponding IDE's.
    As far as i understood SAP at the moment only supports Flex versions up to version 3.3 for NetWeaver 7 EHP1. Furtheron the Adobe Charting Components (used in the Tutorial) seem to be part of the Flex Builder Professional Version only.
    So i went to the Adobe Website and looked into the products and download areas. All i found was Flash Builder 4.5 Premium and the various Adobe and Open Source Flex SDK versions. I am using Flash Builder 4.5 as a trial right now. Unfortunately the Charting Components are not included.
    So the question i have is whether the Charting Components (e.g. <mx:BarChart /> )are included in the non Trial version of Flash Builder 4.5 Premium or whether there is any possibility to get them as an Add-On. Or do i have to use Flex Builder 3 Professional (i found no information about this on the Adobe Website)?
    Additional Hint:
    I found out that when i compile the poject with Flex SDK vesion 3.6 or higher, the compiler knows the <mx:BarChart /> tag. Also in that case the view designer is working. However FlashIslands is only supported up to Flex SDK 3.3. But when i choose 3.3 the <mx:BarChart /> tag and some other related tags are unknown.
    This is a really anoying issue.
    Best Regards,
    Dirk
    Edited by: Dirk Jäckel on Jul 19, 2011 12:14 PM

    HI Dirk,
    wtith Web Dynpro, you can only use Flex SDK version 3.3 and downwards. You can download the SDK here [http://opensource.adobe.com/wiki/display/flexsdk/DownloadFlex3]
    Flash Builder ships with Flex SDK 4.5 which is not compatible with WDA flash islands.
    As for the charts library, which Adobe referes to as the Data Visualization Component, it is also available as a separate download which can be unzipped into the same directory as the Flex SDK -- the library is available here [http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3sdk]
    I must say I am also confused, because as far I can tell data visualization component is not included in 3.3, but SAP makes no mention of this. Hopefully someone else can enlighten us on this issue?

  • Help flash player security popup

    Hello i keeps on having this  message poping up on my Fire Fox browser. Its to do with Flash Player  Security. anyone able to help???
    Adobe  Flash player has stopped a potentally unsafe opperation. The following  loacal application on your computer or network  chrome\\tavgp\content\html\tabswelcom.htm is trying to comunicate  with  this internet-enabled location: s.nsdsvc (that part changes) To let this  application communicate with the internet, click settings.

    jamesp282 wrote:
    To let this  application communicate with the internet, click settings.
    And did you click Settings?
    You may also be able to change the security settings at http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l

  • Adobe Flex & Flash

    Hi,
    I have a question about Adobe Flex. I have a project about preparing a digital content (i am planning preaper it at flash and compatible with SCORM 2004). I need to know that can i connect a content prepared with Adobe Flash CS4 to Flex?
    And if yes, how can i do it. I dont know Flex much
    Thank you.
    Nilay P.

    > I am Working as Consultant-SAP.I am creating static Forms using Adobelive
    > Cycle Designer and SAP.
    >
    > How Adobe Flex is useful to create Forms?
    Yes very.
    > Is it usefull for me if i learn Adobeflex?
    Several of us are turning to Flex for eLearning and we are finding it to be
    a great tool.
    > How will be the future with ADOBE FLEX?
    I think Adobe are commiting heavily to Flex - Flex plays on any machine with
    the latest Flash player , so that includes PC, Mac and Linux. AIR plays on
    PC and Mac today, with a Linux version under development right now. In the
    future (Open Screen Project) versions of Flex and AIR should play on mobile
    devices too.
    >
    > I have seen the article SAP WebDynpro + Adobe Flex/Flash = Enterprise UI
    > 2.0.
    > Working as ABAPer shall i shift to Adobe Flex?
    I don't really know what would be good or bad for your needs. Take a look at
    some of the sample Flex and AIR apps on Adobe.com and see if you think the
    features demonstrated are applicable to your needs.
    Steve
    http://twitter.com/Stevehoward999
    Adobe Community Expert: eLearning, Mobile and Devices
    European eLearning Summit - EeLS
    Adobe-sponsored eLearning conference.
    http://www.elearningsummit.eu

  • Sandbox security denying CFINDEX from indexing a collection (Solr/CF9)

    Hello, everyone.
    I did fix the last Sandbox security related issue with Solr collections - it was in the "Files/Dir" section, I had to put everything under C:\ColdFusion9\wwwroot.
    Now, I'm facing yet another Sandbox related issue with collections.
    I have one reindex script that has NO ISSUES when pulling data from a database and indexing a collection from that.
    I have another reindex script that will not index a collection from a query, unless Sandbox is disabled.  I will try to give some pseudo code.
    <cfquery name="search_results" datasource="documents">
      SELECT DOC_ID, DOC_NAME, DOC_DESCRIPTION
      FROM DOC
      WHERE DOC_ID in (<cfqueryparam value="#thisList#" cfsqltype="CF_SQL_VARCHAR" list="yes">)
    </cfquery>
    <cftry>
      <cfindex action="refresh" collection="collection_name" key="DOC_DESCRIPTION" type="custom" title="DOC_DESCRIPTION" query="search_results" body="DOC_ID, DOC_NAME, DOC_DESCRIPTION" status="results" />
      <cfcatch><cfdump var="#cfcatch#"></cfcatch>
    </cftry>
    The query will retrieve 15 records, with or without Sandbox.  But the CFINDEX will not work if Sandbox is enabled.
    The other reindex script is not affected, either way.
    What could be causing the CFINDEX to fail?
    Thank you,
    ^_^

    I had a similar issue with CFSEARCH on CF10 with sandbox security that I resolved by adding the following to the neo-security.xml file:
    <struct><var name='CLASS'><string>java.net.SocketPermission</string></var><var name='TARGET'><string>127.0.0.1:0</string></var><var name='ACTION'><string>listen,resolve</string></var></struct></array></var></struct></var> </struct>
    That gives permission to listen on dynamic ports (the colon-zero part).

  • Load Flex/Flash Builder project in Flash Professional CS5

    Is there a way that I can load (or export) Flex/Flash builder project in Flash Professional CS5?
    As it turns out we got Flash Prof for our team, but it may look like we actually need Flash builder to build lots of UI related stuff..

    Specifically, I want to use flex chart in CS5. Is there a way to do this?
    Message was edited by: bart2335658
    And flex ui

  • Adobe Flash Player Security on Mac OSX 10.8.5

    Hello, I need some help. I keep getting an Adobe Flash Player Security warning every time I try to load Pandora on my Mac. I not sure if this is some form of spyware. I've tried to research it online but I can't find anything with this specific error message. Also I've run a few antivirus/spyware programs, but turned up with nothing. I've never come across it before when using Pandora in the past, so I know it's something out of the ordinary.
    Thank you all very much for the assistance.

    There's a local file "/about/srcdoc" (I'd imagine it's in the Muse-Pandora folder) that's attempting to connect to the Internet. This is a "safety feature" built into Flash Player to prevent malicious files from connecting and downloading a virus. Why they have that for Mac OS I do-not-even-pretend-to-know, but it's there.
    Open your System Preferences and the Flash Player pref pane
    Click the "Advanced" tab in the Flash Player Settings Manager window
    Scroll down to Developer Toos and click "Trusted Location Settings...:
    Click "Add Folder..."
    Select the Muse-Pandora folder in your Applications folder
    Confirm
    Close the Manager and retry it.

  • Mac Safari "Adobe Flash Player Security" issue

    Using Captivate 5.5 for Mac. I've been having sporadic problems viewing my published .htm files in Safari. I always get the "Adobe Flash Player Security" popup on initial load, but before today I could usually just click OK and refresh the browser window to play the Flash content. Today I can no longer view the content in Safari. (Firefox plays the content fine.)
    The popup says "To let this application comminicate with the Internet, click "Settings". When I click Settings, my Mac OS Flash preference dialog opens. But the only options available are "Local Storage Settings", "Camera and Mic", "Playback" (which pertains to peer-assisted networking, not local playback), and "Advanced" (which only allows you to delete local files). Just for experimentation, I tried adding my local path as an allowed site in "Local Storage Settings" but it doesn't have any effect.
    I don't have any other problems using regular Flash-based websites in Safari. Only my published Captivate files spawn this security popup.
    How do I fix this?

    It worked! Thank you. (Actually, I used the related URL for "Global security settings for content creators" (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04a.ht ml#119065) since that URL is intended for local development/testing, whereas the link you provided is for sites on the Web.)
    But I'm curious. . .  according to Adobe (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager.html), "Beginning with Flash Player 10.3, the Local Settings Manager supersedes this Online Settings Manager for managing global settings on Windows, Mac, and Linux computers." Yet the page goes on to explain when one would use the online Global Settings. This is very confusing. If the local Settings Manager supercedes the online manager, why would the online manager still be required for certain uses? And why isn't a link to the Global Settings manager provided within the local Settings manager. What am I not understanding?

  • Adobe flash player security blocking

    The adobe flash player security  is blocking mail with the message /about/srcdoc is trying to communicate with this interner-enabled location  static.adsafeprotected.com
    How do I get rid of this?

    IanGCou wrote:
    How much of a risk is it unblocking?
    If you select a single site to allow, not much, as long as it's a trusted site and you're careful about what you open there (in this case it being mail, you need to use your own discretion). If you set Flash Player to allow ALL sites, then you may be opening yourself up to anything from spyware to outright viruses.

  • Adobe Flash Player Security pop up during installation.

    Hello, I recently purchased a macbook this week. My first apple computer. I was downloading and installing a widget, astroids, through apples website and after installation I noticed a dialogue box appeared. It said "Adobe Flash Player Security" as the title and then it showed where the downloaded file was located. I looked in the folder where it said it should be located but nothing was in that folder. I couldn't close the message box, it just stayed their with my mouse pointer doing a circular pattern. I eventually restarted my computer because I didn't know how to get rid of it. My question is should this be something I should be be worried about? Is everything ok with my macbook? Sorry if this sounds silly, I am new to owning an apple computer and trying to get familiar with it. Thank You.

    For the Flash Player stuff, start with http://www.adobe.com/products/flashplayer/articles/localcontent/
    After sorting that out, see:
    Switching from Windows to Mac OS X,
    Basic Tutorials on using a Mac,
    Mac 101: Mac Essentials,
    Anatomy of a Mac,
    MacTips, and
    Switching to the Mac: The Missing Manual, Snow Leopard Edition.
    Additionally, *Texas Mac Man* recommends:
    Quick Assist.
    Welcome to the Switch To A Mac Guides,
    Take Control E-books, and
    A guide for switching to a Mac.

Maybe you are looking for