Default code in Flex
February 25th, 2008 by
Adrian Parr
Just for reference, here is the default code that Flex gives you when starting a new Flex project and ActionScript project.
Default Flex MXML file
< ?xml version="1.0" encoding="utf-8"?>
<mx :Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
</mx>
<mx :Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
</mx>
Default ActionScript file
package {
import flash.display.Sprite;
public class ClassName extends Sprite
{
public function ClassName()
{
}
}
}
import flash.display.Sprite;
public class ClassName extends Sprite
{
public function ClassName()
{
}
}
}
Posted in ActionScript 3.0, Flash |
No Comments »