flash

Voice Echo Problem

I'm trying to build a video chat program using Adobe Flex but there is a giant problem with echos. If the participants arn't using headsets, everything they say echos. Worse, they can actually create positive feedback loop of echos that won't end until the mics are muted. Has anyone found a solution for this on the Flex/Flash platform...

In Flex, what's the best way to remove a swf that was authored in Flash CS3?

So, I have an application where I'll be loading any number of swfs into a SWFLoader and removing them at runtime. The issue is - they are all timeline based movies authored in Flash CS3. I have very little control over what is in the movie other than the authors are not able to program any interactivity (i.e. no event listeners) but I w...

javascript for new tab (CTRL+T), new window (CTRL+N)?

When flash has keyboard focus, CTRL+T (new tab) and CTRL+N (new window) are intercepted by flash. Is there a way to pass these events through to the browser so that they work (opening new tab, opening new browser) OR is there a javascript command for these actions? ...

Focus is stolen from Interactive Flash object by 3rd party Flash adds

I have developed a simple interactive Flash game, but now it appears that sometimes Flash Adds (3rd party ones displayed by facebook) somehow steal the focus from my flash application (by mistake?). My app has textfield() where the focus should remain until game is over. My flash object uses urlrequest/javascript to ask for focus at st...

Call a function that is defined in a MovieClip - ActionScript 2

I have a movie clip that is attached with attachMovieClip, and it has a function in it called test() /// function test() { trace('!'); } after attaching the movie clip i was trying to call that function, but I simply couldn't. Is there a simple solution for this? I've read something about you you cannot call the function until the...

Object Focus problem with Safari and Chrome browsers

I have the following javascript being called to request a focus when page is loaded. This code works 100% OK with Firefox and IE7, but Chrome and Safari do not seem to move the focus at all. How to make it work with all browsers? document.getElementById("MyFlashFile").focus(); ...

Flash OCX Error crashes IE6/7

Has anyone encountered this error before? I am trying to debug an issue for a client and can not seem to get anywhere with this. With a clear Internet cache I visit http://www.safcoproducts.com and almost every time (on first load) it crashes IE 6 and 7. This does not occur in FireFox. We have tested the same files on a different ser...

Is it possible to pass a type as a variable in Actionscript?

The actionscript I want to write looks like this: public function API(requestClass:Type=URLLoader) { var req:URLLoader = new requestClass(new URLRequest("some url")); req.load(url); //etc } so that I can test the API class by passing in a mocked subclass of URLLoader. This doesn't appear to be possible in Actionscript's type sys...

Flash Site Architecture - one swf vs many?

I'm about to start building a site entirely in flash (per the client's request), using AS3, and was wondering about best practices for doing so in terms of application architecture. The site isn't too large--think homepage, persistent nav, 8 subsections or so, each with their own content but similar design between subsections. In the pas...

How can I access allowScriptAccess's value from Flash?

I am looking to read the value of the allowScriptAccess tag so that if it is set to "never", or if it isn't set that I won't attempt to make an ExternalInterface call. Using the flex framework I can use Application.application. Is there an equivalent for Flash? ...

Sharing Adobe Flash Projector (.EXE) over Local Area Netwrok

A forthcoming project requires that a Flash projector (.EXE) be kept on a server and accessed by multiple users over network (LAN). There will be a central access database as a backend. I am using a third party SWF2EXE (SWF Studio) product to have database functionality. I would like to know if sharing an EXE file this way is practical. ...

How can I send a ByteArray (from Flash) and some form data to php?

I have a sketch pad made in Flash AS3 like this one here: http://henryjones.us/articles/using-the-as3-jpeg-encoder I want to send the jpg to the server and some data from a html form field with php. Is there a way to force the Flash movie to deliver the image file when one presses the submit button? ...

streaming desktop to flash player

hi I would like to stream my desktop screen (or one of the application which i select) to flash player i woul like to publish my desktop in web i have wowze media player to multicast it but i have to create stream and give it to the wowze do you have any idea how to start what would be the best for it can you recomend something? ...

Flash, accessing totalBytes before actually loading the file

Im looking for a simple way to find the file sizes of the files i planning on loading without loading them yet. I'm basically making a batch of files that needs to be loaded and it would be very useful if I could determine on beforehand how big the total load is going to be. the Loader object in flash has a totalBytes property, but that...

What is a good Actionscript 3.0 book for experienced developers?

So, I need a book (I know the API-docs, but I like books I can hold on my hand and take on the bus, etc.) for ActionScript 3.0 - I already know a plethora of programming languages so no problem there, but all the books I seem to find for ActionScript 3.0 are of the sort "teach yourself ActionScript 3.0 in 24 hours" and they all begin wit...

Flash AS3 timer question

Hi I have got a timerEvent that adds 25 movieclips to the stage and animates them from x:0,y:0, this all works fine! What i would like to do is assign each movie clip a y value of 25px more than the last movieClip added to the stage. I did a little test by trying to increment a number value each time the timer did a loop but it didnt inc...

How can I get Flash to share the browser cookies/session?

I'm building a PHP-based web app and am integrating a Flash-based charting engine. The Flash chart needs to make a AJAX request for its data. This request fails because it is seen as a new user agent and doesn't contain the PHP session cookie to identify it. So, it gets redirected to the login page. I've read a few hacks to make this...

How to stop flash content shine-through JQuery UI Dialog in FF Windows

I'm using the jQuery UI dialog box, in IE & FF on Windows I'm getting underlying flash content shining through the dialog box. I resolved this on IE by enabling the bgiframe option on the jQuery dialog window and changing the bgiframe script to apply to any windows browsers, however I'm still getting the shine-through on FF. Note that ...

Finding a Thinkmap-like engine

I try to find a Thinkmap-like engine on flash to visualize structured data. Does anybody know any free engines? ...

Flash: Download Dialog box

When a user clicks a certain link which contains an image that should be downloaded, the client wants a dialog box to appear. Currently we zipped the downloadable files, but there is not other way in achieving this than perhaps javascript right (or flash 10 filereference class)? ...