« Return to Thread: script error

Re: script error

by J. Landman Gay :: Rate this Message:

Reply to Author | View in Thread

Barry Barber wrote:

> However, I need several of these groups on the same card to control different objects but when I duplicate it, despite it receiving a different ID, the script activates the visible of the images in the original group not those the mouse is over!
> I have tried defining the group specificly (with and without quotes) but then nothing happens in either the original or the
> copy and I get this error message.
>
> Type    Chunk: can't find background
> Object    greenbutton.png
> Line    set the vis of img "greenglo.png" of this group to true
> Hint    true
>
> What background is it looking for and why is true indicated as an error?

"This" can only be used with cards or stacks. "This group" isn't a valid
construct. However, if the script is in the group, then you can refer to
it as "me":

  set the vis of img "greenglo.png" of me to true

--
Jacqueline Landman Gay         |     jacque@...
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

 « Return to Thread: script error

LightInTheBox - Buy quality products at wholesale price!