flash

Facebook Canvas Application: iFrame equivalent of <FB:SWF> ?

Hi, I need to embed a flash application(that will access FB API from within) in Facebook Canvas page. If I use , some FB related details(like session key) will be automatically passed to the flash. But since, FBML is going to be deprecated, I want to use iFrame. Is there any way to pass those variable automatically or do I have to retr...

How to create multiple tab loops in AS3 by using fl.managers.FocusManager?

Hi, I want to create a tab-enabled popup window in an AS3 Air project. Currently, when I press tab several times, the focus goes through all the components in my popup window and then starts focusing the buttons and TextFields from the components that are behind the popup. I have tried to solve this problem in two ways, but none of them ...

Is it possible to embed a flex component in a pure java android application ?

Hello, I know it is possible to develop a full flex application using AIR for android but what I need is to embed a flex component into an already existing classic java android application. I found some flash players in java but they all either require a JFrame or include of specific windows dlls. Is it even possible ? I found no info...

How can I implement a "pause" button for music in a Flash game?

I'm making a flash game, and I want to make a button. When I click on it, pause the music. When I click again, resume the music. ...

Control animation framerate in the object tag?

Hello, I have a compiled flash animation (swf) embeded into a HTML document using the object tag. Question: There's a posibility to change the original SWF framerate using some params in the object tag? I don't have the source code (FLA). I want to decrease the framerate. Thank you for any help, <object classid="clsid:D27CDB6E-AE6D...

how can i make eyes follow the cursor

like this by action script 3 http://www.albinoblacksheep.com/flash/movingeyes ...

ActionScript Cue Points for closed captioning in Video control?

I am using using Flash Builder to create an AS3 video player which needs to support Closed Captioning. However, I am not using the FLVPlayback component. Is there a way of doing something like addASCuePoint() to flash.media.Video;, or is my only option using Flash's Timer to do my own check? I would imagine there must be lib out there ...

Flex - Script timeouts (Error #1502) and WebService component

Hello StackOverflow community, I am getting a script timeout (error #1502) when I am calling a SharePoint Web Service (CopyIntoItems) when trying to upload large files (greater than 40 MB). The error does not occur when using the Web Service for smaller files. The large files can be uploaded directly to SharePoint using the web interfa...

flash preloader printing problem

I've got a flash movie with preloader. Preloader Event.COMPLETE listener looks like this removeEventListener(Event.ENTER_FRAME, onFrame); stage.addChild(loader.content); parent.removeChild(this); The problem is that when I try to print the movie that was loaded by it, preloader is printed instead. Why can this be happening? ...

create interface object in mxml

Let's say I have an interface public interface IFoo { ... } and I have several implementing classes public class Foo implements IFoo { ... } ... public class Bar implements IFoo { ... } ... public class Baz implements IFoo { ... } I want to reference IFoo in MXML like this <ns:IFoo id="myfoo"/> and have it be ...

How can I configure my flash object so that it won't cover my other page components?

I have this flash object that is being displayed in the middle of the page. The problem is that each time I try and open a js popup in this page, the flash object covers up the popup. I've tried setting the wmode param to "opaque" and it didn't work. I've set it to "transparent" and still no change. I've tried setting the "z-index" of t...

Dynamically loaded comboboxes in cfgrid (Flash)

ok..so I am creating combobox grid cell renderers with Flash .as code for a ColdFusion routine that has 4 pages..I need two of these comboboxes - one each in two different cfgrids on seperate pages...I can create the cell renderer for one or the other of the comboboxes consistently..but need both to be available.. I finally figured out ...

What is ApplicationDomain.domainMemory for?

In AS3, what is ApplicationDomain.domainMemory for? http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/system/ApplicationDomain.html#domainMemory ...

Draw circle on Custom Flv player..

Well i have the custom flv player which reads an XmL and draws circles on Flv video. Postion and time is specified in the XML. I did calculation with as3 getTimer() function. It works fine, no matter how long u pause and then play again. Circles are shown at right time. Now i have two problems 1- How getTimer can be reset?? it is requi...

Secure and cheap method for streaming Flash video

I'm working on a site which allows people to pay to stream videos online. I'm currently using JW Player to stream FLV/F4V files from Amazon S3, using a signature. This method is extremely unstable, and needless to say, useless. I've heard I can use Amazon CloudFront as a CDN for my videos. But that it won't make the files any more secur...

When is Flash frame script executed exactly?

I have a movieclip which has in the actions for frame 1 this["myCustomVar"] = "bla"; I then do this: var mc:MovieClip = new MyMovieClip(); trace(mc.hasOwnProperty("myCustomVar")); // is false Why does the movieclip not have myCustomVar, or to put it more generally: When are frame scripts in movie clips executed exactly? ...

ActionScript 3.0 - Alternative Event Listener Declarations?

I have some in-file actionscript 3.0 code. This code controls a number of elements on it's stage. These elements each have an Over, an Out, and a Click event. I currently define these event listeners as so: mc_hotspot.addEventListener(MouseEvent.MOUSE_OVER, lift); mc_hotspot.addEventListener(MouseEvent.MOUSE_OUT, setDown); mc_hotspot.a...

Calling in an external SWF. How to Pre-load?

I have a project where clicking on one of a series of spots on an object will pull in a SWF file related to that particular spot. (Think of a car; clicking on the engine will load the engine.swf and clicking on the wheel will load wheel.swf). Do I add a pre-loader to the Main timeline or do I add one that plays immediately on the extern...

Starter flash book to understand basics of flash games and how they communicate with backend servers

I'm looking for a starter flash book to understand basics of flash games and how they communicate with backend servers. Any recommendation? ...

When External SWF has reached Frame X, how do I unload it?

Here's my swf loading code: function loadBall(e:MouseEvent):void{ var mLoader:Loader = new Loader(); var mRequest:URLRequest = new URLRequest("ball.swf"); mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler); mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler); mLoader.load(mReq...