Sometimes I'm baffled.

Thomas McGrath III mcgrath3 at mac.com
Thu Jan 29 21:02:31 EST 2009


That is what I said "param(i) will not get the handler name".

Just trying to help here...........

Tom McGrath III
Lazy River Software
3mcgrath at comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html





On Jan 29, 2009, at 4:58 PM, Ralf Bitter wrote:

> Thomas,
>
> sorry to disagree. i is never 0 in the mentioned script.
> Once again: Use the do command, because the statement
> "set the visible of param(i) to false" consists partly of a return  
> value of a function.
>
> This works:
>
> on mouseUp pMouseBtnNo
>   put the target into tCtl
>   flash tCtl
> end mouseUp
>
> on flash
>   local i, p1
>   repeat with i=1 to paramcount()
>       -- set the visible of param(i) to false
>       do "set the visible of" && param(i) && "to false"
>       wait for 1 sec with messages
>       -- set the visible of param(i) to true
>       do "set the visible of" && param(i) && "to true"
>   end repeat
> end flash
>
> Ralf
>
>
> On 29.01.2009, at 20:15, Thomas McGrath III wrote:
>
>> Alex,
>>
>> FYI the repeat with i and the set the vis of param(i) will not get  
>> the handler name since it is actually 0
>> From the Docs:
>> param(0) -- returns the handler name
>>
>> don't know if this is part of the problem or not.
>>
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list