flash-cs3

only plays one key frame

I hope I explain this well. But in my game I have 3 keyframes for my bullet Movieclip. 1 to display its normal state. 2 to show it Blown Up, and 3 to remove it from the stage. A total of 3 frames. When the bullet hits an object, I go to and play the 2nd frame. then when frame 3 hits, I remove it. Here is my code private function blowUp(...

Referencing other movieclips within actionscript class

I have externalized the actionscript code of a movieclip into a separate class files. This movieclip requires references to some other clips on the stage. What I am currently doing to reference those clips is by using Movieclip(this.parent).otherclip but somehow that feels wrong. Is there a better way to pass in the required references ...

loadmovie into a fla-cs3 (as2)

Hi, I've been trying to load a simple .swf (home.swf) and have it play automatically on my existing fla project (as2). These are the steps I have taken.. 1) create MC, named "holder" 2) within first frame of MC, entered in.. loadMovie("home.swf","holder"); Nothing is showing, I'm not sure what I'm doing wrong. If you can help, I can ...

Adobe Flash CS3: DataGrid component is broken?

My datagrid component appears to be broken. When I drag one out onto the stage, its just a square. Nothing in it. Just a square... Then, when I tried to programmatically add it to the stage, using an example straight off the docs, it throws some errors: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/DataGrid.htm...

How do I slowdown an animation in AS3 without decreasing the fps

I have this code that I found online that does an infinite rotating gallery, now my problem is that on enter frame it jumps and too fast. I want it to be as fast at after you hover out of the logo. Here is the code: //Import TweenMax import com.greensock.TweenMax; //Save the horizontal center var centerX:Number = stage.stageWidth / 2;...

toggle play/pause button

Im new to this flash and I am using as2 for the action script I wanted to know if there are any good tutorials on how to create a toggle button so far this is all I have. on (release) { play (); } on (release) { stop (); } I wanted so that when you hit playit would start the animation but showing the pause button and vice versa. ...

Flash hiding mouse right button click and closing control buttons

how can i fix the stage size of a swf file while it run (there should not be right click on the screen, there should not be any minimize, maximize and close button please help me ...

Adobe Flash CS3 Profesional - missing DirectShow 9 and QuickTime 7

In Adobe Flash CS3 Profesional and when I start the Flash Video Encoder I get the following message: "A required system library did not initialize properly. Please ensure you have DirectShow 9 and QuickTime 7 or higher installed on your system." ...

How to create a Flex Display component in Flash?

I have used Flash to make skins, which I import and apply to Flex components. But how can I create a component in Flash, with properties and methods. And make it able to be added to the displayList in a Flex app? I installed the Flex component kit for flash. Created my component in flash (it extends MovieClip). Did Command->Convert to ...

Strange Behavior of AS2 swf breaking when loaded into AS3 swf can any one explain as to why this is?

The ide i am using is flash cs3. the as2 swf contains a tween code using mx transitions. when i remove this tween code and hard code it on the enterframe there seems to be no problem. afaik avm2 should fully supports the as2 and as1 code. so i am unable to understand why this disparity when coding a simple tween in as2 swf. i had made a ...

Where can I find Flash Plugins?

Are there any plugins for Flash CS3 (or greater) that expand Flash's ability. Actually, i'm sure there are, where can I find them? EDIT: Preferably free and from places besides Adobe. (Not that Adobe's bad, but I want variety.) EDIT2: I amreferring to extesions, not components, although references to free component's are also helpfu...

How to permit debugging on dependency AS2 SWF files?

I have a SWF that I wish to debug on with the flash debugger. I have the debug flash player and the 'Debugger' context menu option is greyed out. If I check the 'Permit debugging' option in the SWF publish settings, this does not become enabled. My hunch is that this is down to the fact that my SWF is being loaded by another parent SWF....

snapping 2 vector points Flash

I am trying to snap 2 vector points together but for some reason its moving the entire object instead of the point. I am trying to follow instructions in a book and the book shows that it is using the solid (filled) selection tool and it has the magnet turned on for snap options. It shows I am suppose to click where the (right triangle) ...

Are there any libraries that bring CS4 Actionscript to Flash CS3?

Are there any custom libraries available that allow me to code/publish in CS3 using some of the features of CS4? EDIT: I say "some", because I understand that it is obviously nearly impossible to reimplememnt CS4 in CS3. ...

In Flash Actionscript 3.0 how do I create smooth keyboard controls for player movement?

I am a beginner in Flash Actionscript 3.0 programming. I am trying to create smooth keyboard controls for player movement in a game. I'm currently using addEventListener(KeyboardEvent.KEY_DOWN) listening for a keyboard key press and then within the handler function moving a graphic by adding a number to its .x or .y property. This cr...

Adobe Flash ActionScript 2.0 selected text in textbox

How can I tell what text the user highlighted in an Input Text textbox? I would like to mention that selectionBeginIndex and selectionEndIndex will not work and at this point I cannot upgrade the project to AS3. ...

bubble chart like family tree

Hi to all, It is possible to make this bubble chart dynamically using flash or even css. If so, is there any other example or tutorial to achieve this. I will use this for networking purposes. Any suggestion would greatly appreciated Thanks in avance Tirso ...

Attach() or Listener for Events (such as onTweenComplete, onTweenUpdate)

I have an instance of an object that starts and stops tweens for sub-movieclips. However I want to do stuff when the tween is finished. So I would like to assign a calling object to events; such as the attach() function does. However when using the attach() function on events it is called right away with the correct object, but when the...

Flash CS3 Compoenent "import" method and stucture ?

hi I had seen one code of the yahoo map component for the flash cs3 like import com.yahoo.maps.api.YahooMap; var map:YahooMap = new YahooMap(); // include app-id, width and height map.init("YD-vbXGXH4_JXs3ihv485hjXA--", 550, 400); addChild(map); What i want is to make the import structure is like above "com.yahoo.maps.api.Yahoo...

Problem editing Action Script 2.0 to cycle through an image folder

Hi, I was wondering if someone can look at the ActionScript (2.0) i have from a flash menu that I bought. I know some flash but can't seem to find a way to make the images cycle through all the photos in the folder instead of loading just one random static .jpg. Also, I would like the images to load with a fade effect. Thanks for any h...