flash-cs4

Trouble with ActionScript 3, not working, and i have no idea why, flash CS4

Hello I'm very new to ActionScript 3, and I've followed this toturial on adobe TV. But I don't get it to work. The thing is that I want the box to move left/right when I click the buttons, but nothing happens. You can download the .fla file here: http://www.habitats.no/files/AC3.zip Thanks. ...

Control FLV/MP4 Audio & Pan Levels

How can I control the audio & pan levels of an external FLV or MP4 video that I am playing through a Video object? In AS 2, the way to do this was to create an empty movieclip and then use the attachAudio function, which has been deprecated. Should I go about doing this the same way or is there a better way to control the audio without ...

Where is the documentation for Adobe XFL Flash interchange format?

I work at an animation studio that does several productions in Flash. Probably one of the most exciting features of the new Adobe CS4 suite is the XFL file format. At last, I have an ascii format that I can use to tighten our Flash-to-After Effects pipeline, as well as scene plan entire episodes without ever having to have Flash open. ...

How do I rename a movie clip in Flash CS4?

I renamed a movie clip in Flash CS4. After renaming and updating any references I had to it, the swf would still play fine. However, I could no longer get to any of the actionscript I had in the movie clip. It would still execute, but I couldn't get to the script anywhere in the Flash CS4 UI. Any ideas? The only way I was able was to get...

Why can't I access a combobox in a callback method in Flash CS4?

Check out this code: import mx.core.View; var accordianPane = my_acc.createSegment("mcElectrical", "panel0", "Electrical", "payIcon"); accordianPane.comboBox.addItem("test"); This adds an item with label "test" to a combo box in a movie clip. It works perfectly fine. However, when I put the same code in a callback function, it fails. ...

AS3 - how to start all over again a flash movie

Hello, This may be very simple, but I have no idea how to do this. I created a photo gallery in AS3, everything is on one keyframe. In this photo gallery I have a link to home. My goal is, when someone clicks the "home" link I want everything to start over. Any ideas on how to do this in AS3? Appreaciate it. L. ...

AS3 AutoSize Textfield

Hello, in AS3, I'm making this dynamic textfield that is populated from an XML file based on where the user clicks. The dynamic textfield has a custom scrollbar to it. My problem is that if the text inserted into the textfield is less than the previously displayed text, you can still scroll the dynamic textfield as far as the previous...

as3 Access to undefined property?

Hello, Can someone help me to find out why I'm getting the error message "Access to undefined property: removeChild(goBack)" on the following snipped? BTW, this is for flash CS4 function nameOfFunction() { var goBack:backButton_mc = new backButton_mc(); goBack.x = 10; goBack.y = 700; goBack.back_text.text = myXML.*[buildingName]....

AS3 How to remove previous loaders

In Flash CS4, I'm creating a photo gallery. My goal is to load different thumbnails from a number of images. I have managed that when one clicks an image, a number of thumbnails are being displayed, but when one clicks another image, the new thumbnails are placed on top of the old ones. Can someone help me on how to get rid of the old th...

Adding an as2 swf to the stage in an as3 swf

I have a menu control (as2), that is completely self-contained and doesn't rely on any interaction with the parent (as3). The menu control does load an external xml file that is in the same directory as the swf. The menu control works fine when I run it on its own. But when I import it into the Library of my as3 fla, add it the stage a...

Changing font values from PT to PX in Flash CS4

Just bought Flash CS4 Pro, and for some reason the font sizing is no default Points not Pixels. I can't see anywhere to change this. Anyone got any ideas? Regards ...

Access the stage in the Flash CS4 IDE

The stage in the Flash CS4 Authoring Enviroment is a running SWF. That what makes thing like the 3D and Bone Tools to work in the IDE. Is it possible to access that swf ? I suspect the immediate answer would be no because that would raise some security issues maybe and cause lots of developers to crash the IDE every 5 minutes :). That...

How much interacting can i get with the GPU with Flash CS4?

Hi All, as many of you most likly know Flash CS4 intergrates with the GPU. My question to you is, is there a way that you can make all of your rendering execute on the GPU or can i not get that much access. The reason i ask is with regards to Flash 3D nearly all existing engines are software renderers. However, i would like to work on ...

Flash playing SWF, video is normal sound is sped up half way on 4th scene

when i play each individule scene as an SWF all the sounds are synced correctly, but it when i play the entire animation that half way through on scene 4 the sounds play too early and are also sped up about 2X regular speed. how can i fix this? ...

What are the issues to be aware of when updating Flash 8 AS2 content for Flash 10

I have a large number of Flash projects that have been written in Flash 8 (AS2). I recently acquired Flash CS4 to update this content to the new version. I have some new functionality to add and want to take advantage of some new features in Flash 10 (local file access etc). I have already encountered a number of issues when opening my f...

facebook as3 library in flash cs4

How can i use facebook as3 library in flash cs4 to build air application. I don't want to use flex here. Cs4 can build air application. But i can not use the library in cs4. Please help me as soon as possible.... ...

stop object referencing in as 3

Hi all, I have an object and a temp object now if i do tempObj = obj and change stuff in tempObj they changes have an effect on obj is there a way i can stop it from doing this? Regards Mark ...

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...

Trace externally loaded XML data in Flash

How do I trace all of the data from an XML file that was loaded into a flash file? I am trying to debug, and part of my flash file gets updated from the XML file, but the other half acts like it isn't there. ...

Flash CS4 Reference for Video Components

I am trying to find a reference for the Video Components that come with flash. I have added them to a MovieClip and I want to control them, but I cannot find any documentation on these classes. PlayButton, PauseButton, SeekBar, VolumeBar, MuteButton, etc. These are components that I assume are part of fl.video, but there is no referen...