Flasher Archive

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


Subject: Re: FLASH: naming and retrieving variables
From: Helen Triolo
Date: Wed, 19 Apr 2000 21:20:49 +0100

Olga wrote:
>
> I'm trying to dynamically duplicate mcs that retrieve variables from CGI...
> My problem comes in when I try to set the value of the text field within the
> named subcategory mc to the value of the header&"_subcategory_"&n
> (Arts_subcategory_01, etc)-- instead of printing the value of that variable
> (ceramics, painting, etc) the text field actually prints the name
> (header&"_subcategory_"&n ) in the text field. So instead of:
>
> Arts
> -Ceramics
> -Painting
> -Sculpture
>
> I am getting:
> Arts
> -Arts_subcategory_01
> -Arts_subcategory_02
> -Arts_subcategory_03
>
> I've tried loading my variables at the main timeline and from within the
> subcategory mc with the same result. I've tried to be as clear as
> possible-- can anyone see a flaw in my logic patterns here? :) The
> subcategory text fields are named "text", and I've tried the following: Set
> Variable: "text" = (header&"_subcategory_"&n) and that, like I said, prints
> the name only. Is there way to rename a text field to an expression or..?

Try putting an eval in front of your parentheses and see if that works,
like Set Variable: "text" = eval(header&"_subcategory_"&n)

hth,
Helen
----------------------------------------
helen triolo � http://i-technica.com
designerati-technica [dot] com � 301-424-6037
----------------------------------------

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: naming and retrieving variables, Olga

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