Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Flash MX: Independent Object Movement



I hope that this topic hasn't been discussed ad nauseum; I searched the forums for similar discussion threads to no avail. I completed the Flash MX object movement tutorial found at http://www.kirupa.com/developer/mx/movement_keys.htm without any problems. I then wanted to add a second instance of the beetle symbol to the stage and assign it both a new instance name and a different set of keyboard keys that would control its movement. When I test the movie, I am able to control each symbol instance with its assigned keys. (The instances move and rotate as they should.) However, when the first instance rotates and moves to the right, the second instance "slides" with it. That is, the second instance's assigned keys have not been pressed and it doesn't rotate, but it moves right in unison with the other instance. Can anyone explain how it is possible to separate the two instances so that they truly move independently? Matt



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 04-04-2005, 04:07 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Flash MX: Independent Object Movement
I hope that this topic hasn't been discussed ad nauseum; I searched the forums for similar discussion threads to no avail.

I completed the Flash MX object movement tutorial found at http://www.kirupa.com/developer/mx/movement_keys.htm without any problems. I then wanted to add a second instance of the beetle symbol to the stage and assign it both a new instance name and a different set of keyboard keys that would control its movement.

When I test the movie, I am able to control each symbol instance with its assigned keys. (The instances move and rotate as they should.) However, when the first instance rotates and moves to the right, the second instance "slides" with it. That is, the second instance's assigned keys have not been pressed and it doesn't rotate, but it moves right in unison with the other instance.

Can anyone explain how it is possible to separate the two instances so that they truly move independently?

Matt

Independent Clip Movement...
Moving a single movie when clicked works well, but placing two of the clips on the frame results in both movies moving even when only one has been clicked.

I expected an instance of this class for each independent instance of the symbol, and each clip being moved by itself when clicked.

MyMovieSymbol.as:

code:
class MyMovieSymbol extends MovieClip
{
function onMouseDown()
{
_x = _x+5;
}
}


I am lacking a fundamental understanding here...; thanks for your help.

Tweening Rotation Independent Of Movement
So I have a situation where I need an object that's in motion to suddenly start to rotate about halfway through its move. How exactly do I do this? It seems like keyframing locks in the transformation data for EVERYTHING instead of simply what's changing. If that's not the case, I'd love to know the process that allows me to pick transformation elements at will. And If it is the case, then is there a way around this ridiculousness?

Random Independent Movement That Swarms To Mouse When Present?
I have this working FLA that has bubbles or particles floating over a blurred image. Inside the particles are programatic masks so it looks like where the particles are, the image is clear, like a window.

Anyhow, the movement is fine how it is now, it moves randomly which is cool, and it reacts to the mouse by moving in the direction of the mouse.

What i would like to do is this: keep the movement that is there now but make it so they sort of gather around the mouse when present but still move ... kind of like a swarming, but slowly ... i guess you could call it globbing. The intention is that you can move your mouse to areas and discover.

So: mouse follow with inertia, but with random motion too.

here is the current particle motion:
code: onClipEvent (enterFrame) {
// horizontal movement
rad += (k/180)*Math.PI;
xmovement = _root._xmouse;
this._x -= (Math.cos(rad)+(xmovement-(width/2))/50)*-1;

// vertical movement
ymovement = _root._ymouse;
this._y -= (Math.cos(rad)+(ymovement-(width/2))/50)*-1;
}

I've attached the source as well if anyone has time to peek. Thanks!

Making An Object Continues Flipping Independent Of Timeline In Other Layers.
Hi!

Let me give you the scenario I am facing.

I have 2 objects a square and circle. Square is on the first layer and circle on the other. I created tweening for both of them.

I want the square to stop tweening at say frame 20 but continue again ( or starts tweening ) at frame 40. Then stop again at 60 and continue again on 80 and so forth until the movie ends.

My circle on the other hand, I want it to be a slow movement (tweening) from frame 1 to say frame 400.

I Know I can achieve this by continuesly creating many timelines or tweening on square. But I know There must be a better way using script.

Can anyone help me. Thx a million!

Object Movement In Flash 8
How can I make an object move faster or slower in a straight line by user input values? Also, how can I make its distance from an endpoint simultaneously smaller or larger? Thank you.

Object Movement Based On Mouse Movement
Not sure how to word this but. I have a object on the stage lets say that is 300 pixels wide. The actual stage is only 100px wide. I want to be able to "pan" the object left and right based on mouse position/movement. I saw a tutorial for it a while back but cant seem to find it. Anyone have a link to a tut or can throw out a little source code? It would be greatly appreciated.

[Flash 8] Question About Object Movement Through A Maze.
I am attempting to make a game with 12 maze levels. I have all the mazes made, and all I have left to do is the coding. I am using this guide:

http://www.webwasp.co.uk/tutorials/b...n/tutorial.php

No matter what I do, my object jumps over the walls in LOTS of different places. I have followed all the suggestions on that guide to fix that, but nothing is working.

Is there a better way to create a maze with code that acutally works? I have searched all over and can't find what I am looking for. Any help would be greatly appreciated.

Flash Object Movement [according To Real-Time]
Would it be possible to make 2 themes on my flash website [1st Theme: Ork, 2nd Theme: Mahirim] and have them both tween in and out between the 2 themes over a period of 1 hour Real-Time.

Sometime like in the example.
Day = Theme 1, Night = Theme 2.

Example

I plan on using 1 Image and tweening the colors from Green > Blue > Green > Blue again, the 2 moons in the themes will be Green and Blue with the background image tweening from a Green tint under the Green Moon to a Blue tint under the Blue Moon. Its a concept theme for a gaming clan, there are 2 sides to the clan which is represented by 2 of the characters our members will play ingame. Im wanting the site to switch from Character 1 Theme to Character 2 Theme, throughout the day. Maybe do 1 full circle every 30mins, so the entire scenario is played completely in 1 hour.

Is this possible using Flash CS3, and if so how would i go about doing it?
Thanks in advance.

Fullscreen Flash With Dynamic Object Movement ?
Hi all,

http://www.mono-1.com/monoface/main.html

I have found this site which combines fullscreen flash with dynamic object repositioning.
The flash content repositions itself until there is no more space. Does anybody have any ideas how to do this or
URL s for tutorials ???

On kirupa I have found this tutorial but it only shows how to publish content.
http://www.kirupa.com/developer/mx2004/fullscreen.htm
only repositioning the whole .swf file not the content itself

thanks.





























Edited: 02/02/2007 at 03:33:46 PM by Kaneon

Movement Of One Object Dependant On The Movement Of Another Object
I am trying to get the browser to move the levers which in turn moves a constant laser beam.

The two levers control the beams position if you move the top beam it moves left to right, and the side beam controls the horizontal movement. I only want the beam and the levers to be moved to the following.

Horizontal lever between positions 10 and 2 o'clock (the levers rotate at a central point)

Vertical lever - between 2 and 4 o'clock

The laser beam to be moved anywhere in the red circle but once the lever is not being moved then the beam also stops moving.

I appreciate this is a big ask and would be grateful for any help

Please see attached.

Independent Flash Player?
I hope I posted this on the correct forum.

Anyway, I was wondering if there is a program that could play .swf files automatically (kinda autoplay effect) after you insert a disk in a pc without a web flash player installed, or any type of flash player to that matter.

Is Flash Really Browser Independent?
Most of us in the development world like flash because of that wonderful buzzword... "browser independent." What's that mean? Simply put, no more fighting to make things behave the same on different browsers with things like javascript.

However, I have a huge problem. In developing a widget here at work, I came across a massive timing difference. Here, take a look in IE and Firefox at the following link:

http://www.calacademy.org/staging/newsite/events/

Literally, the firefox side is twice the speed! HELP! (please)

Resolution Independent Flash Fro Presentation
I' m creating a presentation in Flash that will be viewed in full screen. The presentation hosts a lot of jpeg images. The stage size is 1024x768 and when the monitor resolution is this the swf displayed beatifully. But when i'm changing monitor resolution to something higher (1280x1024 for instance) then i' m facing display problems. The only solution is to use the 100% option from the menu, but this options leaves white space around the movie.
Is there any way to crate a resolution independent swf? Or in other case is there any suggestion about what resolution to target? (the presentation will play in a projector, if that helps).

Thanks

Flash Background Independent From Foreground?
I've started seeing sites like this recently: http://www.cbs.com/primetime/courier/teaser/

Where there is a flash background image that resizes, but the foreground information stays the same size. How does that work? I know you can set a flash movie to 100%, but that resizes the whole thing, not just part of it. Is this a new flash 8 feature?

Any ideas?

Resolution Independent Flash Movie Beta
hello people,
I hope that anyone can help me. I'm working in a personal project to make a Flash movie that's RES independent. the whole interface is is 90% build by actionscript and i want to try to keep it that way.
now, i have two problems.

I have a duplicate movie clip action. Now, i want to put a textfield in the MC's (with CODE) but somehow i don't seem to get it. the same counts for to make the duplicates change color on rollover.

Code:
drawNews = function(){
aantalblokken = (_root.welkomsblok._height/100) -2;
_root.createEmptyMovieClip("news", 7);

//title bar
_root.news.beginFill (0x666666, 100);
_root.news.moveTo (((_root.stageMC._width/100)*40)+10, 32);
_root.news.lineTo (((_root.stageMC._width/100)*40)+10, 32);
_root.news.lineTo (((_root.stageMC._width/100)*40)+10, 52);
_root.news.lineTo ((_root.stageMC._width/100)*70, 52);
_root.news.lineTo ((_root.stageMC._width/100)*70, 32);
_root.news.endFill();
//content bg
_root.news.beginFill (0xFFFFFF, 100);
_root.news.moveTo (((_root.stageMC._width/100)*40)+10, 52);
_root.news.lineTo (((_root.stageMC._width/100)*40)+10, 52);
_root.news.lineTo (((_root.stageMC._width/100)*40)+10, 152);
_root.news.lineTo ((_root.stageMC._width/100)*70, 152);
_root.news.lineTo ((_root.stageMC._width/100)*70, 52);
_root.news.endFill();



var xPos = _root.news._y;
var w = _root.news._height;
//created news more blocks...
for (var i = 1; i<=aantalblokken; i++) {
duplicateMovieClip("_root.news", "newsMC"+i, i+20);
_root["newsMC"+i]._y = (xPos+w+10)*i;
}
clearInterval(drawNewsfunc);
}
ps. every thing must be generated by code ( i think it's possible, if not tell me so ).

pps. check the *.fla in the attachment.

thanx allot in advance

grafx

Html Page From Flash Resolution Independent
Hi guys
I want to make a html page from flash that should work resolution independent, means it should fit with any monitor settings.
I made such one by publishing in percentage. It is working fine in explorer, but in netscape and firefox it is flatten.

Anybody is having a solution for this, then help me.

regards
somflash

How To Load The Sound Independent Of The Main Flash Movie ?
I want to load the sound seperate so they don't have to
wait and I want to have a sound loading bar in the corner .. . I want to have all my movies load seperate
so at the start you don't have to load everything and
each thing you load I want a loading bar .. . .
I hope I am clear in what I am asking .. .

How Does One Link A Flash File To Open In An Independent Window?
Need to hav =e a button that opens another flash file in a seperate browser window...

Thanks

Christian

Open Independent Html Page In Flash Frame
Hi,

Is it possible to open an html page in a flash movie?

More specifically, I am using geturl ('http://path/to/script', '_self', 'post');

don't think that is exact syntax cause I'm not looking at the script but it's about right.

Anyway that script is processing some variables, but the bad thing is that it's doing it in a completely different page.  So the user has a hard time getting back to the movie after the processing is done.  I'm trying to figure out a way for this to happen but the user not leave the movie and one way I thought of was to have the page show up on like frame 50 or something.  then I could put a back button in.  So in a nutshell, is it possible to open up yahoo.com (for example) in a flash frame?

tia,
dan

Object Movement
Please please please help me.

i'm trying to get an object to move useing the cursor keys but it just isn't working the basic code I'm using is this:

OnClipEvent (enterframe)
If(Key.is Down(key.UP)
_y-=5

I don't know why or how this works but when I type it in my MC moves of the screen without a button being pressed. This is a nightmare. Does anybody know and easier way (id so explain in lamens terms as i'm not very good)

please please please help as I want to make a game but can't even get the thing to move

cheers

Object Movement
Hey all, Im looking for this tutorial, and Im really sorry but I just happened too forget what the name is but it starts with T. Here is an example.

http://www.whitehorse.com/

Basically what I want too do is move an object quickly too the right then it slows down smoothly then comes too a complete stop. When you view that site, you will see the top line moving quickly too the right then it starts to slow down smoothly then it stops.
Can someone help me please. I know there may be some actionscript involved but I cant find the tutorials anywhere

[F8] Object Movement
I am trying to make the user move an object around the screen with the arrow keys. I created a movie clip in which I created a ball, then dragged the ball onto the main stage, given it an instance name of "ball", and added the following actionscript to Frame 1 of the main timeline.

code: if(Key.isDown(Key.LEFT)) {
ball._x -= 5;
}
if(Key.isDown(Key.RIGHT)) {
ball._x += 5;
}
if(Key.isDown(Key.UP)) {
ball._y += 5;
}
if(Key.isDown(Key.DOWN)) {
ball._y -=5;
}

What I told it to do is move the ball 5 pixels to whatever direction the user wants. It is supposed to work, except that it doesn't. What am I doing wrong?

Object Movement
I am creating a simple game where I want the user to be able to move an object around the screen using arrow keys. I have looked around the forum the syntax on how to do this, but so far it has not been able to run. Any help would be greatly appreciated.

-Kyle

Object Movement
I'm using this function to move an map. This map can best be desribed as a tic-tac-toe board... a 3x3 grid. I'm trying to replicate a mapquest sort of thing... buttons on the sides of the viewport move the grid (in this case 300 px up/down or left/right). This works fine and dandy, but if lets say the very top left sqare of the grid is in view, and I click the button to move it 300 pixels to the left (which then shows the top center square), the same button will not move it again to the right to the 3rd square on the top. Basically this function only moves the map to predetermined positions in the movie... how do I just have it move it 300px +- in either direction from it's current position on the map? I've toyed around with this for a bit and the only thing I came up with is to use flags telling me which sqare is visible, then use if statements to determine the amount of movement (300, 600, or 900px) There has to be an easier way.


(on button)
on(release) {
_root.moveMap(_root.map, -300, 0);
}

(function in the root timeline)
function moveMap (objToMove, newX, newY){
objToMove.onEnterFrame=function(){
this._x-=(this._x-newX)*.7
this._y-=(this._y-newY)*.7
}
}

anyone care to help?

Object Movement
I am trying to get an several objects to function differently when several different movie clips are pressed. I put this code on the object:

onClipEvent (load) {
_x = -120;
div = 8;
endx = -120;
}
onClipEvent (enterFrame) {
_x += (endx-_x)/div;
_root.news.onRelease = function() {
endx = -120;
};
_root.aboutesef.onRelease = function() {
endx = 210;
};
}

If I put the same code on another object, it doesn't work. Any ideas?

This is the tutorial I am referencing. http://www.actionscript.org/tutorial...em/index.shtml

I am wondering how to put that on multiple clips and have it work.

Help In Movement Of Object
i am involved in creating flash games for kids in this non-profit organisation and well this time round they want something like this..if a child answers the question correctly, the ball moves forward, otherwise the ball remains at the same place..now they want to show the ball moving forward if it is answered correctly, can i know how this should/would be done?
please note, im not a real pro in scripting any help is greatly appreciated..

eg. is below
org position
O
ans1 correct
--O
ans2 wrong
--O
ans3 correct
----O

thanks
murtaza

Help In Movement Of Object
i am involved in creating flash games for kids in this non-profit organisation and well this time round they want something like this..if a child answers the question correctly, the ball moves forward, otherwise the ball remains at the same place..now they want to show the ball moving forward if it is answered correctly, can i know how this should/would be done?
please note, im not a real pro in scripting any help is greatly appreciated..

eg. is below
org position
O
ans1 correct
--O
ans2 wrong
--O
ans3 correct
----O

thanks
murtaza

Object Random Movement
Hallo, please can you help me?
How can I generate a continous random movement of a small
gif object(a ball for example) on a part of the screen?
Do I Have to give coordinates? Can I set the speed parameters?
the movement must be unstoppable...until a click on a button

Thank you very much

Bernie Lomax

Mouse / Object Movement
Hey peeps,

I'm doing a website, and I have a pattern at the top of the site. I want this pattern to move very slowly in the opposite direction of the movement of the mouse. In fact the top bar is a big image that is masked. That way I want to have constant 'dynamics' in the site, although it is very slow.

Any ideas on how to do this?

Thanks

-sploenk-

Random Movement Of An Object
does anyone know where I can get some code to make an object move around randomly and somehow set parameters to how crazy it is moving around?

Thanks peeps!

A Sequence Movement Of Object With AS
OK first of all I want to acknowledge that I read, followed, and understand the tutorial on how to move a MC with actionscript. It help me a lot. Now the next step is how to make a 3rd or 4th movement. Or even better a movement of another MC.

Example:
1. AS tell MC "pic 1" to move _x+=30 until it reaches _x=200;

Now my question is once it reaches 200 how can I make it to perform another action like turn to _y.

I have tried
if (this._x==200){
this.y+=30;
}
but then again how do I tell it when to stop? Maybe I should use a for instead of if. Anyway please send me your sugestions.


if my explanation got you confused, then just imagine I want to mave a Z on the screen from a moving MC, from AS.

Limit Object Movement?
Hello all-
How can I limit the movement of an object when dragged? I made a Hexagonal board game with Flash5 and wish the pieces to only be able to move one space per dragging. Any help?
Thanks-

Object Movement Slider
hi everyone, i'll like to know if anyone of u knows bout this..
i need a slider bar where u can slide to control another object moving in cirular motion..

i need help reali fast..hope u guys will help thanks alot...

Object Movement Code
I have the following code to move a bar across a project based on mouse position. However, it doesn't work.

Code:
onClipEvent(enterFrame){
if(_root._xmouse>=401){crossera._x=600}
if(_root._xmouse<=400){crossera._x=200}
else{crossera._x=0}
}
Any thoughts?

Text Or Object Movement
ok i have an object i want that object to do a spiral like the top of a hurricane or a funn it starts out far and then spins for a min and then comes to a middle end point and stops if someone could help me that would be GREAT thanks !

How To Duplicate Object Movement?
well I have this frame as a movieclip called field. And inside it, there's another mc that is moved by the cursor keys called box. Now I have created another movie clip called boxclone. I want boxclone to make the same movement as the box in the field. I know it has something to do with localToGlobal but I don't know how to setup the code correctly...

Object Rotation And Movement
I am currently trying to make a game where an object is rotated/aimed (360 degree rotation) using the 'left' and 'right' keys on the keyboard, and then a mouse press on the object will bring up a power selection bar (similar to the ones found in golf video games) and releasing the mouse will project the object in the selected direction/angle with the chosen power level (so the power rises when the mouse click is down and the power is chosen when the mouse is released).

Right now I have coded part of the game, however, it is not exactly how I would want it. I currently have a rotation selected by the tracking of the mouse pointer on screen, though that is not what I had originally planned.

Moreover, the powerbar I have implemented currently is just a movie clip with each frame setting a powerlevel variable to a higher level (as was suggested by a poster here previously). I will also be using a different movieclip object for a different animation of the object to be played when the object is being projected.
I am just looking for a simple projection and landing of the selected object.
This game will be a two player (turn-by-turn) game.

Any help on the simplest way of implementing this would be greatly appreciated, as I am currently clueless.
Thanks.

Button Object Movement?
I am having trouble with having an object move when a button is clicked.

When the game user clicks a button that I have on stage a objects is told to move up -= 2 pixels. I have it set up as a mouse event.CLICK

It works but you have to click the button over and over to have the object move. I want to have it set-up so when the button is held down after the click the object will move continuously up. Rather than having to click over and over.

the code look like this.

button_btn.addEventListener(MouseEvent.CLICK, onClick);

function onClick(event:MouseEvent):void
{
object_mc.y -= 2;
}

Any help would be great.

Thanks

Object Movement Question ...
Hello all! Thank you for reading my thread. I am trying to animate a pair of brackets that ease into place next to a button ... after that button has been clicked. I have included a page from 24-7 media that has this effect on their menu ... so you can see what I mean. I can do this a very hard way ... BUT ... I am looking for a way to do it with actionscript ... maybe by telling it the x and y coordinates ... and having some kind of easing script in there ... so it eases into place ... and doesnt just stop. Can anyone help me with this ... or point me towards a thread that I might have missed that would help me? Thanks so much.

http://www.24-7media.de/rieger/

Sincerely,
Brian Griffith

How To Duplicate Object Movement?
well I have this frame as a movieclip called field. And inside it, there's another mc that is moved by the cursor keys called box. Now I have created another movie clip called boxclone. I want boxclone to make the same movement as the box in the field. I know it has something to do with localToGlobal but I don't know how to setup the code correctly...

Object Movement Using Actionscript
I've been trying to move a movieclip using actionscript by changing the coordinates of the movie clip

here's my code

i named the movieclip "bola"


Code:
on (release) {

for (t=0; posy != 0; t++) {
posx=(3 * t * Math.cos(60))
posy=(3 * t * Math.sin(60) - 0.5 * 9.81 * t * t)
_root.bola._x = posx
_root.bola._y = posy
}
}
but something's missing me... because when i press the button the movie moves to position x=0 y=0 and not the projectile movement that i want ...
is the for cycle wrong ??

can anyone check what's wrong with my code ???

Object Movement Slider
hi everyone, i'll like to know if anyone of u knows bout this..
i need a slider bar where u can slide to control another object moving in cirular motion..

i need help reali fast..hope u guys will help thanks alot...

Stopping Object Movement In X And Y
Hi all,
I want to tell flash that when a object reaches my desired end position, then stop moving in x or y.

// 1st Script:

onClipEvent (enterFrame) {
_root.cube._x += 1;
}

// 2nd Script:

onClipEvent (enterFrame) {
_root.cube._x += 1;
if (cube._x == 50);
_root.cube.stop();
}

Let me know where im going wrong?

Many thanks

ORANGE900

Seeking Independent Flash Designer/programmer For High-visibility P/T Work
Naturally Wired Designs LLC is seeking an independent, highly skilled flash designer to turn static PNG and PSD website design layouts into full flash, interactive websites.

You will work with finished designs from our design team and make the transition from static layout to flash. Applicants must be well versed in Flash & Actionscript and must have an online portfolio for quick review. We do not have the timeframe for you to send us CD's or similar media-please do not ask us if you can send us your work. Your work must be viewable online.

Candidates will be working on high-visibility projects (we've created sites for Billy Idol, members of Shania Twain, Rob Zombie & Kelly Clarkson's bands and more)as well as business related projects. We're looking to take our company to the next level and this is an excellent opportunity for the right person who's independent right now and looks to build a portfolio to be seen in and around the entertainment industry.

Full credit for your work with us will always be given. Candidates will be paid on an hourly basis, wage to be negotiated and will be based on experience. The first project done will be on our new company site, and will be the candidate chosen's first trial. If it works out and we're happy with the result, we will expand the work palate.

-Candidate must be an indepenent contractor. No moonlighters please. This means if you work for, or are under contract from another studio or design firm, please do not apply.

-Candidate must be communicative. Trying to chase you down for updates on work is not our business, and we'll run away from it-fast.

-Candidate must be able to recieve payments on the first trial job via Paypal. No checks or wire transfers will be done until after the trial-job.

-Candidate must be able to show at least 2 references with contact information.

-Candidate must have at least 4 demos of his or her FLASH design/programming work, available in an online portfolio.

-Candidate must have FLASH/DREAMWEAVER MX or later software available to him/her for use.

-Computers and equipment WILL NOT be supplied.

Please contact:

NATURALLY WIRED DESIGNS
Attn: Human Resources
320-493-7180
hr@nwdstudio.net

Object Movement With Cursor Keys
Can anyody help me?
I am trying to get mu movie clip to move around the screen using this code:

onClipEvent (enterFrame)

if(Key.isDown(Key.DOWN)

_y+=5

When I test the movie, my MC just moves down the screen without me pressing any buttons. I can't figure this one out. I need my mc to move in all for directions the code above is just a snipet for the down command.
I hope this makes sense to sombody as I'm going mad trying to get it to work.

Cheers

Smoot Object Movement On Key Event
Hi all,

For a keycommand on my bmp spaceship i'm using following code...

myKeyListener = new Object();
myKeyListener.onKeyDown = function () {
if (Key.isDown(Key.UP)) { MySpacer._y ++;};
if (Key.isDown(Key.DOWN)) { MySpacer._y --;};
if (Key.isDown(Key.LEFT)) { MySpacer._rotation = MySpacer._rotation - 10;};
if (Key.isDown(Key.RIGHT)) { MySpacer._rotation = MySpacer._rotation + 10;};
}
Key.addListener(myKeyListener);

But if i see my spaceship moving when keys pressed then its not a smoot movement... someone can help me please ?

Thnx in advanced
Ludo

Slowing Down Object`s/text`s Movement
Hi all,

pls help to make my movie dinamic. Cann`t find out how to sloww down object`s/text`s movement at the end of it`s animation (Object is moving from point A to point B and it has to slow down before point B untill it stops).

Thanks in advance for your help.

Rgrds,

Nerijus.

To Manage The Dimensions And The Movement Of An Object
I have a rectangle to the inside of my filmato one through of the variable ones that I will load from database a this rectangle will have to change to dimension and lease (from the point with cordinate x,y will not end to the point with cordinate x1, y1) I must possibly have the possibitą to change the inclination of the rectangle. there is someone that has already made something of similar and są which code I can apply to my rectangle in order to make that that as soon as I have described? Thanks

Copyright © 2005-08 www.BigResource.com, All rights reserved