swf

Problem with converting compressed swf with cws2fws...

I am trying to convert compressed swf files to uncompressed swf files using the cws2fws utility written by Alex Beregszaszi and which is part of the ffmpeg set of conversion routines. The compressed files I am using are valid files as they can be opened and played by Firefox and other programs, but when I run them through cws2fws the pr...

Tool to invoke actions in Flash swf via JavaScript

I have a flash swf file without access to it's source. Can I use only JavaScript to invoke/initiate the action of the flash functions within the swf file? Or does the swf need active listeners to respond to JavaScript? ...

Fail-safe way of round-tripping Flash swf files to text-representation and back

I'm looking for a fail-safe way to round-trip between a Flash swf file and a text representation and back again. One strict requirement is that the resulting round-tripped Flash swf file is exactly functionally equivalent to the original Flash swf file as long as the text representation is left unchanged. Furthermore, the text represen...

Links in a swf file

Hi. I have a worldmap.swf, were I have incorporated a small logo in any continent, that clicking in each one it gives me only the countries of that specific continent, where also incorporated another logo in each country. I need to create a link in every country’s logo, which must open a different web site. Example: one logo in North Ame...

How to embedd a youtube video inside a swf

Embedding YouTube videos using the embed code in a blog or HTML/PHP page is straight forward. Is there a simple method to "embed" the same video within a Flash/swf interface? ...

swf submenu display problem in asp.net

I have swf menu with submenu, but when i put it in aspx page then i cannot see submenu items. because they have to get out from swf frame. how can i solve this problem? ...

Is it possible to use conditional operator in checkbox using flex ?

I want to fill color based on condition so I used conditional operator for the checkbox. But it's shows the error Implicit coercion of a value of type String to an unrelated type Array. What did I do wrong ? How can I dynamically change the color of a checkbox ? <mx:CheckBox id="home" enabled="false" fillColors="{(data.actualwin != '...

How to get the size of a dynamically loaded swf with javascript?

Hi, I want to get the dimensions of a dynamically loaded flash object and resize a DIV accordingly to it. I can't use a server side language to do it. I've tried searching about loading and reading the header portion of a SWF file to get it's dimensions with javascript but came up empty. Is this remotely possible/feasible? Thanks in ...

Adding Loading Animation to third party Flash SWF

I am using flash component (open flash chart 2) to show charts on my webpage. The swf file i am using ( open-flash-chart.swf ) is 270 kb. It don't have 'loading...' animation in it. so on slow connections, its not showing loading progress. Is there any way to add 'loading...' animation to an existing swf file ? Eventhough open flash ch...

Command prompt convert png to swf

Hi, I want to let a user upload a PNG-file with alpha transparency and have it compiled by the server to a swf-file with jpeg compression on the embedded PNG-file. How can I make this happen? I thought first I'd just construct a class and compile it with Flex Framework, but Flex does not compress the embedded PNG-files. You who have...

how to convert HierarchicalCollectionView to Array using flex3 ?

i used advance datagrid of dataProvider as HierarchicalData . it's an my array collection strature private var groupList:ArrayCollection = new ArrayCollection([                {Country:'India', children:[                                {Matches:'India Test series 1',isEnable:false},                                {Matches:'India Test se...

Hosting Flash movie in a WPF project

I want to host a SWF (Flash animation) in a WPF project. I searched Google and found something. I tried that technique but had some troubles. In this article, it says: **Then, as mentioned in this posting, it is necessary to run AxImp.exe from the .net sdk on the Flash ocx to generate following files. 1. AxShockwaveFlashOb...

Php ming: How to load and access assets from a ming-created swf in Flash/Flex?

Hi! I'm using Ming to create an library swf, using the first code example below. How can I access the embedded png from my Flex application? Here's the php/ming code: <?php // Ming to create Library.swf //----------------------------------- // Create background... Ming_setScale(20.0000000); $movie = new SWFMovie(); ming_useswfversion(7)...

How do I get rid of white background on my SWF file?

I'm putting a SWF file into an HTML page in GoLive, and even though all my code and SWF file are set to a blue background, there is a quick second during the loading of each page where my entire SWF document is completely white on top of the blue HTML background. I don't know if this is making sense, but check out www.eloquentcreative.co...

AS3 Instantiate Class From External SWF

Hi, I was chatting with my buddy about this, he is convinced you can do this and says he has done it, but I cannot get this to work. I am wondering if it is even possible at all. I tried typing a var as a Class that is within the externally downloaded SWF and then making an instance but no can do. some code private static function on...

codeigniter site, swfobject not fully loading swf

I am having a strange problem. I have a view that is supposed to load a swf. The swf was compiled with Flex and the mxml preloader displays but it loads a blank screen. When I path directly to the file it loads fully and works fine. Other possibly relevant information: The swf makes calls through GET requests to the database the si...

Why does AC_FL_RunContent assume .swf extension?

I am using some Flash code that is using AC_FL_RunContent and it appears to be automatically appending a .swf extension onto my movie and src. Is this expected or am I doing something wrong? I can't seem to find any decent information on how to use AC_FL_RunContent so I do not know if this is something I can disable. I have not run into...

How to Prevent SWF from Decompiling?

How do I prevent my SWF from decompiling? Is there any difference between ActionScript 1/2 and ActionScript 3 in the perspective of decompile prevention? This is an opposite question of the following question: How do you decompile a swf file? http://stackoverflow.com/questions/97018/how-do-you-decompile-a-swf-file ...

AS3 - multiple level loaded swfs , unloading and assigning xml

I have a Main Document class that instantiates 2 classes that control loading of two navigation grid swfs. These are populated by xml from navigation buttons on the main stage. A 3x3 navigation grid repopulates it's images and links when the buttons on the main stage are clicked Then loads the chosen video when a node on the grid is clic...

How do i pass arraycollection to Advancedatagrid using HierarchicalData ?

Problem with passing arraycollection to Advance datagrid. My Arraycollection structure like `   private var groupList:ArrayCollection = new ArrayCollection([ {Country:'India', children:[ {Country:'Series1', children:[                                {Matches:'India Test series 1',isEnable:false,id:1,isSelected:true},        ...