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
votes
1 answer

Use "originalWidth:int" and "originalHeight:int" several times on different objects

I'm attempting to create a "template" in which I´ll replace 4 images, each one with different sizes on different frames of 4 different buttons. But each time I replace them the size,nor it's position nor it´s aspect ratio shouldn't be changed. For…
-1
votes
1 answer

I can't control MovieClip in the stage from AS3 class file

I created a symbol (MovieClip) in my fla file and added it to the frame. Then i give it instance name at properties panel: "myMC" Then tried to control it from my class file in directory: root\Test\MyClass.as package Test { import…
rasitayaz
  • 400
  • 2
  • 16
-1
votes
1 answer

What's the AS3 equivalent of the following AS2 code?

I'm trying to translate the following AS2 code into AS3 because I have Adobe Flash CC, which doesn't, as far as I know (from research, trial and error), support AS2 code. Any help would be greatly appreciated... onClipEvent(load) { speed =…
-1
votes
1 answer

TypeError: Error #1034 could not solve this very strage

i've been making a presentation in flash CS5. It has 5 Pages there for 5 Keyframes which are on the main timeline. I have 2 animated navigation buttons (Movieclips) for left and right. Now the all navigations are instances from the Arrow Left MC or…
Bishop
  • 1
  • 2
-1
votes
1 answer

Objects on the stage are not read when jumping to their frame

I am working on an Air desktop application. At some point when the user presses a button, it will jump to a specific frame, the problem is after going to that frame some Movieclips on the stage at that frame are not read though they were read from…
Safwat Alshazly
  • 331
  • 4
  • 11
-1
votes
1 answer

Flash as3 error movieClip : 1046: Type was not found or was not a compile-time constant: input

import flash.display.MovieClip; import flash.display.Stage; function setPuzzle(MovieClip: input): void { //input.rotation = Math.floor(Math.random() * 2); } please help me.. i'm new in as3... I can't fix this error :"(
-1
votes
1 answer

AS3; can't detect collision with child?

I'm currently trying to detect a collision with a spawned movie clip, shown below; function fruitCollide(e:Event):void { if(player_mc.hitTestObject(myApple)) { trace("Hit!") …
-1
votes
1 answer

New in as3. go to and play doesn't work

I have a question about clicking movieclip to go to and play. Anyway, this movieclips are dynamic, load from database use xml. And when I clicked one of the images, it can go to and play to frame 37. but the image from database doesn't disappear.…
-1
votes
2 answers

AS3 get variable from root timeline

i have this code on my main swf : var btnLingua : Array = new Array(ITA,DE,LAT,EL); var lingua:String = "ITA"; for(var i:int=0;i
Alessandro Zago
  • 793
  • 3
  • 12
  • 33
-1
votes
1 answer

Dynamic Gallery to show download and progress bar in as3

My flash project has specific task to show the dynamic gallery items based on an XML list and there is a download option available for each gallery item. For this I made a movieclip (imageTile) with a Thumbnail, Title, ProgressBar & ProgressText as…
Sankar R
  • 25
  • 4
-1
votes
3 answers

Flash AS3 Mysterious Blinking MovieClip

This is the strangest problem I've faced in flash so far. I have no idea what's causing it. I can provide a .swf if someone wants to actually see it, but I'll describe it as best I can. I'm creating bullets for a tank object to shoot. The tank is…
Ben
  • 107
  • 1
  • 12
-1
votes
1 answer

Error 1009 Actionscript Flash CC

So I have been trying to figure out this error for the past two hours, I've tried researching the entire internet for an answer and so far I haven't been able to figure it out. Would someone be able to help me! This is my code…
Samson
  • 21
  • 6
-1
votes
1 answer

Stop MoveClip with Button [Flash - ActionScript 2]

I need to create a MovieClip that is looping, and when I press a button it stops but let the animation finish. This is my code: On (release) {movieClipName.gotoAndStop(60);} This almost works for me because it goes to the last frame (60) but it…
-1
votes
1 answer

How to call object from a movie clip

How to call an object from a movie clip and display it to the next frame of the scene. With the same value of it like a health bar.
-1
votes
2 answers

how to bring movie clip on front in as3

I have two movieclips one over other. using mouse click event I want to bring one of them in the front. It works 1 or 2 times then it just stops responding to mouse clicks. I don't know what is happening. I tried hard but could not get it work. Here…
sam
  • 13
  • 3