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
2
votes
2 answers

Switch movieclip position with one another [AS3]

I'm dealing with this problem. I have 24 movieclips (called mc1, mc2, .., mc24) and they are placed on stage in some kind of grid (6x4). I need a function, which switches positions of these movieclips (something like shuffle but with known position…
tomiteko
  • 49
  • 1
  • 8
2
votes
1 answer

Actionscript OOP

I am creating a game in ActionScript. I am running into problems with object oriented programming in actionscript. I have a game_fla which hosts the library components of the game. The one which is causing problems is a splash movie clip. Within…
2
votes
1 answer

AS3 Adding an image to class extending MovieClip

I'm new to AS3 but I've done some stuff with flash before. I have a class that extends MovieClip and has some properties and functions that I've defined. How do I associate an image with this class so that I can add objects of its type to the stage…
Jehosephat
  • 45
  • 1
  • 8
2
votes
3 answers

What shows better performance? Playing a movie clip, or animating an image sequence with UIImageView?

Specs: about 320 x 270 px, 5 seconds. I don't know exactly how many images needed for a fluid animation, but let's assume 30. What would be the best way to playback this? As a movie file in some kind of quicktime view (if available), or as an…
HelloMoon
2
votes
2 answers

Flash CS6 Actionscript 3.0 button rollover forces movieclips to play uncontrollably

I'm a beginner when it comes to Actionscript 3.0 for Adobe Flash CS6. I'm trying to make a basic, plain animated interactive logo for a web portfolio, and have encountered a problem while trying to fix rollOver issues with triangles in the logo.…
Ian Nancarrow
  • 21
  • 1
  • 3
2
votes
2 answers

AS3 MovieClip getRealBounds

As you well know in as3 we have a getBounds() method which returns the exact dimension and coordinates of the movieclip in the DisplayObject container we want. Fact is that these data are calculated based on the graphics in their state in the MC at…
Andrea Silvestri
  • 1,082
  • 4
  • 14
  • 41
2
votes
1 answer

Displaying thumbnails of movie files

I am a newcomer to Android development and I am using the book "Android Apps with Eclipse" by Onur Cinar to get started. I have completed chapter 6 which develops a MoviePlayer app (source code: http://www.apress.com/9781430244349), however when…
Josh
  • 1,357
  • 2
  • 23
  • 45
2
votes
1 answer

addchild in a movieclip in a movieclip in a movieclip

I would addchild to a movieclip who is in a movieclip who is in another movieclip. I try: this.profil.bonome0.bonome.addChild(conteneurImage); and it doesn't work but this does: this.profil.bonome0.addChild(conteneurImage); how could I access to…
2
votes
2 answers

AS3 - Button inside MovieClip triggers MC's event

On stage, I have a MovieClip named "mc" with a simple rectangle drawn inside. mc also has a Button child named "btn" which is another simple rectangle ( smaller than mc's rectangle obviously). Then I have this code on stage. function mcDown(…
Murat
  • 35
  • 6
2
votes
2 answers

AS3: weird getBounds() result

EDIT2: It seems that the big numbers are created because the movieclip doesnt hold any bipmapdata, but Im yet not sure about it, but my real mistake was that I just forgot "this" infront of one "getBounds" ... project size was to big and I couldnt…
tschery
  • 153
  • 2
  • 15
2
votes
3 answers

Draw Rentangle inside a MovieClip ActionScript 3

I have a map consisting of MovieClip cities inside it and I have a click function in top layer of map MovieClip. I try to do that if I click a city, a rectangle will be drawn. Here is code: function rpress(a) { trace( "trying" ); var…
ciyo
  • 725
  • 4
  • 16
  • 36
2
votes
5 answers

AS3 setChildIndex to front

Is there a way to send a specific movieClip to the front of all other movieClips on stage? I know about setChildIndex, but I can't figure out a way to to calculate the top position dynamically.
FoxLift
  • 433
  • 2
  • 16
  • 30
2
votes
3 answers

Clone MovieClip in realtime

I have a MovieClip with and image inside that I can drag, resize and rotate. I'm creating a little thumbview, so the user can se how it will look. This is essentially a small version of the main MovieClip. How can I clone the MovieClip into a…
Sindre Sorhus
  • 62,972
  • 39
  • 168
  • 232
2
votes
3 answers

as3 play movieclip once

I would be very thankful if you help me with this problem. I´m trying to play in my application for ipad one MovieClip once. i tried to do stopping in this way, but the movie dont stop var loader:Loader = new Loader(); var swfFile:URLRequest= new…
Sadako
  • 352
  • 3
  • 18
2
votes
1 answer

Flash CS4 AS3 horizontal movieclip scrolling with mouse move

I'm new to AS3 and have been working on an XML driven navigation system written in AS3. At present, I've imported the contents of an XML file and plotted it inside a containing MovieClip created at root level dynamically on the stage. This MovieClip…
BeesonBison
  • 1,053
  • 1
  • 17
  • 27