ActionScript 3.0 :: Local Playback Security?

Aug 27, 2009

How would I go about checking this setting on a loaded SWF file? For example, I have parent swf A, loading child Swf B. Once swf B is loaded into child A, how do I check child B's local security setting property?

View 1 Replies


Similar Posts:


Actionscript 3 :: Local Playback Security Setting In Flash For Outside Communication With Inside As-classes?

Dec 14, 2010

I'm using external actionscript files located in the root of my webfolder, but I also want to communicate with another website.

How should I set my Local playback in publish settings? Access Local Only? or Access Network Only?

View 1 Replies

ActionScript 3.0 :: Flash Audio Playback Security?

Nov 9, 2010

mp3 playback security with Flash player. I am making a mp3 player and don't want to give user access to download the mp3 files from server. But according to Flash player functionality, it's getting downloaded in cache. Also with Firbug user can see the mp3 file path.I would like to have any good suggestion for this development, without streaming server. Is it really possible to secure mp3 files with Flash player? If yes then please let me know your feedback for the same.

View 3 Replies

Flex :: Security - Running Application/swf In Local Mode?

Oct 12, 2010

We are using flex for same. (Although I know flex is meant for web application and air application is best suited for desktop clients, but due to some build issues we can't go for air applications). Now according to our use case we required to read file from local file system which is not allowed in flex application due to sandbox policy. To override it we had planned to use it in local mode (i.e. running from local file system instead of deploying in web container). So after running application in local mode it bypasses sandbox policy and allows to read local file. Eventually we requires remote services call (either using web services or blaze ds) also in our application. To avoid sandbox restriction for network access in local mode we are planning to explicitly grant network access permission to our flex application.

View 2 Replies

Flex :: No Active Security Context When Doing LocalConnection Between 2 Local Swf's

Mar 28, 2011

I just dont get it - the swfs are in the same folder, hows that possible?

View 1 Replies

Flex :: Adobe Air Local FLV Playback?

Jul 22, 2009

I'd like to distribute FLV files from my website, however I want a level of DRM control over the files. So far, I've been able to modify the FLV files to contain a 60 character ID at the very front of the file, but I can't figure out how to get AIR to extract the ID and therefore play the file. All I can figure out is using NetStream, but that won't let me skip 60 bytes, and so it thinks the FLV is invalid.

View 1 Replies

Avoid The Trip To Global Security Panel To Access Local .swf?

Aug 28, 2006

i just want to ask if there's a way to avoid the trip to global security panel to access local .swf?

View 3 Replies

ActionScript 2.0 :: File For Local Playback And It Contains Some Animations?

Oct 15, 2010

Building a flash file for local playback and it contains some animations that I insert as .FLVs. It is set to play full-screen, but when it does, the video gets all jaggy. Is there a smoothing function for video like there is for jpegs? Or any suggestions for another way to approach this?

View 0 Replies

Actionscript 3 :: Debug Local Flash File With Preloader - Security Error

Feb 26, 2012

I have two Flash files: pre-loader and application.

Pre-loader: (D:ProjectsFlashAppsddedd.fla) is doing basically this:
var mRequest:URLRequest = new URLRequest("http://localhost/flash/dd.swf");
mLoader.load(mRequest);
}

Application file: (D:ProjectsFlashAppsdddd.fla) is the real application and among other things is doing this:

_loader.load(_request); //where _request = "assets/html/style.css".

When debugging the pre-loader, at this point I am getting an error which says:

SecurityError: Error #2148 File SWF http://localhost/flash/dd.swf cannot access local resource file:///D|/Projects/FlashApps/dd/assets/html/style.css.

The application must be loaded by the pre-loader, it won't start when called directly. But apparently, the security settings are preventing such duo from being possible to debug. Normally when it is on a remote server, it is working ok.

What I have done so far to resolve it:

Added crossdomain.xml to my local i:xampphtdocs folder:

> <?xml version="1.0"?>
> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">

[Code]....

Set File > Publish Settings -> Local Playback Security -> "Use local files only" in both files. It didn't work, so I set it to "Use network only" Also didn't work.

What else can be done to be able to debug these Flash files locally?

View 1 Replies

ActionScript 3.0 :: XML Video Flv Playback Online Vs Local Behaviour?

Aug 18, 2009

I used a fantastic XML video tutorial from this site -http:[url]...in a school project here - http:[url].....When I test the site on my local machine everything works fine,but, when I upload it to a web server , clicking on the thumbnails to change the video does not work - except for the first page of videos.

View 1 Replies

IDE :: Save And Playback Recorded Voice On Local Computer?

Jan 17, 2012

I currently creating a standalone language learning application using Flash Professional 8. The application allow users to record and playback their own pronunciation, so that they can compare their own pronunciation with the pronunciation provided in the application for learning. how can I save and playback recorded voice on local computer

View 2 Replies

Flex - Security Restriction - Save The Results Of A Database Query To A Local File?

Jan 2, 2012

I'm having some trouble getting around a security restriction of flex. Saving a file is apparently an action that can only be invoked upon user interaction. The problem is that after my user clicks on the save button, I need to perform a database query to get the data for the file I want to save.

Because Flex works asynchronous, I have to make the database call and then catch the ResultEvent in a different function. In that function, I no longer have the user's mouseclick event. How am I then supposed to save this file?

[Code]...

View 1 Replies

Flex :: Fix Choppy Video Playback Of Local Flv File In Adobe Air Application?

Aug 17, 2011

I have made a application that plays videos that are stored in a assets folder of the air application but when ever I run it on an hp slate the videos are really choppy. Is there a way to preload the video or does it have to do with the processing power? the videos are 1.72mb or smaller. They are flv format and they auto play when that application is started. I am using flash builder.

View 1 Replies

Media Server :: Load Flash Media Playback From Local And Not From Ftp?

Sep 1, 2011

in the standard embed code:
 
[Code].....
 
the player "FlashMediaPlayback" is loaded from remote ftp adobe server.
 
How can I load the player from my local machine?

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

ActionScript 3.0 :: Security Sandbox Security Violation Error?

May 19, 2009

I am getting a strange problem while I am making my release build swf.The swf is supposed to make some internal server calls and then display the data and also play it.When I make a release build swf and excute it, while making server calls it throws exceptions likeSecurityErrorHandler: [SecurityErrorEvent type="securityError" bubbles=falsecancelable=false eventPhase=2 text="Error #2170: Security sandbox violation:file:///Path to the swf/WebPlayer.swf cannot send HTTP headers to **Method Name to bring data from the server***]And after this nothing can be done as everything depends on the data from the server..I have updated my cross-domain.xml on the server to support the master-only policy file but that also didnt ..My cross-domain.xml is

<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*"/>

[code]......

View 5 Replies

ActionScript 3.0 :: Sandbox Security - Restricted By Security In The Game Swf?

Apr 17, 2009

I haven't fully grasped how the flash security model works, and now I've ran into a problem. I have a base SWF that loads a game loader swf, which in turn loads the actual game.What I'm trying to do is taking a current bitmap snapshot of the running game. This works fine before the loader swf has loaded the game. When the game is loaded, I get a security violation because the game has images pulled from facebook. Is this something that can be solved on my end, or restricted by security in the game swf?

View 2 Replies

Actionscript 3 :: Security Sandbox With Flex And AppEngine - Getting Client.Error.MessageSend Channel.Security.Error?

Dec 20, 2009

I'm having trouble with an AS3 AMF RemoteObject request that is hosted on App Engine. I have a crossdomain.xml file in the root of the domain, and also one at the remoting endpoint.Here are the contents of the root crossdomain.xml:

<?xml version="1.0"?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies ="all"/>[code].....

Loading the swf file and testing it on my machine works just fine... I think that may have something to do with me having the debugger version of Flash Player. When I push it up to App Engine to make it public, other clients access it and get a Client.Error.MessageSend Channel.Security.Error error Error #2048 url: http:[url].......I am using Flex 4 beta, and the App Engine Python runtime. I have tried full wildcard in the crossdomain, and even accessing the data endpoint at a relative URL so as to avoid this error.

View 1 Replies

ActionScript 3.0 :: Flash Security - Getting "#2048: Security Sandbox Violation"?

Apr 29, 2009

My SWF resides on domain A, is loaded by a web site on domain B and is trying to ping URL (URLLoader.load) on domain C. But I am getting "#2048: Security sandbox violation" .. why? Of course I have read the manual, I saw the security white paper but I do not understand it. Don't you know any blog or such where it is explained for dummies? With lots of examples and maybe a table showing what is allowed and what is not?

View 2 Replies

Flash :: Execute An External .exe From A Local .swf Using A Local XML Socket Server (C#)

Jan 7, 2012

I'm developing a game add-on/plugin which replaces a built in feature of an online game. The game loads an .swf therefore, my solution also has to be an swf for it to work 'in-game'.

I would like to be able to have the user press a button in the custom .swf I am making - and this would open an external application (amongst other things). I.e. if there was a button that said Notepad, it would open Notepad.exe on the machine.

My initial thinking was that i could have a XML Socket server 'daemon' runnning (c#) , which i could connect to with flash - however, as both the swf and the daemon are local, flash complained and gave this error: "Error #2010: Local-with-filesystem SWF files are not permitted to use sockets."

The only way i know to fix this - is to change the security settings of flash - not very user friendly!

So! Any thoughts on how I could otherwise go about this? I was thinking a custom http server could do the trick (connected with URLRequest) although i'm not too sure.

View 1 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 :: Launching A Local Html File From Local Swf?

Jan 16, 2007

i am having a problem launching a local html file from my swf. i have a button called print that when clicked it is supposed to open the local html file and print out the content. this is the code i used on the button

on (release){
getURL("folder/folder/file.htm","_self");
}

[code].....

View 4 Replies

Flash :: Adding A Folder On The Local Network To The List Of "local-trusted" Places

Jul 22, 2011

I have a SWF file located at the local network in the public shared folder that I do not control over trying to read the external file on the local network.

I am currently hitting instead an security violation

Error #2148: SWF file file://....mySWF.swf cannot access local resource file://...config.xml"

I've added the network path where SWF an XML file resides to "trusted locations" via Flash Player Global Settings.

The added network path is successfully displayed at the list of "trusted locations" within Global Settings Manager, but it does not look like Flash Player is able to really parse the local network path as a "trusted location"

FP 10.3.181.23, Win XP

View 1 Replies

Javascript :: Access An Local Image (not In App Workspace) From A Local HTML File (in App Workspace)

Mar 12, 2011

I have a HTML box and load a local html file from the project. In this HTML file I use jquery and I want to load an image from my user directory. I see the image from my user directory but jquery doesn't works. I get this error:

[Code]...

But if I load an image from the app workspace, everything works fine (I see the image and Jquery works). Is this a policy problem? The error says that is a "null object reference" problem, but this can't be true...

View 2 Replies

Professional :: Security In The Swf?

Feb 27, 2007

I'm a designer considering creating a video project with Flash. I've read some of the security threads on the board, but they are way over my head. I will have a simple Flash file with text and a dozen imported FLV video files.If I use the "protect from import" option, will that keep the videos from being stolen from within the swf? Or, is that just a mediocre hurdle that can be easily overcome by someone wanting to dig into my file?

View 4 Replies

ActionScript 1/2 :: Get URL + Security?

May 8, 2009

I read about security issues in using GetURL.Is this only with javascript? If I use the getURL to open a blank window where all the HTML and swf are on the same server are those pages and swfs safe from injection, etc? I'm working in Flash 8 with AS 2.0.

View 3 Replies

Flash Security Pop Up - How To Get It

Jun 29, 2011

i wrote a flash script that is embedded into an html page. The flash script (AS3), needs access to the users microphone and camera. I've seen on other websites when they want to use my camera/ microphone flash automatically pops up a box asking the user to permit.

In my case, even though in my global settings for my webpage it says "always ask" under permissions, flash doesnt ask me anything and just blocks the script from accessing the microphone. The script loads fine, just doesnt prompt for access and the user has to manually right click, and go to settings and put setting to "allow".

Searching for this topic on google is rather difficult as there is too much irrelevant stuff with the same keywords.

Edit: This is how i embed just in case im not doing it right.

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="200" height="20" id="myflash" align="middle">
<param name="allowScriptAccess" value="always" />

[code].....

View 2 Replies

Flash - Security.AllowDomain()?

Apr 16, 2010

I've got a Flash movie, loading data from an external URL. In fact, it's a RSS reader inside a banner.Everything works perfectly when the Flash movie and data URL are on the same domain. However, if the Flash movie is on another domain, Flash security kicks in.The manual says that I can allow a domain trough Security.AllowDomain()

system.Security.allowDomain("http://www.mydomain.abc/")
xmlData = new XML();
xmlData.ignoreWhite = true;

[code]....

View 3 Replies

Security - Flash Not Working Without Www?

Feb 10, 2011

I have a flash movie which loads some images dynamically, through hphp gateway files. It works fine accessing through [URL]but not through [URL] So it does not work without www.I am passing from HTML to Flash through params flashvars the path of the server, with www.

View 2 Replies

Flex :: How To Add Security To Channel

Jul 7, 2011

I'm using a Amf channel , How to add security to My channel..

View 2 Replies







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