Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Flash4 Scripting
From: Ed Harvey
Date: Wed, 19 Jul 2000 16:18:31 +0100

First Thanks for all your help.

Okay, I forgot to Set TreeAlpha to 100.

I fix it by editing the

> Button in frame 2
>
> On (Press)
> Set Variable: "treeCount" = ../:treeCount
> Set Property ( GetProperty ( "/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
>
Now can someone tell and or direct me in the right direction to store the
duplicated instances name and be able to selected later on after I have
created multiple instances. Would this be able to be done in a array? Or is
there a better solution?

Ed

> ----------
> From: Ed Harvey
> Reply To: flasheratchinwag [dot] com
> Sent: Wednesday, July 19, 2000 9:17 AM
> To: 'Flash'
> Subject: FLASH: Flash4 Scripting
>
> 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 helpatchinwag [dot] com
>

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 helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]