What mxml used to play a "class X extends MovieClip"?


i'm experimenting box2d , demo application action script class:

 

    [swf(width='640', height='360', backgroundcolor='#292c2c', framerate='30')]
    public class main extends movieclip{
        public function main() {
        .....

 

i execute.  xml use launch?  when compile "<main/>", mxmlc complains it's not mx.core.iuicomponent. advice appreciated.

 

monty



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support