i'd created a behaviour which going to be attached to a sprite on stage.
however, it seems to be buggy at the moment. how can i get rid the
"blinking" effect?
im a newbie in lingo scripting and moreover, i am an art student and don't
have any basic understanding in programming. can anyone tell how a repeat
and conditional testing command work? many thanx. --FOO SKI
=============================
=============================
property mySprite, increment
on beginsprite me
mySprite = sprite(me.spritenum)
increment = 5
mySprite.height = 30
mySprite.width = 30
end
on mouseWithin me
mySprite.blend = mySprite.blend - increment
if mySprite.blend = 20 then
put "blend 20"
mySprite.blend = 2
end if
mySprite.height = mySprite.height + increment
mySprite.width = mySprite.width + increment
if mySprite.height = 100 then
increment = increment * -1
end if
end
on exitframe me
if mySprite.height < 30 then
mySprite.height = 30
mySprite.width = 30
end if
if mySprite.blend = 20 then
mySprite.blend = 20
end if
end
===============================
===============================
...............................
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]