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

Get Color of movie clip clicked ActionScript 3.0

I want the hexColor of the movieclip which is clicked. My movieclip is a red circle with solid color. So on click of the red circle, it should return me 0xff0000. I use the following but I do not get the desired result. It only returns me…
Shahbaz Pothiawala
  • 1,175
  • 5
  • 20
  • 38
1
vote
1 answer

AS3 - Get the child name from within itself (a bit like this.name):

I've added a MovieClip from the Library to the stage using the addChild() function. The child name has come from an array. I now need to place a piece of code within the MovieClip I added to look at itself and return what it's 'child' name is so…
TheD2000
  • 213
  • 1
  • 2
  • 7
1
vote
1 answer

AS3: How to control which MovieClip is displayed over which

I'm making a game, in which some enemies are spawned in the right side of the screen, and then moving towards the left side of the screen. To get a little variation, the enemies are randomly spawned a little bit differently on the y-axis. the…
Jens
  • 47
  • 6
1
vote
1 answer

Problems unloading xml (movieclip) when changing to another frame

I need some help. I loaded xml on a movieclip and i also have a button to go to another frame but the xml keeps loadding!! what can i do to remove the xml each time i click on that button? I'm using flash cs4 AS3.Please help
1
vote
1 answer

How I can align movie clip to another movie clip for drag drop in as3

I'm an amatuer in As3. I need to complete my first project in drag drop game using an As3. The problem is I did not get a match coding to align the draggable movie clips to another movie clip. I want to make a complete train with dragging the body…
Hazel
  • 11
  • 3
1
vote
1 answer

Flash AS3: Swapping Parts within Movieclips

I have a Movieclip (level 1, MC) with around 10 frames. There is a different movieclip (level 2, Move Jump etc animation) on each frame. Inside each of the level 2 movieclips, there are about 30 movieclip symbols (level 3, Head Arm etc) each…
Aaron Dodo
  • 13
  • 3
1
vote
2 answers

CreateJs MovieClip Instance name

Hi Guys (sorry for my bad english), I've stuck with this in a week, is it possible to get the movieclip instance name with createJS (I've put the movieclip manually on the stage and I give it an instance name), in AS3 I can use movieclip.name to get…
Arfian90
  • 71
  • 1
  • 12
1
vote
1 answer

The movieclip contains various examples of names

How do I loaded MovieClips in the position of the mouse with a different name on each click? or I have to make several different MovieClips to laod? please help me :)
1
vote
2 answers

Flex: How to access movieclips within an imported swf

I have imported a swf (not created with Flex, i.e. non-framework) into a Flex application. Once loaded, I would like to access movieclips within that imported swf. Looking at Adobe's docs…
squared
  • 11
  • 2
1
vote
3 answers

generating random numbers without repeating with an exception AS3

I have seen this question for other languages but not for AS3... and I'm having a hard time understanding it... I need to generate 3 numbers, randomly, from 0 to 2, but they cannot repeat (as in 000, 001, 222, 212 etc) and they cannot be in the…
Surtarso
  • 37
  • 6
1
vote
0 answers

Movie Clip changing coordinates in XML

I have this xml copied from timeline: private function move(function_mc:MovieClip, cx:Number, cy:Number){ var move_xml:XML =
barbaresco
  • 11
  • 1
1
vote
1 answer

removing multiple copies of the same movie clip from an array at the same time, after the array has been modified

This is a memory match game that I need a "restart" button. everything works perfeclty in the game, even the restart button. My problem lies when after the user has found a match (and the array of cards changes), the command im using to restart the…
Surtarso
  • 37
  • 6
1
vote
1 answer

Checking if MovieClip is on top of another

I'm generating a number of MovieClips and am putting them on the container on random positions... However, it sometimes happens that one MC is almost directly on top of another... I could solve this easily if I could somehow check if the…
Pero44
  • 105
  • 2
  • 10
1
vote
1 answer

How to make scrollable (with touch) movie clip contains Buttons - AS3?

Anyone knows about touch scrolling in AS3 ? We can scroll with our hand vertical / horizontal, like a swipe gesture but the object that we scroll is a movie clip that contains multiple button inside, like this…
1
vote
0 answers

Embed online video as MovieClip in Adobe Flash CS5 (using AS3 with a Loader())

I am way out of my depth here. I have some resources loaded from Illustrator - a background and a "Desk" symbol. My intent is to create a 60-second flash animation with a SitePal.com-exported avatar standing behind the desk. SitePal provides the…