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

How do I silently preload a movie clip with sound?

I am writing a program in AS3 and want to preload movie clips that will be needed in the future. Unfortunately, I'm running into a problem: the movie clips play their sound as soon as they are loaded (before I add them to the stage). Stopping the…
Craig Gidney
  • 17,763
  • 5
  • 68
  • 136
2
votes
1 answer

Trying to show a PDF page inside a SWF

I want to "embed" a SWF into a Flash (not Flex or Flash Builder) project I'm making. What I would like to do is have a page of the PDF show (inside a MovieClip) and have the rest of it available to download (probably using navigateToURL). I've heard…
adamzwakk
  • 709
  • 2
  • 11
  • 23
2
votes
1 answer

How can I embed a MovieClip from a SWF into a Flex app without looping it?

I'm stumped on this one, but it seems like something simple I'm overlooking. My Flex app embeds (i.e., compiles in) another SWF's MovieClip, like so: [Embed(source='assets/clips.swf', symbol='MyClip')] private var MyClip:Class; ... and then uses…
Christian Nunciato
  • 10,276
  • 2
  • 35
  • 45
1
vote
3 answers

How to determine a sub movieclip position related to the stage?

Hi i have some movieclips like this one: game_mc.substage_mc.rightHand and inside the rightHand i have a thread_mc like this: game_mc.substage_mc.rightHand.thread_mc Ok so here is the thing, i need to access the thread.x and thread.y position…
ershin69
  • 96
  • 3
  • 16
1
vote
1 answer

Why are my MovieClips duplicating?

Flash is duplicating my MovieClip instances for some reason. They are a series of three clips that are on the main timeline, with no animation on the main timeline, though there is some inside the clips. After doing gotoAndStop backwards on the…
Alexis King
  • 43,109
  • 15
  • 131
  • 205
1
vote
2 answers

In Actionscript, is there a way to create a copy or cached version of a Loader?

I'm loading an SWF animation and want to display it in multiple places concurrently, but the only way I could figure out how to do that is to load it every time I display it, as seen here: private function playSounds():void { for (var i:Number =…
superadamwo
  • 63
  • 1
  • 1
  • 6
1
vote
1 answer

Controlling sub-movieclips of a loaded SWF from a loading Class

I have a compiled swf File (lets call it "cat.swf") that is loaded via the Loader Class of my Main movie. The cat appears without problems. But inside cat.swf there are two movieclips defined (lets call em "head" and "body"), and I have ye to find a…
Sorcy
  • 2,587
  • 5
  • 26
  • 34
1
vote
1 answer

How to jump to a specific frame with actionscript 3 avoiding others movieclips?

I have a problem regarding flash, actionscript3 and movieclips. I have 2 videos(inserted as movieclips, each one in different frames 100 and 102). I want to gotoAndPlay the one on frame 102, but the other in frame 100 always starts at the same…
Ron
  • 2,215
  • 3
  • 22
  • 30
1
vote
0 answers

ActionScript 3 MovieClip content scroll for Android

I need to create a vertical scroll-able movieclip (MC) for android touch device. This MC will be on the stage. The content of the MC should be scroll-able vertically with touch (single finger). Can anyone help please?
dotts
  • 11
  • 1
1
vote
1 answer

Undefined MovieClip array, for some reason (Actionscript 3.0)

I am simply trying to do one of those "match-2" games. I just started doing it, and since I am a beginner, I am trying to understand how Arrays work. Therefore I wrote this simple program: package { import flash.display.MovieClip; import…
MKII
  • 892
  • 11
  • 36
1
vote
2 answers

Access MovieClip instances that are already on the stage in Document Class?

I have created a game in flash, and due to the nature of the game, I have many movieclips placed on the stage manually in Flash CS4. They are not programmatically added as children to the stage, and so I am having difficulty getting access to them…
BumbleShrimp
  • 2,150
  • 23
  • 42
1
vote
1 answer

AS3.0: Copy MovieClip from array to Stage

I have an array with four different MovieClips in: var myEnemy_1:Enemy_1; var myEnemy_2:Enemy_2; var myEnemy_3:Enemy_3; var myEnemy_4:Enemy_4; var enemyArray:Array = [new Enemy_1(stage), new Enemy_2(stage), new Enemy_3(stage), new…
Drudoo
  • 33
  • 1
  • 7
1
vote
2 answers

Flash Movieclip with sub-animations eating the memory

I have been working on a flash game where I add sub-animations to a movieclip by attaching child movieclips. This creates a hierarchy of movie clips with different animations, but the result of that was that the parent movieclip ended up growing…
firemeaway
  • 68
  • 6
1
vote
1 answer

width of element not set properly with actionscript

I have problem with setting width and height of a movieclip. What i do is create new movieclip add it to stage and then resize and reposition it. public class mcMainContent extends MovieClip { var _myStage:Stage; public function…
emirkljucanin
  • 804
  • 1
  • 9
  • 20
1
vote
1 answer

AS2: No video with netstream, just audio

So I'm having a problem with AS2 when loading a netstream video. my_vid = _root.createEmptyMovieClip("my_vid", _root.getNextHighestDepth()); var video:Video = new Video(); var nc:NetConnection = new NetConnection(); nc.connect(null); var…
nrm
  • 11
  • 1
  • 2