Questions tagged [movieclip]

A display object with a timeline in Actionscript on the Adobe Flash platform

A MovieClip extends the DisplayObject class in Adobe Flash. It is a display container that, unlike a Sprite or other DisplayObjects, contains a timeline for animation. MovieClip objects can be created in the Flash graphical authoring and animation tool, or created via .

More Information

950 questions
1
vote
1 answer

AS3 - How to create a new MovieClip from externally loaded SWF

I am exporting my animated characters from Flash Professional as a SWF to externally load them into AS3. I do not want to export them as SWC's because I have hundreds of these characters and only a small portion of them will be used at a given…
Josh Brittain
  • 2,162
  • 7
  • 31
  • 54
1
vote
2 answers

Can I pass a button into its own MouseEvent function?

I have multiple MovieClip Symbols published with Flash into FlashDevelop (I'll only use 2 in my example). Each have 3 frames for default, hover and click that I'm using as buttons. private var btnPlay:PlayButton, btnQuit:QuitButton; btnPlay = new…
Joseph Webber
  • 2,010
  • 1
  • 19
  • 38
1
vote
1 answer

Adding a MovieClip to a ScrollPane

Can anyone give advice on what would be a proper way to set a MovieClip as the source of a ScrollPane in ActionScript3? I wish to have a MovieClip (Lets call it "A") that holds ten smaller movieclips (lets call them "b"). Then, I would like to add…
mherr
  • 348
  • 1
  • 7
  • 25
1
vote
1 answer

Actionscript 3.0 - MovieClip using it's own x, y coordinates

Basically, my problem is that I spawn a movieclip at coordinates where the mouse is clicked, then the movieclip is set to fall to a certain point, which is about to y=400. The problem is that it takes the point where it spawned as the 0,0 coordinate…
lagxbag
  • 71
  • 6
1
vote
1 answer

Movie Clips With Instance Names Crash AIR application

I have a game that compiles in AIR to android. This game compiles fine. I add a movie clip next to another movie clip and the game compiles. Interesting part: I add an instance name to this clip and suddenly when running the game, i get white…
jjwallace
  • 168
  • 2
  • 16
1
vote
1 answer

AS3 Accessing frame without using gotoAndStop

Is there a way to access the image data (children/transformation info) of a particular frame in a MovieClip without having to use the gotoAndStop methods. These methods are part of a rendering pipeline, all I want is access to the data, not to…
Jono
  • 3,949
  • 4
  • 28
  • 48
1
vote
2 answers

as3: how to get a MovieClip to stop

I'm working on a Flash project where all of my code is in an external Document.as file. How would I go about setting up an intro MovieClip that runs and finishes before other MovieClips are loaded? What happens right now is that the clip loads along…
Thomas
  • 5,736
  • 8
  • 44
  • 67
1
vote
2 answers

MovieClip.onResize event? how?

I have a an swf, called 'controls' that I created with flash cs4. I upload the controls.swf to my web server. I create an application in flex and it loads the external swf controls into itself. So far I can manipulate the controls.swf via my flex…
Phil
  • 261
  • 2
  • 7
  • 20
1
vote
2 answers

Darkening a movieclip in flash

I have a container movieclip that's white. At the end of my game, I want the movieclip to turn black but gradually, creating an image effect from white to black. Basically I want the movieclip to darken and keep darkening until the movieclip is…
Vishwa Iyer
  • 841
  • 5
  • 14
  • 33
1
vote
1 answer

Restart a Moviclip from the stage after stoping it

On my main stage I have a few Movieclips, which all start at a different frame position, and also end at a different frame position. So I put a keyframe to the Movieclips, after the animation is finished, and put a stop() on it. After all…
Brigitte Fellner
  • 245
  • 2
  • 4
  • 14
1
vote
3 answers

Actionscript 3 move object to Point

ok guys, I decided to rework my question quite a bit: there are 10 various points on the stage I would like to work with (I would like to dynamically place my object there) var myPoint_1 should have x = 100 and y = 100 var myPoint_2 should have x =…
user1832012
1
vote
1 answer

as3 how to play multiple movieclip

there are 3 movieclip in the array. How is play all movieclip var mc1:MovieClip; var mc2:MovieClip; var mc3:MovieClip; var mcArray:Array=["mc1","mc2","mc3"]; mcArray.gotoAndStop(2);// ????????????
ncinar
  • 65
  • 1
  • 9
1
vote
1 answer

AS2 How to get a movie clip to move forward 20 frames

I have a movieclip that i want to move forward 20 frames when it touches another movieclip. I dont want it to go to a specific frame number (ex. gotoAndStop(20);) What ever frame the clip happens to be on, I want it to move forward 20 frames.
1
vote
1 answer

movie clip shows black screen

I've the following code to run a movie in a loop and also to allow moving between frames using buttons: stage.displayState="fullScreen"; //stage.scaleMode = StageScaleMode.NO_SCALE; trace("THIS IS ROOT"); var myTimer:Timer = new Timer(10000); //…
omer schleifer
  • 3,897
  • 5
  • 31
  • 42
1
vote
1 answer

out and over events dispatch together with down event after changing movie size

I have a MovieClip instance (movie) brought by code to the stage. I want to add some effects when mouse over or mouse down for this movie. So, first i added event listeners to this MovieClip: movie.addEventListener(MouseEvent.MOUSE_DOWN,…