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


Similar Posts:


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 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

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 :: 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

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

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

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 :: Access Local Access Database From It (or AIR)?

Nov 13, 2009

Is it possible for Flash or possibly Adobe AIR to have access to a local Access database?

I will have either a Flash EXE or AIR application running on a local PC (WinXP). The PC will also have a local Access database. I need my Flash application to get the data from this Access database. How would I do this?

I doubt it can be done with Flash or AIR alone (someone prove me wrong or right), but is there an option for some middle-man application to access the data base and send it on to Flash? How would this work?

Or could I read the MDB file into Flash and parse it myself? is there a library for this?

View 2 Replies

Flash - Possible To Access Remote SWF Without Downloading?

May 20, 2010

We have a very large SWF hosted in a website which is just a repository of hundreds of movies/symbols. We load this SWF at the beginning with the Loader class but then the client will access a very few of them at that moment. Is it possible to tell the loader to download symbols only when they're needed? (as with applicationDomain.getDefinition(...)).

View 4 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

Actionscript 3.0 :: CS4 Flash Remote Access To FTP Server Data

Feb 22, 2010

I am trying to access a FTP server that allows anonymous access to the data files stored on the server.. they are stored as txt files... I want to display some of the files in a flash CS4 Movie... It is also on a HTTP server directory...

I have accomplished it within the CS4 Flash development application using the HTTP Server but when I publish the document it gives me a blank stage the data that shows in the Test Movie swf is not showing when the SWF is on its own... I am thinking it has something to do with crossdomain security that is built in... is there a way I can accomplish this? I prefer the FTP access but will use the HTTP access...

Here is the AS3 I am using...

import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;

[Code].....

View 13 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 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

Flex :: Flash Channel.Security / Error Unable To Access Remote Resource

Jul 31, 2010

I tried to deploy my otherwise working flex app on a web server (tomcat 6).It threw a Channel.Security.Error.After some research, I became aware that flash movie loaded from flash_movie_domain will not be able to load resource from any other domain.Some suggested adding a crossdomain.xml.However, the crossdomain.xml route doesn't quite make sense.In this case, I am loading resources from a third party web site.My understanding is that I need this third party website to include a crossdomain.xml on their root directory in order for app to function.The third party web service is provided as is. I will not be able to change what's given. Since the third party is providing public access, it already explicitly give permission to the general public. Adding a crossdomain.xml to their root seems to be a redundant act?

View 1 Replies

ActionScript 2.0 :: Access Local Webcam Using Flash App?

Oct 3, 2009

I can access local webcam using Flash app but I wanna use as public so anyone can access via local network to be able to open the viewer, but this script only uses a local cam to the computer

localCamera = camera.get ();
camview.attachVideo (localCamera);

Is there a way to get the server ? , to output a file that a viewer can access else where on the LAN?

View 2 Replies

Flash :: FDT Flex And Cannot Access Local File

Jan 23, 2010

I am using FDT for Flex development and when I compile, and it tries to access a flv file, I get the error "cannot access local file". This is obviously a security sandbox thing.Now I tried adding crossdomain.xml to the root and it still makes the same error. I know somehow I need to add to my project use-network=false, but i cant for the life of me work out where the flex compiler additional arguments area is. I know in eclipse how to do it, but with the slightly modified FDT, i havent got a clue

View 1 Replies

ActionScript 3.0 :: Flash CS5 / Air 2 - Local File Access

Sep 30, 2010

I have a Flash project that plays FLVs from (http://) sources and it works fine when I publish it as AIR 2. I want to save and access my FLVs locally, but I can't seem to get it to work. I don't know if it is a matter of the correct path syntax, I'm also not sure what an Air app sees as a relative path. This is what it looks like for http:
stream.play("[URL]")
How do I make this local?

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

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

Media Server :: Remote Access For Streaming From FMS?

Oct 24, 2011

Ive been able to setup FMS 4.5 and stream RTMP videos locally from a webcam stream but if i try to access it remotely i cant get a connection. Ive forwarded port 1935 through to my local IP from my router but still no connection, what do i need to configure on the servers end to tell it that its behind an NAT etc. Do i just add the public ip to the hostname line in the fms.ini, or is there more i need to do too? Do i log into the admin panel and change the server name from localhost to my public IP

View 3 Replies

Flex :: Access The Remote IP Of A RTMFP P2p Stream?

Oct 4, 2010

I'm writing a communication system, using Actionscript 3 and C#. Flash is used to communicate with RTMP server and stream video and audio using RTMFP p2p, but the actual client logic is handled in C#.

What I want to be able to do, is allow users to share files between each other also using a direct p2p connection. I have got the RTMFP connection working but I need to access the IP address of the remote user so I can initiate a connection to send or receive files.

I looked at the Adobe docs but I can't see anything except how to access the farID.

Is there a way to get the IP of a RTMFP stream?

View 1 Replies

ActionScript 2.0 :: Remote Access Of Functions & Objects?

Sep 18, 2009

How do I access actionscript programs, such as functions, from remote as files without using the #include command?

View 0 Replies

ActionScript 2.0 :: Play (not Access Methods) A Remote SWF With CreateEmptyMovieClip?

Jun 20, 2009

Everything talks about accessing methods & variables.

Simple:

- I have a local flash file that is loading .swf files from a local directory, and playing them.

Code:
for (x=myBanners.length-1;x>-1;x--){
var bannerName:String = "banner" + (x+1);
var movieLocation:String = myBanners[x].firstChild.nodeValue;

[Code]....

View 2 Replies

ActionScript 2.0 :: Get Movie To Access / Download Remote Pdf / Other File On Server?

Jun 6, 2010

How do I get the movie to access and download a remote pdf or other file on my server?

View 2 Replies







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