Revision [339]

Last edited on 2011-05-26 11:17:38 by ShinOne
Additions:





Deletions:







Revision [287]

Edited on 2011-03-07 14:42:07 by ShinOne
Additions:
Deletions:


Revision [286]

Edited on 2011-03-07 14:39:58 by ShinOne
Additions:
{{flash url="http://samplemath.com/smxml/bin/smxml.swf?url=http://samplemath.com/smxml/example/composer_2.smxml" [width="640"] [height="160"] }}
{{flash url="http://samplemath.com/smxml/bin/smxml.swf?url=http://samplemath.com/smxml/example/composer_3.smxml" [width="640"] [height="160"] }}
{{flash url="http://samplemath.com/smxml/bin/smxml.swf?url=http://samplemath.com/smxml/example/composer_4.smxml" [width="640"] [height="160"] }}
Deletions:
{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%20url%3D%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsample.smxml%22%2F%3E" [width="640"] [height="160"] }}
{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%3E%0A%20%20%20%20%3Cbox%20id%3D%22background%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.1%22%20rounded%3D%2224%22%2F%3E%0A%09%3Ccomposer%20id%3D%22leftComposer%22%20x%3D%2210%22%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22leftTopBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2220%22%20y%3D%2220%22%20%2F%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22leftBottomBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2230%22%20y%3D%2280%22%20%2F%3E%0A%09%3C%2Fcomposer%3E%0A%09%3Ccomposer%20id%3D%22rightComposer%22%20x%3D%22310%22%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22rightTopBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2220%22%20y%3D%2220%22%20%2F%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22rightBottomBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2230%22%20y%3D%2280%22%20%2F%3E%0A%09%3C%2Fcomposer%3E%0A%3C%2Fcomposer%3E" [width="640"] [height="160"] }}
{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%3E%0A%20%20%20%20%3Cbox%20id%3D%22background%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.1%22%20rounded%3D%2224%22%2F%3E%0A%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%20rotation%3D%224%22%3E%0A%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%20rotation%3D%224%22%3E%0A%09%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%20rotation%3D%224%22%3E%0A%09%09%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%09%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%20rotation%3D%224%22%3E%0A%09%09%09%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%09%09%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%20rotation%3D%224%22%3E%0A%09%09%09%09%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%09%09%09%3C%2Fcomposer%3E%0A%09%09%09%09%3C%2Fcomposer%3E%0A%09%09%09%3C%2Fcomposer%3E%0A%09%09%3C%2Fcomposer%3E%0A%09%3C%2Fcomposer%3E%0A%3C%2Fcomposer%3E" [width="640"] [height="160"] }}


Revision [285]

Edited on 2011-03-07 14:36:18 by ShinOne
Additions:
{{flash url="http://samplemath.com/smxml/bin/smxml.swf?url=http://samplemath.com/smxml/example/composer_1.smxml" [width="640"] [height="160"] }}
Deletions:
{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?url=http://samplemath.com/smxml/example/composer_1.smxml" [width="640"] [height="160"] }}


Revision [284]

Edited on 2011-03-07 14:33:47 by ShinOne
Additions:
{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?url=http://samplemath.com/smxml/example/composer_1.smxml" [width="640"] [height="160"] }}
Deletions:
{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%3E%0A%20%20%20%20%3Cbox%20id%3D%22background%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.1%22%20rounded%3D%2224%22%2F%3E%0A%20%20%20%20%3Cbox%20id%3D%22leftBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2220%22%20y%3D%2220%22%20%2F%3E%0A%20%20%20%20%3Cbox%20id%3D%22rightBox%22%20width%3D%22200%22%20height%3D%2280%22%20right%3D%2220%22%20y%3D%2240%22%20%2F%3E%0A%3C%2Fcomposer%3E" [width="640"] [height="160"] }}


Revision [270]

Edited on 2011-02-02 16:14:49 by ShinOne
Additions:

{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%20url%3D%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsample.smxml%22%2F%3E" [width="640"] [height="160"] }}
Deletions:

{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%20path%3D%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsample.smxml%22%2F%3E" [width="640"] [height="160"] }}


Revision [133]

Edited on 2011-02-01 14:35:29 by ShinOne
Additions:














{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%3E%0A%20%20%20%20%3Cbox%20id%3D%22background%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.1%22%20rounded%3D%2224%22%2F%3E%0A%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%20rotation%3D%224%22%3E%0A%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%20rotation%3D%224%22%3E%0A%09%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%20rotation%3D%224%22%3E%0A%09%09%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%09%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%20rotation%3D%224%22%3E%0A%09%09%09%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%09%09%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%20rotation%3D%224%22%3E%0A%09%09%09%09%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%09%09%09%3C%2Fcomposer%3E%0A%09%09%09%09%3C%2Fcomposer%3E%0A%09%09%09%3C%2Fcomposer%3E%0A%09%09%3C%2Fcomposer%3E%0A%09%3C%2Fcomposer%3E%0A%3C%2Fcomposer%3E" [width="640"] [height="160"] }}
Deletions:
{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%3E%0A%20%20%20%20%3Cbox%20id%3D%22background%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.1%22%20rounded%3D%2224%22%2F%3E%0A%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%3E%0A%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%3E%0A%09%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%3E%0A%09%09%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%09%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%3E%0A%09%09%09%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%09%09%3C%2Fcomposer%3E%0A%09%09%09%3C%2Fcomposer%3E%0A%09%09%3C%2Fcomposer%3E%0A%09%3C%2Fcomposer%3E%0A%3C%2Fcomposer%3E" [width="640"] [height="160"] }}


Revision [132]

Edited on 2011-02-01 14:34:17 by ShinOne
Additions:
Position and sometime dimension are relative to the parent //composer//'s position and dimensions. The example below shows nested //composer//s, each half the size of its parent.
{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%3E%0A%20%20%20%20%3Cbox%20id%3D%22background%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.1%22%20rounded%3D%2224%22%2F%3E%0A%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%3E%0A%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%3E%0A%09%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%3E%0A%09%09%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%09%09%3Ccomposer%20width%3D%2250%25%22%20height%3D%2250%25%22%20x%3D%2225%25%22%20y%3D%2225%25%22%3E%0A%09%09%09%09%20%20%20%20%3Cbox%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.2%22%2F%3E%0A%09%09%09%09%3C%2Fcomposer%3E%0A%09%09%09%3C%2Fcomposer%3E%0A%09%09%3C%2Fcomposer%3E%0A%09%3C%2Fcomposer%3E%0A%3C%2Fcomposer%3E" [width="640"] [height="160"] }}


Revision [131]

Edited on 2011-02-01 14:28:28 by ShinOne
Additions:

{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%3E%0A%20%20%20%20%3Cbox%20id%3D%22background%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.1%22%20rounded%3D%2224%22%2F%3E%0A%09%3Ccomposer%20id%3D%22leftComposer%22%20x%3D%2210%22%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22leftTopBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2220%22%20y%3D%2220%22%20%2F%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22leftBottomBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2230%22%20y%3D%2280%22%20%2F%3E%0A%09%3C%2Fcomposer%3E%0A%09%3Ccomposer%20id%3D%22rightComposer%22%20x%3D%22310%22%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22rightTopBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2220%22%20y%3D%2220%22%20%2F%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22rightBottomBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2230%22%20y%3D%2280%22%20%2F%3E%0A%09%3C%2Fcomposer%3E%0A%3C%2Fcomposer%3E" [width="640"] [height="160"] }}
Deletions:

{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%3E%0A%20%20%20%20%3Cbox%20id%3D%22background%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.1%22%20rounded%3D%2224%22%2F%3E%0A%09%3Ccomposer%20id%3D%22leftComposer%22%20x%3D%2210%22%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22leftTopBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2220%22%20y%3D%2220%22%20%2F%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22leftBottomBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2230%22%20y%3D%2280%22%20%2F%3E%0A%09%3C%2Fcomposer%3E%0A%09%3Ccomposer%20id%3D%22rightComposer%22%20x%3D%2210%22%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22rightTopBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2220%22%20y%3D%2220%22%20%2F%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22rightBottomBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2230%22%20y%3D%2280%22%20%2F%3E%0A%09%3C%2Fcomposer%3E%0A%3C%2Fcomposer%3E" [width="640"] [height="160"] }}


Revision [130]

Edited on 2011-02-01 14:27:26 by ShinOne
Additions:
You may define the composition directly in the //composer//'s markup. The order of child nodes specifies the z-order of child components rendered on screen.
====Nesting composers====
You may recursively nest any number of //composer//s inside another //composer//. The possibilities of composition are unlimited.








{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%3E%0A%20%20%20%20%3Cbox%20id%3D%22background%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.1%22%20rounded%3D%2224%22%2F%3E%0A%09%3Ccomposer%20id%3D%22leftComposer%22%20x%3D%2210%22%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22leftTopBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2220%22%20y%3D%2220%22%20%2F%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22leftBottomBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2230%22%20y%3D%2280%22%20%2F%3E%0A%09%3C%2Fcomposer%3E%0A%09%3Ccomposer%20id%3D%22rightComposer%22%20x%3D%2210%22%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22rightTopBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2220%22%20y%3D%2220%22%20%2F%3E%0A%09%20%20%20%20%3Cbox%20id%3D%22rightBottomBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2230%22%20y%3D%2280%22%20%2F%3E%0A%09%3C%2Fcomposer%3E%0A%3C%2Fcomposer%3E" [width="640"] [height="160"] }}
Deletions:
You may define the composition directly in the //composer//'s markup.
==AS3==
%%(java5)
leftBox.x = 110;
leftBox.y = 20;
rightBox.x = 330;
rightBox.y = 100;


Revision [129]

Edited on 2011-02-01 14:16:32 by ShinOne
Additions:
%%(xml)
%%(xml)
%%(xml)
%%(xml)
==AS3==
leftBox.x = 110;
leftBox.y = 20;
rightBox.x = 330;
rightBox.y = 100;


Revision [128]

Edited on 2011-02-01 14:14:13 by ShinOne
Additions:
The composition data can be loaded from a URL. The example below looks identical to the one above since it's loading the very same SMXML this time from [[http://samplemath.com/smaf/sample.smxml a remote location]].
Deletions:
The composition data can be loaded from a URL as well.


Revision [127]

Edited on 2011-02-01 14:09:24 by ShinOne
Additions:
{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%20path%3D%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsample.smxml%22%2F%3E" [width="640"] [height="160"] }}


Revision [126]

Edited on 2011-02-01 14:08:03 by ShinOne
Additions:
====Loading SMXML====
The composition data can be loaded from a URL as well.


Revision [125]

Edited on 2011-02-01 14:05:03 by ShinOne
Additions:
Deletions:


Revision [124]

Edited on 2011-02-01 14:04:45 by ShinOne
Additions:
{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%3E%0A%20%20%20%20%3Cbox%20id%3D%22background%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.1%22%20rounded%3D%2224%22%2F%3E%0A%20%20%20%20%3Cbox%20id%3D%22leftBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2220%22%20y%3D%2220%22%20%2F%3E%0A%20%20%20%20%3Cbox%20id%3D%22rightBox%22%20width%3D%22200%22%20height%3D%2280%22%20right%3D%2220%22%20y%3D%2240%22%20%2F%3E%0A%3C%2Fcomposer%3E" [width="640"] [height="160"] }}
Deletions:
{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%3E%0A%20%20%20%20%3Cbox%20id%3D%22background%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.1%22%20rounded%3D%2224%22%2F%3E%0A%20%20%20%20%3Cbox%20id%3D%22leftBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2220%22%20y%3D%2220%22%20%2F%3E%0A%20%20%20%20%3Cbox%20id%3D%22rightBox%22%20width%3D%22200%22%20height%3D%2280%22%20right%3D%222%22%20y%3D%2240%22%20%2F%3E%0A%3C%2Fcomposer%3E" [width="640"] [height="160"] }}


Revision [123]

Edited on 2011-02-01 14:03:51 by ShinOne
Additions:
==OUTPUT==
{{flash url="http://samplemath.com/smaf/viewer/bin/smxml.swf?smxml=%3C%21DOCTYPE%20composer%20SYSTEM%20%22http%3A%2F%2Fsamplemath.com%2Fsmaf%2Fsmxml.dtd%22%3E%0A%3Ccomposer%3E%0A%20%20%20%20%3Cbox%20id%3D%22background%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20alpha%3D%22.1%22%20rounded%3D%2224%22%2F%3E%0A%20%20%20%20%3Cbox%20id%3D%22leftBox%22%20width%3D%22200%22%20height%3D%2240%22%20x%3D%2220%22%20y%3D%2220%22%20%2F%3E%0A%20%20%20%20%3Cbox%20id%3D%22rightBox%22%20width%3D%22200%22%20height%3D%2280%22%20right%3D%222%22%20y%3D%2240%22%20%2F%3E%0A%3C%2Fcomposer%3E" [width="640"] [height="160"] }}


Revision [122]

Edited on 2011-02-01 14:02:02 by ShinOne
Additions:
The root element of every SMXML composition should always be a //composer// as shown in the example below.
====Inline composition====
You may define the composition directly in the //composer//'s markup.

Deletions:
The root element of every SMXML composition should always be a //composer// as show in the example below.


Revision [121]

Edited on 2011-02-01 13:59:56 by ShinOne
Additions:
Even if you only need to render a //box// you should always wrap it in a //composer//. The example below shows invalid SMXML composition. You may only use invalid chunks of SMXML to update UI components directly or for adding them to a //composer//'s composition.
Deletions:
Even if you only need to render a //box// you should always wrap it in a //composer// The example below shows invalid SMXML composition.
You may only use invalid chunks of SMXML to update UI components directly or for adding them to a //composer//'s composition.


Revision [120]

The oldest known version of this page was created on 2011-02-01 13:58:30 by ShinOne
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki