setting a substack to open at the mouseLoc
Posted: Sun May 18, 2008 5:03 am
I am new to Revolution. I am trying to open a substack at the mouse location
with this code:
on mouseUp
set the left of stack "untitled 2" to item 1 of the mouseLoc
set the top of stack "untitled 2" to item 2 of the mouseLoc
go stack "untitled 2"
end mouseUp
The problem is, it doesn't open at the mouse location. However if I use this code on an object such as a button, it works fine.
Any ideas what I am doing wrong?
Thanks
with this code:
on mouseUp
set the left of stack "untitled 2" to item 1 of the mouseLoc
set the top of stack "untitled 2" to item 2 of the mouseLoc
go stack "untitled 2"
end mouseUp
The problem is, it doesn't open at the mouse location. However if I use this code on an object such as a button, it works fine.
Any ideas what I am doing wrong?
Thanks