swf

may i know what is different viewstack and states in flex ?

In my flex project i used one option like Link button . If i like it will be open new page contain more information and components . Which container is suitable one ? Where is used viewstack and stages ? if you know please explain it . or refer me ...

How can I create a totally dependent SWF from an existing dynamic one?

I manage a website that has ModX and for some reason I just can't get dynamic SWF files to load. This is not normally a problem as I have a Flash menu creator program that makes static SWF files. However, this new one only makes dynamic SWFs (ones that rely on external files and XML). I've tried making a Projector of the file but with th...

How can I insert a dynamic SWF file in a ModX based webpage?

I'm having a real nightmare trying to do what should be a very simple task. If I embed a static or independent SWF file, it shows up fine on our ModX powered website. However, when it comes to a dynamic SWF (one that references an XML file and image files etc) I just can't get the thing to show up at all. According to the Flash Menu prog...

Hiding/Showing a swf in a div?

Hi. I have a flex app that I want to hide in a div until the user clicks a link or element of some type. I've noticed that embedding the swf in a div with style display:none does not actually hide the swf, so how would I go about accomplishing this? The goal is to have the flex app loading in the background while the user does other thi...

How can I load my own custom component into an AIR application?

I created separate own canvas component for Home page, Contact page, Rules page etc. In my main application it has link button like Home,Contact,Rules in application controller(child state) . <?xml version="1.0" encoding="utf-8"?><mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="903" height="508" backgroundImage="@Embed(sour...

How to hide view stacks in AIR application ?

I have two viewstacks one for Main menu and another one for submenu. I want to show viewstack page infomation at the time only one viewstacks . Another one hide . if i click submenu viewstack then Mainmenu viewstack will be hide . How can i do that ? I dont know whether it will be correct or not . If you have any other option for addin...

How do set size of state After moved child state using AIR ?

In my air project i used current state size is width="441" height="358" . i have link button like Singin then move to singin state (currentstate='singin') <mx:State name="signin"> <mx:SetProperty name="height" value="616"/> <mx:SetProperty name="width" value="919"/> So application resize into 616,919 . After that...

Speex-encoded SWF?

A project that I'm working on requires being able to dynamically create sound-asset SWF files (using DefineSound tags). Even though I've been able to successfully create DefineSound tags using raw pcm, I haven't been able to do so with Speex. The SWF format spec (pgs 202-204) specifies that you can use Speex in a DefineSound tag, but i...

How to embed external SWF from file:// protocol

Hello. I'm trying to embed an external .swf file from an HTA application that consists of HTML content, javascript and vbscript. I load the swf from javascript, using swfobject. The remote server allows 'localhost' as the originating server, and I could embed it on an HTML page on my webserver, running on http://localhost, but I need to...

Which container is mostly used for load new custom component into flex ?

In AIR application i have link button like winner statistics . if i like this button then show winner statistics (canves) reports full page on my application . I Already created winner statistics using canves component .Which container is mostly used for view data ? Please refer me ? i tried viewstack but it will overwrite Main page ? ...

SWFUpload :Uploading other than Images

I want to put an Upload control in my ASP.NET ( Web form) page with progress bar.So I searched on the net and found that swFUpload is a nice option i can go with.so i downlaoded the samples from the site and checked it.In mozilla,Its working fine.But in IE (6.0) when i click on the Select images button,nothing happens. Can any one tell m...

Any body know Clock animation using flex/flash/actionscript3?

In my application i want to show 5 clcok . In the clock shows international time depend on country based But Normal clock time i will get sytem time (getmintues and gethours ) and show . How can show all country time ?. i tried below code for animation . Do you know like those any example for clock animation . public function createCh...

How can I make the relative paths to JS & SWF files in HTML work?

I have created a simple flash menu and the SWF file, JS files (swfoject.js and flying.js) & XML files are in a folder called "icpmenu_es" on the server root. If I open the SWF file on my local HDD it works fine but if I alter the paths to the files for use on my website, it won't work at all. I know it has found the JS files because if I...

How to embed a .png in a .swf to show in flash app (DIY map)

Hey guys, I am using the cool map making program DIY map and i want to keep my points as images. However, you can only set .swfs and jpgs as image points. The author of the program says quote: Unfortunately, Flash can not load GIF’s or PNG’s dynamically, but you can embed these into an SWF. PNG’s embedded into an SWF will also displ...

Showing content over a flash 9 swf?

Hi, I have a swf that requires flash 9, and I'm trying to show content over it. To facilitate this, I've set wmode to transparent. The problem is, this ONLY works when the user has flash 10 installed, and I really don't want to require flash 10 to view the content on the site I'm working on. When I pull up a div over the flash content wi...

How to databinding between custom component in AIR application ?

In my Main application I used label (like id=firstname) so we can use in main used firstname.text for databinding. But I have created canves custom component and load in main application using viewstack. In canves custom component how can I Bind label(id=firstname). I tried: var username:string = firstname.text but not show undefine f...

How do you know when flash movie has finished playing in a flex container?

I have loaded an swf into a flex application. It's been made a source of an control. I set the source of the image during the application's execution, upon setting the source, the movie plays, but I would like to know when it completes playing. Thanks. ...

How to improve datagrid perfomace when using itemrenderer withing datagrid ?

For poor performance reasons, the DataGrid will cache checkboxes and reuse them for different rows. If you have 50 rows, it won't create 50 checkboxes. It will create as many checkboxes at are visible, plus a few more for padding, and then reuse them as you scroll. This is why you need to explicitly manage their state. How can improve i...

online book reader - streaming/chunking parts of a book

I am trying to create an online book reader (all text, no graphics needed). The reader can be flash or html/javascript. The trick is I need to push out the book in chunks so I can limit non-paid readers to only the first chunk or so. I have thought about just pre-parsing a book file into several files (each chunk) and serving each but...

Flash document viewer

Is there a flash based document viewer? I am looking for something similar to iPaper that Scribd.com uses. ...