Actually I did.
1 - It definitely is, what styles are you trying to set on it? 2 - Sure does. Are you sure your Canvas has a width and height? I didn't include that in my example tag but it definitely has to be bigger than 0 x 0. Ben --- In [email protected], David Pariente <[EMAIL PROTECTED]> wrote: > > funny, did u ever try that? :) cause i did... > > 1st.- seems canvas is not stilable, or at least, doesn't show correctly. > 2nd.- doesn't respond to clicks. > > thnx anyway > > > ----- Mensaje original ---- > De: ben.clinkinbeard <[EMAIL PROTECTED]> > Para: [email protected] > Enviado: jueves, 26 de junio, 2008 16:17:18 > Asunto: [flexcoders] Re: canvas with styles and clickable? how to?? > > > <mx:Canvas click="doStuff( event )" styleName="myCanvas Style" /> > > --- In [EMAIL PROTECTED] ups.com, David Pariente <xxmapachexx@ ...> wrote: > > > > i will check it later...im interested in components.. . > > > > but actually i saw what i mean in plenty of sites, so i guess is > just so difficult to achieve. Maybe canvas should be inside another > component... > > > > thnx > > > > > > ----- Mensaje original ---- > > De: Mark Doberenz <dobieag01@ ..> > > Para: [EMAIL PROTECTED] ups.com > > Enviado: jueves, 26 de junio, 2008 14:36:00 > > Asunto: Re: [flexcoders] canvas with styles and clickable? how to?? > > > > > > Try Flexlib. It has a really nice canvas button component. > > > > http://code. google. com/p/flexlib > > > > > > > > On Thu, Jun 26, 2008 at 3:57 AM, David Pariente <xxmapachexx@ > yahoo.es> wrote: > > > > Hello, > > > > Im making a list of elements in a VBox, each of them has a canvas, > with a pic, a title and a text... > > > > Now i wanted to skin that canvas, but it doesn't skin properly, i > guess canvas is just not skinable. > > > > I didn't know what to do so i used an apppcontrolbar as base of that > canvas, and skinned the appcontrolbar. It skins good, but then the > clickable options doesn't work... > > > > i'm a little lost, as most of what i do is AS3 in my projects... > > > > The point is that i wan a skinnable element that also can act as a > button. here my code: > > > > <mx:VBox x="10" y="117" height="166" width="427"> > > <mx:Repeater id="albums_repeater " dataProvider= "{ > get_picasa_albums. lastResult. atom::entry }"> > > <mx:ApplicationCont r olBar width="406" height="52" > styleName="Album" click="" useHandCursor= "true" buttonMode=" true"> > > <mx:Canvas width="406" height="52"> > > <mx:Image id="thumbImg" source="{ ( albums_repeater. > currentItem as XML ).media::group. media::thumbnail [EMAIL PROTECTED] }" > > click="/*onThumbCli ck( event.currentTarget > .getRepeaterItem () )*/" > > buttonMode=" true" useHandCursor= "true" > > width="49" height="49" > > rollOverEffect= "fadeIn" rollOutEffect= "fadeOut" > > alpha="0.8"/ > > > <mx:Text x="57" y="0" text="{ ( albums_repeater. > currentItem as XML ).atom::title. text() }" width="317" height="19" > fontWeight=" bold"/> > > <mx:Text x="57" y="17" text="{ ( albums_repeater. > currentItem as XML ).atom::summary. text() }" width="317" height="35" > fontWeight=" normal"/> > > </mx:Canvas> > > </mx:ApplicationCon t rolBar> > > > > </mx:Repeater> > > > > </mx:VBox> > > > > thnx to everyone. > > > > ____________ _________ _________ __ > > > > Enviado desde Correo Yahoo! > > La bandeja de entrada más inteligente. > > > > > > > > > > ____________ _________ _________ _________ _______ > > Enviado desde Correo Yahoo! La bandeja de entrada más inteligente. > > > > > > > ______________________________________________ > Enviado desde Correo Yahoo! La bandeja de entrada más inteligente. >

