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

Movieclip stacking in Actionscript

I'm building a game of which the interface is one of the first items to load on screen. Sound button, pause and all the bits - During the game - all manor of things are dynamically added and removed to the stage. Therefore my interface goes behind…
Glycerine
  • 7,157
  • 4
  • 39
  • 65
1
vote
2 answers

Nested movieClips not detecting mouse events in Actionscript

I have some nested movieClips. I've got an event listener on the parent listening for a mouse click. Problem is, the listener never picks up the click. Code: var movieClipStack:MovieClip = new MovieClip(); for each (var ol:OwnedLayerable in…
djacobs7
  • 11,357
  • 3
  • 25
  • 33
1
vote
1 answer

AS3 Having difficulty getting movieclips to stay on top over other clips

So I have 5 movieclips on screen that when clicked (DOWN state) expand. They all come to the top of the screen because of this…
cholverson
  • 61
  • 1
  • 7
1
vote
1 answer

AS3 movieclip buttons inside of movieclip buttons

I have a movie clip that is tied to some mouse action. When you click on the movie clip, the image expands to show some text and another image. I need to be able to click on that new image and exapand it, but I can't click on it because I already…
cholverson
  • 61
  • 1
  • 7
1
vote
2 answers

AS3 - Cannot tab through textfields nested in Movieclips

I"m having an issue at the moment trying to tab through textfields within movieclips (called through a for loop). It no matter which one is selected, hitting tab will always select the first textfield created and won't move from there. Not even…
James McGrath
  • 187
  • 1
  • 4
  • 15
1
vote
1 answer

How to prevent external translation of a movieclip object on stage in AS3?

I have a MovieClip object, which is exported for actionscript (AS3) in an .swc file. When I place an instance of the clip on the stage without any modifications, it appears in the upper left corner, about half off stage (i.e. only the lower right…
Aaron H.
  • 6,407
  • 5
  • 25
  • 30
1
vote
1 answer

Linking the graphics of a class to the class itself

Say I have a class called DevilDog. This class DevilDog contains all the information that you need about a devilish dog except the animation and graphics. What is the best way to integrate a movieclip into the class DevilDog? An example would be…
theseal53
  • 189
  • 10
1
vote
2 answers

As3 Movieclip loaded in container reports exaggerated .width value

I am trying to load a swf(as3) into another As3 Swf with the Movieclip loader. After loading however Loader.width/loader.content.width returns an exaggerated value than the actual width of the swf being loaded. Any pointers on where to begin looking…
1
vote
1 answer

Is it possible to pass params to constructor of linked class?

In FLash IDE, in the Symbol Properties, in the ActionScript Linkage, I can set the Class I want so that my movieClip symbole has its own custom class which extends MovieClip The question is, is it possible to pass some parameters to the custom class…
simo
  • 23,342
  • 38
  • 121
  • 218
1
vote
1 answer

Make a second movie clip out of a movie clip in Flash

sorry if there is a ridiculously basic answer to this, but this is my dilemma. I have a movie clip of an animated character for a kids game i'm making at Uni. I need a movie clip, same animations, just with a crown and a few alterations to him,…
Ryo123987
  • 43
  • 8
1
vote
2 answers

Remove child on all array movieclips

I was looking for a solution to removing lists of movieclips from the stage in as3. I had a go at adding the movieclips to an array and making a loop that removes each of them if they are present. I had to include the if contains because it was…
1
vote
2 answers

AS3: A term is undefined when adding a shape inside a movieclip

I have what seems to be a very simple issue. I need to create a shape and add it inside a movie clip that is inside of another movie clip. The code I am currently using is as follows: var enemy_beacon:Shape = new…
1
vote
1 answer

Multiple Inheritance in ActionScript 3.0 (in beginner talk)

I think it's called Multiple Inheritance. Correct me if I'm wrong. I'm pretty much a beginner with AS3 and am having some trouble with it. Basically, if I were to do this: package { import flash.display.*; public class ClassName extends…
1
vote
1 answer

hitTestObject with Same object, repeatly how to

i am making a game a shootgame, my problem consist in this, my code needs react when the Character hit a tree, in my game i have some tree not one, the trees have the same instance and for that the hitTestObject don't react This is the code what i…
1
vote
1 answer

How (if possible) can I check a collision with a MovieClip inside a MovieClip

This is my first time on this site and what I'm sure will be the first of many questions. My only real experience in this are classes I barley understood, books and on-line tutorials. Long story short I finally have a basic understanding of…