Flasher Archive

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


Subject: Re: FLASH: can i refer to mc's programatically
From: Laura Mollett
Date: Fri, 10 Mar 2000 00:57:47 GMT

> i.e.
> this is the code to drop away one mc
> Set Variable: "a" = a + 1
> Set Property ("br1", X Position) = getproperty("br1",_x) - 2
> Set Property ("br1", Y Position) = getproperty("br1",_y) + ((a/30) * 58)
> Set Property ("br1", Alpha) = getproperty("br1",_alpha) - 5
>
> then it goes to the next frame which has the action script
>
> go to 1 (previous frame)
>
> can i do something like:
>
> i'm pretty sure this is wrong but i'm just trying to convey the idea

You already have "a" in the previous loop, so couldn't you just
Set Variable: "a" = 0
Loop While "a" < 8
Set Property ("/br" & a, X Position) = getproperty("/br" & a,_x) - 2
Set Property ("/br" & a, Y Position) = getproperty("/br" & a,_y) +
((a/30) * 58)
Set Property ("/br" & a, Alpha) = getproperty("/br" & a,_alpha) - 5
End Loop

I think that would work.

Steve & Laura Mollett

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


Replies
  Re: FLASH: can i refer to mc's programat, Robert Bleeker

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