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

Is there a way to center the registration point for dynamically imported MovieClip

I'm trying to see if there's a way to change the registration point of a MovieClip that's importing an image dynamically? Here is my code where I add an image to an "overlayHolder": overlayBitmap = _loader.getBitmap( _data.id + "-overlay_image"…
TNC
  • 5,388
  • 1
  • 26
  • 28
1
vote
2 answers

AS3- Buttons controlling timeline not working inside MovieClip

This is my first time coding a website using ActionScript. So far everything has went very well, I designed the website in Photoshop, and imported to Flash CS5. Then I cleaned everything up, and started adding navigation to the various pages using…
Seth
  • 15
  • 1
  • 5
1
vote
1 answer

Hide all children of CS5 object in AS3 code

I have MovieClip, created with CS5. Is there a way to hide (set visible = false) all it's children (objects which lie on movie clip) within AS3 code?
Slaus
  • 2,086
  • 4
  • 26
  • 41
1
vote
0 answers

Add Mouse pointer on movieclip In Animate CC canvas

I am trying to use a movieclip as a button, but the mouse cursor will not show on hover or on click...I have tried the answer on stack overflow, to add the movieClip.cursor = "pointer"; to the top of the code, but in my case there is no mouse…
1
vote
1 answer

Possible to access all Movie clips on a layer, on timeline, through stage?

I have a code ... var selection:Array = new Array(); var diplayObjCont:* = stage; // The rectangle that defines the selection in the containers coordinate space. // Loop throught the containers children. for(var a:int; a
azislo
  • 13
  • 5
1
vote
0 answers

Group of buttons in Movie clip doesn't trigger-AS3

I basically lumped all the buttons in a Movie Clip so that i don't have to individually make a MouseClicked function for a lot of buttons. It works when you test it on it's own but when i put it in another scene that redirects to it it shows an…
1
vote
1 answer

Adding movieclip inside movieclip AS3

Currently I am trying to figure out code to add a movieclip to the stage after clicking an externally loaded image inside a movieclip. Basically what I want to achieve is that when the external image that is loaded in the movieclip is clicked,…
ECcoding
  • 45
  • 6
1
vote
1 answer

AS3 add movie clip to stage using variable which holds the MC name

I know how to add a movie clip to the stage from the library but i'm strugling to do it when the I need to load a movie clip from the library when the name of the movie clip is held in a variable. for(var i:Number = 0; i < 64; i++) { var…
Scott
  • 3,967
  • 9
  • 38
  • 56
1
vote
0 answers

ASC3 -ADOBE FLASH CS6 Movie clips/score

Hi there i am making a little game app via adobe flash and acs3 . I want to start the app then a movie clip appears , then i have some series of buttons on stage from which the user must select the one to match the object on screen with the button .…
paladino
  • 13
  • 3
1
vote
1 answer

Animated MovieClip jumps around screen randomly

I have an animated MovieClip of a fly that spawns at a random location and moves across the screen by bouncing off the walls. But every time the animation starts over, it seems to "jump" to a random location. Here is the code I have for when it…
Lani
  • 1,224
  • 1
  • 9
  • 15
1
vote
1 answer

How to access all movieclips (and movieclips inside a movieclips,...) at a sametime with as3?

I am using Adobe Animate (or Adobe Flash Professional) and I often navigate timeline with as3. I want to reset all movieclips (and movieclips inside a moviclip) when the stage reach to an exact frame. like: if (this.currentFrame == 120) { …
1
vote
1 answer

PIXI JS Movie Clips and Loading Assets

In order to do a Movie Clip in PIXI.js are you required to have a JSON file? Is it possible to have the JSON inside the same file, especially if the movie clip is only a few frames and load the image like you load all other Sprites. The only…
Case
  • 4,244
  • 5
  • 35
  • 53
1
vote
1 answer

get the event when the loaded movieclip is ready in the right frame

i'm developing an app that use swf to load elements and add properties to the loaded swf. I use SWFLoader to load the movie and on the COMPLETE event i move the loaded MovieClip to a specific frame and then list its DisplayList. I've discovered that…
wezzy
  • 5,897
  • 3
  • 31
  • 42
1
vote
1 answer

How to see all elements of current symbol in Flash CS5

I'm dealing with multiple hard to find/small/transparent elements within nested MovieClips in Flash CS5. Is there no outline window where I can get to an element through a tree format vs having to look around on the stage? The closest thing I've…
Yarin
  • 173,523
  • 149
  • 402
  • 512
1
vote
4 answers

Nested movieclips; changing background frame

Where have all my children gone? Hope this is a relatively simple answer to a less-than-intelligent question that's a consequence of how I learn things when not doing them for work. In this case I started a game about 3 years ago in AS3 as I was…
vossiewulf
  • 53
  • 6