Flasher Archive

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


Subject: Re: FLASH:Strig literal--expression difference!
From: Darren Critchley
Date: Sat, 8 Apr 2000 17:56:41 +0100

Ilia Pasymansky wrote:

> Hi I think i need to be clear on String--Expression difference.
> I understand the point, but still missing the general idea and trying to
> guess
> mostly instead of knowing where is string coming and where is expression.
> Like here for example(not working)
> Set Variable: "myboxes" = random(3)+1
> Begin Tell Target ("mcblackmask&myboxes")
> Set Property ("mcblackmask&myboxes", Visibility) = "0"
> End Tell Target
> ---target not found :(
> I'll appriciate if somebody can give nice clarification on this subject.
> I'll put it up on front of me on my table before i 'l l know it once and
> for all!
> (I think many people will benefit from it too..)
> Thanks
> Ilia

Set Variable: "myboxes" = random(3)+1

Set Variable: "mcname" = "mcblackmask" & myboxes
*the above creates a name for your new movie clip instance

Duplicate Movie Clip ("mcblackmask", mcname,myboxes )
* the above duplicates your first MC, and puts it on a different level

Begin Tell Target ("mcblackmask&myboxes")
Set Property ("mcblackmask&myboxes", Visibility) = "0"
End Tell Target

That should fix your code, but you will be setting them all to invisible with
that Visibility set to 0
Darren Critchley



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


Replies
  FLASH:Strig literal--expression differen, Ilia Pasymansky

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