flash

How can I get the width/height of a loaded swf's stage in AS2?

I'm using MovieClipLoader to load an external as2 swf file into my as2 flash project, and I'm having trouble getting the original stage size of the loaded swf. When I run the following code: var popup:MovieClip = _root.createEmptyMovieClip("popup", 1); var loader:MovieClipLoader = new MovieClipLoader(); var loadHandler:Object = new Obj...

Keyboard focus being stolen by Flash

Performing a search, I noticed several questions dedicated to how to steal/trap the keyboard focus of the visitor. Considering this site is dedicated to programming that's not suprising. I was wondering if anyone can advise me on how to prevent this type of behavior. Losing keyboard focus to flash basically removes my browser's functiona...

FlashDevelop Application not found when build

How do I have to configure my project to open the generated swf file in the debug flash player? When I hit f5 FlashDevelop tells me the following INITIALIZING: Adobe Flex Compiler SHell (fcsh) Starting new compile. Loading configuration file D:\Programmierung\Flex\flex_sdk_3\frameworks\flex-config.xml Loading configuration file D:\Progr...

How to remove child(Movieclip) and add to new parent (Movieclip)

Hi, I need to remove the child(movieClip) from the parent(movieClip) while dragging and add the same child(movieClip) to another movieclip when dropped. this method is used for dragging function pickUp(event:MouseEvent):void { event.target.startDrag(); } when i drop it function dropIt(event:MouseEvent):void { event.target...

mpeg1 stream in online flash video player

I'm looking for a flash video player that can play mpeg1 streams (alternatively MP4 would work too). Are there any? ...

Saving flash chart to png

Hi, In Fusion charts 3.0 they have option to save the graph as PNG. But it is only for licensed users. But they don't have that option for free users. My requirement is to save it as an image somehow. Is it possible in the free version. To achieve that what am I supposed to do. Is there any mechanism ( 3rd party tool ) to convert flas...

Get MXML and ActionScript Classes out of swf

Hi there I want to know how secure Flex is. Is there a possibility to generate the source out of the swf-file? I mean for example if I have my Actionscript and MXML files and compile them to a swf, can I get the source back out of the swf file? With kind regards Sebastian ...

Best tool to create a full screen slide show from the web

I need to create a slide show of some images that can go full screen so it can be displayed via S-Video out. The software is delivered via the web so a web-based option is needed. The list of images is dynamic, and I would like to show them in order. The list of photos can change while the slideshow is running, and I would like to add...

How can I 'force download' a file that has been generated entirely in Flash?

If I'm generating a binary file inside Flash Player, how do I pop up a 'Save' dialog for the file without sending it up the the server first? I'm sure I heard this was a new feature in Flash 10. Cheers, James ...

OpenGL or Flash for 3d visualization in the browser

Hello, I am planning create a site that lets users in finance visualize the price of a foreign exchange option in 3d. x = price of underlying, y = price of option, z = days left to maturity. In other words, rather than a simple option payout diagram, this would allow you, on the Z axis, to view what the P&L scenarios would be if you sol...

Flash player 10 - full screen mode and keyboard

I am writing Flash app (Flash Player 10, AS 3.0) that is full screen capable. I got that part sorted (allowFullscreen=true, stage.displayState). I would like to give users ability to tab through the items there and activate them using space (MouseEvent.CLICK ;-). I know that any keyboard actions are blocked in full screen mode. This Ado...

Tips on using Mootools Swiff object to talk between JS and Flash Movie?

I'm trying to use Mootool's Swiff object to load a flash movie and to start talking with it. I've been following the example here: http://mootools.net/blog/2008/02/12/whats-new-in-12-swiff/#more-63 Which I know is a little out of date (the events option should be callBacks apparently) but should at least be a start. Yet I can't get the...

How to make SWF Call a Rails Ajax Request?

Hello, I'm writing an application that requires a flv video to be watched before displaying a proceed button to the next section of the site. Currently when the video ends the SWF player makes a POST request to the server marking the video as watched for the current user. Upon success the SWF player calls a Javascript function... Aler...

Flash-based file upload (swfupload) fails with Apache/mod-wsgi.

This question has been retitled/retagged so that others may more easily find the solution to this problem. I am in the process of trying to migrate a project from the Django development server to a Apache/mod-wsgi environment. If you had asked me yesterday I would have said the transition was going very smoothly. My site is up, acce...

How to queue multiple events to a single eventHandler in actionscript 3?

Hi, I am building a framework for loading minigames (in swf), and am running into a problem. I currently have a listener that listens for events that the child minigame sends to the parent framework. However, if the child sends two messages (events) too close to each other, it seems that the first event simply get ignored, which causes...

use flash as proxy for e4x?

I really like processing XML with e4x, any other method I just get confused and can't seem to get it to work. So I was thinking about maybe making a proxy in flash to use to process xml with e4x (I would use this for JavaScript and maybe PHP if I could figure out a way). Basically passing it an xml object and an e4x expression and return...

Get XML by Post method from Webservice in Flex

Hello there, I created a servlet in java that will give me a xml response when called protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/xml; charset=utf-8"); // Set the servlet's ...

good 3d libraries for Flash

We are looking for free, well documented flash 3d engine for a new project. What libraries do you recommend? We will be displaying text and images where images has to be well animated or rotated to some degrees. We need effects like http://www.cooliris.com/ ...

Can SWFs be integrated in a Java application?

I'm looking to embed SWF files into a Java program, but I'm having trouble finding the way to do this. Any ideas? ...

Best approach to change variable values in a compiled SWF file

Is it possible to change the value of a variable in a compiled SWF (using as3) via a servlet (say on a per session basis) before return the modified SWF back to the client. I notice there are a few command line utils as Open Source, but these seem to focus on AS2. Is this possible with AS3 code? What libs are available do this from ja...