ActionScript 2.0 :: Make The Animation Run Smoother?
Mar 5, 2007
Im changing the quality of a loaded clip with this._quality = "low" to make the animation run smoother, but it affects the parent clip as well, which I don't want it to do.
View 1 Replies
Similar Posts:
Mar 5, 2011
I have made this animation, please click here to see it.
Username is hitenkajal.co.uk
password is sairam11
However am not happy with it because its not very smooth. I will like my animation like this [URL].
View 5 Replies
Jul 5, 2010
I wanted to make a flash game,it's about some fish swiming in a tank.All the fishes swim randomly,i don't need any rotation,just left and right direction will be fine with me.But the result is their actions are really odd. how to make them swim just like real fishes?And there's also another problem.When the number of fishes increased to 50 or more,the framerate will drop rapidly.
Now I use Tweenlite to control the swiming action ,and it works very well.But the framerate still drops if i add more than 40 or 50 fishes to the tank.I think there must be a better way to do this.
Here's my code
public function onEnterFrame(event:Event):void{
var time:Number = Math.sqrt(Math.pow(xOffset,2)+Math.pow(yOffset,2))/speed;
TweenLite.to(this,time,{x:x+xOffset ,y:y+yOffset*0.5 ,ease:Quad.easeOut,onComplete:moveComplete});
}*/
xOffset and yOffset in the code are random numbers
View 1 Replies
Sep 18, 2011
I have a problem where the images look a little pixelated because they have been scaled down alot, just need a way to make everything appear smoother.
I need the game I'm making to look high quality and also work at different resolutions so when I made all the graphics I made them massive and same for the stage size in flash.
The stage size is 2000*1500 and it's being scaled down to 800*600 which is an exact ratio, I didn't expect to see pixelization when scaling the images DOWN, that's why I made them so large.
If there's no options for smoothing things out, then does anyone know the best option for swapping images at run-time? This way I can have pre-made images for all the most popular resolutions.
View 1 Replies
Dec 1, 2009
I found a script to make the animation follow the mouse movement and it needed to stay in fixed boundaries. I have 3 different mc 1 behind the other and moving at a different pace to give a illusion of perspective. But here are my issues;1-It works but when I open a new window in the browser the mc(s) are disappearing. 2-And I would really need to ease or smooth the animation a little. I would like the mc(s) to continue to move and stop slowly after I already stopped moving the mouse. how to script both or even 1 of these ? Here's the code I am using now;
function loopX(e:Event):void
{
var xDist:Number = mouseX - 24000
[code].....
View 0 Replies
Jul 5, 2009
I've got a tween which is called using an ENTER_FRAME event listener, as I need the movieclip to constantly tween until it's selected. However, the tween isn't very smooth, it's very jumpy and I'm guessing this has got something to do with the ENTER_FRAME event being constantly called. Is there a better way of creating a smoother tween?
Here's my code...
ActionScript Code:this.addEventListener(Event.ENTER_FRAME, ballFloat);private function ballFloat(event:Event):void { var myTweenX:Tween = new Tween(this, "x", Regular.easeOut, this.x, randomXBoundary, 10, true); TweenX = myTweenX; }// end of ballFloat function
View 4 Replies
Apr 29, 2004
I normally spend hours battling with the simpliest AS and eventually work it out.I've trying to run the following AS applied to a button:
on (rollOver) {
i = getProperty(this.button01, _alpha);
while (i<100) {
if (i>100) {
[code]....
The action seems to work, however the increment is instant and I want to achieve a smoother transition.
View 10 Replies
Apr 11, 2007
I was looking through the tutorials on kirupa and i stumbled across the dynamic animating mc's and i was intrigued. So i made a canvas graphic real quick and imported it into flash and tested it out. at first it didn't look so good not like paint on canvas, then i changed the blend to overlay and it looked much better.I would like it to have a smoother transition so you don't notice the circles and no jumping.
View 2 Replies
Sep 19, 2007
What's generally going to run smoother, result in lower file size, and/or drag less:
if (condition){move a clip from here to there and if it goes too far, bring it back;}
else (!condition){do nothing, let it sit;}
move a clip here or there, regardless of any condition, so it's always moving, and bring it back if it goes too far;
View 5 Replies
Aug 15, 2008
I have this RPG-like screen where you have a character walking through.. the forest or something.. and the thing is.. it's lagging.. LOTS..On that scene.. there are quite a lot of Tree graphics and grass graphics.. I've tested this and apparently graphics run a lot smoother than movieclips with bitmap caching on..Also.. My character has lots of different hair styles all put into one movieclip.. and i thought that by removing them all.. and just have a attachMovie() script to pull in the appropriate hairstyle clips.. it would go faster..but apparently it doesn't seem to of made much difference..what other ways can i reduce the lag on flash?
View 1 Replies
Mar 2, 2010
If I load a swf in FlashPlayer standalone, it will play nice and smooth. If I load the HTML it's embedded in (with SWFObject) in a browser it stutters like hell. If I use my browser to open the swf on its own, that runs nearly as smooth as in the standalone player.
That the standalone player runs smoother is understandable, since it then doesn't need to go through the browser layer. A slight performance decrease when adding the HTML DOM layer is also understandable, but in my case the difference is huge!
If I were to guess:
Standalone: 100% (benchmark)
SWF in browser: 90%
SWF in HTML in browser: 30%
View 4 Replies
May 1, 2011
I'm trying to get smoother steps in checking the ProgressEvent when loading the image to the Loader.At this moment my eventrogressEvent checks the progress aprox twice within a second. Is there any way to make it check constantly (or more often), so the progres bar "grows" smoothly instead of "jumping"?
View 9 Replies
Jun 18, 2009
can someone please help me or teach me how to make an animation where drawing is involved. its like this, im teaching preschoolers how to write letters and numbers. straight lines are easy to do but i could do the curve lines.
View 2 Replies
Nov 3, 2009
I like to know if you can animate and how,i like to know like for an example:Your done with fram 1,you make fram 2,you erase some stuff.And it shows like shadows of frame 1 so you can make it look good.Anything i can use for Flash CS4?
View 1 Replies
Aug 23, 2009
I don't know, whenever I try to make a sprite animation and I click on Trace Bitmap, it shows a loading bar, I wait and wait, and when about more then half is done loading, and a little is left, the screen freezes, and I cant even click cancel to stop the loading bar.
View 6 Replies
May 14, 2011
I'm trying to make an animation similar to the ones on these websites, scrolling images with a navigation bar to return to an image.
View 1 Replies
Jul 4, 2010
My best friends birthday is around the corner, I want to make a flash animation by myself for her. But I dont know how to make it
View 2 Replies
Sep 6, 2010
I'm building a web site for a client. He asked me to make an animation on the homepage to show at start a world image / a globe (just the company logo) that "expands", like if it opens (from behind) into a plain map (which is another image) of the world and then show a text over it. I know and develop in PHP / MYSQL / Photoshop / JQuery effects/plugin but sadly (are we sure ? :P ) I know nothing about flash and actionscript.
So I was wondering if you could guide me to what to do, where should I start?Consider I video edit since 2003ish so I'm not lost here, I was thinking making a video about it and the show it on the page but doesn't feel like a good solution considering that the last frame should be static and more importantly the file size!. Is at least possible to do it in Flash?
I have an advantage over this situation though: I learn fast, so speak up :) what should I do?
View 2 Replies
May 6, 2011
I want to create a car animation using ActionScript code. The car is supposed to move repetitively between two end points. Someone mentioned using flag or addeventlistener to me, but I still don't have any clues.
View 1 Replies
Mar 26, 2009
I am trying to make a animation of a mc that comes on the stage with a descreasing blurX property. I've created a class of this mc in the library called txt_1. Here is the code:
Code:
import fl.transitions.*;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
import flash.filters.BlurFilter;
[Code]...
I do want make a Timer with "newTween();" method and I also know that i need to aply the "MOTION_CHANGE" to the blur array. I don't like those ready to use Tweeners, so that is not a option for me.I like to learn how things realy work.
View 2 Replies
Dec 15, 2004
I wanna make book animation in which pages of the book flip here's an example from some website - [URL] how to make it. or tell me if there's a tutorial.... If you know how to make it, can u also tell me how to make it so the user does NOT have to click to flip pages? [URL]
View 14 Replies
Jun 19, 2004
I have a movieclip that shows an animation onRollOver and an animation on RollOut but onRelease the animation enlarge itselfs but now when I'll roll out when the animation isn't open (so i didn't release) the animation plays the animation for the minimizing of the animation. Here's my code (I know its a bit amateuristic but I'm not a programmer )
[Code]....
View 4 Replies
Jan 2, 2010
The first question: How do you make a symbol a looping animation? Say I want to make a short loop which I can repurpose later.. something such as a falling raindrop or a moving mouth. A webseries I enjoyed when I was younger, Bonus Stage, used the same moving mouth animation most of the series.. I'd like to learn how to make that.
The second, and I'd like to take advantage of the tag on the link leading to this forum that reads "there is no such thing as a stupid question in here"... How do you change the size of the brush tool?
View 1 Replies
Mar 14, 2010
I haven't used Flash in quite a while and wanted to make an animation to display quite a few photos. As i'm out of practice, linking videos kind of skipped my mind and therefore my first file which has lots of images in has become quite heavy and slow to run.My problem is... Is there a quick and easy way i can directly switch one part of an animation with another, keeping all the tweens and actions that are on it? (EG I want to switch out images for the same images saved as smaller files)
Or, is there a way i can scale down the movie in size to make it run smoother? I am going to have quite a lot of photos in a series of linked videos, but as i forgot about it, my first video has too much content and is too big in file size. It can be quite big as it's only for use on my mac (not online) but i still need it smaller as it won't run smoothly.
View 1 Replies
Jun 26, 2010
So I'm making a platforming game, how do I make my character have a different animation for when he runs or jumps?
View 4 Replies
Oct 9, 2010
I currently made a flash animation. the background is the only one that is animated and scrolls to the right. But my problem is why it lags? Is there any way to not make it lag? here's a link of the swf file you can view: http:[url]......I tried it on a high spec pc and it does not lag when it is in normal screen(640x480) but when I view it in full screen it lags. There are no scripts or anything in this file just animation.
View 1 Replies
Jan 31, 2011
I'm trying to make an animation and it seems like an impossible task. I'm not a beginner, and this is harder than it first seems to be.So this is what I need: to make a tween between a partial small circle to a big circle. What I mean is I want to use the Oval Primitive tool and on frame 1 I'll have a circle (radius 100px) with Start Angle: 0 and End Angle: 230 and on frame 50 I'll need the same 100px circle with Start Angle: 0 and End Angle: 300.
View 1 Replies
Jul 1, 2009
im tryin to develop a game, and i wanna make a flash and in that i wanna make my letter to have typwriter kinda animation. Like you know in RPG when NPC are talking the letter are going one by one.and also how do you make it so that when any button are pressed then its going to go to the next thing.
View 1 Replies
Dec 10, 2009
Ive been trying to make a flash animation i created into a link but have been unable to figure out how.
View 1 Replies
Nov 18, 2011
I'm learning flash animation and am wondering once I save the flash file to a dvd format, how does the end-user navigate when they put the dvd into their TV? Do I need to design and incorporate a menu for the end-user? If so, how does the TV remote control navigate through this menu that was created on a Mac computer?
View 2 Replies