Flex :: Prevent A Locally-running SWF (AS3) From Downloading From My Website?

Jan 9, 2011

I've got a crossdomain.xml file which allows SWFs running on only a certain few domains to download resources from my domain. However, one simple way around this is for a user to download the SWF to their local machine, and run it there (i.e. by double-clicking on it within Windows Explorer, not by running through [url]... It seems that when this happens, the crossdomain.xml file is ignored.[code]...

Is it possible to do something on the server side to stop a locally running SWF to download from my site? I tried checking the referrer but this field often isn't populated.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Save Flash Data Locally From Locally Running .swf?

Jun 10, 2009

I want a user running a Flash game on his machine (not from a server) to be able to save some game data locally.From what I've read, there still isn't any way to do this, but I thought I'd throw it out there in case anyone knows a sneaky xml or php work around.

View 2 Replies

Prevent Users From Downloading The Fla File?

Sep 13, 2007

How do i prevent users from downloading the flash file and use them on their own site? there must be some way..

If not, can I atleast prevent them from connecting to my php files?

View 0 Replies

ActionScript 3.0 :: Embedded Fonts - Downloading From Separate Swf - Works Locally Not From Web Server

Feb 9, 2009

I'm new to AS & Flash, but not programming in general. I've got a project where I'm needing to use embedded fonts. To save the size of my main .swf, I've been using the Loader class to import .swf files with the fonts embedded at runtime. The "font library" .swf files contain just the embedded font, and in frame 1 have

[Code]...

View 1 Replies

ActionScript 3.0 :: Prevent Downloading Files - Encrypt URL?

Aug 11, 2010

I'm working in an audio player. I'm looking for a way to prevent users download the mp3 files by following the file url ( for example: by using the Firebug o similar).

View 1 Replies

Actionscript 3.0 :: Prevent Downloading Files. Encrpyt URL?

Aug 11, 2010

I'm working in an audio player. I'm looking for a way to prevent users download the mp3 files by following the file url ( for example: by using the Firebug o similar)

View 2 Replies

ActionScript 3.0 :: Pop Up Swf Running Locally?

Mar 26, 2012

I'm working on a project which will be embeded locally, and im in need of a solution to make a pop up swf that loads upon click of a button from another swf.

All the solutions i can find work for uploading to the web...however dont work locally.
 
So im guessing im looking for something along the lines of "onclick load swf _blank".

View 5 Replies

Access A Webpage When Running Locally?

Jul 7, 2009

I am running my swf file through a browser on the local machine (i.e. C Drive). I want to have a link to download the Adobe Reader however when I click on the link that is setup with navigateToURL(), I get a Flash Player Security Error stating that it is unsafe to acess the Internet and to update the player options allowing it to happen. I have went to the player options and put the URL's in there that I am trying to get to with no success.

View 4 Replies

Prevent Swf Running Out Off Of Server

Dec 22, 2009

I searched everywhere for a peice of code to prevent a web page from loading when it is not on a server.Finally found this one and I swear it was working last night.Am I placing the function in the wrong place?I have everything in 2 framesif the flash swf is currently running on the propper server it should skip to frame 2 and if it is running on a computer or the wrong server it should stay at frame 1.[code]

View 5 Replies

ActionScript 3.0 :: Downloading A Pdf File From A Flash CS5 Website?

Oct 14, 2011

I created a website with Flash Professional CS5, ActionScript 3.0, I would like to add the functionality to a button so that it downloads a .pdf file into the user computer, so he can print it. What code should I give the button? and where and how should I place the .pdf file.

View 2 Replies

Actionscript 3 :: Adobe AIR: Prevent GC From Running?

Feb 25, 2012

For a game (using AIR for iOS) I want to prevent the GC from running during a specific 30 seconds sequence (because it causes very notable lags). What I already do is calling System.gc() right before the sequence starts. During the sequence, i don't create many new objects and only some animations play and objects move (in 3D). some of the objects move out of the stage.

[Code]...

When the GC fires, the System.privateMemory drops to 74 MB, but causes a lag of aproximately one second. The GC fires twice during this 30 second sequence.

So my question is about any techniques, hacks or workarrounds (other than optimizing the memory usage in general - obviously i'm already working on that) to prevent the GC from firing during this 30 seconds?

View 3 Replies

Flash :: Professional - Xml Website Not Downloading Properly And Loads 1 Minute In

Jun 28, 2010

Does anyone know why my flash site displays a white screen before the loader actually works?  It kind of defeats the purpose of having a loader.  I'm not familiar with xml either so could this be an issue?  My swf file is only 2.2 MB

View 7 Replies

Flash :: Prevent Android From Sleeping While The Flashplayer Is Running

Oct 14, 2011

I've written a videoplayer for Android based on Flash (10.2) which plays videostreams. In some cases (*), the player begins to buffer for quite some time. Now, while the player is acually playing the stream, Flash (somehow) signals the OS to prevent entering the sleep-mode. But while buffering, this is not the case and the phone will eventually enter sleep mode before the stream has restarted. So the user has to unlock the phone again - not very convenient. Is there a way to set a signal with Flash/AS3 to prevent the Andoid-phone to go into sleep mode? (*) mostly over the mobile network when the network access performes a handover between 3G and 2G or vice versa

View 1 Replies

ActionScript 2.0 :: OnPress GetURL - How To Prevent OnRollout Function Running

Jun 14, 2006

When I use:
on (release){
this.stop();
getURL("page.html", "_blank");
}
Why is it that when that new page window is loaded the background flash window then runs my
on (rollOut){
this.play();
}
function? I am trying to pause the timeline I am clicking from in Flash. If I take this line out (this.play() it pauses, but if I were to go that way how would I start getting my MC to play again when the user gets back to the flash window?

View 3 Replies

ActionScript 3.0 :: Load Sound Via XML Works Locally But Can't From Website / Server

Jul 26, 2010

Anytime this .swf is ran from my computer during test runs it works flawlessly. As soon as It is embedded in an HTML page the sound doesn't play.

View 3 Replies

Professional :: [Flash Website Template] Text Shows Correctly Locally, But Not On The Web?

Jul 19, 2010

I downloaded a XML based website flash template and made some modifications to it. With this template there was few fonts included in separate folder (I had to install them to view swf and edit fla correctly) after all my mods done I published it to swf file and opened local file with browser, everything was working perfectly at this moment. Then I asked my friend if it could upload it on his server to check if this website looks the same on the web. I noticed that text (which is written with custom font that was included) is either missing or misplaced

View 5 Replies

IDE :: Editing A Already Up And Running Website?

Mar 14, 2009

editing my website a friend bult for me in flash..i have flash cs4 when i import to library all i seem to get are lots of symbols a few gifs and my video file , and the main swf ...trouble is seem to be unable to edit any of it .... i need to update a picture and add some text to it ..

just tought i would add... i downloaded the contents of my my website via dreamweaver to a folder on my drive then imported into flash

View 2 Replies

Professional :: Disable "Right Click" & Other Saving/Downloading Features On A Flash Website?

Aug 30, 2010

I am working on my first Flash website for my photography, and along with placing watermarks on my images, I want to disable the users ability to "Right Click", and other saving options.

(By the way, I do not know if this matters but I am using "Adobe Flash CS5", on a Mac, running the most up-to-date version of "Snow Leopard". Also, I assume in-order to disable "Right Click" and other saving/downloading features I would have to enter some code; Can you either post the code, or put the website where I can get it?)

View 4 Replies

ActionScript 2.0 :: Prevent Flash Website From Refreshing To Start?

Sep 3, 2009

I'm creating a whole website with one .fla file. I'll attach the flash file to a html page in dreamweaver and that'll be that. But something has occured to me and that is if anyone presses the refresh button, the whole site will jump to the frame just after the preloader. Which would be fine under a normal circumstance if the main page were on that frame but in this website there is a movieclip on that frame which forms into the main page on the frame after.

So how do get it to refresh onto the main page?

View 0 Replies

Actionscript 3.0 :: Website Running Slowly

Feb 16, 2009

I've almost finished a website for a client, this is my first as3 project.

The website runs pretty slowly, As3 code should run 100 times faster then as2 code.[url]...

View 2 Replies

Flash :: Prevent From Link To A Special Website Inside A File Using PHP Command?

Dec 7, 2011

There is a webpage based on PHP which use a swf flash file. inside .swf flash file there is a link connection to a website like [URL] How can i write a code for preventing it to connect to something.com from inside PHP file?

View 1 Replies

ActionScript 3.0 :: Flash - Send A String (or Number) From A Website To A Server Running A C++ Program

Jun 17, 2010

I have found little to no flash to C++ documentation, let alone Flash to C++ over the internet. What I want to do: -Have flash send a string (or number) from a website to a server running a C++ program -The C++ program will receive the data and do something with it -After that, the C++ program would send back a response -Flash would then accept the response My goal is to make a simple MMO, but I can't start it without a server program to handle the players. I don't need a super-complicated example, just something simple, kinda secure and coded in AS3 and C++.

View 0 Replies

Flex :: URL Encoding When Downloading A File In Flash?

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

Flex :: Get The Size Of A Remote File Before Start Downloading It?

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

Flex :: Downloading Data Posted To Server As A File?

Jul 8, 2010

I'm trying to post data up to a server and have it bounced back to me as a file download, prompting the native browser file download box. I know the server part works just fine becasue I can post from a demo web form, but when I run the following Flex 3 code, I can't even get the request to fire.

var fileRef:FileReference = new FileReference();
private function saveXmlAsFile(event:MouseEvent):void
{

[code]......

View 3 Replies

Actionscript 3 :: Flex - Downloading Files Directly To The Disk?

Sep 23, 2011

Is there a way to download some files directly to the user disk, without browsing? (assuming they give permission of course).FileReference does this, but does not allow to directly save files to the hard disk (if not through browsing).

View 1 Replies

Flex :: Downloading A File From A Server And Saving It In A Specific Location Without User Intraction

Jun 23, 2010

I want to download a file from the server and save it in a particular location of the disk without user interaction. All this I want to do it in Flex.

View 1 Replies

Flex :: Store Data Locally Using It?

Dec 15, 2010

How to store data locally using Flex 3 in web applications. Without using backend or using shared object.

I came to know that there is something called Data Management in Flex 3. And it is not for AIR application.

View 2 Replies

Flex :: Air - Images Store Locally From Xml?

Mar 30, 2011

I have one xml link. that link have collections of images(apx 1000 images). when i flex applications start at the time load all images in locally. then when i need that images then use it. How i do this... give me some links and logic.

View 1 Replies

Flash :: Possible To Put The Flex Sdk Onto A Web Server And Reference It Locally?

Mar 8, 2011

I want to try and build a project locally with my project pointing to an external sdk (via webserver.)

View 1 Replies







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