| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| « Oct | Dec » | |||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||
Things that make you go errrr!?!
So after playing with AS3 I thought I'd turn my attention to creating, or attempting to create, an AS3 / Flex component. So without further ado I unveil my SimpleButtonComponent (and it is just that LOL).
This is the Flex MXML.
PLAIN TEXT
XML:
<?xml version="1.0" encoding="utf-8"?>
<mx :Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns:fgComp="com.flashgen.examples.components.*">
<fgcomp :SimpleButtonComponent />
</mx>
The following code sets [...]
OK, so there was a mailing list for developers interested in Flash component development a while back but it appears to have slipped silently into the virtual ooze. So I thought it might be cool to host one at FlashGen.Com instead, so if you are interested in component development head over here: FlashComponents-L and sign [...]
FMS2 finally hits the shelves
OK, so I grabbed a few minutes over lunch today to try a few button tests just to see what I could knock together without having to read too much documentation :P
Well here are the results:
PLAIN TEXT
ACTIONSCRIPT:
package {
import flash.display.MovieClip;
import com.flashgen.examples.LozengeButton;
[SWF(width="100", height="50", backgroundColor="#DFEEEF")]
public class AS3LozengeButton extends MovieClip
[...]
Finally we can say who really had a hand in our apps!
Leading on from my posts about the SWF metadata in AS3, Dave Williamson has posted a nice example of embedding TrueType Fonts into AS3.
Have a look - If I get some time I may try and post a few example files up about it, (on top of Dave's)
Check it out here