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

Spawning a random number of movieclips - function doesn't work?

I am trying to figure out how to spawn a random number of cells, but every time I run the program, I always end up with one cell only. How come the number of cells spawned is always 1 when it can go up to 50? (since I made the p variable a random…
-1
votes
1 answer

Actionscript - Make movieclip move towards another movieclip

Hi guys I'm trying to make a FPS game, I'd like some help to get a 'baddie' movieclip to randomly spawn off stage and move towards the 'Player' movieclip, I'd also like it to allow several instances of that movieclip to be on the stage at the same…
cm125192
  • 5
  • 1
  • 1
  • 6
-1
votes
2 answers

Using flash movieclip with stage3d

I have a flash movieclip with retina resolution (about 200 frames) and some Action Script inside. I would like to use stage3d to get a performance boost. Is this possible just to add the movieclip to the stage3d stage without losing Action Script?
-1
votes
1 answer

jquery stop loop when mouseout

What I am trying to create is a movie clip out of thumbnails. The difficulty is that these thumbnails are coming from different websites. This means, the position of the thumb counter is by each url different. I do replace the point of the counter…
directory
  • 3,093
  • 8
  • 45
  • 85
-1
votes
2 answers

Writing an 'if' statement in ActionScript

Is there a way of writing an if statement that involves the following? if (MovieClip1 reaches last frame) { addChild(MovieClip2) removeChild(MovieClip1) } Basically, all I want to happen is when my MovieClip finishes, it will change to…
-1
votes
1 answer

AS3, Access public variable within Movie Clip

Sorry for simple question, but... I have DocumentClass which has public variable kTemp: public var kTemp:Number = 0; I Also have Movie Clip which has some internal timeline code with this fragment: var counter1:int = 0; counter1 =…
Fogflasher
  • 11
  • 1
  • 5
-1
votes
1 answer

Movie Clips inside of buttons

I am using AS 3.0 and I have a button (mcbtn1) with a movie clip inside that has a animation when you hover over plays the animation and stops and then another button that I want to go to scene 2 function gotoCenter(event:MouseEvent):void…
-1
votes
1 answer

noob trying to make the bad guy explode in a Flash game

Forgive me for my noobyness on this (I am new to Flash), but I have searched everywhere for 3 days to find this, and I have tried so many different things, and nothing seems to work. This should be simple... scenario: simple game, the player fly's…
-1
votes
1 answer

TypeError: Error #1009: Cannot access a property or method of a null object reference. at naj_fla::MainTimeline/runMan()

I know that many people have asked the same question, but i tried everything to solve it and i don't know what else to do. I understand that this error appears when an objects is being called while that objects is not available in the timeline…
-1
votes
1 answer

As3 preload/render a single movieclip before addChild to stage

I have some problems. I want to preload a single movieclip instead of preloading the whole project. Is there a way to that. Concept Game. Intro Displayed - Intro removed - Title Dislplayed - Title removed "after pressing on screen" [[[[[[[PRELOAD…
-1
votes
3 answers

as3 can I do this on one line

Hi I can go this var firstname = firstname_mc; var fname = firstname.getChildAt(0).text; but var firstname = MovieClip(firstname_mc).getChildAt(0).text; does not work
LeBlaireau
  • 17,133
  • 33
  • 112
  • 192
-2
votes
1 answer

Adobe Animate, how to reference nested HTML5 movieclips using a variable

In Animate HTML5 canvas I have a bunch of sequentially numbered movieclip instances I want to stop playing using a repeat loop. The basic syntax is: this.data_rings.ring1.stop() My problem is I can't determine how to refer to the clips using a…
Scott Rossi
  • 885
  • 5
  • 6
-2
votes
1 answer

Playing a movie clip to its full with mouse over

In Adobe Flash and ActionScript 3.0, I have a movieclip within a button. I want to play the entire movie clip upon mouse over. However, the movieclip plays only untill the mouse is over. I want to play the movie clip till the end if the mouse was…
newron
  • 3
  • 1
-2
votes
2 answers

How to access movieclip using string?

I tried to access the movieclip using its name but failed. TypeError: Error #1009: Cannot access a property or method of a null object reference. var i = 5; var me:Array = new Array("num1-xd", "num2-xd2","num3-xd3"); var cool:Array; var…
-2
votes
1 answer

AS3 CS6 Remove movieclip from array

I'm working on a project for college. I'm making a Third Person Top Down shooter game, I have almost finished but stuck on one main part of the game, getting the enemy movieclip to be removed from the stage when it's hit by a bullet movieclip. I've…
cm125192
  • 5
  • 1
  • 1
  • 6
1 2 3
63
64