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




Advice To Make Smoother.



I just want to say that I know that the site isn't much to look at right now, basically put something up just to convey info for the time being untill I learn this program better. I wanted some opinions on how I could get the "transit" I have on the page to be smoother. Didn't know if there was a way that I could motion/shape tween a graphic symbol like this or not.

www.bndpa.com

Thanks for any help



FlashKit > Flash Help > Flash Newbies
Posted on: 07-29-2004, 11:01 PM


View Complete Forum Thread with Replies

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

Does A Pre-loader Make Your Site Run Smoother?
Does a pre-loader make your site run faster/smoother?

How To Make Text Scroll Smoother
Can anyone help me make my dynamic text box scroll smoother? My Flash document is set at 30fps and I use the 'onEnterFrame' method so surely the text should scroll smoothly?!

My movie is at http://www.joesmalley.com/news/news.html and the source is at http://www.joesmalley.com/news/news.fla

Or is it because of the text length that's jerking the scrolling?

Make Flash Site Run Smoother?
I was just wondering is there a way to make my flash website run smoother. If you look at the demo here:
http://www.hazardforum.co.uk/test

You can see its a little jumpy.

Is there anyway I can make it run alot smoother?

Thanks ;)

How To Make Smoother Animations In Flash
I am noticing that some animations can get jaggedy in Flash. How do you make it smoother, is it increasing the frame rate setting for the movie or some other settings?

What Can I Do To Make My Site Load Quicker And Smoother?
heres my site made with FlashMX
http://www.prologicaudiovisual.com
thanks!
K.

Text Scroller Download Can You Make Smoother Scrol
If I give you this text scroller download can you make it scroll smoother? Thats the challenge I havent seen one roll smoothe yet. Can you apply some code to make it scrol in small pixel amounts and speed as well? So that it rolls up or down the screen the same as movie words scrol on the TV screen?

http://www.geocities.com/jaffasoft2/texscroller.fla

Advice On How To Make This Script Less CPU Intensive Please
Hi All,
I have this file here which basically, takes how ever many clips you want,
It first gets the values of where the clip should go, with in the work area ( the mask), makes sure they all have equal spaceings, throws them on the stage, then cycles through all the clips over and over......

I will have four of these templates on the screen at one time, once one is finished it triggers the next one and so on.

My template is attached, feel free to rip it apart and play, feedback would be much appreciated.


Peace
D

Need Advice On How To Make A Movie Start On A Particular Frame
Can someone point me to a tutorial or a tip that shows how I can make a movie start on a particular frame? I have a Flash menu that is used on multiple HTML pages but I want it to start on a different frame of the movie depending on which HTML page is loaded in the browser. So if HTML page with topic A is loaded, then topic A is highlighted in the menu. When the user goes to an HTML page on topic B then topic B is highlighted in the menu. Pretty straightforward stuff, I'm sure the solution is riduculously simple or unbelievable difficult but I've seen people do it on other sites.

Currently I have 10 different Flash movies which I have to maintain and its a real pain in the butt.

Thanks,

Eric

I Want To Make A Morphing Star System, Need Some Help/advice.
Good day.


START

Im a flash n00b, but I know my way arround C++.

I want to make a dynamic star system, that can morph from their original random position (or a transition/morphed state), into chars, forming words.
Can I do this with ActionScript?

To do this I would need,
1. To show / hide star objects on a per frame basis.
2. To move star objects (x, y) on a per frame basis.
3. Have a class with a star array.


QUESTIONS

a) Can you make functions with ActionScript?
b) Can you make classes with ActionScript?
c) Can you make structs with ActionScript?
d) Can you make arrays with ActionScript?
e) Can you copy a object into a array with ActionScript?
f) Can you move a object (x, y) with ActionScript?


IMPLEMENTATION

This is aproximently how I want it to work:

#DEFINE MAX_STARS 500 // Max stars available

struct My_stars {
int id; //auto increment's the stars id number
int mypos_originalX, mypos_originalY;
int mypos_currentX, mypos_currentY;
int mypos_goingFromX, mypos_goingFromY;
int mypos_goingToX, mypos_goingToY;
int current_frame;
};

class StarScript {
public:
void random(int, int, int, int);
void text(string, int, int, int, int, int);
void update(void);
void original(int);

private:
void show(int, int, int); // id, x, y
void hide(int);
My_stars mystars[MAX_STARS]; // star array
string star_text; // holder for the morphed text
};

StarScript stars;

// Creates 50 stars within a x1, y2 .. x2, y2 box
stars.random(50, 3, 3, 40, 40); // number of stars, x1, y1, x2, y2

// Morphes the original stars to chars within a given number of frames
stars.text("f00", 15, 3, 3, 20, 20); // Text to be displayed, number of frames the morphing will take, x1, y1, x2, y2

// Returns the stars to their original position
stars.original(15); // Number of frames the morphing will take

---

(ex: 1 char = 20 stars.)
Let's say I want to write the word "hello" and I only have 50 stars visible.
StarScript::update would then spawn 50 more stars from the StarScript::mystars array.
(5 chars * 20 = 100, 100 - 50(<--MAX_STARS) = 50)

END

Any answers to my questions, tips or ideas? :-)

Thanks,
Nicolai Linde
Norway

Advice Required Please - How To Make A Viewport Window?
Hi all

Hoping I can get some help here - I've been fiddling with this for hours!!

I'm trying to use Flash to create what I call a scrolling viewport window. Essentially, I want to display only part of a large image at a time but, unlike the recent Flashlight example I need the viewport to remain a contant, immovable rectangle (say, 500x500px) and when you click & hold the mouse you can move around the area. Imaging a picture with a magnifying glass over it but instead of moving the magnifying glass I want my mouse actions to move the picture underneath while the magnifying glass remains still.
There's a good example of exactly what I'm talking about on www.simonnorfolk.com - go to any of the photo galleries, click 'larger image' and you'll see what I mean.

This is probably quite simple to do but as I've not used Flash for a number of years (like, 5 years!) I'm really struggling. I'd be very grateful for any pointers in the right direction.

Cheers!

Help, Tryin To Make Flash Blackjack Game...need Action Script Advice.
Ok I'm trying to make a black jack game with action script.

I have some dynamic text fields setup as "cards" the person clicks the "deal" button and a random number between 2-10 (I'm planning on getting into the whole Ace = 1 or 11 later) is generated in the *first 2 "cards".



*Prob #1- How do I disable the deal button, the way the game works the person could hit "deal" over and over and get it to constantly generate new numbers



The 3rd text field reacts to the "hit" button and again randomly generates between 2-10.



*Prob #2 - How do I setup a script to calculate when the person has gone over 21. I made a math game a while back that had an input text field. If the person entered the correct answer to the equation (ie: 2+2 = _) the words "correct" would appear in an answer text box.



code was something like :



if anstxt == (numb1 + numb2)

ansbox = "correct";



else



ansbox = "wrong";



You get the idea. Anyone out there know how to help?

[CS3] Smoother?
Hi you all,

Ive been working on a flash project, but i cant seem to get the animaion smooth:

http://grafikeren.com/index.php?id=13

Ive done like this: takes each individual picture at collected them in a movieclip, which i tween using the timeline. I tween it one pixel per frame, going at a 28 framerate.

Is there anything i can do to make this animaion smoother?

Hope a friendly soul can help me out.

All the best Jonas

Help With Smoother Tweens
Hello All,

I'm looking for a little help with an animation I'm working on. You can see an example by going to http://www.asset-point.com/v2. Right now it's at 20fps and it rings in at a decent 44K so it's not that bad..like a big jpg or something. Ignore the spelling errors, the text is just a filler for now.

Anyway, I'm looking for suggestions on getting the opening image and some of the other tweens to move a lot smoother, and it seems like changing the fps isn't doing anything. Could anyone suggest another way I can make this tween and or the whole animation look crazy sexy cool. Thanks all.

FYI, those images are not converted bitmaps, they are hand drawn using a combination of actual images and touch-ups. I think it gives it a slighlty more human feel. The comm room itself took f'in forever. (Pause it and zoom in on various parts)

Thanks in advance!

Smoother Animations
I'm guessing that the path to smoother animations is simply increasing the frame rate?? Am I right.

Basically I'm thinking if it takes object 'ball' 24 frames to travel from point A to point B, instead of only 12 frames, the animation is going to be smoother because of the extra frames along the way.

Right??

Help For Smoother Animation...
I just need to know how I can make my animation look smoother and not so damn choppy. I know I can increase the frame rate but some of my animation still shows up choppy. For example, how can I make my animation appear smooth like this site... http://www.wddg.com/johnmarksorum/
look at its intro and all the cool looking shapes with it. A little help please.

Smoother Download?
I've created a website in MX that uses the loadMovie action to call swfs from buttons and load them at level 0. There are two large swfs (nearly 400k and 850k) that, of course, take quite a long time to download from a dial-up connection, then play a little, then stop and play some more.

Is there a way that I can either a) compress them to get them to download more quickly without sacrificing too much quality; or b)have the browser wait for the whole swf to download before playing, so it plays through smoothly; or c)(*preferably*) both? Or, are these swfs just way too big for a dial-up to download reasonably?

Thanks so much.

Smoother Tweening
How can I smoothen the tweening?

I have made text, into the symbol of a graphic, as it will fade in, and move from a little distance a way.

I want the graphic to fade in and move smoothly within 5 maybe 10 frames.

I have put everything togather, yet when I use the tween, it makes the graphic move blocky.

Any help on how I can make the tweening more smoother??

Smoother Rollovers
Hi guys

I have made buttons that contain a MC with both rollover and rollout states.

I am trying to simulate the way the thumbnails appear in this navigation


All seems to be working fine except for when the mouse is moved over the buttons in a hurry and it almost seems to "freeze" all buttons in their state.

Anyone have any ideas on how to make it run a little smoother?

see attached

Thanks

Smoother Animation
I got an animation in one fla. file that plays very smooth (30fps). Now I need to use only some of that animation in another/larger file (30fps). So I copied and pasted half of the smooth animation into the new/larger file, but now it doesn't play smoothly. Is this a cpu problem? Why doesn't play smooth in the other file?

Smoother Avoidance AS
I am trying to have a movieclip move away from the mouse when the mouse gets near the MC.
This is what i have so far, but it seems very "jerky":
code: onClipEvent (load) {
left = 53;
right = 796;
top = 11;
bottom = 485;
}
onClipEvent (enterFrame) {
if (not(pause)) {
if (this._x <= left) {
this._x = Left;
myx = this._x;
movex = 0;
movey = 0;
}
if (this._x>=right) {
this._x = right;
myx = this._x;
movex = 0;
movey = 0;
}
if (this._y<=top) {
this._y = top;
myy = this._y;
movex = 0;
movey = 0;
}
if (this._y>=bottom) {
this._y = bottom;
myy = this._y;
movex = 0;
movey = 0;
}
xdistance = this._x - _root._xmouse;
ydistance = this._y - _root._ymouse;
distance = (xdistance * xdistance) + (ydistance*ydistance);
force = 1000/Math.sqrt(distance);
apply = force/distance;
movex = (xdistance *apply) + movex;
movey = (ydistance *apply) + movey;
this._x = this._x + movex;
this._y = this._y + movey;
}
}

Thanks for any help!
Victor

Need Smoother Movement
Hi,
I have the below code on my mc that holds a selection of images I need some help on refining the movement, it needs to be smoother its a little jerky as it comes to the end of the slide. Any help would be most appreciated.

onClipEvent (load) {
accel = 0;
rate = 0.15;
trace(_x);
x = 1;
_root.xkoord = 85.7;
}
onClipEvent (enterFrame) {
x = x*accel+(_root.xkoord-_x)*rate;
_x += x;
if (Math.abs(_root.xkoord-_x)<1) {
_x = _root.xkoord;
}
}

Smoother Swfs....please Help
Hi,
I'm optimising a few swfs at the moment and was wondering something. Say you've got a series of graphics as frames for an animation. The first time it runs it is sometimes jerky, and then the next time it's really smooth. Is there a way to have it so it's smooth from the get go, maybe run it in the background when it loads??
Thanks

Smoother-looking Animation
Is there some way I can make this look smoother? All I did was a very basic movement - 2 keyframes, the image starting at the top and ending at the bottom, and a motion tween. but it looks a bit jittery. And I don't want to make it any faster than this. Is this just a limitation of the software, or is there something I can do to make it look better?

http://www.kameli.com/flash/intro.swf

Smoother Movement, Please?
hi ,

a few days back i posted a thread requesting , how one could do the main flash animation at www.melroze.com on their homepage.

though i could achieve the partial effect there, i am not able to get the smooth movement on their homepage in my flash animation. the movement in my flash animation seems very abrupt and well not smooth as theirs. ( i suspect they have written some actionscript.)


could you help me out in achieving a smoother movement, please?

bye
susheel.j

Smoother Preloader
I've made my preloader, but I don't like how it grows - too fast, skiping some parts. How do I make it go slower & smoother?

Smoother Preloader
Any tips for getting a preloader bar to animatea more smoothly?

It seems really choppy as it progresses.


ActionScript Code:
this.onEnterFrame = function(){
    var amount:Number = (_root.getBytesLoaded() / _root.getBytesTotal())*100;
    square_mc._height = amount;
    if(amount == 100){
        this.gotoAndPlay(2);
        delete this.onEnterFrame;
    }
}

Smoother Tween?
when tweening images, png, etc .. its a bit jerky... any other method to tween so it flows smoothly?... AS?

Their Has To Be A Smoother And Easier Way For This Menu
Can one of you check out the attached file? Let me know if their is an easier way to do what I am trying to do. I would also like the submenu to start off of the page until the user does a mouseover one of the menu items. Can you help with this as well? Is their a way for the page to adjust to differnt people's monitors? Sorry for all of the questions.

::: Creating A Smoother Preloader :::
how can create a really smooth preloader

Smoother Random Scaling
hey is there a way to make a random scale more smooth? i attached a simple example of the random scaling, but its all jumpy.

thanks
ZG

Smoother Dragging With StartDrag..
How can i make the dragging smoother when using the startDrag command??

Animation Needed To Be Smoother
I spend hours making my animation smooth and I think I might be doing it the long wrong way. Let's say I have three pictures coming in and out. I take each picture and bring into the library. I create a movie clip and start with frame one to 30 and put the first picture there. I then create motion and have it start Dark to light on frame 1 to 5, then on frame 20 I fade to dark.

The next layer on top is the second picture and while the first is getting darker I use the alpha to bring this in . Then I fade it out after 29 frames etc..

You can see I use the timeline to do all this. My question, am I doing this all wrong? I notice others have really smooth transitions and wondering if they are using some other method. If so do you have detailed instructions.

Thanks

Why Is AS Amimation Smoother Than Tweening?
I read all over the place that it is, but I haven't seen why ActionScript animation is more smooth than tweening...

Smoother Flash Gallery?
Is this flash animation with images smooth enough between pics?
The images are like "building blocks " according to the client...
They only about 60kb!


Will the transitions between pics get smoother if I "break up" the images? ?


http://www.maisonmadeleine.com/test/images/untitled.swf


The file is only abot 500 x 300 px so you'll have to resize your browser size to that to see it correctly.

Smoother, Slower Scroll
Howdy!

I have written a code which affects an image due to the position of the cursor.

It is working fine and has the effect I originally designed. However, after looking at it time and time again I now which to make me movement slower and smoother.

This is my code:


PHP Code:




var scaleFactorX:Number = pic._width/Stage.width;
var scaleFactory:Number = pic._height/Stage.height;
function handleMovement() {
    pic._x = (_xmouse*-(scaleFactorX-1));
    pic._y = (_ymouse*-(scaleFactory-1));
    updateAfterEvent();
}
onMouseMove = handleMovement







Does anyone have any ideas?

Many thanks

Smoother Actionscript Rotation
I have a menu that looks like a ring and i'm using the actionscript

OnClipEvent (enterFrame) {
this._rotation += .5
}

to make it rotate, but the rotation isn't very steady and the menu titles seem jittery with the movement. Is there a way to make smoother actionscript movement?

Thanks,

LexThayn

[F8] Smoother Bitmap Tracing?
I always get pixelated lines, i want really smooth curves but i cannot get them.

I have tried every bitmap tracing option and it is still not very smooth.

Smoother Loading Site.
Hey Guys.

How is everyone? I'm looking for some advice, and tips to make a site up working on run better. The site is for a friends band, the site on it's own is around 2-3 meg, not to bad for loading. But I have also built a 3 track music player, which knocks the file size right up. I think the best way to load the site, would be to have the site load, then after start loading the music player, so users can view the site without having to wait for the music. I got the idea, I just need to the know how, on how to get flash to do it. Any tips or advice anyone can give me, will be ace.

Cheers
Ad

Smoother Text Movement
Hi everybody,

I have a small question. I made a site sometime ago - Sookerating. If you visit the site you will small phrases of text scrolling about on the top of the page. The entire sequence runs on AS. You will also notice that the text movement is choppy. Is there a way I could achieve the same effect...only in much smoother way. I thing the text is not anti-aliased too which is giving the letters a crude effect.

Any suggestions anyone?

Thanks in advance guys.

Smoother AS Tween And Alpha
Hi folks,

I'm pretty new on AS so I got some probs.
How can I make this Tween smoother?


PHP Code:



_root.attachMovie("mc", "cloud", 100, {_alpha:0, _x:200, _y:400});

cloud.onEnterFrame = function(){
    this._y-= 6;
    this._alpha+= 2;
    if (this._y <= 110) {
        delete this.onEnterFrame;
    }
}; 




It would be great if somebody could help me with that.
thx a lot.

Smoother Movie Required...
Hi,

I have this movie of a jpeg expanding from a small box (alpha 2%) to a big box (alpha 98%), but the animation is jerky. Anyway of getting over this?

Thanks

Smoother Drawing Board
this morning i suddenly remembered a post a while back about some one wanting to smooth lines drawn using the drawing api from the drawing board tut an i thout of the simple solution - dont do it from the mouse, do it from an eased mc which follows the mouse.
so i simply combined the 2 tuts (one for mouse following with easing and the drawing board tut) and came up with attached...
one problem tho the post doesnt turn up in searches (too old i presume.... god only knows how old the post was!! :S lol)
but neway... if whoever it was is stil lookin for the answer, here tis...

Prophet.

Smoother Lines With Drawing Api
I am doing a little bit of experimentation with the flash drawing api and have run into a snag. I don't have a point to use for the curve to function (bx, by, x, y) but i do have the x and y.

is there a way to smooth the lines that are drawn with actionscript similar to the way that the designtime environment smooths the lines as you draw them.

Making This Animation Smoother
Hey everyone,
I'm working on this site and I'm having a bit of trouble with the smoothness of an animation. I'm still early on on this site... Here's how the rays spin. They are set to spin every 10 seconds. The rays are a vector shape which is masking a full size layer of blue colored wood texture. So when that way all the pixels align on the rotation and all. Anyway right now it seems kinda jumpy and not very smooth. Is there anyway to make this better?

http://extstudios.com/clients/the_rocket_summer/flash/

Flash MX 2004
Flash 7 export.
AS 2.0
30 fps
animation is 30 frames long

any suggestions on how to make it smoother?

Smoother Frame Generator?
Create a circle in frame 1.
Move the circle in frame 2.

Any program for Flash5 or function in flash 5 that generate a picture between frame 1 and frame 2. then move away frame 2 picture to frame 3 and the generated picture in frame 2. So this will have a smooth animation.

Does any program does this or have the simliar outcome but difference method?

(Hmm, please dont ask me to use "montion-tween" because this is a example. If i use montion tween in my animation, it seems to be more complicated to be done, Thanks.) (^_^)

Gallery Code - Can It Run Smoother?
Hi all, I'm working on an XML driven picture gallery and by cobbling together odds n' sods from this forum I've managed to get a close approximation of what I'm after. My AS skills are in their infancy at present so I'm hoping that someone can look over the code and let me know if there's anything in there I don't need or if there's a better way of doing it. I've attached the code in an FLA below.

Cheers kids.

Smoother Movie Required...
Hi,

I have this movie of a jpeg expanding from a small box (alpha 2%) to a big box (alpha 98%), but the animation is jerky. Anyway of getting over this?

Thanks

Smoother Lines With Drawing Api
I am doing a little bit of experimentation with the flash drawing api and have run into a snag. I don't have a point to use for the curve to function (bx, by, x, y) but i do have the x and y.

is there a way to smooth the lines that are drawn with actionscript similar to the way that the designtime environment smooths the lines as you draw them.

Smoother Transition Between Swfs?
For the life of me, I can't figure this out. I am making a layout that uses a main swf and then transitions between other swfs for the different sections. The transitions are fine, but between each there is a flash of white (the empty space of the main container) before it loads the next swf. At first I thought it was just the preloader layer because i had nothing for the background. After applying the corresponding background to each swf and trying it again, I still get the same result... just shorter. My question is this: How do I get the transitions to go either immediately after one another so there is no flicker, or how do I get the incoming transition to load in just before the other goes out? I'm an utter newbie at ActionScript if that helps in. Hell, I'm a newbie at Flash period.


Link to example: http://webpages.charter.net/reynoljg/new/portfolio.html

Link to fla files: http://webpages.charter.net/reynoljg/flas.zip



Thanks,
jason

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