[flexcoders] Well, that does me absolutely no good....unless you can show me how to do this!

2008-04-16 Thread Jason The Saj
?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ private var foo:int = 7; private function clickHandler(event:MouseEvent,arg1):void { trace(foo); foo.width = foo.width *

RE: [flexcoders] Well, that does me absolutely no good....unless you can show me how to do this!

2008-04-16 Thread Alex Harui
That should generate a compile error since there is no .width property on foo (because it is an int). I'm guessing you really wanted: private function clickHandler(event:MouseEvent,arg1):void { trace(event.target); DisplayObject(event.target).width = DisplayObject(event.target).width *