Start with the "Creating and Extending Flex Components" book: http://download.macromedia.com/pub/documentation/en/flex/2/flex2_createcomps.pdf
Hth, Matthew J. Horn Flex docs > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale > Sent: Wednesday, March 29, 2006 10:51 AM > To: [email protected] > Subject: [flexcoders] Re: need help with programatic skin > > THANK U VERY MUCH.. > this is a big step a head... me happy ! > > it seems that i need to learn about this method of extending > and building components. > > where can i learn this? > can u refer me to some place that explain this all procedure? > > > > --- In [email protected], "Jason Hawryluk" <[EMAIL PROTECTED]> wrote: > > > > you could use extraSpacing="0" even though the property does not > appear in > > the list. I just tried it. The default is 20 and it does > get ride of > > the extra space. > > > > > > > > <mx:Button extraSpacing="0" label="Add Task" /> > > > > > > > > For anything else you want to try, try extending the button.. > > > > > > > > in line > > > > > > > > Create a folder called Extendbutton and create a as class with this > code and > > name the class Extendedbutton. From here you have absolute control > of every > > aspect of a control. Anything can be extended. You can override > functions > > properties etc.. > > > > > > > > package Extendbutton { > > import mx.controls.Button; > > import flash.util.trace; > > > > public class Extendedbutton extends Button { > > > > public function Extendedbutton():void{ > > super(); > > super.extraSpacing = 10; > > trace(super.extraSpacing); > > > > } > > } > > } > > > > hope this helps > > > > jason > > > > -----Message d'origine----- > > De : [email protected] > [mailto:[EMAIL PROTECTED] la > > part de shemeshkale > > Envoyé : mercredi 29 mars 2006 15:01 > > À : [email protected] > > Objet : [flexcoders] Re: need help with programatic skin > > > > > > that is the direction of my thought, but... > > allready tried that - it seems to have some minimum!! > > i cant do marginRight="0"... when i do that i still have this damn > > space that i cant get rid of. > > i saw in the Button.as a property called 'extraSpacing' > that it does > > exactly that.. how do i make it zero !! > > > > --- In [email protected], "Michael Schmalle" > > <teoti.graphix@> wrote: > > > > > > Hi, > > > > > > From what I gather your are looking for the 'marginRight' and > > 'marginLeft' > > > css styles. Button does not support 'marginTop' and > 'marginBottom' css > > > styles. > > > > > > If I were to have made this Button I would have included this. > > Adobe, what > > > was your reasoning for not allowing us to have top and bottom > margins? > > > > > > I can think of a couple things I could use it for. > > > > > > Peace, Mike > > > > > > On 3/29/06, shemeshkale <baldhead72@> wrote: > > > > > > > > not what i meant. > > > > a button in flex have a default "gap" (padding in html/css) > between > > > > text and the buttons border - on both left&right sides. > > > > how do i change this? > > > > > > > > > > > > > > > > --- In [email protected], "Jason Hawryluk" > <jh@> wrote: > > > > > > > > > > If I understand you question correctly. Have a look at the > > > > textIndent style > > > > > this can be set via css or property, otherwise your going > to have > > > > to extend > > > > > the button. > > > > > > > > > > for example > > > > > > > > > > css file > > > > > <mx:Style> > > > > > .IndentedtextButton{ > > > > > cornerRadius: 0; > > > > > textIndent: 15; > > > > > fontWeight: "normal"; > > > > > } > > > > > </mx:Style> > > > > > > > > > > > > > > > <mx:Button textAlign="left" styleName="IndentedtextButton" > > width="150" > > > > > label="Test" /> > > > > > > > > > > or > > > > > > > > > > <mx:Button textAlign="left" textIndent="15" width="150" > > label="Test" /> > > > > > > > > > > > > > > > Hope that helps > > > > > > > > > > Jason > > > > > > > > > > > > > > > -----Message d'origine----- > > > > > De : [email protected] > > > > [mailto:[EMAIL PROTECTED] la > > > > > part de shemeshkale > > > > > Envoyé : mercredi 29 mars 2006 09:11 > > > > > À : [email protected] > > > > > Objet : [flexcoders] Re: need help with programatic skin > > > > > > > > > > > > > > > PLEASE HELP ! > > > > > or please refer me to a place i can learn... > > > > > > > > > > --- In [email protected], "shemeshkale" > <baldhead72@> > > wrote: > > > > > > > > > > > > hi, > > > > > > i m working with the basic HALO skin. > > > > > > i m trying to change some things without luck. > > > > > > > > > > > > PLEASE HELP: > > > > > > > > > > > > - how do i change the padding (the space > between the text > > and the > > > > > > border) inside a button? i want to make a deafult 2px. > > > > > > - i want to make a top and bottom border on the selected > item of > > > > a tree. > > > > > > - i want to change the gray arrow in the tree > to a +\- sign. > > > > > > > > > > > > how do i do this? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > 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 > > > > > > > > > > a.. Visit your group "flexcoders" on the web. > > > > > > > > > > b.. To unsubscribe from this group, send an email to: > > > > > [EMAIL PROTECTED] > > > > > > > > > > c.. Your use of Yahoo! Groups is subject to the Yahoo! > Terms of > > > > > Service. > > > > > > > > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------- > ------------ > > -- > > > > > -- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > 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 > > > > > > > > > > > > - Visit your group > > "flexcoders<http://groups.yahoo.com/group/flexcoders>" > > > > on the web. > > > > > > > > - To unsubscribe from this group, send an email to: > > > > > > > > [EMAIL PROTECTED]<[EMAIL PROTECTED] > > m?subject=Unsubscribe> > > > > > > > > - Your use of Yahoo! Groups is subject to the > Yahoo! Terms of > > > > Service <http://docs.yahoo.com/info/terms/>. > > > > > > > > > > > > ------------------------------ > > > > > > > > > > > > > > > > -- > > > What goes up, does come down. > > > > > > > > > > > > > > > > > -- > > 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 > > > > a.. Visit your group "flexcoders" on the web. > > > > b.. To unsubscribe from this group, send an email to: > > [EMAIL PROTECTED] > > > > c.. Your use of Yahoo! Groups is subject to the Yahoo! > Terms of > > Service. > > > > > > > -------------------------------------------------------------- > -------------- > > -- > > > > > > > > > -- > 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 > > > > > > > > -- 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/

