Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Get Property/Set Property with expressions |
| From: | Colin Moock |
| Date: | Thu, 8 Jul 1999 15:41:50 +0100 |
flasher
>When I try this, I get an error message saying that GetProperty expects a
>Property. Does this mean that I can't retrieve properties using
>expressions, that there needs to be a separate GetProperty statement to
>read each property explicitly?
no, it should be possible.
a few guesses, without seeing the source file...
> Set Variable: "m" = "2"
> Loop While (m <= param_num)
> Set Variable: "new" = GetProperty (/clip1, Eval("param" & m ))
1) try putting "/clip1" in quotation marks.
2) make sure the value of the variable is set to expression (change the
little abc button to two lines "=")
> Set Variable: "m" = "m+1"
3) here as well, make sure the value of the variable is set to expression
(change the little abc button to two lines "="). it looks like it's set to
string here because "m+1" is quoted. quotes denote a string literal in
actionscript. look for that if you're having problems. and use the trace
action to track the value of variables to be sure they're what you expect.
cheers,
colin
--
-
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
Replies
FLASH: Get Property/Set Property with ex, Dave Hollinden
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

