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
Similar Posts:
Mar 25, 2010
I need to figure out the size of a remote file before I download it.And I know that in local place this can be done as follows
var _filePath:String = "X:/save/abc.exe";
var file:File = new File(_filePath);
if (file.size > 1000)
[code]....
But when I tried a remote file like
var _filePath:String = "http://www.aaa.com/webfile.exe";
It didn't work.And how can I get the size of a remote file before I use
var _downLoadPath:String = "http://www.aaa.com/webfile.exe";
View 2 Replies
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
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
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
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
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
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
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
Sep 18, 2009
How do I access actionscript programs, such as functions, from remote as files without using the #include command?
View 0 Replies
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
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
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
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
Nov 5, 2009
I seem to be getting the following error when I try to access a Remote Java class (on Spring/BlazeDS) from the Flex/Cairngorm application. I am going crazy at the moment trying to see what is wrong
[Code]...
View 2 Replies
May 22, 2009
One of the great features of CFCs is the ability to reuse the code for both a straight .cfm page and for Flex apps.
One such app that I devleoped uses Flex for its charting capabilities and needs access to a 'getResults()' function in the cfc.
All of this content is behind an authentication mechanism, but since the cfc will open itself up to a wsdl request:
[URL]
and will actually return the results to the browser if the URL query is crafted properly:
[URL]
What techniques have people used to protect the cfc from direct access UNLESS the request is coming directly from the CFML processor OR from Flex Remoting?
View 5 Replies
Sep 12, 2011
mp4 file sometimes downloading and sometimes playing. what is the different between this two links?
1)if you open this link on the chrom, the movie will be dwonload [URL]
2) if you open this url on chrom, this mpvie will be playing. [URL]
View 1 Replies
Dec 2, 2004
I hope you can help with a problem thats causing me stress!.I'd like to let users download mp3 from my site.I'd just like to click the button and up pops the windows prompt that says "download file" and "choose destination folder" etc.
View 3 Replies
Jul 17, 2010
I created a photo album viewer which grabs an XML file from my web site, and then parses the XML to get the paths to all the photos to be displayed by the album viewer. The code makes use of the URLLoader class to fetch the XML. The problem, though, is that in google Chrome it works-- but in IE8, it doesn't work. For example, the XML code and the image fetching code work seemlessly on Chrome. But in IE8 and in IE6, it seems to not be able to fetch such information.
I've read somewhere that you need a crossdomain.xml file at the root directory of your server. But I'm not crossing any domains! It's all coming from my server where the swf is being hosted!
View 1 Replies
Jan 5, 2010
Is it possible to access local swfs using a remote swf
View 1 Replies
Jan 29, 2010
I'm trying to set-up a file download in a swf. It's a autocad .dwg file. I'm using the get url command and it's working fine with pdf's and doc's but getting a "page cannot be found error" with the .dwg file.
View 5 Replies
Aug 12, 2011
For a project we need to download and save pdf files on an IPAD device for offline use through an AIR for iOs application. After a lot of searching I haven't found much information on this subject. My question is, can it be done, and if so, can you provide us with some pointers to lead us in the right direction.
View 1 Replies
May 3, 2004
im wanting to have people be able to download mp3's from my movie without opening another url. just want the windows 'save or open' box to appear. the getURL opens a quicktime movie in the browser (at least on my pc).
View 1 Replies
Jan 8, 2009
Is it possible to set .pdf file for download form a flash movie?
View 2 Replies
Jan 26, 2010
I'm trying to have users download a pdf file when they click a movie clip button.I have this php code on my server
PHP Code:
<?php // download.php // retrieve the filename to download from the query string of the page $file = $_GET['filename']; // send the headers header("Content-type: application/octet-
customers should not be able to download and play them anywhere off my site
View 5 Replies
Jun 17, 2011
When I attempt to dowload the flash player I get a window of four possible problems that I might encounter with the download and that is all that happens. What is causing this to occur. I need to download the flash player, but this window stops any further activity
View 2 Replies
Jun 14, 2010
I have an online flash application that acts as a front end for a server application built in delphi. The server can be installed/used on a remote computer or a personal version can be downloaded and the Flash app pointed at localhost to use it. However, Flash has issues with using the POST and GET functions on the localhost, which makes uploading data files and downloading results files difficult. To get past the difficulty with downloading results files I'm planning to just have the server app serve the results file as an attachment and have the Flash app open the address of the file up in another browser window using external interface. First off, is this likely to cause similar security issues? I.E. Flash will see "localhost" in the external interface call and stop it from working the same as when I try to use POST/GET functions with localhost?
Secondly, for upload this seems just a bit little trickier, I'm planning on doing something similar, having flash use external interface to open a php script for a file upload. Is this feasible and, again, will Flash still have security issues?Lastly, if anyone knows how to get flash to execute POST and GET functions with localhost addresses, I'd love to have that information to avoid all this jumping through hoops.
View 1 Replies
Aug 25, 2010
I have a flash app that needs to download a file, whose name contains UTF-8 characters.
Internally, the filename is read from a UTF-8 XML file, e.g. "my filé.pdf". The code goes something like this:
url = get_filename_from_XML();
req = new URLRequest( url );
ref = new FileReference();
ref.download( req );
The problem is that the URL is encoded in Latin1, i.e. the é is encoded as %E9 instead of %C3%A9 (according to FireBug). How can I get Flash to encode the URL correctly?
View 2 Replies
Mar 25, 2011
I'm trying to set up flash's FileReference class to download files from a publicly accessible web directory to a specific location on my hard drive, without having to use the browse dialogue that is automatically triggered using the download() method. Anyone know how to predefine a location for the downloaded file so I don't have to trigger the dialogue? [URL].
View 1 Replies
Jul 11, 2011
I'm making a flash portfolio site and learning as I go but have come across a bit of a road block.
I'm trying to allow people to click a button on my site and download my pdf resume. I've gotten it to open in a separate tab using "navigatetourl", but I'd like to also have a button which forces the download location prompt to appear.
View 1 Replies