Motion
I have a cube on the bottom of my web page that rotates.<--"continuosly". Ok, I just inserted a bar which comes from left to right and centers with my web page and I stop it at frame 25. I went to preview and when the bar stopped, so did my cube. My question is, how do I keep my cube to rotate b/c I want it to have a cont flow. Do I insert action for my cube in frame 25 if so what should I put there thx
Ultrashock Forums > Flash > Flash Professional
Posted on: 2003-04-14
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Is It Possible? Motion Guide + Motion Tween + Actionscript Api Drawing
Hi
Im looking for some help I've done a lot of research and spent hours trying to find a way to do this so any input is appreciated.
I have drawn a shape in actionscript
_root.createEmptyMovieClip("myMoon",6);
with (myMoon){
beginFill(0x999999, 100);
drawCircle(50,120,30);
endFill();
}
new Tween(myMoon, "_x", Elastic.easeOut, 0, 300, 3, true);
Basically I have a tween on it that works fine but what I need to do is motion tween along a motion guide.
Of course I know how to achieve this through the normal way of drawing a circle through the tools box but I have to figure a way out to do this to the shape drawn in action script via the drawing api. How can I do this?
I presume I have to someway make this shape appear in my library as a symbol possibly? Hope someone has a soloution thanks a lot
No More Choppy Motion I Want To Learn Motion Using Actionscript
Hi, my experience is with motion tweens from point A to point B, clean and simple but notice the animation is VERY choppy on slower computers... I want to learn how to alpha, move from point a to point b with actionscript rather than simple motion tweens so the animation is SMOOTHER.... any resources I should check out? Books? Tut's to search for (I haven't had much luck searching).
Here's a sample of my Flash work using simple motion tweening:
http://www.workplaceinnovationsllc.com/flash.htm
Works great on a powerful computer but not on older slower machines..... you'll see where better scripting could make this site better, smoother.
Thanks!
Help!
Shape & Motion Tweens With Motion Guide? Can It Be Done?
Hello everyone
I am currently trying to make a line shorten gradually as it moves.
In other words I want to combine a shape and motion tween, using a motion guide to direct it.
Could someone supply an explanation for how to do so??
Thanks
Script Motion Vs Tween Motion Question
I have asked for help before on scripting that slows down text or smooths it out, etc.
My question is this.. (and i havent experimented yet so..)
If you were to use script to cause alpha changes and motion changes, as opposed to tweening everything, would it make the flash file move much smoother, especially if you had alot going on at one time???
It also should make the file quite abit smaller too correct?
Thanks
[as3] Motion Guides And Motion Code
Adobe's touting Flash CS3's "Copy Motion as AS3" feature as a bridge between designers and developers. For the most part, I bet they're right. And there are probably other applications for the Animator class that we can't forsee at this time.
But I thought this feature's greatest use would be representing complex animation elegantly in a programmatic way. Simple animation can just be coded; it's the tough stuff that we'd prefer to animate in the Timeline, then convert to code. And Adobe seems to agree; their demonstration for this feature uses a motion tween that uses a motion guide, which is translated into Motion XML. But if you look closely at the XML, it doesn't describe motion at all: when you copy motion along a path as AS3 code, it'll first convert the entire tween to keyframes. That means, if you want to make the XML animation twice as long, you'll need to properly adjust the keyframe positions for each frame that was in the animation. That doesn't cut it for me.
On the other hand, if you just copy and paste the motion to another object, the guide will also be copied. This makes more sense; the Animator should be able to rely on a motion guide just as the Timeline seems to do.
Go ahead and give it a try. Make a little motion tween that uses a guide, copy and paste it as AS3, and look at the XML. Isn't it impractical?
Motion Tween (fade) Text Converted To Symbol No "motion"
I am using flash mx and my file includes text that is supposed to fade in and out.
I do exactly as I do with images - alpha 0 fades into 100 % etc, and it looks fine on the stage, but when I publish the text simply pops on and off with no recognition of the alpha channel fading in and out.
I create the text as static text - old english font - and then I convert it to a symbol. I tween the symbol from 0 to 100 alpha and back again. Presumably making it a symbol essentially makes it an image, right? no?
I am relatively new to flash so I may be missing something obvious?
(yes I have checked out places like flashkit.com, but not exactly what I am looking for, want more control.)
Motion..
im experimenting on a motion pictures project... i want the actionscript to handle the imported jpegs in differant frames such as if the mouse is on the pic (rolover) it goes to the next frame wid another pic.. and if its not on the pic then it doesnt go to the next frame...
you can also go to http://moiz.topcities.com to see the current project... i m talkin about this particular project...
reply asap....
thanks in advance
In Motion..?
Is it possible to motion tween a motion guide..?
Motion Help
My question is how to make smooth motions with objects. Forinstance, when an object moves to a new location is sort of settles into that new location. All I can do is have to zoom right over to the new location and stop on a dime.
Motion
OK, 2 questions here (you might want to go here first www.neostream.com)
1.)In the animation @ neostream.com, if you click Upcoming a little flame follows your mouse. how do you make an object follow the mouse
2.)you will notice that the flame keeps animating while it follows the mouse even tho it is an object. how do they do that?
-rEgards from the biggest newb of em all
No Motion
Can anyone help. have only been using flash for 2 hours.
I an trying to rotate a symbol on the stage using motion tween. It seems to work fine when using enter to watch the movie on the stage. When i publish or test scene or movie there is no rotation. Any ideas what the problem is? Thanks.
Motion On A MC
I three movie clips that I would like to assign motion to when a button is pressed. I can make the movie clips move to the desired location, but they jump there, they don't "move" there. I'm using a loop:
y_val = opinion._y
while (y_val > 126.4) {
y_val = y_val-3;
opinion._y = y_val;
}
The first frame my movie places opinion.y = 300, I want it to move to opinion._y=126.4
Like I said, it moves there, but it jumps.
Any suggestions? Thanks!
Motion
I get how to make objects move across the screen, but i've seen some flash videos where they have just an arm moving. Do i need to draw it out in different scenes or is there a way to make it move with the motion or shape tween?
Better Motion
Im trying to make a button but im having problems with its motion tween, i need its movement to look more like these buttons on this site http://www.mousegraphics.gr/ can anyone tell me what changes must be made to achieve this?
Motion
I want to make it so that when u click a button there is a line that moves up 50 pixels. only when u click the button though. please help me. and i want it in actionscript. please help me.
Motion From Xy To Xy And Beyond
I did a search on these forums for xy and read almost every post but still couldnt find a resolution so i guess ill ask.
http://sd.arc-ufa.com/move.html
What i am trying to do is on mouseclick have a MC go from the ship in the direction of where ever the mouse is. Up, Down, Left, Right, Down-Right, etc...
examples:
http://sd.arc-ufa.com/img/img1.gif
http://sd.arc-ufa.com/img/img2.gif
The MC i want to tween is called: laser
The green ship looking thing is called: ship
I am very new to actionscript so the more detailed explainations the more helpful. I'd be greatful for any help anyone can offer.
thanks.
Motion?
i don't know how to ask but take a look at this site http://www.chaoticconstructives.com/ the pages are moving when is changed to another section...what i mean is the movement is done with actionscript right?so how to do that?
AS3 Motion
Hi,
I'm trying to find out about methods of creating motion using AS3. (Essentially replacing tweens with actionscript code)
I've tried using the 'copy motion of AS3' method. Although this achieves what I want it seems the code adds 16k to any swf file. Regardless of the complexity of the motion involved.
I assume this is due to the 'import fl.motion.Animator;' bit of the code.
I've seen that there are many other 3rd party motion controllers for actionscript3 but they all seem to use the same import of external code to create the motion.
I just wanted to know is there a way of creating a tween in AS3 without adding more than 1k at the most to file size?
16k is just crazy!
Thanks,
Ollie
Motion
Hi
visit this site (http://mattstaver.lighthousewd.com/new.html). On entering the site, click any gallery. Notice how the thumbnails enter the screen from the left.
I need help in the following:
My question is, how can I build the exact thumbnail motion when they enter the screen in the above site example???
Any help would be appriciated
AS Motion
Hi,
This seemed simple to start with, but I can't for hte life of me work out how to fix it...
I'm just trying to create a vertical sliding motion on my thumbnail menus. The menu starts outside of the stage (which I think is the problem) and slides onto the stage after a button is pressed. Somehow, I think that the -/+ _y values are screwing it up.
fla attached, I'm sure it is simple, but I'm really confused. The actions have been applied to the first sliding menu only.
Thanks.
HELP: MOTION?
Code:
var xSpeed:Number = 10;
var xEasy:Number = .6;
//var xStop:Number =
ballX.onEnterFrame = function ():Void{
xSpeed *= xEasy;
this._x -= xSpeed;
}
I made this script to move my movie clip "ballX" to the left and stop and I want to return it back. How do I do it?
I want move the ballX few pixels to the left and then back to the right. I want to move let say 20 pix to the left and 20 pix back, I know how to do it with position of _x, but I want this "ballX" put it anywhere on the stage later on.
Motion Fx´s?
Hi..ok, i know many people hate TM, but I think the fx´s on there are cool..I dont want to buy or rip anything from there, so I wanna try and make my own fx´s..similar to some on there. I am interested in the fx´s that are like spinning interface windows. I am guessing its kinda done on 3D program, then photoshop fx´s? like motion blur? Does anyone know of any tutorials? or maybe does some1 have the time to gimme some steps to doing something like this?
Thanks!
regards
M
Help With Motion
ok so i did the tutorial that kirupa put up, but now i am wondering how i can edit the code so that i can have random speeds aswell, i just used the code that they ahve written. please help!
HTML Code:
onClipEvent (load) {
//data you may want to change
width = 700;
height = 600;
speed = Math.round(Math.random()*1)+1;
//initial positions
x = Math.random()*width;
y = Math.random()*height;
this._x = x;
this._y = y;
x_new = Math.random()*width;
y_new = Math.random()*height;
}
onClipEvent (enterFrame) {
//x movement
if (x_new>this._x) {
sign_x = 1;
} else {
sign_x = -1;
}
dx = Math.abs(x_new-this._x);
if ((dx>speed) || (dx<-speed)) {
this._x += sign_x*speed;
} else {
x_new = Math.random()*width;
}
//y movement
if (y_new>this._y) {
sign_y = 1;
} else {
sign_y = -1;
}
dy = Math.abs(y_new-this._y);
if ((dy>speed) || (dy<-speed)) {
this._y += sign_y*speed;
} else {
y_new = Math.random()*height;
}
}
Motion
I have a cube on the bottom of my web page that rotates.<--"continuosly". Ok, I just inserted a bar which comes from left to right and centers with my web page and I stop it at frame 25. I went to preview and when the bar stopped, so did my cube. My question is, how do I keep my cube to rotate b/c I want it to have a cont flow. Do I insert action for my cube in frame 25 if so what should I put there thx
Motion
Hi
visit this site (http://mattstaver.lighthousewd.com/new.html). On entering the site, click any gallery. Notice how the thumbnails enter the screen from the left.
I need help in the following:
My question is, how can I build the exact thumbnail motion when they enter the screen in the above site example???
Any help would be appriciated
AS Motion
Hi,
This seemed simple to start with, but I can't for hte life of me work out how to fix it...
I'm just trying to create a vertical sliding motion on my thumbnail menus. The menu starts outside of the stage (which I think is the problem) and slides onto the stage after a button is pressed. Somehow, I think that the -/+ _y values are screwing it up.
fla attached, I'm sure it is simple, but I'm really confused. The actions have been applied to the first sliding menu only.
Thanks.
Up And Down Motion
ok, there's this cool looking thing I'm trying to do, an example is here...
http://www.ferryhalim.com/orisinal/
so how do you do the up and down thing??
HELP: MOTION?
Code:
var xSpeed:Number = 10;
var xEasy:Number = .6;
//var xStop:Number =
ballX.onEnterFrame = function ():Void{
xSpeed *= xEasy;
this._x -= xSpeed;
}
I made this script to move my movie clip "ballX" to the left and stop and I want to return it back. How do I do it?
I want move the ballX few pixels to the left and then back to the right. I want to move let say 20 pix to the left and 20 pix back, I know how to do it with position of _x, but I want this "ballX" put it anywhere on the stage later on.
Pic Motion
Sorry about the double posting, but I forgot u must click on the vernita link to get to the pic.
Can anyone tell me how to perform the motion effect on the vica picture(roll mouse over pic) at this link http://www.kill-bill.com/vol1/flash/index.html. I am famliar with all of the easing equation but i don't think they use it.
Help With Motion A.S
Hey. I i am trying to figure out how to create an almosting 'sliding' affect with flash actionscript that kind of scrolls around a jpeg image or a movieclip for example.
The idea comes from http://www.jarnotrulli.com (enter the site and mouse over a link to see what i mean)
The buttons on there seem to call a specific function to get the movement going. I was just wondering if anyone here has a good idea about how to create such an affect.
any help would be greatly appreciated.
Motion
when would you use a looping array to create a motion sequence when would use otherwise to create a sequence. how would it be written?
Pic Motion
pic motion
Can anyone tell me how to perform the motion effect on the vica picture(click on the vernita link and roll mouse over her pic) at this link http://www.kill-bill.com/vol1/flash/index.html . I am famliar with all of the easing equation but i don't think they use it.
I Have Motion With AS, But How To Loop It?
Hi,
Alright, I have this thing right now, just a MC, but it is all motion tweened... It goes nice and slow from frame one to frame 90, and this happens across multiple layers, each one starting and ending at different points.
It looks nice, it's 42k - not bad, but I wonder if I completed this with AS if it would cut down both on size and browser intensiveness (the machine chugs when it happens).
so, if I was to do this with AS, I am thinking it would be a whole bunch of MCs in a MC, each with a
Code:
onClipEvent (load) {
this.startX = _x;
this.startY = _y;
this.move = 5;
}
and finish it with a
Code:
function move()
{
moveX = (this.startX - this._x)/this.move;
moveY = (this.startY - this._y)/this.move;
// initialise animation loop
current= 0;
gotoAndPlay("animation");
}
with this
Code:
if(current < move){
this._x += moveX;
this._y += moveY;
current++;
}else{
this._x = startX;
this._y = startY;
}
now logic tells me I am making way to big of a deal out of this.
I want something to move from A to B, and then after a few seconds, happen again..
Help.
Actionscript Motion
i'm new to flash, but not new to programming, i was trying to make a box move smothly from one side to the screen to the other with a for loop and a setprop action but the thing doesnt seem to work, i don't know if i have to do something else with the frames or something like that to make it work.
Can somebody help me please
Stopping The Motion
I'm sorry if this sounds dumb. Ok I have a movie clip, and the instance name is "ball". Now in frame one of the movie clip there is an image of a round circle. And I want this circle to move from left to right so I put in the action script:
_root.ball._x += 10;
and in frame two of the movieclip I put in:
goto and play frame 1:
so that the stage will update the position. Now what I want to know is how do I stop my movie clip image in a certain area of the stage?
Thanks
Motion Of Alpha
How would I make a text motion fade in to fade out, without having to use the tween option?
Alpha Motion
Could someone please show some love and tell me how do I use the motion alpha by coding instead of tweening?
Motion Tweening With AS ?
Hi,
how can I create a motion tweening with ActionScript?
(i really need this !)
thanx in advance
kgp
http://www.vbsjabbeke.com
http://www.geocities.com/moonysite
Motion Tween
i want to know how to motion tween with actionscrtipt.. like a slidding scrollbar.. i want it to slide... to the other side.. how do i do this? what is the MAIN script?
My Motion Became Slow Down...
Hello, I have a problem with my motion. I made a movieClip and an other with a lot of action script inside-- I tested it in my preview screen and it works...but now that I have uploaded I observed that the motion Is slow down when the action became together---
What's hapent????
Is something easy that I don't know yet???
thank you very much---
Circular Motion 2
I am currently trying to develop a simple game. But I am having problems with the motion of a MC. I need a random circular motion, with loops and stuff, which the coordinates can be set and retreived for interactivity. The maths is a bit of a problem coz the coordinates jump when changing the circular function. Anyway of fixing this or any ideas on how it can be done?
THANKS
Motion Background
Please forgive me if this sounds stupid. but I depseratly need help. I have a background image that look like a bunch of clouds. My question is how would I make my image move from right to left, also fro the background image to keep repeating itself while in movement. As I said before if no one understands my question I will try to explain it better.
Contining Motion?
I'm making a lacrosse game, and I need to know how to make a ball continue to move in the direction it was released. When the player has the ball they pick it up, then move the stick in the direction they want to throw and let go how can i make the ball continue going and make it steadily drop while it's moving?
Contining Motion?
I'm making a lacrosse game, and I need to know how to make a ball continue to move in the direction it was released. When the player has the ball they pick it up, then move the stick in the direction they want to throw and let go how can i make the ball continue going and make it steadily drop while it's moving?
Motion With Actionscript
Hi everybody,
here is, what I would like to do:
I want to have a movieclip in a button. On rollover, I want my movieclip to scale _x and _y let's say for 20%, but not in one move but in several steps as if it's going "up and down". I'm sorry its hard to describe for a non-native speaker but I hope you understand what I am looking for.
I want to do it with actionscript and I think it must contain acceleration and bounce variables. But I'm not sure. Can you help me or give me link to a good tutorial?
Thanx
ActionScripting Motion
-------I KNOW HOW TO MAKE A MOTION TWEEN------
How do you script an object to move from one side of the scean to the other using ActionScript. I am making clouds for a game and I need to know how to make them move very slowly using ActtionScript. Tweening uses too much K.
Thanks
Motion Guide Help
Well I have just begun to understand animation but have a quick question. Is it possible to create a motion guide from another program, fireworks, freehand, and than use it in flash.
I have tried drawing a spiral in Freehand, copying it, and than pasting it into the motion guide layer in flash, but the object does not seem to follow that path. If I draw the path in Flash it works fine. Any ideas, thanks for the help.
Erik
Simulation The Motion Of A Fly
hi friends,
I am currently trying to simulate the motion of a fly. If any one have you done some code on the same.. it would be great if you people could help. I am trying to use the combination of effects of a parabola and circle, etc.. Is there any curve you know which give an almost random motion.
Thanks in advance.
Pavan
|