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

how do i loop instance name without using "this" keyword?

I created a square and saved it as a movieclip called starContainer, i draged three of them on the stage and gave each one instance names in my flash cs6 named - goldStarContainer1, goldStarContainer2 and goldStarContainer3. In my library i also…
1
vote
4 answers

Merge multiple MovieClips into a single MovieClip

I've multiple videos stored as MovieClip objects and would like to merge them into a single MovieClip video object in order to play all of them in sequence (so that a user thinks it's a single video). Thanks a lot! EDIT: I want to do it…
bartekb
  • 203
  • 6
  • 14
1
vote
2 answers

Embedding a movieclip using CSS in Flex 3

We use [Embed(source="assets/styles/basic/my_skins.swf",symbol="preloader_3")] private var PreloaderAnim:Class; for embedding a movieclip from an swf file. How can I do the same using a CSS file (which is loaded at runtime) and use it in my class?
Vipin
  • 11
  • 3
1
vote
1 answer

Actionscript 2 Proper way to define function on MovieClip

I'm trying to write a function on a MovieClip, and call it from the root clip. What works fine in ActionScript 3 doesn't seem to be working properly in ActionScript 2. Frame 1 of the _root MovieClip: var newMovieClip:MovieClip =…
Christian Stewart
  • 15,217
  • 20
  • 82
  • 139
1
vote
2 answers

Flash AS3 - 1046: Type was not found or was not a compile-time constant:

I asked a question the other day and it taught me a fair bit about display objects and stuff. I have another problem though. This is my document class : package { import flash.display.MovieClip; import flash.display.Stage; public…
Mark D
  • 75
  • 1
  • 7
1
vote
0 answers

Movieclip or vector data for flashpunk?

Hello is there a way to use a movieclip for a graphic in the flashpunk library? Normally we would embed a .png image and declare it as a class and then we would make the graphic of the entity class become this new image. [Embed(source =…
Auborax
  • 11
  • 2
1
vote
2 answers

Is it possible to zoom and pan more than one image/movieclip in Actionscript 3?

I figured out how to load an external image and zoom and pan that. (main image) I would like to implement information icons at certain places on the main image, but because the image can be zoomed and panned, I need these icons to remain at the…
Deon
  • 109
  • 2
  • 13
1
vote
1 answer

nape physics attaching a movie clip to multiple nape bodies. Implicit coercion error

i am trying to attach a movie clip to multiple nape bodies but am getting the following error. Line 118 1067: Implicit coercion of a value of type flash.display:MovieClip to an unrelated type nape.shape:Shape. and here is the block of…
Lonergan6275
  • 1,938
  • 6
  • 32
  • 63
1
vote
1 answer

dynamically create a MovieClip in AS2 in a Loop

I try to add a MovieClip with every loop. But my script overwrite every MC except for the last one. I have to use AS2 var myXML:XML = new XML(); myXML.ignoreWhite=true; myXML.load("config.xml"); myXML.onLoad = function(success){ if (success){ …
1
vote
1 answer

Export a movie clip to a video file that can be uploaded to Facebook and Youtube

I have a Adobe Air program that simulates a drum. When user hit the keyboard, it will translate to a drum hit and animation will be played on screen. This program is intented for Windows platform, not mobiles. Now I want to be able to record the…
Lawrence Choy
  • 6,088
  • 1
  • 20
  • 30
1
vote
5 answers

Why MovieClip-derived class won't gotoAndStop?

Facts: I have 2 classes: Entity and Ship. Entity extends MovieClip and Ship extends Entity. I have a MovieClip associated to the Ship.as class file. The thing is that I'm able to show, rotate and move the Ship object. However, I cannot change the…
jorge_codes
  • 3,026
  • 4
  • 26
  • 25
1
vote
6 answers

Actionscript 3, addChild from library then access it's children by instance names

So I successfully added a movie clip from the library using addChild(), but now I want to access some movieclips that were in that dynamically added movieclip. I've used standard dot notation and also getChildByName passing it the instance…
Justin Lee
  • 909
  • 4
  • 9
  • 19
1
vote
1 answer

Get MovieClip in another frame

I'm in frame 1 of a movie, and I want to use getChildByName("mc_movieclip"); to get a reference to mc_movieclip. The problem is that mc_movieclip does not exist in frame 1 but only in frame 5. How can I get a reference to this MovieClip, even though…
user178267
1
vote
3 answers

Passing arguments into mouseEvent function

This seems simple in other languages, but I don't understand the error. I have 7 buttons that I would like to each take my gallery movieclip to a certain frame when you click on them. Error: 1067: Implicit coercion of a value of type int to an…
Gisheri
  • 1,645
  • 2
  • 18
  • 27
1
vote
3 answers

Flash + AS2 = Unload a movieclip itself when it is clicked

I have a movieclip which unloads two other movieclips when it is clicked. This bit works fine, but it should also remove itself after this, which particularly does not work. Here is my code, can someone please tell me what I am doing…
Anriëtte Myburgh
  • 13,347
  • 11
  • 51
  • 72