Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: moving mc's w/ ActionScript S L O W L Y |
From: | Glen Rhodes |
Date: | Fri, 5 May 2000 17:23:30 +0100 |
You can't make it appear to be smoother than 1 pixel resolution.. but
Keep track of the MC's location in a variable, rather than incrementing the
Y property. So,
you can say
SetVariable:"y" = y + 0.5
and then setproperty("MC", _y) = y
That way, the object will move 1/2 pixel per loop iteration.
------------------
Glen Rhodes
dot com Entertainment Group Inc.
Tel: (905) 337-8524 x224
Fax: (905) 337-8630
www.dceg.com
-----Original Message-----
From: ownerchinwag [dot] com [ownerchinwag [dot] com]On">mailto:ownerchinwag [dot] com]On Behalf Of ryan
Sent: Friday, May 05, 2000 10:55 AM
To: flasherchinwag [dot] com
Subject: FLASH: moving mc's w/ ActionScript S L O W L Y
I want the background of my site to slowly slide up and down
I found a great script on Flash kit that let me do this, basically it
changes the y pos by one pixel and loops.
So if i need slower movment than that I can just spread the loop out but
then I get jerky animation, so....
Is there a way (via ActionSript) to move a mc _slower_ than 1px a frame?
any help would be great.
thanks
ryan schroeder
ryanbackriver [dot] net
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: moving mc's w/ ActionScript S L , ryan
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]