swf

Profiling existing flash files

I'm trying to do some research on flash objects in browsers. For example memory usage etc. With Adobe Flex Builder 3 im trying to do some profiling on swf files but the problem is that I can only do this on debug swfs. Almost all adds/games/video are release version. Is there a way to some testing on those? ...

Javascript form submission to activate Spring Web Flow transitions with JSF integration

Hello guys, I`m developing an application using Spring WebFlow 2, Facelets and JSF. One of my flows does have a page that must trigger a form submit at certain events. For each different action, a different view must be presented. So, I'm trying to activate the following javascript code to perform the submission: function myFormSubmit(...

I found SwfDotNet to help me create swf flash files with C#, but...

I found SwfDotNet to help me create swf flash files with C#, but I need some documentation or some examples on how to use this better. http://sourceforge.net/projects/swfdotnet/ I'd like to be able to take multiple images and create a slide show, and have some transitions between them. Nothing fancy, but I can find the details on how t...

Send data to a Flex 3 application from an SWF (version 7).

Does anyone know how to take a swf (version 7) and use the SwfLoader or something similar to access a root variable in the swf from a Flex application? I have tried many things with no success. I don't want to clutter this post with all of my failed attempts, but I will post them later if I see that they are needed as examples. Just so...

Cross Platform SWF Playback with Python?

I'm looking for different solutions to playing back SWF files on Windows, OSX and Linux using Python. Ideally I'd like to embed the player inside a wxPython frame/window. One possibility I'm investigating is the Mozilla XPCOM framework since its used by FireFox to load the Flash plugin within the browser. ...

Which Flash SWF compiler uses compiler directives?

Any existing Flash SWF compilers that can understand directives like #IF #ENDIF, etc? Some SWF Compilers: (Hopefuls) AS3 Compiler - haXe AS2 Compiler - MTASC Adobe Flex Compiler - Mxmlc C# to SWF Compiler - Debreuil ...

MXML without Flex Framework/Components

The Flex compiler can compile "pure AS3" SWF files that don't contain any Flex Component bytecode. So, Would it be possible to create a custom component framework (used in place of the Flex Framework), that can still be visually laid out using MXML (read: markup), and compiled down to a SWF without any dependencies on the Flex Framework...

Flex4 (codename Gumbo) SWF Filesize Speculations

I've heard that the components in the upcoming Flex 4 framework will be more loosely coupled possibly allowing for smaller filesizes for projects that use relatively few components. It this true? Or will the entire Flex framework still get bundled into each SWF that uses a single Flex 4 component? If it is true, and we could compile fai...

How do you find the URL to the SWF file using ActionScript 2?

I'm looking for a way to find out the URL of a SWF using ActionScript 2. In ActionScript 3 this is done by using root.loaderInfo.loaderURL, but I haven't found any equivalent in ActionScript 2. Please note that I'm not looking for the URL to the page where the SWF is embedded, but the URL of the actual SWF, and that using ActionScript ...

Open Source Libraries for Rendering Vector Graphics Formats Through Java2D?

What are my options for rendering graphics encoded by Java2D to vector graphics formats such as EPS, SWF, SVG, VML, PDF and others I might not have heard of yet with open source libraries? Batik is the most widely-used library for rendering SVG. What other options are there? iText is widely used for rendering PDF. Is there something le...

Serving raw swf files displays in Firefox but not in IE

I have a case where I need to serve "raw" swf files to the browser. That is, without embedding. We have had some problems making this work in IE now and then but managed to work around it. Until now. We're fixing some other issues with serving documents and as a side effect the flash files stop working in IE. Flash controls the browser d...

How do I prevent a swf from refreshing when an iframe is resized?

I am resizing an iframe, and when I do that in Firefox, the content gets refreshed. I have a swf that extends, and in Firefox when the iframe extends to accommodate the swf, the swf appears in its normal position. In IE this doesn't happen. Anyone know how to prevent the refresh from happening in Firefox? Thanks Edit: Ok I think...

Anyone doing anything yet with Adobe's Project Alchemy?

Making another appearance this year at MAX was Alchemy, Adobe's C/C++-to-AVM2-bytecode compiler. It seems like really interesting stuff -- I haven't yet had time to really dig in and try it out myself, but I can definitely imagine putting it to good use. Wondering whether any of you've had a chance to have a look at it yet, and if so, ...

HTML Object over a SWF

Hi, I have a SWF Video player on my webpage. I want to draw a div tag over it with a high z-index to act as a popup on it . Its a very generic popup. Hence I cannot make it as a part of swf. but, SWF seems to have very high zIndex and would not allow any HTMLO entity to sit over it. How do I achieve this or is there an alternate soluti...

Load child swf with flashvars from parent swf

Hi i have to load another swf from my swf and i need to give them flashvars attributes, how can i do that? i tried this but not working loader.load(new URLRequest(url+"id=33")); ...

how to extract flash frames programmatically

Hello i need to extract frame (can be every number ) from flash swf and convert it to jpg/png/.. programmatically what is the best way to do that ? never mind the programming lang ...

Why does my SWF file size not decrease when reducing content?

Often I find if my SWF file size is on the large side, when deleting media altogether or perhaps deleting and re-inserting compressed versions of images, sound etc, it has little or no effect on the resulting SWF's file size. I have tried deleting the SWF to allow Flash to recreate it from scratch but it makes no difference. Has anybody ...

Suppress a SWF Click Event in IE, follow anchor tag instead

Scenario: You have a SWF file with a built-in click event that takes you to a certain web page. You want to use that SWF file (source isn't available), but have the click event take you to a different web page. Wrapping the embedded SWF in an anchor tag and setting the swf to wmode=transparent only seems to work in FF, not IE, and sin...

Setting focus to an swf using JS

How do I set the focus on a SWF embedded in a page using Javascript? I tried to use the usual method but it doesnt seem to work... ...

SWF in WPF WebBrowser control - Auto accept camera/microphone access?

I have an application with a WPF WebBrowser control which displays a Flash file. The flash file is used for WebCam/Microphone chat. At the moment, everytime the flash is loaded it displays a dialog box asking for permission to use the microphone and camera. How can I fake a click on the allow button to stop hassling users with this ques...