Page 1 of 1

Setting visible

Posted: Mon Sep 17, 2007 2:19 pm
by Andycal
This should work shouldn't it?

on mouseUp
set the visible of "recone" to true
end mouseUp

"recone" is a rectangle. I also tried:

on mouseUp
set the visible of rectangle "recone" to true
end mouseUp

First one says it can't find the object, second says there's a missing 'to'.

Very odd.

Posted: Mon Sep 17, 2007 2:29 pm
by Mark
Andy,

This is not odd at all.

"recone" is a string, not rectangle.

rectangle is a keyword, not a rectangle. Check the docs for information about the keyword rectangle.

Maybe you are trying to refer to a graphic or an image?

Best,

Mark

Posted: Mon Sep 17, 2007 2:46 pm
by Andycal
D'oh!

Yeah, it's a graphic. Works now!