Unfortunately, there are some known Flash Player bugs with <img> in TextFields, so you may or may not be successful at working around this.
--- In flexcoders@yahoogroups.com, Manish Jethani <[EMAIL PROTECTED]> wrote: > On 5/30/05, rockmoyosa <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "rockmoyosa" <[EMAIL PROTECTED]> wrote: > > > --- In flexcoders@yahoogroups.com, Manish Jethani > > > <[EMAIL PROTECTED]> wrote: > > > > On 5/20/05, rockmoyosa <[EMAIL PROTECTED]> wrote: > > > > > Try setting a mask on the TextArea object. See UIObject.setMask() > > > > > > How? beneath textarea there is an form. It appears on resize. So how > > > do i use setMask > > > > Still got this bug. masking and executing an init() is not a solution > > if you want an resizeEffect. unless it's possible with masking. > > butt... anybody.. > > This is what I meant by applying a mask. See this example of masking: > > <?xml version="1.0"?> > <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" > xmlns="*"> > > <mx:Script> > public function mySetMask():Void > { > var m = outerBox.createObjectWithStyles ("BoundingBox", "clipMask", 10000); > > var w:String = "_width"; > var h:String = "_height"; > > m[w] = outerBox.width; > m[h] = outerBox.height; > > outerBox.setMask(m); > } > </mx:Script> > > <mx:Box id="outerBox" width="200" height="200" clipContent="false" > backgroundColor="yellow" > marginLeft="10" marginRight="10" marginTop="10" marginBottom="10"> > <mx:Box width="225" height="225" backgroundColor="blue" /> > </mx:Box> > > <mx:Button label="Set Mask" click="mySetMask()" /> > </mx:Application> > > Try this, I think it'll fix your problem. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/