flash-cs4

Determine when Flash component not visible

I'm playing around with streaming live video to the Flash Player. The problem is, it seems (from my logs) that many users will open a live video feed and then just leave it open all day, whether or not they are actually watching it. As you can imagine, this is a horrendous waste of bandwidth. So I would like a way to determine if the us...

How to display popup like box in flash cs4

I am creating a game application, I want to display a popup like window on click of a button. As done in this game: http://www.gamesinaflash.com/play.php?id=80 Play this game, in the first question select any option, after selecting any option it displays a box to show the incorrect or correctness of the option u clicked. Also I want to...

AS3 Error Handling

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: How do I do handle this? ...

Flash + AS2 = Unload a movieclip itself when it is clicked

Hi there I have a movieclip which unloads two other movieclips when it is clicked. This bit works fine, but it should also remove itself after this, which particularly does not work. Here is my code, can someone please tell me what I am doing wrong: close_button.onRelease = function() { background.unloadMovie(); loading.unloadMovie()...

Flash AS3 CS4 Project Organisation

I have a large .fla file with all my movieclips (and associated classes) for an entire site in the library. The whole thing is getting unmanageable - compiling very slowly - and not getting any smaller so I would like to know the simplest way to manage my assets in other fla files to be brought together when the main fla is published. ...

How to totally uninstall Adobe Flash CS4 from mac computer

I've installed a trial of Adobe Flash CS4 (i didn't use this trial till the end) and wrongly entered the expired license number. I ran uninstall and tried to install a trial version again. Seems, that it keeps somewhere the wrong serial number and each time i run the Flash application it alerts me, that the license has expired. How do i ...

Is there an unofficial Flash .FLA spec?

Is there an unofficial spec anywhere that explains how to reverse engineer a Flash .FLA file? I'm specifically interested in creating an application that can "auto-scene plan" a Flash document programmatically, pulling in content from other files, arranging that content into layers, without needing the Flash IDE open. Animators would t...

How create a Flash custom button and use it in Flex

I'm using Flash CS4 and Flex 3.4.0. I'd like to create a vector-graphic button in Flash and use it in Flex. I'd tried to install the Flex Component Kit, but it won't add me the 2 commands I need for the conversion as stated here. Anyone has seen/dealt with this problem before? ...

Flash Animation

I want to create a construction page for one of the site with a glass filling with water.... now the concept is the site is going to be launched next year.... So I need the glass to be filled by next yr... with the countdown timer... is there any good example or a way of doing this.... I'm not that good in actionscript ...

Good way to make a flash button animate when clicked.

This may be obvious but it's been ages since I used flash. I have an object drawn in flash lets say a clock. When the clock is clicked I want to animate the hands spinning round. So do I create the clock as a button and call the animation on the down state? Or is it better to create a movie clip and have it act like a button? Atm I'm us...

Flash CS4 Rotating Around Z Axis Without Distorting For Stage Center, Is It Possible?

I've got three boxes rotating around their Z axis respectively. What I'm trying to do is keep them rotating around their respective Z axis without distorting if I move them away from the center of my stage. addEventListener(Event.ENTER_FRAME, rotateBoxes); function rotateBoxes(e:Event):void { box1.rotationY-=10; box2.rotati...

Creating dynamic objects for quiz questions Flash CS4, AS3

Hi All. I'm making a flash quiz which will have a series of questions. Each question will have a button which will read the question out. As well as 4 buttons (probably MC's), that the user will click to answer. Each question is a different sound clip and a different set of answers. Problem is, I need to do it dynamically so I can pick...

Flash CS4 and SWC file library path's

I have a SWC file with a skinned version of the ActionScript 3 UI components. I want to use this SWC file on 'some' of my projects so instead of dropping the file in the Adobe Flash CS4\Common\Configuration\Components path, which makes it available to every Flash project, I add the path to my SWC file in the Publish Settings > Flash > Se...

How to detect if the delete key was pressed in Actionscript 3?

How do I determine if the delete key was pressed using actionscript? addEventListener(KeyboardEvent.KEY_UP, onKeyUp); ... function onKeyUp(event:KeyboardEvent):void { trace(event.keyCode); } The above code yields no value when delete, backspace, enter, and other command keys are pressed. However, arrow keys do yield values. ...

Play random sound and match to movie clip quiz AS3, CS4

Hello I am creating a quiz in which the user matches an object (movie clip), to a sound clip that is played. The sounds are stored in an array and a random one is chosen. Then 4 random movie clips are created dynamically which hold the object image. I need a way to link the sound clip to the movie clips to check if the correct one was c...

How to import fxg file into flash cs4?

I have a fxg file created using adobe illustrator, Can someone tell me how to import it into flash cs4 stage... Regards, Dhana ...

setting text to flash dynamic text fields from asp

how can I set the text of dynamic text field from the asp page that loads .SWF file ? ...

Main Flash swf won't work once uploaded to server

Hi I have a 1 frame main SWF. In the first frame I include codeAS2.as like so: #include "codeAS2.as" (sorry, might sound primitive) When I test the movie in Flash CS4, everything works fine, it loads all the data from the XML file menu.xml which is in the same folder. Using the Simulate Download function from Flash, it also runs fine,...

Change output language in Flash CS4?

Hello. I'm using Flash CS4 and almost everything is in english, except for errors in Output window... Like: ArgumentError: Error #2180: É ilegal mover o conteúdo AVM1 (AS1 ou AS2) para outra parte de displayList quando ele tiver sido carregado para o conteúdo AVM2 (AS3). at flash.display::DisplayObjectContainer/addChild() at c...

Possible to programmatically enable "show redraw regions" in Flash debug player?

Is it possible to enable the "show redraw regions" programmatically? From AS3 code, I mean. Or is it exclusively a feature of the context menu? Our current C++ hosting app does not pass through right-clicks and I'd like to avoid changing that code. This is all for testing, doesn't have to be pretty. ...