> I have 2 or 3 AS only projects on my machine. None of them are
> functionally
> complete yet, but I can post one or two fo them when they are.
>
> As Michael already said, there are several simple examples in the help
> files
> that can be run as just .as files. No MXML at all.
Yeah i know. There is no problem with As only projects my problem is as only
projects + flex components. I don`t get compile errors but i don`t see
anything when it`s compiled. I try something like this:
package {
import flash.display.MovieClip;
import mx.core.Container;
import mx.controls.Button;
import mx.events.*;
public class AsOnly2 extends MovieClip {
private var myContainer:Container = new Container();
private var myButton:Button = new Button();
public function AsOnly2() {
myButton.label="hallo";
myContainer.addChild(myButton);
myContainer.width=500;
myContainer.height=500;
addChild(myContainer);
}
}
}
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders