k, now that I woke up :) This is good stuff. i have a question though, how to organize this into a project? Is it common to put com.domain.project.styles.*.css and com.domain.project.skins.*.as ?
Can the css and as file below be shared in a SWC? I attempted this today, and a mxml file couldn't find the css file in the included swf. On 2/28/07, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
nice! good AS based custom component example too! DK On 2/28/07, Clarke Bishop <[EMAIL PROTECTED] > wrote: > > I'm pretty pleased with how my programmatic arrow buttons turned out, > so I thought I'd share them with you as they might be handy or serve as a > starting point for something you need. The buttons are drawn using the Flash > graphics API, and then I applied dropShadows and glows as needed. > > These buttons are skinnable via the stylesheet -- You can set the > backgroundFillColor, lineThickness, etc. I couldn't figure out how to make > them skinnable via mxml like this: > > <mx:Button lineThickness="2"/> > > I think it needs some metadata that declares the style. But, everything > I tried didn't work, and they were already close enough for what I wanted to > do. Besides, it's really better practice to keep your styles in the > stylesheet anyway. If anyone knows how to solve this problem, please let me > know. > > Let me know if this helps and what you guys think! > > Clarke > > Office: 770-642-1353 > Cell: 678-480-0666 > eMail: [EMAIL PROTECTED] > > > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in > the subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by FusionLink <http://www.fusionlink.com> > ------------------------------------------------------------- > -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?
-- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
