Actionscript :: Local Swf Bridge To Remote Swf To Go Around Flash Sandbox

Apr 4, 2011

Goal: to make possible to make requests from flash running on local protocol (widget://, file://, chrome-extension://) without any special permissions on [URL]

Supposed solution: proxy swf file loaded in page with widget:// or file:// or chrome-extension:// protocol which loads into itself swf file located on http server. local swf bridge conects its own external interface to http swf file external interface.

This solution used in youtube movies, so you can embed any youtube movie into local page and it will be shown and played fine;

At the end we can get working soundmanager2 [URL] opened localy (file:// protocol), which can load and play music and video from internet. I need proxy for this version [URL]

Some relative [URL] How do I call a Flex SWF from a remote domain using Flash (AS3) ?

I need this to play music in opera extension (using widget:// protocol) for my project [URL] to let users play music without setting up special permissions

View 1 Replies


Similar Posts:


Actionscript 3 :: Tell Flash Sandbox To Only Allow Local?

Mar 12, 2011

Is there a way to allow a Flash app to access local files?

I've build an app that's just for local use and not for web use but i run into sandbox errors because the app consists of several .xml and .swf files.

I understand this can be changed by telling the security settings to trust the app but it should be easy to use so this is not an option.

The app (swf) is embedded in a (local) html page.

View 2 Replies

Flash :: Escaped Characters In A Remote Asset Filename Throw A Sandbox Security Exception?

May 9, 2011

I'm calling remote images with with a Loader and the context has checkPolicyFile=true, images load fine with urls like :url....the only difference being escaped characters, is this a bug or am I doing something wrong?url...

View 1 Replies

Flash :: SWF Local Trusted Sandbox And Adobe Air?

Oct 27, 2011

We are a research group from the University of Zaragoza (Spain). We are developing educational games for children with special needs, (in particular, with)social and cognitive disabilities. We develop our games with Adobe Flash CS5, so we are enough handy with Action Script language.The emerged problem is related with the security sandboxes in Flash.

At the moment, we are designing a new educative application where image and sound resources come from the Internet, using web services through a "loader.load(new URLRequest(name))" command. We are using the adequate crossdomain file, and it is working fine when published on the web.HOWEVER, now we are thinking on developing a desktop educative application, where educators will configure the game, and keep their work in a local system file. This is where problems arise. As the Flash player sandboxes limits us to "only network", or "only local file system" use, we are not able to access the Internet and to generate local files at the same time.

We are not trying to make a flash virus, we are only trying to make an application for educators, where resources came from the Internet but the application requires access to local file system in order to let educators to save and to load their work in their disk.Reading the Adobe doc, we found the different flash player sandboxes: http:[url]....

It seems that there is a sandbox which enables us to both access internet and local files:"Security.LOCAL_TRUSTED—The SWF file is a local file and has been trusted by the user, using either the Settings Manager or a Flash Player trust configuration file. The SWF file can both read from local data sources and communicate with the Internet." And it seems that Local_trusted SWF files are set by the final user or by installer programs. As we intend to publish the application on the web, and educators will download the application, the installer programs seems a nice option, but we are not able to find info about SWF installer programs.

On the other hand, we know about the Adobe Air solution. We understand that AIR is a substitute to Flash Player. It seems adequate as it will expand our application to other environments like android IOS (tablets, mobiles, ...).The question is: using AIR, would we gain network and local access in our SWF application? And what about the final user? Would he/she be able to download the SWF from our web, and any kind of AIR player and executing our application in an easy way on the device? Finally, what do you think is the best solution for the kind of application we are aiming to?

View 1 Replies

Flash :: Air Remote External Swf Can Not Access Local Apk?

May 4, 2011

I'm developing an android file by using flash cs5 air extention. I know the basic crossdomain policy and server to server connections. And I searched many pages but there is no solution about this.

My "container.apk" loads "external.swf" from the server.. And I want to be able to reach the variables and functions in "container.apk" from "external.swf". But I can't reach any function on my container (application file .apk) from my external module swf (remote file).. I mean, I'm trying to reach container.apk's functions from the loaded swf. Like when a button clicked on "external.swf" it should effect a function in "container.apk".

Also here are some error codes that I'm getting ;

[Code]...

View 1 Replies

Actionscript 3 :: Execute Remote SWF In AIR Security Sandbox?

Jun 13, 2011

I try to download an external SWF and run it within the AIR security sandbox.

this is the code of the AIR application:

public class Downloader extends Sprite
{
private static const REMOTE_FILE:URLRequest = new URLRequest("http://myserver.com/downloadable.swf");

[Code]...

So - what Do I need to do to prevent such security errors? I want my remote SWF to be treated as native code running in the same security sandbox as the AIR code.

View 2 Replies

IDE :: Security Sandbox Data Grid With Remote Xml

Feb 18, 2010

I have a problem with the security sandbox in my site. I want to use a data grid with a xml coming from another domain.I have prepared a crossdomain.xml file with this structure:[code]I have put this file in the public_html folder of my host, and also inside the same folder of my app but still not working..

View 2 Replies

ActionScript 3.0 :: Flash Plays On Local PC But Not On Remote Server?

Feb 12, 2011

I am having no success playing a short FLV through a SWF on my hosted web site. The video plays without problem on my local PC. This problem only occurs with SWF and HTML created with Flash CS5. With Flash CS3 the problem does not occur. The only difference I see between CS5 and CS3 files is this: There is a file called AC_RunActiveContent.js created with the SWF and HTML through CS3. But that file does not exist with the SWF and HTML created through CS5. Since the video plays on my local PC, I assume that AC_RunActiveContent.js is not required for newest version of Flash player. My web host provider assures me that MIME settings are correct and Window 2005 is the operating system. I am at my wits end trying to determine the cause and fix for this problem. Please give me some advice for resolution.

View 3 Replies

ActionScript 3.0 :: Flash Loading Remote Files From Local Swf?

Nov 8, 2011

I have a problem when i try to access the internet from a swf that is run localy.I want to load other swf files from diffrent domains into my main file wich works fine when the swf is on some domain but when i download the file and run it localy it doesn't work.

Can i change the sandbox type from actionscript? Mochi Media does it after enctypting your swf but i don't know how.

View 2 Replies

Flex :: AIR - Security Sandbox Violation When Using Remote Images

Sep 8, 2009

The code below is simplified for example I'm developing an AIR application (using Flex) which loads several of its images from a remote web server. The images display fine, however, whenever I'm manipulating the containers which hold the remotely-loaded images, I get errors in my console:

[Code]...

The images don't seem to be affected, but I don't like having errors displayed that I don't understand. Here's a sample app that exemplifies the problem:

[Code]...

View 3 Replies

ActionScript 2.0 :: Access Local PC Files From Remote Flash Player?

Feb 7, 2010

I have a flash file located on a web server. When it's loaded, I want it to access the user's PC and display some data (such as file directories, files, etc)I know there are security rules about what a flash player can access, but so far all I can seem to find are rules regarding local flash players accessing the internet, but not much on the other way around, or how do go about doing that.

View 0 Replies

Actionscript 3 :: Security Sandbox To Test Locally With Remote Files?

Aug 30, 2010

If I have a flash file that I'd like to test locally (on my computer) but I have video files on a flash video server and photos on another server, is there an easy way to set up my flash file so I can do this?

View 1 Replies

Professional :: Local Sandbox Versus ExternalInterface

Aug 19, 2010

So I wrote a CS4 Illustrator plugin that loads a SWF as its user interface.  Works great on the mac, but I am having a problem on Windows:The .swf needs to be compiled with the "-use-network=false" option set in order to access some files on the local machine.  HOWEVER when that option is set, all of my "Externalinterface" calls break down.  When "-use-network=false" is not set, then I can't access the local files, BUT my "externalinterface" calls (which communicate with the plug-in) work just fine.
The SUPER frustrating part is that

A) it works fine on the mac, and

B) on window, I don't even need to set the "-use-network=false" option for the swf to access the files IF the .swf is loaded in explorer.I'm not sure if using AIR is possible, but I'm trying that next since AIR can access both local and network files without all the sand box hokey-pokey.Also CS5 is not an option for me for this project.

View 3 Replies

ActionScript 2.0 :: Turn Off Sandbox Checking When Developing On A Local Machine?

Feb 19, 2010

Is it possible to turn off sandbox checking when developing on a local machine? I know this could never be allowed on a production version but publish and upload after every edit?

View 5 Replies

ActionScript 2.0 :: Replacing Remote XML With Local?

Aug 14, 2009

In my html, I have

Code:
var frank = "http://www.deloitte.com/deloitte-ecm-cm-dpm-web/getflash?queryParams=view=dhome/cid=4030faec731c1210VgnVCM100000ba42f00aRCRD";

[code].....

View 1 Replies

Silverlight :: Flash Vs Silverlight On Localhost /local File Permission To Access Remote Webservice?

Mar 30, 2011

In Flash user can give permission to localhost and even local html file to access remote webservice.I fail to see the same thing for Silverlight which is a nightmare for testing on local pc.

View 1 Replies

Actionscript 2.0 :: BitmapData And Local Vs Remote Images

Feb 27, 2012

I am creating an interactive post-it for an upcoming event that allows for us to tap into a sql database and post tweets, survey answers and images. We've already tapped into the Twitter API and the survey, so those are A-OK.The problem lies within loading the images from a location other than the local interactive board's server.If the image itself is locally hosted, it loads just fine.If the image is hosted elsewhere, the image will not load, even though I have a trace on the URL of said image.I'm loading all tweets, surveys and images through an XML load and all the data is loading properly.I AM loading the image through a smoothing filter so that when the "post-its" are slightly rotated, they are not jagged. Here is THAT code:[code]

This is a two part script where the bulk loads in the image and places it into an empty movieclip, then adds the smoothing filter. The second part is a resizer that automatically resizes the image and keeps the aspect ratio.When I test the flash piece (not embedded in HTML) the thing works 100%.As soon as I put the swf into an html and view it on a web page, the remote images will not load.I'm a bit stumped on why this is, could this be a firewall or security issue? Because I work in a high security firewall environment.

View 1 Replies

ActionScript 3.0 :: How To Handle Pathing (local/remote)

Sep 15, 2009

Especially in the case where there's multiple swfs (wrapper & content), and then lots of child classes within the content swf, how do you handle pathing changes between testing locally versus deploying live?I've used a few different methods ('DEBUGGING' Boolean with path variables changing depending on true/false; config.xml file loaded with pathing defined within), but all seem the have weaknesses that make it a real pain to workwith/around....especially when you're using the same swf in multiple places and the pathing is all relative to the HTML page that embeds it. :/

View 4 Replies

ActionScript 2.0 :: Remote SWFs May Not Access Local Files

Feb 4, 2007

I have this situation (simplified):
MC-A.swf opened from local computer (C:/) and loads MC-B.swf which is hosted on a server.
When MC-B.swf is loaded, it tries to access file called "loader.swf" which is also on local computer (C:/).

When it tries to access the "loader.swf" I get the following error message:
*** Security Sandbox Violation ***
Connection to file:///C|/loading.swf halted - not permitted from [URL]
-- Remote SWFs may not access local files.

I read discussions concerning this issue, and as I understood, I could use:
System.security.allowDomain("[URL]");
to solve this problem, but it didn't work.
I wouldn't like to change the loaded file to load it's resources also from the web, since it can find them on the local machine.

View 4 Replies

ActionScript 3.0 :: Remote SWFs May Not Access Local Files?

Aug 18, 2009

lod.load(new URLRequest(str2));how to unload the lod when second time i cal that function.how to over come this (*** Security Sandbox Violation ***SecurityDomain )

View 1 Replies

ActionScript 3.0 :: Remote XML Works, Local XML Brings Error?

Sep 8, 2009

Been given the following actionscript

Code:
package menu
{

[code].....

View 1 Replies

Actionscript 3 :: LocalConnection Working In Local Browser But NOT In Remote Site

Jan 23, 2010

Really puzzled by the flaky behavior of LocalConnection. Using a debug utility(LuminicBox) that uses localConnection to work.

When the page containing the swf is loaded in a browser locally , localConnection works.

When the identical page and swf are viewed 'live' on a remote site, localConnection fails.

View 3 Replies

Is The Framework AMFPHP A Bridge Between Flash And PHP

Nov 24, 2009

connectivity of data using AMFPHP between the flash frontend and the mysql database?

View 2 Replies

Flash 10 :: Uninstall CS4 Bridge, Drive, Etc?

Sep 5, 2010

I got a complete package of creative suite cs4. Even though I didnot want to install additional components such as Adobe Bridge, Adobe Drive, etc. They got installed with the package. Now I have CS5 available, and I don't want these to keep occupy the disk space, atleast not CS4.

How can I uninstall these components, I don't really use them too. I looked into my Control Panel, but there is no option to uninstall them. I am using Windows 7.

View 0 Replies

Javascript :: Silverlight And Flash Bridge Compatibility?

Dec 23, 2010

I'm developing a Silverlight4 drop-in replacement for an existing Flash client. I would like to maintain compatibility with the existing Flash HTML bridge javascript functions, but I can't figure out how to expose the javascript interface directly on the Silverlight client object instead of a contained object.

In Flash, it is possible to call Bar() directly on the client object, as in:

var flashClient = document.GetElementById(_currentFlashId);
flashClient.Bar();

But in Silverlight, I haven't found a means to call an interface directly on the Silverlight object. Instead, it appears interfaces can only be exposed on contained objects, as in:

[Code]...

View 2 Replies

ActionScript 2.0 :: Bridge -> Flash CS5 Photo Gallery Import?

Jun 29, 2010

how to import a photo gallery created from Bridge to a FLA flash site? I've been searching through forums and can't seem to come up with an answer. When exported you get an index.html file and a resources folder with all the source files. Inside your sources file you have a few SWFs, XMLs, and Javascript files. I have already tried all three SWFs hoping they would just import but no luck, they are just swf preloaders and such. Attached is a screenshot of the resources folder

View 1 Replies

Published Files Work On Local Site But Not On Remote Site?

Nov 4, 2009

the flash4 published set of files, with a variety of skins tried, works well on the local drive, even when moved to a different folder structure. when index.html is opened on the remote web site, the browser (firefox3 and ie7) displays the player conrols and a rotating horizontal barber pole, green and black, but no flash video.some of the skins i've used are: SkinOverPlaySeekFullscreen.swf, nOverPlayStopSeekCaptionVol.swf and SkinUnderPlay.swf. all work locally but do not play the .flv file on the web site. no problem playing flv movies on the remote web site if the file set is created by dreamweaver.

View 8 Replies

Flash 9 :: Sandbox Security - Error #2044: Unhandled SecurityError:. Text=Error #2048: Security Sandbox Violation

Mar 5, 2008

I get following error: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: [URL] cannot load data from 192.168.3.5:4854. at TicTacToe_fla::MainTimeline/TicTacToe_fla::frame1() ". I tryed to solve this problem about 3 hours, but I failed I have the file crossdomain.xml in the same folder like my .swf file on the server with this content:

[Code]...

View 7 Replies

ActionScript 2.0 :: Access Local Swfs Using Remote Swfs?

Jan 5, 2010

Is it possible to access local swfs using a remote swf

View 1 Replies

ActionScript 3.0 :: Error #2148: Only Local-with-filesystem And Trusted Local SWF Files May Access Local Resources

Jul 4, 2010

I'm trying to load a local xml file:

xmlLoader.load(new URLRequest("../xml/xmlData.xml"));

But I'm getting this security sandbox violation:

#2148: Only local-with-filesystem and trusted local SWF files may access local resources.

I don't get this error when I embed the XML file directly with the EMBED metadata tag.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved