Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Trace name of mc where button is in? |
From: | Nathan Dicken |
Date: | Fri, 5 May 2000 13:58:51 +0100 |
Hi Waldo,
You can just use _name as the value of a variable or use getProperty("",_a
property) to get the value of the current mc. A few examples...
Trace ("my mc name: "&_name)
Set Variable: "myMcName" = _name
Set Variable: "myMcName" = getProperty("",_name)
Nathan Dicken
Fusionary Media
>Hallo you all,
>
>I've got a little question about names of mc instances.
>In my movie there's a movieclip with a button in it. I want the button to
>trace the name of the movieclip were it's in. Is that possible?
>
>In my movie this mc is being duplicated several times and I want to use this
>to have the button to set the visibility of the mc to 0.
>I know that there's an action GetProperty ( target, _name ), but the problem
>is that I have to fill in the target, and that's only possible when i know
>it's name!
>
>Is there nothing like "this.name" can be used javascript, but than for flash?
>
>Please help me out!
>
>Waldo
>-----------------------------------------
>Waldo Smeets
>Tongelresestraat 354
>5642 NG
>Eindhoven
>
>Tel. : 040 2810364
>Fax-to-email: 020 8762082
>My voicemail: 020 8762082
>E-mail priv�: waldowaldosmeets [dot] com
>Website: www.waldosmeets.com
>-----------------------------------------
>
>
>flasher is generously supported by...
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Get the last 100 messages from the flasher list NOW
> http://www.chinwag.com/flasher/last100.shtml
>
> Flash books http://www.chinwag.com/flasher/books.shtml
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>To unsubscribe or change your list settings go to
>http://www.chinwag.com/flasher or email helpchinwag [dot] com
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
Re: FLASH: Trace name of mc where button, Waldo Smeets
Replies
FLASH: Trace name of mc where button is , Waldo Smeets
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]