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

Executing a movieclip inside another which is in the main timeline

I am trying to create a movieclip that will be used in other projects. It is actually the 15-puzzle game. I have every thing working except how to execute the movieclip when someone wins the game. Checking for win works so I know when I need to…
Ray Glover
0
votes
2 answers

as3 get width of resized movieclip

I have a movie clip that I scaled by hand in the timeline. I am now trying to get the WIDTH and HEIGHT with action script so I can load another movieClip into it and make it the same size. However when I do the following code I can't position it…
Papa De Beau
  • 3,744
  • 18
  • 79
  • 137
0
votes
0 answers

ActionScript: How to load a SWF video into a MovieClip and manipulate all the Frames in the video

private function onLoadComplete(event:Event) : void { movieClip = new MovieClip(); movieClip.addChild(mcLoader); addChild(movieClip); trace(movieClip.totalFrames); } The mcLoader is used to load a external…
Benson
  • 248
  • 3
  • 15
0
votes
1 answer

AS2 to AS3 migration create empty movie clip with dynamic name

I am trying to migrate as2 to as3 code. The normal solution to my problem involves using the first parameter of the createEmptyMovieClip() as the name of your movie clip. In several instances I have a dynamic value for this first parameter- so my…
woodlumhoodlum
  • 462
  • 3
  • 10
  • 24
0
votes
1 answer

AS3 Trigger event with object on top only

I have a bunch of MovieClips layered on top of each other (the same size), and each one has a MouseEvent.CLICK event associated with it. I only want the one on top (I'll be adding more to the list) to trigger and the rest to do nothing (unless the…
adamzwakk
  • 709
  • 2
  • 11
  • 23
0
votes
0 answers

Adding event listener to a movieclip that is inside a movie clip

I have here 4 movieclips that are on main stage, and 5 movie clips inside one of the movie clips btn_mc5 to btn_mc9 are within content_mc I added event listener,but they are not doing anything. Also, they are producing an error message starting on…
jko
  • 133
  • 1
  • 7
  • 14
0
votes
1 answer

AS2: Disabling links in hidden Dynamic Text Fields & MovieClip children

Greetings! I am working on an AS2 website with MovieClips for pages that swap depth when navigation is clicked. Text content is pulled dynamically from an external XML file & styled via CSS, including links (HTML/CDATA). My problem is this: When a…
Marcy Sutton
  • 907
  • 12
  • 22
0
votes
1 answer

Cannot find referenced MovieClip in this.parent.insertMovieClip();

Forgive me if there is an extremely simple answer to this question. I am currently updating a series of .fla files that someone else created. Within one of the symbols is the following code: …
Matt Barr
  • 434
  • 1
  • 5
  • 17
0
votes
1 answer

draw line in actionscript 3 without using the draw API?

I need to be able to draw a thick patterend line between 2 points in AS3, I can't use the draw API because it doesn't all me to actually put detail (pattern etc) into the thickness of the line, I thought about perhaps using the line to create a…
Phil
  • 2,995
  • 6
  • 40
  • 67
0
votes
1 answer

fitting movie clip to 4 coordinates

im very nex to action script but i've got a problem with an movieclip. i've got 4 coodinates an need to fit a fit movie clip to them, so each corner of the movieclips is on one coordinate. The only thing i could find it tranforming it with a matrix…
0
votes
1 answer

Working with flash flex strategy and problems

What is the best practice managing huge game project in flash. After time I found that combining Flex with Flash Professional gives you the best tools for fast developing, working in a big group, and using SVN. My project is split to Flex library…
Ilya Gazman
  • 31,250
  • 24
  • 137
  • 216
0
votes
1 answer

Getting a movie to play seamlessly on my site (without controls or a frame)

I want a short movie clip to play when visitors arrive at my site. I want the video area to show up without movie controls, and without any kind of border frame, so that it just looks like a moving picture. What's the best way to do that? I'm not…
bevanb
  • 8,201
  • 10
  • 53
  • 90
-1
votes
3 answers

MovieClip extension

I have been trying to develop a CustomButton class that extends MovieClip, however I am having problems. I have got this error: ArgumentError: Error #1063: Argument count mismatch on mkh.custombutton::CustomButton(). Expected 2, got 0. at …
MKII
  • 892
  • 11
  • 36
-1
votes
1 answer

What's the HTML5 equivalent to Flash MovieClip

I use to make simple games with Adobe Flash, particularly using Flash movieclips for my game objects. I could, say, import a character's animation frames into a movieclip's timeline, and then in ActionScript I could set the character's mode which…
-1
votes
1 answer

Shorten function code and convert variable

I have this AS2 code that does some simple animations when I rollover a mc using TweenLite. I feel that I have a lot of repeating code. Is there a way to be able to just specify a function like this boxLink(a); and have the rest of the code, with…
Sindre Sorhus
  • 62,972
  • 39
  • 168
  • 232