Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: Scaling symbol tween on Action script? |
From: | Kenneth.Austin |
Date: | Sat, 1 Apr 2000 08:46:48 +0100 |
beat me to it - there seems to be a huge delay in my mail getting to the
list, anyway, i just use a fixed value based on the position of the
draggable mc on the stage to scale the mc, rather than stepping it up and
down like this, both options work fine, but i'd be curious to see which is
quicker. in game development especially, with tons going on at once, any
speed that can be saved is essential.
Kenneth Austin
Hands On Labs
KnowledgeNet
14624 N Scottsdale Rd, Suite 300
Scottsdale AZ 85254
Email: <Kenneth [dot] Austinknowledgenet [dot] com>
Web: <www.knowledgenet.com>
Hi Jeff -
HeIf (/:dragging = True)
Begin Tell Target ("/dragger")
Set Variable: "current_y" = _y
Set Variable: "current_scale" = _xscale
If (old_y > current_y)
If (current_scale > 10)
Set Property ("", Y Scale) = _yscale - 1
Set Property ("", X Scale) = _xscale - 1
End If
Else If (old_y < current_y)
If (current_scale < 100)
Set Property ("", Y Scale) = _yscale + 1
Set Property ("", X Scale) = _xscale + 1
End If
End If
Set Variable: "old_y" = current_y
End Tell Target
End If
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]