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(...)).
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".
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...
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.
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?
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.
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
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.
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.
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 )
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
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?
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.
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!
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.
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.
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).
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
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
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.
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].
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.