swf

AS3: How do I use frame scripts on loaded swf animations?

I'm trying to use addFrameScript() on a SWF animation I have loaded but am running into a few problems. Here's what works right now: public function project() { var loader:Loader = new Loader(); loader.load(new URLRequest("animation.swf")); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, animLoadComplete, false, 0,...

Dynamic SWF loading with out running the main class

I've been using SWFLoader and ModuleLoader to dynamically load SWFs. The problem I'm having before I instantiate any class it runs the creationcomplete event of the main class when I do the moduleInfo.load(). Is there a way to load the SWF without creating an instance of the main class? ...

SWF to HTML5 or iPad compatible format

Hey, Is there any SWF to HTML5 converter or any format which can run on the ipad? not smokescreen... other alternatives.......? THANKS! ...

How to Prevent SWF File from Loading Again After Button Click

Hi. I'm programing in ActionScript 3, and loading a swf file. I want to know how to prevent an already loaded swf file from loading again after clicking on a button. (ie. I click on the About button, which loads the swf file called "about". I click on the About button again, and the About swf file doesn't load, because its already loaded...

Controlling as2 swf playback in as3

I am embedding a swf built in flash 8 into an as3 project. When I call stop() or gotoAndStop(0); on the MovieClip that represents an instance of the embedded swf it stops for a sec and then continues. Trying to call removeChild on the mc removes it from the display but the audio in the swf keeps playing. The swf, in this case must be emb...

How to do a proper haXe preloader for Flash, or what do you think is the best way to do it?

Hi, I have recently begun to develop a game in haXe which targets the Flash platform. I can say that I'm not really used to Flash and how it works, it is really apparent that it was intended for animations. But anyway, now that game I'm making is starting to be that big that it takes a few seconds for it to load that I want to have a nic...

Are there significant differences between Flash swf 8/9/10?

I know that there is a detailed specification available online, but I could only find one for version 10. Do you know if reading this specification will be useful for the other versions too, or do I need to actually learn 3 separate (or more) documents to fully understand the format? And is .swf really fully open source? I don't quite ...

Probable issues with running flex application/swf in local mode.

Hi All, We are developing client application for our solution. Its a desktop client. We are using flex for same. (Although I know flex is meant for web application and air application is best suited for desktop clients, but due to some build issues we can't go for air applications). Now according to our use case we required to read file...

swf object not defined

hi, i get swf object not defined. i have checked the path to the js file through the view source and its correctly linked. and the code for creating the swf is underneath and the divs are correctly named. any ideas? ...

SVG to SWF on Linux?

Any application or method can export SVG or any vector format to SWF from Ubuntu Linux? ...

Embedded JW flv media player into swf : problem controlbar

Hello, I'm trying to embed JW flv media player into another swf (version 3.15). It works but not totally. With some variables, I could set up the displaying, volume, autostart... But I have some problems : The variable "showdigits" doesn't work at all. The controlbar width takes the width of my scene and not my flv width, in my case 9...

Problem getting Javascript to work with SWF file using ExternalInterface

Hi guys, I have a SWF file emedded withing a HTML page. Trying to do a simple operation - go to and play certain frame in SWF using javascript. I'm using ExternalInterface to do this but for the life of me can't get the two to communicate. I add all the code but when clicking on the link which calls javascript, it says my flash object ...

C# Accessing Flash COM Object using WebBrowser control.

I have a HTML page that contains a flash file and some a JavaScript function that returns the object of the flash file. So far I can call the JavaScript function from C# and have it return an Object, but I want to cast it as AxShockwaveFlash and access the COM Object directly from C#. I have seen this done with Windows Media Player imb...

Is there a tool to decompile swf to actionscript?

Anyone knows if there's such a tool? ...

is there any tool to figure out the memory occupies by the swf??

Well i am not asking about the tool to compress or measure the size of swf file , i need a tool that can show me how many bytes or mbs, my swf is using ?? ...

Hovering over a link in a Flash file - browser highlighting

Is there any way of showing a link's destination from a swf in the browser? The answer might be a simple no. Hard to explain, so I have attached a screenshot that makes it clearer. ...

Flashdevelop issue with publishing

I have created a simple flash object to redirect a browser to a different webpage using "navigatetoURL" while getting the URL from externalinterface calls to the javascript that the page doing the embedding of the flash file has. I am able to build everything just fine and the html page I created (using swfobject.embedSWF to embed the f...

Stream a swf instead of downloading a whole swf before displaying

Is there any way to stream an .swf file instead of making the site wait until the entire swf is loaded? A client i am working for wants a flash-based animation to open the site, but it is a big file. Was wondering if anyone had any suggestions for swf streaming? ...

Accessing a swf from another domain

When trying to load a swf from a domain different from my swf's domain, I get this error: * Security Sandbox Violation * SecurityDomain 'file:///C:/Documents and Settings/Welcome/My Documents/Flex Builder 3/SwfLoad/bin-debug/SwfLoad.swf' tried to access incompatible context 'http://mydomain.com/crossdomain.xml' loading of class ...

Drupal flash questions

I received from the client .flv files, and used SWF Tools to embed a different video in the right sidebar of each page. Now the client wants that changed, to .swf files. (I understand that both the .swf file and accompanying .flv file need to be present for this to work). Do I still use SWF Tools, or something else? Thanks in advance...