swf

Communicating between 2 flash swf's using ExternalInterface

I been suffering with a problem where I can't get one flash swf to work in unison using one javascript. For example 1.swf does ExternalInterface call to js function test var test = function (var) { $("#2ndFlash").get(0).passTest(var); } As you see what I'm trying to do is when 1.swf calls test with some variable pass it to anoth...

swfupload cancelling upload

I have a form which is using swfupload with the jquery plugin. I have some required fields which should be filled before I allow upload. So I add a handler to file_dialog_complete_handler Somethings like, file_dialog_complete_handler = function(dom_el){ alert(10); dom_el.cancelUpload(); return false; } This doesnt work...

Protect flash files

Hello, I would like to protect my flash files. I would like to block any decompilers,protect actionscript and also protect graphics. Some time ago,I tried to decompile a swf and when I placed it inside a decompiler , it showed me a login form and no graphics.I believe that is the ultimate protection method.Do you have any idea what softw...

making a swf a clickable link with the pointer icon

I have a swf embedded into a site, and I want the swf to be clickable so when you click on it it goes to another page. I tried wrapping the whole flash object in tags, and that makes it clickable but the biggest problem I'm having is when you roll over it with the mouse the pointer icon doesn't come up, it just looks like the regular ar...

Setting values in SWF, Cocoa?

Hi, I am trying to set values for a SWF file. I have the SWF in a web view, but I need to set values for it. How would I set values for it? Thanks. ...

Using meta expire to resolve swf file caching

Hi all, This is something that seems to boggle me and I want to sort the issue of SWF file caching out once and for all. I normally change the name of my SWF file and make the change to in SWFobject to reflect the name of the new swf file which then sorts out any kind of caching of the Flash swf file but I tried it this morning and wh...

Javascript SWF Communication by Flashvar

I have a SWF which has two button one been Browse button and other bein upload. I dont Know whats the code behind the SWF file but being asked to pass flashvar variable like 'uploadURL ='+ ourl where ourl is url of the handle.aspx which handles the uploading operation I did all this and wrote code in handler.aspx which obtains file from ...

URLRequest or Loader simply not working on some computers?

So my problem may be a little bigger than that, but I'm not certain. I'm creating a custom flash photo viewer for a client that dynamically loads the images with Loader objects. It takes a folder name in a specified directory on the server and calls a php page (using URLRequest) to get the workable contents of the folder. And then it loa...

Flash and JavaScript interaction, load timing issue

I've been unable to find information about the timing of loading Flash and JavaScript. I have a page that includes a JavaScript file and has a Flash SWF: <script src="stuff.js"></script> ... <object ...><embed ...> ... <script> // some code </script> The SWF calls a function defined in the JavaScript. Is it possible for the SWF to l...

Is it possible to embed flv file in to flash?

Is it possible to embed the flv file in to the flash like other files(images, swf), so that i can handle this in as3 as programmaticaly in the same way as FLVPlayback component? I know the way to add flv file by creating FLVPlayback component. But in this case we always need to depend on the source path of corresponding file. I am not ab...

ActionScript 3 - a loader that supports many apps?

Hi there! I have created a simple SWF-loader in ActionScript 3.0. It loads an SWF from a server and then plays it. While downloading, it displays the "loading" screen. Its main defect is that it can load only one Flash application - the one which it is compiled for. Let's say it's named test1.swf. Is there any way to make the loader supp...

SWF not loading in ie8 after we switched to SSL

We recently switched our webapp to use SSL at the request of a very large client. We complied and everything went smooth until my IE users started emailing support about not seeing our flash graphs (XML/SWF Charts: www.maani.us/xml_charts/) In IE8 it prompts that insecure content is being delivered, we fixed this issue by changing the f...

Prevent autoplay when embedding a swf - IE autoplays, all other browsers don't

Hi, I'm trying to stop a swf from auto-starting on page load - for firefox, safari etc, this works fine setting the autoplay parameter to false, but in IE the swf plays on page load. This is my code, any help greatly appreciated! <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="590" height="397"> <param name=...

preloading external swf files with actionscript as2

hi everyone, i'm relatively new with flash, so... i've been looking into this for 2 days now, so i hope someone can help me out. i have several external swf files, each one can call any of them. say i'm in home.swf and i clicked about.swf, i want to stay in home.swf whilst about.swf is being loaded so i don't have an empty screen....

swf2xna tutorial?

Does anybody know of a tutorial for swf2xna or can show me an extremly simple example were a flash i integrated into a xna project with swf2xna? ...

Listen events from loaded SWF?

Hi: I've a simple application with one movie loading another SWF in the same domain. I can access vars and functions in the loaded SWF but can't listen events from a button; receiving the run-time error: Error #1009: Cannot access a property or method of a null object reference The Linkage properties for the button are set Main var a...

Load-completion order affects swf code in Air 1.5 on PC only

Very strange one. Our air application loads multiple swfs, which together make up a lesson. If we load them serial, rather than parallel, the code inside all swfs is broken. (There's a previous stackoverflow q on this issue). If they are loaded in parallel all timeline top level code works. On Mac, all code works, including deeply nes...

accessing control(example textarea) from the swf loaded into flex

Hi, i am using swfloader to load an external swf file. This swf file is taken from the Flash project. Inside the flash project there is a .fla file also. I dont know how to work with .fla files, but when i opened this .fla file i can view all the control appearing in swf file. There is a text area, in swf file(actually in .fla file...

access to .swf API

Given a .swf file, is there a way to inspect the API provided? I have a FLASH .swf file on a web-page that plays .mp3 and I'd like to control playback through a Google Chrome extension but it seems I can't find documentation on their API. ...

swf in Desktop Java programs

How to use & show swf files in Desktop Java programs? ...