Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH: can i refer to mc's programatically |
| From: | Kelly, Michael |
| Date: | Fri, 10 Mar 2000 01:48:12 GMT |
nevermind, i fixed it, thankyou for everyones help...
mick
0410 531 511
'Underwear is underwear wherever you buy it.'
Rain Man
-----Original Message-----
From: Kelly, Michael [MKelly
Sent: Friday, March 10, 2000 1:00 AM
To: 'flasher
Subject: RE: FLASH: can i refer to mc's programatically
so how is temp set?
mick
0410 531 511
'Underwear is underwear wherever you buy it.'
Rain Man
-----Original Message-----
From: bhall
Sent: Thursday, March 09, 2000 12:39 PM
To: flasher
Subject: Re: FLASH: can i refer to mc's programatically
Yes, you can do this.. though the code would be structured like this:
:
Set Variable: "i" = 1
Loop While (i <= 8)
Set Property (temp, X Position) = getproperty("/br"&i, _x) - 2
Set Property (temp, Y Position) = getproperty("/br"&i, _y) + ((a/30) *
58)
Set Property (temp, Alpha) = getproperty("/br"&i, _alpha) - 5
Set Variable: "i" = i + 1
End Loop
-= Branden J. Hall
-= Multimedia Developer/Instructor
-= Fig Leaf Software
----- Original Message -----
From: Kelly, Michael <MKelly
To: <flasher
Sent: Thursday, March 09, 2000 6:29 PM
Subject: FLASH: can i refer to mc's programatically
i have 8 smaller mc's in my main mc, what i want to do is drop them away as
if by gravity. If each mc has an instance name of br1, br2, br3, ... , br8
can i do a loop that will just move each one down a little rather than doing
the code for each individually?
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:
Set Variable: "i" = "0"
Loop While (Eval (i) < 8)
Set Variable: "a" = a + 1
Set Variable: "temp" = "br"&i
Set Property (temp, X Position) = getproperty(temp,_x) - 2
Set Property (temp, Y Position) = getproperty(temp,_y) + ((a/30) * 58)
Set Property (temp, Alpha) = getproperty(temp,_alpha) - 5
End Loop
i'm pretty sure this is wrong but i'm just trying to convey the idea
mick
'Underwear is underwear wherever you buy it.'
Rain Man
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 help
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 help
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 help
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 help
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

