Move The Origin Point Of A MovieClip In Adobe Flash CS3?

Sep 2, 2010

How do I move the origin point, or zero point, of a MovieClip to the same origin point of the stage without scripting in Adobe Flash CS3?

Example: While I'm trying to move objects within a MovieClip, the origin point is at (stage) 200,-300. This means that when I put objects in a MovieClip, the objects' X,Y coordinates, as displayed in properties, are off by that much.

This point is way off the edge of the stage and I'd like to move it back to the stage's origin point so that my X,Y coordinates are meaningful.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: [Flash8] Move Back To The Origin Point

Oct 14, 2008

I tried to create simple animation from this Kirupa's tutorial My aim is to make a circle run from left to right and when it is almost to the edge it will move back to the origin point and it will loop only 3 times. So I came up with totally baby script like this:

[Code]...

But the MC is not move back to the original place. Sorry for not even finish the script for stop looping. Only tweak on play loop it make me very confused. My knowledge is quite in entry level but I eager to learn. Could you let me know what is wrong with the script?

View 5 Replies

ActionScript 2.0 :: Origin Point Of Movieclip?

Jul 26, 2010

Can anybody tell mw what is the origin point of the movieclip.

View 1 Replies

ActionScript 2.0 :: Movieclip To Move Along The X-axis To A Certain Point And Then Back To The Starting Point Again?

Apr 12, 2007

It's been a long time since I've done any work with actionscript, and alas I've forgotten nearly everything. I've tried to look for a tutorial that would explain basic animation with actionscript, but the one that I found on Kirupa was no longer there.

Basically I'd like to do this:On the stage I have a movieclip and I'd like the movieclip to move along the x-axis to a certain point and then back to the starting point again. The moving speed of the movieclip should also be adjustable.

View 8 Replies

ActionScript 3.0 :: Origin And End Point Of A Line?

Feb 14, 2011

Can anyone tell me if an instance of a line as origin point and end point properties that can be read or changed? I know that if you create a line with actionscript you have to set them. But can the X and Y coordinates of the points be accessed once the line exists and moved to a different location?

View 3 Replies

ActionScript 2.0 :: Move A Certain Movieclip From A Point To Another?

Nov 2, 2004

i want to move a certain movieclip from a point to another , and i know this can easily be done with a few lines of code ...but just a few days ago i ran across some piece of code that you just entered the x and y positions of were you wanted it to go and the speed at which it should go there...i even saw a command were it would slide in to the position ,, slowing down the closer it got...

View 1 Replies

ActionScript 3.0 :: Move Movieclip To A Single Point?

Feb 22, 2011

How would I move a movieclip to a defined point?

View 4 Replies

ActionScript 3.0 :: Make A Point (movieclip) Move?

Jan 9, 2011

I want to know how can i make a point (movieclip) move, i know that if i double click the movieclip e can manually change the 'x' an 'y' values and this way the point will move.

It is possibly to link this with java? And make java pass the x and y values to the animation?

View 4 Replies

ActionScript 3.0 :: Sprite's Transformation Point And Insertion Origin

Aug 5, 2011

I am making application which will dynamically create sprites via action script and copy the sprite's image to a bitmapdata object via .draw() function. I would like to store the location of the sprite's transformation point and insertion origin (which would be set within the flash editor when the sprite is created/imported.) Is there a way to access the location of the transformation point and the insertion origin via ActionScript? I just want to read it, I do not need to change it.

View 5 Replies

ActionScript 3.0 :: Move Movieclip Around A Circle Using Point And Click?

May 5, 2011

It's the beginning of a Monkey Island / Grisworld The Goblin kind of ultra short and simple game. Actually this is the only think I have to figure out.

Actually it already works if you click the x where it's positioned on the screenshot, but it doesn't work other places. And yes I've tried everything, and I'm just nok smart enough to figure this out.

More precisely it's the alternative path, after the arrow collides with the circle, that's causing me problems - since it's going to find it's way to the point clicked on stage.

View 1 Replies

ActionScript 3.0 :: How To Make MovieClip Move To Certain Point And Stop

Mar 19, 2009

I am just learning AS. What I am trying to do is make my movie clip move to a certain point and stop there if it is clicked on. All I really know is that I was told to use on(release).

View 1 Replies

ActionScript 2.0 :: Animation With SetInterval - Move A Movieclip From One Point Of The Stage To Another

Aug 5, 2005

What I have is actionscript which moves a movieclip from one point of the stage to another, using two buttons to trigger it - fwd_btn and rwd_btn. I also use a setInterval function, so that when you press one of the buttons, it pauses a second before moving. Unfortunately, if you press the fwd and rwd buttons in succession rapidly, the animation gets caught in a never-ending loop. Also, note that every time the user clicks a button, if the movieclip is right in the middle of animating across the stage, I wish it to stop and pause, not complete the animation and then pause.

View 3 Replies

ActionScript 2.0 :: Objects Of Attraction - Towards The Mouse Cursor Within 100px And Return To It's Point Of Origin

Oct 29, 2006

How do I take Object_MC and have it attract towards the mouse cursor within 100px and return to it's point of origin when the mouse is 101px + away from the cursor, all while doing an "elastic" like recoil effect, and going from 50% alpha to 100% over that distance to the mouse?

View 1 Replies

ActionScript 2.0 :: Move A Point (or Circle) Slowly And The Point Let Behind A Line?

May 3, 2006

How can I move a point (or circle) slowly and the point let behind a line.When the point turn back the line will be erase.

View 8 Replies

ActionScript 2.0 :: Make An Object Move From Point A To Point B In An Arc?

Mar 27, 2008

how to use these in order to make an object move from point A to point B in an arc.Think of that classic game where you have to input the angle and power and try to hit your opponent.

View 1 Replies

IDE :: Move An Object From One Point To Another Point On Graph?

Jan 9, 2006

Basically what I like to ask is how to move a object from one point to another point based on the point tat you have clicked on a graph. For example, If I click on this coordinate (2,3) on graph, the object (movie clip) will move to that point.

View 3 Replies

ActionScript 2.0 :: Controlling Cursor Movement - If Move The Cursor To A Point A It Automatically Moves By Itself To A Point B

May 8, 2004

if i move the cursor to a point A, it automatically moves by itself to a point B. then if i move the cursor from B to a point C, it bounces away to a point D. i stumbled upon this site while googling around. i'm not a techie, but yeah, i can handle word processors.

View 5 Replies

Flash :: Make A Animation That Makes An Object Move Across The Screen To A Certain Point?

Sep 1, 2011

I want to make a flash animation that makes an object move across the screen to a certain point, depending on what is typed into a text box, and i want many of these moving objects at once, so that you can type in a number and then the object moves to that point. Can this be done?I have used flash but have done verry little with the actions of flash, so please walk me through any actions that will need doing

View 1 Replies

Actionscript 3 :: Drag A Point In Flash, And Have Lines, Connected Other Points Move?

Dec 26, 2009

I have a set of dots displayed on the canvas (key bits of code pulled out):

// Drop points based on x y coords
for (var i = 0; i < 50; i++) {
itemPoint[i] = new mcDot();[code]....

how to redraw the lines as I move a dot. Also there could be many lines connected to any single dot. Do I need to somehow register which lines are connected to which dot? How do I redrew the lines based on this?

View 1 Replies

ActionScript 3.0 :: Rotate Dynamically Added Movieclip From Origin (0,0) And Not Center?

Jun 10, 2010

I've got this simple code here:

this["recipe"+i] = new recipelistname();
this["recipe"+i].buttonMode = true;
this["recipe"+i].recipeid = i;

[Code]....
 
The problem is that the movieclip rotates around the center. The textfield inside the movieclip is starting at 0,0. But it still rotates around the center, how can I make it rotate at 0,0?

View 5 Replies

ActionScript 3.0 :: Snooker / Billiard Flash Game - Make The Stick Move With The Center In The Point Near The Ball

Feb 26, 2010

I need to build a flash learn game to my students. It is to explain the angles and phisics over the billiard/snooker Table. Something similar to this: [URL] The only thing I can do until now is drag the ball! My doubts are:

- How to make the stick move with the center in the point near the ball;
- How to draw the yellow line;
- How to calculate the corners;
- And in the last, how to move the ball with accelerated motion when press a button.

View 1 Replies

ActionScript 2.0 :: Move From One Point To Another?

Feb 21, 2009

I'm having trouble with this function I created. It should move the clip to a specific given point, but it's not doing it. here's the code:

Code:
public function moveThis(pointX:Number, pointY:Number) {
if(Math.abs(clip._x - pointX) < 20) {
clip._x = pointX;

[Code]....

This just doesn't work, is there another way to do this? the inputed x and y values (pointX and pointY) are the points I want to move to, and clip is the movie clip that I want to move there. The clip moes across the x distance first, THEN the y distance. I need it to do both at the same time.

View 1 Replies

How To Move A Tween Point In CS4

Sep 29, 2009

Ok -- so I figured out how to tween in CS4, but how the heck to you adjust the tween? If you decide you want it to be a few frames longer or shorter? It wont let you drag the tween point! The only thing I've found that works, is deleting the tween and then making a new one. Which, is absolutely rediculous -- I know there has to be a way to edit it once you make it.

View 6 Replies

ActionScript 2.0 :: Move The Point Where The Mouse Is Placed?

Nov 10, 2009

Can You with a code move the point where the mouse is placed?

Example. If you have a row of buttons on a frame and when you click one of the buttons you don want the mouse to be on that very same spot because on the next frame are the buttons on the same place. You want the mousearrow to be placed on the top of the frame.

View 1 Replies

Select And Move All Clips From A Certain Point On?

May 30, 2011

I messed up some the timing in some parts where there needs to be audio, and I don't want to go to the very back of the timeline and make all my frame sequences fit the audio that way. I want to select all the clips from one point on, drag them back until the audio fits, and then go to the next part the audio doest fit and do the same. Unfortunately, I've spent at least 20-30 minutes googling and trying different things in Flash that haven't worked.

How can I select all the clips on the timeline before a certain point so that I can drag them all back a few seconds? (Without having to shift click all my clips, obviously).

View 1 Replies

ActionScript 2.0 :: Move Point Around Circle?

Feb 4, 2009

how can me move point arrount circle

just i want the point that you press on it and move it arrount the circle

View 0 Replies

ActionScript 3.0 :: Move The Trasformation Point?

May 5, 2009

Is there any way to move or shift the transformation point of an object at runtime ?

View 4 Replies

ActionScript 2.0 :: Move My MC To A Certain Point Then Reset?

Apr 19, 2002

I'm trying to write the Actionscript code that will move my MC to a certain point then reset. In other words, I want my MC to move left until it reaches -650 of the X position then start all over again fro 750 of the X position.Here's the code I've written which doesn't work:

onClipEvent (enterFrame) {
_x-=2;[codde]...

View 6 Replies

Have Object Move From Point A To B And Also It Rotate At Certain Points?

Dec 13, 2009

When motion tweening is it possible to have an object move from point A to B and also have it rotate at certain points?

View 2 Replies

ActionScript 3.0 :: Move Registration Point On A Uiloader?

Oct 30, 2010

Move Registration Point on a uiloader Is this possible?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved