flash

this.focus() does not work properly in Firefox

I am using an ExternalInterface call on activate from a flex application embedded within my html document. The call goes to a javascript function which does function documentFocus() { this.focus(); } Everything works like a charm, except that Firefox does not focus the document body 100%. It stops listening for onkeyup events (it st...

AS2 to AS3 Migration, Handling code left on buttons

I have several (20-30) Flash files that I need to migrate from AS2 to AS3. The biggest issue that I'm having is that it's extremely tedious to go through all the code and change the places where the code is on the buttons to an event handler model. I'm not hopeful, but I was wondering if anyone knew of any tricks or tools to quickly ch...

Extract Text from SWF

We currently use print2flash (http://print2flash.com) to convert user submitted documents (Word documents, RTF, PowerPoint, etc) into Flash-based documents that can be viewed online (a la docstoc and scribd). We would like to index the text inside these files for full-text indexing. Are there any tools or libraries we can use to accomp...

How to access an html element in flash?

I have an html page with a flash movie embded in it, that flash movie contains a button. I want to pass the id of an element on the containing html page to the flash movie so that when the button is clicked, I get the text of that element in flash (i.e. innerHTML). So, my question is basically two questions: How to pass something from...

Video Conference on web

i have to create a voice conference for our website what do you thing will be the best option .Net or Flash ? ...

How to know the dimension of swf file without Flash ?

I've a swf file and i want to embed this file into HTML page but i don't know the exact dimension of swf . Windows XP file properties doesn't show the dimension and I don't have Adobe Flash software. Then how can i know the Dimension. ...

f4p flash video format

What is the difference between .f4v and .f4p flash video formats. Only information I have found on Adobe website is that f4p is "Protected media for Flash Player". Well my question is: how is it protected? ehat type of protection is that? Ways of encoding? Anything really... Cheers. ...

Getting Computer information using Flash

Is it possible to retrieve computer information (RAM, hard drive size, cpu speed, etc.) using Adobe Flash? If so, can someone point me to a web site showing me how? ...

Google Maps Flash API disables bubbling of MouseEvent over their Markers

By default Google Maps Flash API cancels bubbling of all MouseEvents that occur over their Markers (dragable at least). However in MapMouseEvent constructor I see that it has a parameter "bubbles?" so I guess they can be made to bubble mouse events? Is there a way to turn bubbling of mouse events on? var __marker = new Marker(new LatLng...

Flash External Interface issue with Firefox

I am having a hard time getting ExternalInterface to work on Firefox. I am trying to call a AS3 function from javascript. The SWF is setup with the right callbacks and it is working in IE. I am using AC_RunActiveContent.js to embed the swf into my page. However, I have modified it to add an ID to the Object / Embed Tags. Below are o...

Flash AS3 - Object not getting set to null

I have menu system that I built in Flash that allows you to select an item and move it up or down. If the object is removed from the menu, I want the selected item to be set to null, so it won't try to be moved anymore. I have a global (for the current movie clip timeline) variable: var selectedPlaylistItem:MovieClip; That stores wh...

Dynamically loading a flash movie from a flash movie

I have 2 mxml files, lets say main.mxml and child.mxml. Now lets say I want to load child.mxml inside main.mxml and pass it a complex object as a parameter. How would I go about doing this in AS3/Flex 3? I have tried to search for this on Google and SO but either I am not searching with the right keywords or there is no info (unlikely)....

Flash CS3 swc components live preview problems

Whenever I create custom swc-based components in flash cs3, the live preview doesn't display correctly. The preview is always off-center from the component. Whenever I rotate the component, the preview becomes very skewed and sometimes disappears. Is there any way to get the preview to align correctly with the component as well as res...

Without using trace, how to tell if flash application is in a container?

Hello all. I'm trying to determine if my flash content is inside a container. I have no idea what this means, but apparently it's bad for making ExternalInterface.calls. I'm developing the site on a linux machine I'm running the server on and I'm working with the flash on a windows machine. I've tried many options for using trace, none o...

AS3: Setting default font, color, etc. of a TextField using the StyleManager class

I'm trying to get StyleManager to have some effect, to no avail. package { import flash.text.*; import flash.display.Sprite; import fl.managers.StyleManager; public class StyleManagerExample extends Sprite { public function StyleManagerExample():void { StyleManager.setComponentStyle(TextField, "selectable", false); ...

Flash based .wav player

Hello; Does anybody know of a free/open source flash-based music player that can playback .wav files? Thanks... ...

actionscript to java (red5)

I'm trying to migrate an existing actionscript program (server part) to java (red5). However, I'm blocked with the following code : Client.prototype.requestInterview = function () { }; Does anyone know what is the equivalent of Client.prototype in red5 ? Thanks in advance, Massi ...

Flash ProgressEvent Not Showing Total Size

I'm using a ProgressEvent in Flash to determine how long something will take to download. I've got this: progress = event.target.bytesLoaded/event.target.bytesTotal; to set a percentage. After some scratching of my head, I did a trace on the two values - and it turns out that "event.target.bytesTotal" is always equaling zero. I ca...

Add drop shadow without an offset to movieclip

I am trying to add a drop shadow look( without the offset) to a movie clip in Flash. Using the Actionscript below, I can add a drop shadow with an offset. import flash.filters.DropShadowFilter; var dropShadow:DropShadowFilter = new DropShadowFilter(5, 45, 0x333333, 20, 10, 10, 1, 2, false, false, false); container_mc.filters = new A...

javascript, flash, and MAPublisher layer toggle issue

Greetings. I'm working with Avenza Mapublisher (an extension for Adobe Illustrator) to create an interactive map. When exporting the map it creates a series of flash swf files, an html file, and some javascript code. The above link shows the non-formatted version. As you can see the map loads very slowly because by default all the lay...