cs4

Flash CS4 Actionscript 3.0 --- Make my script loop!

Here is my script... all I want to do is have it continuously loop! import fl.transitions.Tween; import fl.transitions.easing.*; yourwebsite_mc.visible=false; var uptodateFadeTween=new Tween(uptodate_mc,"alpha",Strong.easeOut,0,1,3,true); var uptodateRotateTween=new Tween(uptodate_mc,"rotation",Strong.easeOut,360,0,3,true); var uptod...

ActionScript 3 instance path issue

Hi, I'm using Flash CS4 and the following ActionScript 3 code: import fl.containers.ScrollPane; // var sp:ScrollPane = new ScrollPane(); sp.name="scroller"; // sp.setSize(320, 240); sp.move(10, 10); addChild(sp); // var mcCount:int=10; // var nextY:int=0; // var i:int=0; // var holder:MovieClip = new MovieClip(); holder.name="contain...

How do I write extensions for dreamweaver cs4? What limitations are there on what extensions can do?

I use dreamweaver cs4 as my main php coding editor. I am wondering if anyone has any information on how exactly to write a dreamweaver extension? Also, what can / can't you do ? Specifically, I want to write an extension that will allow me to quickly search my file tree and then open a file, via a quick auto complete search box locate...

Flash AS3 boids mask

How to use these class for a mask on bitmap : http://blog.soulwire.co.uk/laboratory/flash/as3-flocking-steering-behaviors I want use the shape to mask a bitmap. ...

How could I generate instances of an object randomly at the top of the screen and make them "fall"?

I am making a game in Flash CS4 (actionscript 3) and I would like to be able to make "copies" of an instance that would randomly appear at the top of the screen and fall. For example, multiple objects(that are the same one) are falling from the top of the screen continuously, starting at random X positions. (i think this would be consid...

Error 2025: The supplied DisplayObject must be a child of the caller

Hi, sorry, new to actionscript 3. I have a display() function for an object rotator(image based like a QT object movie). It first saves the current image in a helper variable and then allocates a new image, from the library, beneath the old one. To get a nice crossfade effect, the old image's alpha is looped down via enter_frame and t...

Where (on OSX) is the Flash CS4 crash log???

I have one particular FLA that is crashing every time I try to compile (after switching to Snow Leopard). Flash just stalls and I am forced to use "Force Quit"... I have no idea what could be causing this and I cannot find any crash report. Where on the system does Flash put crash logs? ...

Can anyone decipher a flash CS4 crash log?

I have just updated to Snow Leopard and one of my important Flash files is now crashing every time I compile. I am hoping that someone can help decipher this crash log and offer any tips on what the problem might be. Flash does not give an error message, just compiles then hangs until I use "Force Quit". The swf actually does get generat...

Using the standard Flash AS3 scrollbar class

Flash has a scrollbar class, documented here: http://help.adobe.com/en_US/AS3LCR/Flash_10.0/fl/controls/ScrollBar.html However, besides listing functions and variables, there's no real explanation of how to hook an instance of this class to a textfield. Everything I've tried either ends up in errors or the scrollbar not showing. The d...

I need to add a KeyboardEvent to a movie clip in Flash cs4 AS 3.0

I have a movieclip called keyCButton that I want to add a keyboardEvent ("C" Key) to. This will play an animation from frames 2-30 with a sound. I have watched a few tutorials but still haven't gotten the correct information to make it work. The following is my code. stage.addEventListener(KeyboardEvent.KEY_DOWN, cNote); function cNote(...

Horizontal Scrolling Flash Game/Large Horizontal Scene

Hello, I'm currently learning Flash (CS4, AS3) and am creating a game. I have currently 1 flv file with 4 scenes, I then move from left to right and then to scene 2 and go from left to right. This is the game where items pop up that need to be clicked on and you get points. Is there any way I can combine these onto 1 scene? Flash only ...

[FLASH CS4] Button acting as a scroll with mouse event in AS3?

Hi all! I'm new here, just found these forums on Google. First of all, I want to appologise if there is some topics like this, but I searched whole forums and didn't find any that finishes my problem. Now the important one. As I stated in topic title, I need an AS3 code that's doing the thing. This is what I want to accomplish. I have ...

Center the stage in Flash CS4/AS3 on a standalone player

I have a Flash presentation (made in Flash CS4 with AS3) I am working on and running in a standalone Flash player. When I start the presentation the stage is centered in the Flash player, even if I resize it. The presentation contains an FLVPlayback component which, at different frames, plays different content. A navigation menu (made of...

receiving error #1009 in flash cs4 actionscript3

I'm having a weird issue where my buttons will work initially and direct me to an appropriate page, but when i go back to that page and try to use the buttons the roll-overs work but none of the buttons direct to a different page. This is the actionscript on the initial page with the buttons. If I choose any of these buttons they wor...

Dreamweaver CS4 - How do you preview in Browser?

I'm new to Dreamweaver CS4 and making my first website. I've watched a lot of tutorials and they all just click the Preview in Browser button and they can see what their page looks like in Firefox/IE/etc. But when I click Preview in Browser a new Firefox window opens up and it goes to my homepage and that's it. What do I need to setup ...

Flash Buttons Don't Work: TypeError: Error #1009: Cannot access a property or method of a null object reference.

I've read through several threads about this error, but haven't been able to apply it to figure out my situation... My flash file is an approx 5 second animation. Then, the last keyframe of each layer (frame #133) has a button in it. My flash file should stop on this last key frame, and you should be able to click on any of the 6 butt...

Drag/Drop movieclip event in JSFL? (Flash IDE)

Lately im trying to do some experimental things with JSFL, and i was wondering if it is possible to listener for an event when a component (that i have made) or movieclip is dragged from library on the stage. i want to create something that i'll get a component and drop it on a mc. when the component is dropped on the mc the component w...

is it possible to access the NAME property of a frame in Actionscript 2.0?

I name frame 50 "_foo" (in the IDE) I can trace this._currentframe at any time (and get a number) I can gotoAndPlay("_foo"); But how can I find out if the current frame IS "_foo" as the movie plays? Is this possible? ...

Flash CS4 Switching Scenes is not working

hi everyone I have 3 scenes and I created buttons so they would switch scenes. the bottons work. everything works correctly but my first scene stays ontop of every other scene i go to. CAN I please have help thank you ...

Input TextField 'bug'

I try to get input from a textfield of type INPUT and save its numerical value on a couple of variables, but when i enter for example 1 or any digit i get Nan in the trace debug, after i put another digit i get the first after i put another one i get the first two and so on so forth. What i am doing wrong? Here some snippets from my code...