Ask a Question related to Macromedia Director Basics, Design and Development.
-
NeilT31 webforumsuser@macromedia.com #1
Redraw Help
Hi,
I'm pretty new to this and I have to make a uni project. I have a repeat while loop, which works correctly but I want the screen to redraw so the item moves accross the screen in a series of jumps instaed of one big jump? Animating accross the screen gradually would be better but I understand that this maybe very difficult.
Many Thanks
NeilT
NeilT31 webforumsuser@macromedia.com Guest
-
TileList redraw bug?
Hi folks, Is there any known bug with the TileList component? Basically, I display thumbnails in the TileList component with custom itemRenderer... -
another slow redraw
I think for everyone person that says they do not have this problem, there is one that does. I do. -
redraw problem
Hi I am having strange screen redraw problem in Flash MX, after filling background in Action Script beginFill(somecolor, 100) moveTo(x,y)... -
Redraw Help
"NeilT31" <webforumsuser@macromedia.com> wrote in message news:bvnrb5$qrr$1@forums.macromedia.com... while loop, which works correctly but I want... -
Refresh/Redraw enhancements in IE/ASP.NET
In many of the presentations I've seen about ASP.NET there was talk about how on postbacks only the data that has changed gets redrawn in the... -
Questy webforumsuser@macromedia.com #2
Re: Redraw Help
No - it is not hard. You have to create a behavior and attach it to the sprite you want to move. The actual movement will only occur in the on exitframe handler.
Something like this. Check the syntax... this is just off the top of my head, not tested, etc...:
--------------
property moving, my
on beginsprite me
my=sprite(the spritenum of me)
moving=true
end
on exitframe
if moving=true then
my.locH=my.locH+1
my.locV=my.locV+2
end if
end
on mouseup
if moving=false then
moving=true
else
moving=false
end if
end
Andrew Quested
[url]http://www.quested.com.au[/url]
Questy webforumsuser@macromedia.com Guest



Reply With Quote

