Simple MXML without Flex

Jun 08
2009

Just a quick post – I might put up some code later on (after I’ve cleaned it up a bit!).

I’ve been toying around with simple, procedurally generated animations, mostly to get my head around creating SWF files in mxml, but without using the Flex framework (i.e. not pure Actionscript projects) :

The mxml for this is simply :

1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0" encoding="utf-8"?>
<TrailGroup xmlns="*"
    xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Metadata>
        [SWF(width="500", height="60", backgroundColor="0xffffff")]
    </mx:Metadata>
    <trails>
        <Trail fillColor="0xffaaaa"/>
        <Trail fillColor="0xaaffaa"/>
        <Trail fillColor="0xaaaaff"/>
    </trails>
</TrailGroup>

This doesn’t use any of the Flex framework, consequently the file size is only around 2KB :)

I have to admit to using this (better written) post as reference :

http://pv3d.org/2009/03/17/mxml-without-the-flex-framework/

Update : The code, such as it is, can be found here.

Leave a Reply

Visit Our Friends!

A few highly recommended friends...

Archives

All entries, chronologically...

Pages List

General info about this blog...