on resizeStack
   send "ratioSet" to me in 0.01 sec
end resizeStack

on ratioSet
   lock screen
   put the topleft of this stack into tTL
   set the width of this stack to the height of me * 1.78 -- Ratio 16:9
   set the topleft of this stack to tTL
   unlock screen
end ratioSet
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to