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

how to create up/down movement of sprite with as3 with a mouse

I need to move a sprite only vertically on mouse move. How do I implement it with as3? Thanks
Nava Carmon
  • 4,523
  • 3
  • 40
  • 74
2
votes
2 answers

Setting dynamic TextField.text from a parent MovieClip in ActionScript 3

Easy question, that I can't quickly find an answer to online - it seems this would be in tutorials everywhere - and probably is... I have a MovieClip that has a Dynamic TextField: let's call the instance of the field txtName. I want to set the text…
Eddie
  • 359
  • 4
  • 11
2
votes
1 answer

How to convert MovieClip into bitmapData

My question is quite simple - How do I convert a MovieClip (that is dragged from the library) into bitmapData? PS: I`ve searched a bit for this solution but the only results i get is the other way around - to convert bitmapData into…
GregorII
  • 221
  • 4
  • 13
2
votes
2 answers

as3 get Width / Height of Children in a Parent MovieClip that has been resized

I need to get the resized Width and Height of children in a resized parent. I have an image that is 1080 x 612. I put that in a MovieClip called "stackoverflowLOGO". That is the child width/height I need and it is inside a class called stackOne. My…
Papa De Beau
  • 3,744
  • 18
  • 79
  • 137
2
votes
1 answer

how to control a embedded multiframe swf file?

[Embed(source="data/fire.swf")] static public var movieFire:Class; I have some multiframe swf file and I want to have control of them. For example, I can use gotoandplay and gotoandstop functionality. I tried something like: var m:MovieClip = new…
liuliu
  • 721
  • 1
  • 8
  • 19
2
votes
1 answer

AS3 How can one detect that a display object is subject to a motion tween?

I guess this is a question for real gurus only.. I'm using the Flash Authoringtool to create MovieClips, yet I play them using my own engine (which behaves better for mobile). Yet, for proper behaviour, given a DisplayObject, I need to know if its…
2
votes
1 answer

MovieClip timeline animations wont play across classes - Flash Game

First question. Please be gentle. I’m making a simple (I'd hoped) keyboard controlled movieclip of a game character. The Movieclip has five frames, each with a simple animation inside for when the player presses the arrow keys, walking up, down,…
2
votes
1 answer

Actionscript 3 how to move many object at once without lag

I have a simple question. I'm using actionscript 3.0 and Adobe flash professional cs6 to make a game. I want to keep it simple, clean, and not laggy, but for my game i need many (10-30) movieclips moving different ways at the same time on screen. I…
Xiler
  • 426
  • 4
  • 13
2
votes
1 answer

as3 MovieClip not scaling properly

I'm trying to program a main menu with buttons in it. I have a class called MenuAchievementsButton, and in its constructor, it is passed down the stage width and stage height from the document class. When I trace this, it is the correct width/…
2
votes
1 answer

How to position an rotated MovieClip?

It's very easy to position a sprite object in relation to another sprite object, if you don't mess with the rotation. As the title states I want to know how to position 2 MC in relation to an already rotated MC, so they are aligned to each other.…
LuciM
  • 59
  • 2
  • 8
2
votes
1 answer

ActionScript 2 MovieClip Class or Interface Not Found

I'm converting an actionscript 3 project to AS2 because AS3 is not yet scaleform compatible in CryEngine 3. I have a MovieClip in the library. Under ActionScript linkage I have "Export for Actionscript" and "Export in frame 1" set, with the…
Christian Stewart
  • 15,217
  • 20
  • 82
  • 139
2
votes
2 answers

how to draw a 'circle' with 'dynamic angle' using action script 2?

I want to have a circle (maybe a movieclip ) to show a timer which change like this picture : And also I need to access its angle in run-time. for example: function setAngle(degree:Number) Any suggest ?
Emadpres
  • 3,466
  • 2
  • 29
  • 44
2
votes
2 answers

Identify MovieClip in AS3 among DisplayObjectContainer

in ActionScript 3, if I loop through the children of a movie clip, it will return a DisplayObjectContainer, which is a list of DisplayObjects. However, the AS3 typeof cannot identify MovieClip as MovieClip is now an object, instead of a data type.…
Raptor
  • 53,206
  • 45
  • 230
  • 366
2
votes
1 answer

startdrag start point limitations?

I have a slider that controls a movie clip by dragging it through the frames to animate and this works great when dragging from left to right, But i want the slider to start in the middle and drag through the movie clip from a center point being…
Danielle
  • 53
  • 7
2
votes
1 answer

How to Make Stage transparent in Action script 3 (Adobe flash professional)

I am Making a text animation in AS3, Which will then added in a movie clip. So i want a Transparent Stage. Is there any way to make Stage Transparent. If possible then describe in detail. Thanks in Advance>>
Ankesh Kushwah
  • 161
  • 1
  • 3
  • 12