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




Smooth Moving Simbol



Does anybody knows how to create this smooth mouse moving animation? Here Is The Link



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 06-29-2006, 05:49 PM


View Complete Forum Thread with Replies

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

Smooth Moving MC
i want to be able to make any mc move using the arrow keys smoothly (similar to this), it obviously doesnt work i cant figure out why...
here is the code, with it, it can only move properly up:



ActionScript Code:
_root.onEnterFrame = function(){
    moveplayer();   
    wrap();
    moveplayer2();
}
function moveplayer(){
    player._y += player.dy;
}
function moveplayer2(){
    if (Key.isDown(Key.UP)){
        player.dy--;
        if (player.dy <= -10){
            player.dy = -10;
        }
    } else if (!(Key.isDown(Key.UP))){
        player.dy++;
        if (player.dy > 0){
            player.dy = 0;
        }
    } else if (Key.isDown(Key.DOWN)){
        player.dy++;
        if (player.dy >= 10){
            player.dy = 10;
        }
    } else if (!(Key.isDown(Key.DOWN))){
        player.dy--;
        if (player.dy < 0){
            player.dy = 0;
        }
    }
}
function wrap(){
    if (player._y < 0){
        player._y = Stage.height;
    }
    if (player._y > Stage.height){
        player._y = 0;
    }
}

i even tryed separating the movement into 2 functions (moveup() and movedown())

if i take out the else if in line 20, and just use if, it will only move down, but very slowly.

fla attached

Any suggestions?

Smooth Moving
Hello Kirupa people


I love this site from joshua davis , im trying to do the smooth animations on


http://www.vw.com/phaeton/mini/flash.htm

(click on the gallery and u will see the text pop up and if press the down button it does this little animation that minimizes the text.

Is that action done using action script its soo smooth!! im trying to do it with just Tweens but it doesnt come out smooth like that.

?!

Smooth Moving
Hello Kirupa people


I love this site from joshua davis , im trying to do the smooth animations on


http://www.vw.com/phaeton/mini/flash.htm

(click on the gallery and u will see the text pop up and if press the down button it does this little animation that minimizes the text.

Is that action done using action script its soo smooth!! im trying to do it with just Tweens but it doesnt come out smooth like that.

?!

Smooth Moving
I have a big jpeg, bigger then 2000 px in width and I want to make it moving along my screen.

I made this using some help from this forum: http://www.geografie.dap.ro

I made those images using this code:

onClipEvent(enterFrame) {
this._x -= 2;
if (this._x <= -1870) {
this._x = 0;
}


Now I want to aplly this to only one image, but it didn't work.
Can somebody who knows some actionscript to give me a hand????
Thanks!

Smooth Moving By Code
Hope this isn't too basic a question ... How do I smoothly move/scroll a movie clip with code - activated by rolling over a button?

In other words, I want the user to rollover a button and that to cause an image to move smoothly a certain distance and then stop.

Thanks, appreciate any help
Peter

Smooth Moving Images?
Hi,

Whenever I try to animate large images, they always chug along terribly. But this website does it in such as way that the images tween gracefully, almost like video.

http://www.group94.com/#/website/wor...wide_business/

Anyone know how it's possible?

Cheers!

Smooth Moving Navigation
Does anybody knows how to create this smooth mouse moving animation?

Here Is The Link

7 Different Objects Moving Randomly Smooth
Howdy ... I have 7 different objects on my stage, and they should move randomly and smoothly ... I have tried the Kirupa Tuts here, but i had no luck to build my own random movement smoothly (coz they all use only one MC to make the effect)

anyone can help me with that ???

cheers

ChromeD

Smooth Moving Icons Menu
Hi,

Does anybody know of any tutorials or can anyone give any advice regarding how to create the movment in the following template... http://www.flashmint.com/show-template-2003.html

THANKS!!

Smooth Moving A Movie By Code
Hope this isn't too basic a question ... How do I smoothly move/scroll a movie clip with code - activated by rolling over a button?

In other words, I want the user to rollover a button and that to cause an image to move smoothly a certain distance and then stop.

Thanks, appreciate any help
Peter

Movie Simbol Buttons
I just made some movie simbol buttons
they're working nice, I did even link'em to the
other scenes,links are working !
my problem now is that when I go
to another scene my movie simbol button animation
doesn't work anymore, link is working but animation on my movie
button doesn't !
also I want a code to eliminate
another movie in the specific scene, each scene contain
an extern movie,
here's the code I've done


onClipEvent (load) {
this.onRollOver = function() {
gotoAndPlay(2);
this.onPress = function() {
tellTarget (_root.gotoAndStop("profilo")) {
}
};
this.onRollOut = function() {
gotoAndPlay(11);
};
};
}

can anyone help me ?

Add Link To Movie Simbol Buttons
Hi !
I still have a big problem here, I made some
movie simbol buttons, they're working nice but I really
can't link them to another scenes, can anyone give me a
good advice or just give a fla to learn how to resolve
this problem?

Add Link To Movie Simbol Buttons
Hi !
I still have a big problem here, I made some
movie simbol buttons, they're working nice but I really
can't link them to another scenes, can anyone give me a
good advice or just give a fla to learn how to resolve
this problem?

How Did I Move The Legs Or Hands Of My Simbol?
How did I move the legs or hands of my Simbol?

Thanks,
Guy.

How To Control The Playing Frame Of A Movie Clip Simbol?
Hello!

I have a movie clip symbol named "kt" let's say wit 10 frames. I put it on the scene. How can i control the Movieclip kt and make it play frame #2?

Thanks!

Anastasios Yalanopoulos

A Smooth Scroller, A Real SMOOTH One :O(
hi there

in a previous posting, one told me that the macromedia scroller component takes a lot of memory, wel i checked it and that is absolutely true...(!!)

but you have to be honoust, it's a damn good text scroller....

does anybody have a super simple but SMOOTH alternative, because sorry to say, but all the scrollers that i have seen on the flashkit site so far, are very jerky.... :O/

Greetz
melvin

Smooth Bar Preloader - Truly Smooth...
I have been making flash movies for a long time now, and have used many different preloader that claim to be smooth or whatever.

Unfortunatly I have yet to find a truly smooth preloader. They always end up stopping for a little bit or a choppy bar animation (skipping from say 40% to 50%)

2advanced and all the big namers all seem to have perfect preloader that go through each percent perfectly and no chopping of the bar at all.

Can anyone point me in the direction of maybe a good component or preloader source you have used and are satisfied with?


Thanks a bunch fellas

Moving Vertical Bar Which Holds Moving Thumbnail Images When Mouse Is Over
Hi!

im not completely new to Flash MX - have utilised all basic animation tween/morphing /buttons
and very simple action script- movie controls - stop , back ,forward etc

however i need a moving bar feature, e.g. a moving news reel or a vertical bar which holds a number of images i.e.10 and
when the mouse is over - i want it to move downwards and when is not over the feature i want it to stop moving
(or even instaed of the feature to automatically scroll images i could also use a button to press to move through the images)

then: the thumbnail images from the moving feature i need to be selectable which then produces a larger version of the image on
another section of the page.

i dont no if i put this thread in the right forum!

if any one knows of any tutorials or has any suggestions to help implement this feature

i would appreaciate any help!
- dont really know where to start with it!
thanks

(i have looked at the flash kit tutorials but havent found what im looking for
dont even no if this is more of an animation or action script questions)

Slowly Moving Smoothly - Moving Photos And Pixel Smoothing
So, I'm slowly....very slowly moving a small thumbnail across my stage. The problem is that when the pic moves over a pixel it looks choppy, I want it to look smooth. The border of it looks especially choppy, it's distracting from the site.

Is there a pixel-smoothing option for the stage? or some equivalent?

Does my question even make sense?

Please help.
Thanks

How Do You Click On A Moving Button And Make It Stop Moving?
How do you click on a moving button and make it stop moving? Kind of like shooting a moving person i a flash game and they stop and die???

Moving Running Forward But Elements Moving Off Stage
I'm positive I've done it by the book. All symbols on the stage - one by one dragged them off the stage creating timelines - about 6 layers. Play the movie and all the elements start on the stage and move off. Just the way I wanted it but in reverse. Simple vertical and horizontal motions. My mistake must have been in the beginning somewhere - but where ?

Moving Across A Photo While Mose Moving With Acceleration
Do you know how to do this?
Example pages:
http://www.407.peugeot.com.pl/
http://www.pivotdesign.ca/

Moving Menu And Not (yet) Moving Arrows
Hi,

The title I guess say it all, huh?

But just to be sure.

I have a main menu wich goes right or left. Depends what categorie you choose. When it goes left I have to load a arrow movie wich goes left and for right has to load a moviw arrow which goes right (and not wrong). Thats means that there are two movies: arow left movie and arrow right movie. And both have to react at the moving menu, which were to load and play.
So first level would be the menu which ships from right to left.
Second level (under the menu) one of the arrow movie has to load depending which direction the movie goes.

(now Im confused. What was there I wanted??? A, right!)


I figured out that maybe its more confortable to load it from the library but also if it can be loaded from external files I dont mind. (I did the container thing before so I understand it a bit.

The arrow movies are movies played in the background, as the menu remains on top all the time.

The script for animating the menu is:

onClipEvent (load) {

_root.newposition = "null";

}

onClipEvent (enterFrame) {

current = getProperty(_root.drop, _x);

if (_root.newposition<current) {

distance = current-_root.newposition;

setProperty("_root.drop", _x, current-(distance*.1));

}

if (_root.newposition>current) {

distance = _root.newposition-current;

setProperty("_root.drop", _x, current+(distance*.1));

}

}

Moving Mouse Image Moving
hi everybody. i'm using flash professional 8 and i want to create something like this: http://www.kenzoparfums.com/FR/home/home_FR.html when moving the mouse on the stage the hole stage moves. how do i do that? thank you

Moving Objects: Moving Keyframes?
Can I move multiple layers on a timeline, so that they will all move. Basically I just want to move the location of the multiple layers.

Whenever I do this, it seems to move only some of them and thus the whole animation is messed, different starting points and ending points...a big mess.. It makes me want to cry.



Seems like there is an easy answer or I might just be the biggest chump on the planet.

Case

Moving Objects: Moving Keyframes?
Can I move multiple layers on a timeline, so that they will all move. Basically I just want to move the location of the multiple layers.

Whenever I do this, it seems to move only some of them and thus the whole animation is messed, different starting points and ending points...a big mess.. It makes me want to cry.



Seems like there is an easy answer or I might just be the biggest chump on the planet.

Case

Moving Across A Photo While Moving Mouse
Do you know how to do this?
As seen on 'http://www.pivotdesign.ca/'
main page.

Moving The Stage After Resizing - Or Moving All Objects On The Stage? Heeeelp
Hello! I'm in dire need of help!

I've been forced to resize the stage of my movie but as the stage is expanded to the right and down everything ends up in the wrong place. So I wonder:

Is there any way to move the stage rather than the contents thereon?

or

is there a way to move all the content on all layers and even all scenes simultaneously?

or

is there a way to expand the stage equeally on all sides rather than just right and down?

THANKS ALOT TO WHOEVER COULD HELP ME!


Freddy D, Stockholm, Sweden

Still Not Smooth With 24 Fps
Hallo,
I have searched for this item on flashkit, but have still not found the right answer to my problem.
So sorry for starting a subject that is already often discussed.
I am making a motion tween animation with a grouped object, that simply moves across the screen.
At 12fps it was not smooth, so I tried 24. The result however is still far from what I had in mind.
At last I made the timeline 3 times as big (almost 1000 frames) and did the same with de movierate 72fps.
Then the result was goed enough, though still not as smooth as many of the professional flashmovies I see.
Now for all I kow 30fps is considdered about the limmit for internet use. So I think my solution is not the right one.
You can see all this at http://home.planet.nl/~chhibeck/flash.htm

Could anyone answer the following questions for me?
Why is the movieclip-bird smooth, the man not at all and the ball (a non-grouped object) a little bit, though they all use the same amount of frames over the same distance.

Thanks a lot.

[F8] Smooth
A regular preloader shows the data coming through as chunks the the bar increases in size from 50% to 68% to 90% and then 100%. Is there a way to make the animation of the growing bar smooth? i.e. it grows smoothly from 50 to 51 to 52, etc until it reaches 100% without jumping the way the data actually comes through?

I am using the old good _root.getBytesLoaded()/_root.getBytesTotal() to create my preloader.

Extra tips on making a more efficient preloader would be appreciated.

Smooth In 7 But Not In 8
Hi

Can somebody help me

I have this bounce script that looks great and smooth in Flash 7. If I use the same script in F8 it got a weird twitch on it.

onClipEvent(load) {

this._y = -30 ;

endPosy = 230;

movey = 20 ;

}

onClipEvent(enterFrame) {

currentPosy = this._y;

diffPosy = endPosy - currentPosy;

movey = movey + diffPosy/4;

movey = movey*0.85;

this._y = this._y + movey;

}

How So Smooth?
Hi

Do anybody know how they at http://www.pulseworks.tv have made the effect which increase the size of the window (I mean the place where the intro has played, and the site is comming, it's like fading so it looks clear ) How is that made so smooth? The windows increase without it looks like it lags. So does the site run in a higher framerate than 12 FramesPerSecond? Or anyway how is it made?

-Mikkel

Smooth...
Hi, how I can remove the smooth when I draw and in the animation, to obtain pixel-lines?

TNX

Smooth
my friend wants soime people to say what they think about this. Im posting it on kirupa for him


http://www.thehatguy224.tripod.com/sofar.fla

Smooth Pop-up With As?
Can i make a smooth pop-up with actionscript (not javascript)
to display picture, info...etc

like, start small to actual size, on close reverse or some thing interest

How Do I Smooth A Mc?
i am animating these mc with as, but i do not like the way the lines are displayed sharply.

http://alanwhitedirector.com/index3.html

Do you guys know how to enable smoothing in as code?

Smooth Rotation
Im hoping someone can help, I have a compass which I want to rotate when I move a slider bar. The two need to correspond so that wherever the slider bar button is stopped, the compass will stop at that bearing, but in addition to this i would also like this to stop slowly. does anyone have the nessesary action script, or could point me in the right direction? cheers!!!

Smooth Dragging
Ok. How do you make a movie clip drag smoothly, independent from the frames per sec of the movie? I know you have to use the "update after event" function but you can only use that in the actionscript of a movieclip. I don't see how you can use the "startdrag" action along with "update after event" function and using the _xmouse and _ymouse properties as a way to drag the movie causes the center of the movie to snap onto the cursor position. I want the movie to drag and update with the mousemove without the center of the movie snapping onto the cursor. Please help me. Thank you!

Mook
[Edited by pvyguitar on 08-06-2001 at 06:58 PM]

Smooth Movement
Hi,,

I am new to Flash. I created a scene with an object. I have included 15 frames from the first keyframe and set to motion tween.

Now when I play the scene, the object doesn't move smoothly from first frame to last frame. The movement is kind of broken. Am I missing something here?

I have seen many flash files with very smooth moving objects. How do I do it?

Any Help will be appreciated.

Smooth Animation
hi,

I have been playing around with animation in Flash 5, but it just doesn't seem to run smoothly and quickly, like many of the animations I have seen when I play it. I have tried low and high frame rates, but it still seems jagged. Can anyone help?
Thanks

Smooth Random?
hello!
i got this random script from a flash book. it makes the ball bump around randomly in a area 200x200. is there anyway to make it smooth, instead of the circle popping about here and there?

bluX = random(200);
bluY = random(200);
circle._x = bluX;
circle._y = bluY;

thanks!
nitroblu

Smooth Anim
How do I make the animations run smooth??

I have one word that i want to fade in and move to the right and then fade out!!

But it dosent run smooth!

I have tried changeing the framerate but with no luck!!

Please help!!
Evoleus!

Smooth Rotation
How can I make the needle rotate smooth not jumping around...?
http://kotisivu.raketti.net/looser/test/rotation.swf
=/

Smooth Animation?
I have a blackboard image that I have saved in my library as a button. I have this animated over 48 frames to look as if it is a blackboard bobbing up and down in midair. I also have a shadow underneath which is animated accordingly to enhance the effect.

I would like to add interaction so that when the mouse is clicked over the bobbing blackboard it expands, as if it is coming to the front of the screen.

I am having trouble understanding how I can make this happen smoothly. Obviously the mouse click can occur at any time throughout the animation and therefore the board can be at various positions on the screen. I have tried looping these 48 frames until the mouse click then going to a new frame and carrying on the animation from here. This makes the blackboard literally jump depending on where the blackboard is at the time of the mouse click (up or down).

Is it achievable to have the blackboard expand (as if it is coming to the front of the screen) seamlessly from whichever point in mid-air it is when the mouse click is made.

Am I in the right direction in thinking that I will need to somehow tell the movie to carry on playing until a particular frame is reached whereby the following part of the animation (the blackboard expanding) will look smooth?
The script will effectively say: if frames are less than frame ??, then carry on until frame ??, then play frame ??

I hope this message is comprehendible for I am only a newbie…

How Do They Make This So Smooth?
Take a look at the scrolling banner at the top of this page --> http://www.voyageur-gear.com

The banner has 18 images, scrolls VERY smoothly and yet the animation is only 33.5K. How in the world do they do that?? I have tried to make a banner that scrolls just as smoothly by upping the frame per second to like 50, but then the movie ends up at over 250K!!!

HELP ME PLEASE!!! How do they do that??? Is there some action scripting going on in there that helps it out or is there some trick that I don't know about?

Thanks in advance...

SMOOTH NAVIGATION HELP
I have a question and was wondering if anybody could help me. I want to make a site which you can navigate the whole site in one scene (movie). Like when you click on profile, the contents of the profile is viewable on the same home page but in a specified section of a page, or when you click portfolio the preloader loads in the same page, but again in a specified area. Some thing like this site http://www.csoft-sys.com/2001/soft.html How is the section for the contents defined. I also want a preloader within that area. I was wondering how is this possible.Thanks in advance

How To Keep Photos Smooth?
I posted this in general help but with no response so far. Perhaps they think I should know this so now I'll try the readers of this folder.

When motion tweening a photo, resizing the photo larger or moving it (in this case diagonally), on playback, there are "twinkling" pixels. I don't know if this is called some term, perhaps "crawling, but I tried a supposed fix for crawling which didn't work.

Any help truly appreciated.

Smooth Tweening
Hi all
For example if you type in some text in Frame one
In Frame 20 you add another key frame
Create a tween, so that the text MOVES between the two points
The movement seemd a little jagged.
How can you make the movement smoother, I ahve looked at easing and increasing/decreasing frames or even extending the number of frames but this doesn't seem to help.

Thanks
A

Smooth Tween
Why is that when I create a simple graphic (lets say a square box) and create a motion tween it is very choppy moving across the screen. Frame rate 24fps

Que

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