Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. <mx:Object id="myObj" height="100" width="100" mouseOver="{mouseOnObject()}" mouseOut="{mouseOffObject()}"/>
  2.  
  3. public function mouseOnObject() {
  4. myObj.height = 110;
  5. myObj.width = 110;
  6. }
  7.  
  8. public function mouseOffObject() {
  9. myObj.height = 100;
  10. myObj.width = 100;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement