How do I create a local AIR app that loads a network resource that loads a network resource?

Ok, when you think about it, what I'm trying to accomplish
isn't that difficult, yet I'm running into security sandbox
violations all over the place.
Here's the scenario:
- I have a network-enabled SWF that lives in a web server,
that pulls external content via the network. That part works fine
when you run it as itself.
- THEN, I have an AIR application that is nothing but a
"stub" that loads that network-enabled SWF from a web server, that
in turn is supposed to pull the external content from the network.
It seems easy: I don't want to have to bundle up that same
main SWF as an AIR application as that would create two code bases
to maintain should there be any future bug fixes. Count that
against countless installs on both the web-version and the desktop
version, and there's lots of variables. So I just wanted the AIR
application to pull that single SWF off the server and have it do
its work, independent of the AIR application.
However, the problem I'm running into is:
quote:
SecurityError: Error #2142: Security sandbox violation: local
SWF files cannot use the LoaderContext.securityDomain property.
app:/buzztv_desktop_0.1.swf was attempting to load
http://localhost/widget/widget.swf.
at flash.display::Loader/_load()
at flash.display::Loader/load()
There was a previous instance of that same error that
referenced Stage, but I solved that by wrapping the main function
in an if (stage) {}, so this is the next error on the list. I have
a feeling that if I've encountered these two errors already, there
are more lined up behind them.
So I tried something like
quote:
_loader.load(request, new LoaderContext(true, null,
SecurityDomain.currentDomain));
...thinking that it might help, but it didn't.
Is there a reasonable solution to this without changing the
entire workflow of the project, or do I simply have to have the
same main SWF as two code bases, one for the embeddable web
version, and one for the desktop version (read: they are intended
to do the same exact thing, no differing features, no desktop
notifications, etc.)?
Thanks in advance!

Hi,
I have simillary problem, please, did you find solution?
Thx

Similar Messages

  • How do you create folders in mail app? Is there a way in 3GS IOS 5?

    How do you create folders in mail app? Is there a way in 3GS IOS 5?

    Russell D wrote:
    This is very disappointing, and i find it hard to believe that Apple would do this intentionally. It worked on previous versions of email application. Apple please don't dishonor the image of Steve Jobs this way. Fix this right away. I can't think of anything more basic than being able to organize the email that you download into folders. This absolutely ***** ... What a stinker.....
    I can't think of anything more idiotic than invoking the memory of Jobs here. Are you truly unaware that the iPad and iOS is pretty much exactly the way he wanted it to be, just like about everything else Apple?
    As to your claim of "previous email applications", certainly none in iOS ever did that, and the only folders you can create and manipulate in POP accounts are those local to only that single machine or platform, not particularly helpful or desirable in today's environments.

  • How can I create a magazine web app for all devices?

    How can I create a magazine web app for all devices?

    magazine web app is not supported in DPS as of now. You can share the contents to preview it on web content viewer.

  • How do I create folders for variuos apps i.e health, news etc.

    How do I create folders for variuos apps i.e health, news, sports etc.

    Tap and hold down on an app con until it begins to "wiggle", then drag one app icon on top of another app icon to create the folder. Move as many apps as you like into that folder. When you are done, tap the home button and the apps will stop wiggling.
    You can also name the folder whatever you want to in the white text field that will pop up when the folder is created.

  • How do I create (or delete) a new tag for a website, so that its tag appears (or does not appear) every time I restart Firefox?

    How do I create (or delete) a new tag for a website, so that its tag appears (or does not appear) every time I restart Firefox?

    See this - https://support.mozilla.org/en-US/kb/How%20to%20set%20the%20home%20page

  • How do i create a link to an Anchor in Adobe Muse so that i can add the link in an email?

    How do i create a link to an Anchor in Adobe Muse so that i can add the link in an email?

    Create your anchor normally then in your email for example if your anchor is on your index page your link would look like http://www.yoursite.com/index.html#youranchor

  • Best way to create sell-able AIR apps?

    What are my options with regards to creating an AIR application and selling it? I know for a fact that it's as easy as a walk in the park to decompile such and so I want to know how other commercial AIR app vendors approach this problem?
    And also if possible, please do try to include free options.

    This, for example:
    OS X: "Some features of Mac OS X are not supported for the disk (volume name)" appears during installation

  • Creating a prepackaged AIR app | Learn Flash Professional CS6 | Adobe TV

    Discover how to deploy AIR applications from within Flash Professional CS6 as "captive runtimes." Captive runtime allows developers to bundle the AIR framework into an AIR application, creating a self-contained entity that eliminates third-party dependency.
    http://adobe.ly/JXWmgc

    Hi I am a little confused.
    I wan't to export an AIR "Application with runtime embedded" I can do this fine for a MAC file from my mac I can just check the "Application with runtime embedded" check box and I get a file that I don't have to embed. I would like to do the same for a PC I have flash installed on windows 7 parallels. When I check the "Application with runtime embedded" check box and export I get a file structure instead of an app I can open. The mac version I can just double click and it opens without having to install the app.
    Is it then true that you can not have an AIR Captive file file for the pc that you don't have to run through an installer process?
    Many thanks
    Oli

  • How to use expansion files for AIR app (flash cs6) on Google Play Store

    I am currently working on an app that will undoubtedly end up bigger than the maximum size of 50 MB for the APK, and I have no clue how to add files to an expansion pack, how to load expansion pack, what files need to be in expansion pack, or even what an expansion pack does/how it works. If anyone can point me in the right direction, that would be great, I want to make an expansion pack now before I get even more files.

    Haven't had a need to do this for file size purposes but since we can now download and use SWFs with ABC, I just specify my external SWFs when I compile and once my app is run it downloads the SWFs (with a pretty preloader) before the user can do anything. I have my own servers so I believe that's all that Amazon Bucket is actually used for. That user didn't have their own web servers to serve up the SWF content from.
    Aside that, check the answer here. Google will turn any extra files uploaded for your app into OBB for you. You just upload the SWF:
    Create expansion file for AS3 android Air App Flash cs6 - Stack Overflow
    It also outlines if you need to upload multiple files then .zip them up and use an AS3 .zip library to extract the files.

  • How do I create an iPad dps app that needs a password to enter?

    I need to create an iPad dps app for a corporate client and they have asked the question if after download, we can have it password protected to enter?
    If so how do I go about this? so the app has a log in page once loaded?

    You'd need to create a custom HTML store/library and build that into the application, and have that page request the password. This is a DPS Enterprise feature, it isn't available in pro or single edition.
    Neil

  • How can you create a local variable from a boolean control?

    I want to create a local variable from a boolean control, but it says that boolean latch actions are incompatible with local variables, but I need a way to check this boolean control in two differents loops, how can I do it?

    "Graci" schrieb im Newsbeitrag
    news:[email protected]..
    > I want to create a local variable from a boolean control, but it says
    > that boolean latch actions are incompatible with local variables, but
    > I need a way to check this boolean control in two differents loops,
    > how can I do it?
    Use global variables.
    Compare them with a constant Boolean like F or T.
    The result is true or false and then you can use it in a Cae-Loop.
    Martin

  • How can I create a local [b]bitmap[/b] index on a [b]list-partitionintable?

    Hello there,
    Could anyone show me a sample code of How to create a local bitmap index on a list-partitioning table?
    I tried some code such as
    1):
    CREATE BITMAP INDEX bix_CID
    ON Sales(Customer_ID)
    TABLESPACE INDX
    STORAGE (INITIAL 32K NEXT 32K PCTINCREASE 0)
    LOCAL NOLOGGING;
    I can create the index with this statement, but when the status of the index is 'N/A' (means 'INVALID').
    2):
    CREATE BITMAP INDEX bix_ver ON Versions
    (VERNUM) TABLESPACE INDX
    LOCAL
    (PARTITION par1
    ,PARTITION par2
    ,PARTITION par3
    ,PARTITION par4
    ,PARTITION par5
    ,PARTITION par6
    ,PARTITION par7
    THen I get ORA-600 error.
    Thanks a lot!
    wendy

    You are creating the index properly. When you create a local index, it creates same number of partitions as the partitions in the table which are tightly coupled to table partitions.
    I guess you are checking the status of index in dba_indexes or user_indexes table. The status here could be misleading since this table gives status of non-partitioned indexes.
    For partitioned indexes you should check for status in dba_ind_partitions or user_ind_partitions which gives status of each partition in index.
    Chanda

  • How to simply create a locally partitioned index with a dedicated tablespac

    Dears,
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64biSuppose you have a range partitioned table t on date d with n partitions p1, p2,....pn
    If you create a locally partitioned index using the following script
    create index ind_loc on t(d) local;all the partitioned indexes will be created on the same default tablespace.
    Is there a simple creation script (not that where we have to add each partition and each tablespace) to use in order to associate each partitioned index to a given tablespace?
    Best Regards
    Mohamed Houri

    Suppose you have a range partitioned table t on date d with n partitions p1, p2,....pn
    If you create a locally partitioned index using the following script
    create index ind_loc on t(d) local;all the partitioned indexes will be created on the same default tablespace.
    Is there a simple creation script (not that where we have to add each partition and each tablespace) to use in order to associate each partitioned index to a given tablespace?
    Hi Mohamed ,
    AFAIK , there is no such script . If you want partition to be stored in different tablespaces, then you will have to specify partition name along with tablespace name in create index command.
    Regards
    Rajesh

  • How do I create a Table of Contents in InDesign CS6 for print that easily converts to epub?

    How do I create a Table of Contents in InDesign CS6 for a print book that easily converts to epub? 
    Can anyone point me to a link for a step-by-step (not a video) on setting up all the elements of a print book properly (pages, table of contents and index) so they will convert and reflow perfectly from print to epub in InDesign CS6. This is not about building an ebook from ground up, but taking 50 backlisted print books (converted from old versions of Quark to InDesign) that now need to be converted to epub formats.
    OR could someone point me to the link in the Adobe InDesign CS6 support that explains how to create a Table of Contents for a print book (5.5" x 8.5", 288 pages), one that will convert when the file is converted to ePub (for MAC OSX)?
    Just downloaded the 706 page inDesign CS6 reference manual from Adobe <http://helpx.adobe.com/pdf/indesign_reference.pdf>  but there's not even a search feature on the pdf file.
    Up until this week, we have only done print books, creating the TOC the old fashioned way, as a fixed page, comprised of two columns: page numbers and chapters/subject. The files I have created are taken by our printer and printed beautifully.
    However, when I convert the same book to epub in CS6, the character and paragraph styles converted beautifully - but everything else is all over the place! The table of contents is on different pages, the columns split apart. That goes for the page contents as well - everything is all over the place. when it's converted to a pdf -- total perfection. Never any problems converting with perfection to pdf format and reading those on the various readers.
    (Thank you so much in advance for any help).

    <http://helpx.adobe.com/pdf/indesign_reference.pdf> Adobe Digital Reader does have a search feature for reading pdfs. Found the TOC instructions on page 176 of 706 pages. 

  • How can I create a exe file with a tab control on it that work´s ?

    I have a VI with many controls and indicators,these are spread on a tab control.This tab control works with out any problems but if i create a exe file then the tab control is fixed. How can I create a exe file so that the tab control on it work´s ?

    I have made a new Posting with the same question but this time I added a screenshot of the VI.
    Attachments:
    project7.1.jpg ‏129 KB

Maybe you are looking for

  • Why do I only get 2 pages when export PDF to Word?

    I have a PDF document that was created from Word (probably 2003). I was asked to convert this document back to Word. When I do this, the progress bar shows that it's converting all 16 pages, but when I open the file in Word, I only have the first 2 p

  • DISPLAYING HELLO "USERNAME"

    Hey guys, Here's the problem : I've created a login page which accepts username and password. When i click on submit button, the next page displayed should greet the user by his/her username i.e Hello "username". Sounds simpe. Here's where it gets tr

  • Saving Keynote docs in iCloud

    Hello! I recently downloaded Keynote, and I am trying to save a Keynote presentation in my iCloud, but iCloud is not coming up as an option under "Where" (to save).  How can I fix this? (note - this is my first time saving anything to iCloud, so perh

  • Migrating from 10.4.11 Server to Mavericks (App) Server

    Hello All! We have recently purchased a new Mac Mini 2.3GHz quad-core i7 with OS Server, in the hope of replacing our current G5 X-Serve running 10.4.11. I would like it to be known that I am not a server administrative wizard, but am aware that the

  • TAF application Failover is not happening

    Hi, I have installed and configured Oracle RAC. My Configurations are: OS: RHEL 5.5 64 bit (2 Servers) Database: Oracle 11g R2 Client: Oracle 11g R2 Database name:orcl Instances:orcl1,orcl2 TAF_service name: TAF_orcl I have configured TAF using the m