flash-cs3

Why does Flash CS3 require you to specify the base class when exporting for actionscript (as3)?

In the library, right-click on a movieclip that you have written an ActionScript class for and select "Linkage...". Notice that the "Base class" field is not empty (it can't be). It's likely to be flash.display.MovieClip, but it could be something else, depending on what your class inherits from. This base class field is only required wh...

Vector Shape on Stage Appears Over Dynamic Textfield

The subject pretty much explains it all. I start on frame one of a MovieClip with just a Bitmap covering the whole stage. Then when a user clicks a button, it goes to frame two and a vector shape is on the stage covering part of the image. At the same time, through code, I place an input Textfield on the stage. Problem is, the dynamica...

Serious problem with the speed of full screen textField animation

I can't find any proper way to make a long textField move fluently horizontally across the screen in full screen mode. I tried many ways but it always gets stuck from time to time for a few milliseconds and ruins the whole experience. Please, if someone can help me to find a way to best animate a large dynamic string on full screen, I wo...

Flash CS3 error: fl.getDocumentDOM() has no properties

What causes the publish error: "fl.getDocumentDOM() has no properties" ? The error occurs only when using the "Test Project" button in the project pane. It doesn't cause the publish to fail, it's just annoying. ...

AS3 FLVPLaybackCaptioning Component Displaying Images?

I am using the FLVPlaybackCaptioning Component to display captions for a video. We've built a player that uses a FLV file hosted locally or streamed from the server to show captions for a video, a slide title, and slide text. The example is up here: http://www.brainline.org/multimedia/webreadyplayer I want to display images using the ...

chage text on a symbol in Flash

I'm trying to change the text on several symbols by having a user press one designated symbol ! I don't care if its with flash 2.0 or 3.0 , I did a menu bar and want to change the text on the symbols if on symbol in particular is pressed ! I tried everything I could think of and expected it to be fairly easy ! I must be missing somethin...

How Can place a watermark in Flash Input Text field

Hi Everybody, I have a doubt in flash AS3, my requirement is how to place a watermark in Flash Input text field so that if any user clicks on the input text field then the text which was already appearing should not be visible . I hope that i will get a better answers from anyone of you Thanks --Jennifer. ...

How to access group members in Flash CS3

Hi, I'm writing a script to access all dynamic textfields in the library of a flash (fla) file and embed certain character sets. I iterate through all objects looking for textfields, but It seems there are some issues when trying to access members of a group object. It does have children in the flash file, but I can see no way to access...

What part of the actionscript goes in the scene and what part goes in the clip?

I just finished a small task for school in Flash and I'm wondering about about the reasons to put Some actionscript in the scene and other in the movie clip. Info: I'm using Flash CS3 and ActionScript 2. I uploaded the file here, for anyone who wants to take a look: http://www.mediafire.com/download.php?2z2mivtmokg Now, I did all the ...

Variable addChild is not defined?

Hi, i have a problem using AS3 - Flash CS3 gives me this Error message: Error #1065: Variable addChild is not defined. Any ideas what's wrong? This is my code: package coa.application{ import flash.display.SimpleButton; import flash.text.TextField; import flash.text.TextFieldType; public class Tab extends SimpleButton...

Trouble with frogger on flash

For starters: I'm working with Flash CS3 and Actionscript 2.0 I'm trying to remake the frogger game, and I'm kinda stuck with putting the cars on the screen. For those of you who don't know frogger: http://www.actionscript.org/showMovie.php?id=1157, but I'm not implementing the logs. The big problem is that I have 3 cars, all of which...

Creating nested movie clips

I need to create 2 movie clips: clipA is be a wrapper movieclip. clipB is a container movieclip. There is about 15 pixels spacing between them. clipB is then passed to another function which add other elements to it ( buttons,graphics etc). Whats the best way to get this done ? ...

Accessing movie clip object outside the function scope

I have a movie clip that has a text field and then a button inside that. I need to be able to change the color of the text when user mouse hovers over the text. Below is the code snippet. How do I access a reference to the Text field from outside the function? Thanks in advance. private function createRows() { var containerMc:MovieC...

How do I get the fullname of a file in Adobe AIR?

I'm using something like this to browse for a file in AIR. I can get the filename, but what I need is the fullname of the file. Is there a way to do that? var file:FileReference = new FileReference(); file.addEventListener(Event.SELECT, selectHandler); file.browse(); private function selectHandler(e:Event):void{ file.removeEventList...

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

Flash 10 Debugger flashlog.txt

Hi, I have installed the Adobe Flash Player 10 debugger for Firefox 3 and I am unable to locate the flashlog.txt file or use the debugger features online, other than to show redraw regions. I have installed the FireFox extension "Flash Tracer" which in theory is compatible with my firefox version, and am now trying to make it work. I ca...

Flash: incorrect behavior in everything except Internet Explorer

I'm a complete Flash n00b, but I'm having difficulty and I thought posting my question here was worth a shot, even if it's probably too complex to effectively convey here. My client wanted a Flash intro (yuck!) so I made it so that it results in a menu with links to other pages on the site. To minimize annoying visitors, I'm using a co...

Flash game works on some computers but not on others

Hi All, I have a cvery strange problem and just cannot work it out and was wondering if anyone on here knows the solution. The problem i am facing is as follows. we have a flash game and it works on the computers in the office (flash player 10 and flash player 9.0.159) however when we try to run it on one of our laptops it fails and j...

How do I amplify sounds by a specified number of decibels in AS3?

A few days ago, this was my question, and I found the answer. Maybe this will help someone else. A. The first part of the problem: can you amplify sound using Flash? The AS3 documentation for SoundTransform says this about the volume attribute: "The volume, ranging from 0 (silent) to 1 (full volume). At face value, this means you can...

getURL action script 2 and IE 7/8

I have several flash movies that need to redirect to an external website at the end of the presentation. In any browser (firefox, opera, etc.), getURL("http://www.google.com"); works but in IE versions 7 and 8 it just hangs. I need to use Action Script 2 because I have alot of code that doesn't work in AS 3. Thanks! ...