Flasher Archive

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


Subject: Re: FLASH: can i refer to mc's programatically
From: Robert Bleeker
Date: Fri, 10 Mar 2000 01:04:45 GMT

Better do this, add the a=a+1 otherwise you end up in an endless loop
situation:

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
Set Variable: "a"=a+1
End Loop


Robert

on 10/3/00 11:16 AM, Laura Mollett at lmollettatmindspring [dot] com wrote:

>> 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


-------------Robert Bleeker---------------
Multimedia Producer@CADRE design Australia
ph:02-96859889--------------fx:02-96859890
--------http://www.cadre.com.au-----------


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, Laura Mollett

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