Very elegant solution. Thanks, Manish. --- In [email protected], Manish Jethani <[EMAIL PROTECTED]> wrote: > On 8/11/05, Donal Carroll <[EMAIL PROTECTED]> wrote: > > > I'm also listing the Laszlo code snippet so you'll see what I'm talking > > about: > > > > <canvas> > > <view name="TestView"> > > <simplelayout axis="y" spacing="3"/> > > > > <view name="chip_fill" > > resource="common/browse/color_chip_fill.swf" > > fgcolor="red"/> > > <view name="chip_fill" > > resource="common/browse/color_chip_fill.swf" > > fgcolor="green"/> > > <view name="chip_fill" > > resource="common/browse/color_chip_fill.swf" > > fgcolor="yellow"/> > > > > </view> > > </canvas> > > OK, I wonder why you need to load an external SWF to do this. Anyway, > here's the Flex equivalent: > > <?xml version="1.0"?> > <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" > xmlns="*" backgroundColor="white" horizontalAlign="left"> > <mx:Style> > LaszloStyleView { > header-height: 0; > panel-border-style: roundCorners; > corner-radius: 8; > drop-shadow: false; > } > </mx:Style> > <mx:Panel width="100" height="100" > styleName="LaszloStyleView" backgroundColor="red" /> > <mx:Panel width="100" height="100" > styleName="LaszloStyleView" backgroundColor="green" /> > <mx:Panel width="100" height="100" > styleName="LaszloStyleView" backgroundColor="yellow" /> > </mx:Application> > > You style a Panel so that it shows round corners. No need to load external SWF. > > Manish
------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hr161n8/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123781862/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org ">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</a>.</font> --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/

