Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Flash4 Scripting |
From: | Ed Harvey |
Date: | Wed, 19 Jul 2000 15:26:56 +0100 |
I was able to drag the instance of my MC in a earlier version, but somehow
messed things up again. Can anyone tell me what I did to the script to not
allow my movie clip to be draggable?
Main movie timeline frame 1
Set Property ("Tree1", Alpha) = "0"
Set Variable: "treeCount" = 1
Main movie timeline frame 2(Labeled Alpha0)
Set Variable: "treeCount" = treeCount + 1
Duplicate Movie Clip ("Tree1", "Tree" & treeCount, treeCount)
Set Variable: "TreeAlpha" = GetProperty ( "Tree" & treeCount, _alpha)
Set Property (""Tree" & treeCount", Alpha) = "0"
Set Variable: "y" = TreeAlpha
Set Variable: "x" = treeCount
Trace (x)
Trace (y)
Stop
Button Labeled Vine
Frame 1 (Labeled enactive)
Stop
Button in frame 1
On (Release)
Go to and Play ("Over")
End On
Frame 2 (Labeled Over)
Stop
Button in frame 2
On (Press)
Set Variable: "treeCount" = ../:treeCount
Set Property ("/Tree" & treeCount, Alpha) = "100"
Begin Tell Target ("../")
Go to and Play ("Alpha100")
End Tell Target
End On
On (Release)
Go to and Stop ("enactive")
End On
Frame 3 (Labeled down)
Main movie timeline frame 3 (Labeled Alpha100)
Set Property ("Tree" & treeCount, X Position) = "210"
Set Property ("Tree" & treeCount, Y Position) = "137"
Movie Clip Tree1
Button in MC Tree1
On (Press)
Set Variable: "TreeAlpha" = ../:TreeAlpha
Set Variable: "treeCount" = ../:treeCount
If (TreeAlpha = 100)
Start Drag ("/Tree" & treeCount, lockcenter)
End If
End On
On (Release)
Stop Drag
End On
Thanks,
Ed
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 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
Replies
FLASH: Draggable Crosshair Problems, oneflashtwelve
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]