Rick Harrison wrote:

"I want to programmatically get the layer
number of a button, store the layer number for it,
move the button to the front, modify the button,
and then move it back to the layer where it was
with the set the layer of button "blah" to the VarLayerNumber."

on mouseUp
  put the layer of btn "Button" into  VarLayerNumber
  set the layer of btn "Button" to top
  -- do daft things to btn "Button" --
  set the layer of btn "Button" to  VarLayerNumber
end mouseUp

Not terribly difficult . . .   :)

Mind you, why it is necessary to move the button to
the top layer, do things to it, and move it back again
escapes me when you could just perform your
transformations in situ.
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to