Sepy + AsWing

This tutorial will help you get setup with the SEPY Editor and ASWing.

1) Download the ASWing source files from the website from the download section.

2) Unzip the file to a directory of your choice.

3) Create a new AS file and name it Test.as . Goto the Flush menu and then click on the Compile with MTASC menu item. A dialog box will appear. For the mtasc executable type or browse to the path where you have unzipped the mtasc compiler. The target swf can be any directory and filename of your choice. For the base class type in the path to the Test.as file you created earlier. In the header option type in the dimensions of the stage and the framerate. In the Options menu make sure the main checkbox is selected. In the classpaths add the ASWing src directory to list. Below is a screenshot of my setup.

mtascasw.jpg

Now lets add some code to the Test.as file to make sure our setup is working fine. Mtasc should have compiled and created an swf for you. The Stage should show a JWindow pane with the Test Button on top. Below is a screenshot of my compiled swf.

/**
* @author firdosh
*/
import org.aswing. *;
class Test extends JWindow
{
	private var myButton : JButton;
	public function Test (Void)
	{
		super (_root, true);
		myButton = new JButton ("Test");
		getContentPane ().append (myButton, BorderLayout.NORTH);
	}
	public static function main (Void) : Void
	{
		var myWindow : Test = new Test ();
		myWindow.setLocation (50, 50);
		myWindow.setSize (300, 300);
		myWindow.show ();
	}
}

Mtasc should have compiled and created an swf for you. The Stage should show a JWindow pane with the Test Button on top. Below is a screenshot of my compiled swf.

sepyasw.jpg

Discussion

xiangui.jiang, 2012/03/23 23:05
Cheap NFL,NBA,MLB,NHL [url=http://www.annajerseys.com/]Jerseys From China[/url].[url=http://www.annajerseys.com/]China Jerseys[/url],[url=http://www.annajerseys.com/]Sports Jerseys China[/url],[url=http://www.annajerseys.com/nfl-jerseys-c-1.html]NFL Jerseys China[/url],[url=http://www.annajerseys.com/nba-]NBA Jerseys China[/url],NHL Jerseys

China,[url=http://www.annajerseys.com/nba-jerseys-c-84.html]MLB Jerseys China[/url],NFL jerseys For Sale

online.All Our Jerseys Are Sewn On and Directly From Chinese Jerseys Factory
[/pre]
[pre]
We Are Professional China Brand Wholesaler,[url=http://www.anna-wholesale.com/brand-shoes-c-380.html]Wholesale Brand Shoes[/url],Handbags,[url=http://www.anna]Sports Jerseys China[/url],Jewelry,Hats,[url=http://www.anna-]Sunglasses From China[/url],Cheap China

Wholesael,[url=http://www.anna-wholesale.com]Wholesale From China[/url],Free Shipping,Cheap Price,7 Days

Deliver
[/pre]

Best Converse Online Store From UK,Sale 2011 Newest [url=http://www.sale-converse.com/]Converse All Stars[/url],[url=http://www.sale-converse.com/converse-flag-shoes-c]Converse Flag Shoes[/url],Black Converse,White Converse,Navy Converse And So on,[url=http://www.sale-]Converse UK[/url],Free Shipping
[/pre]

We are professional jerseys manufacturer from china,wholesal

sports [url=http://www.anna-jersey.com]Jerseys From China[/url],[url=http://www.anna-jersey.com/nfl-jerseys-c-]NFL jerseys China[/url],[url=http://www.anna-jersey.com/nhl-jerseys-c-882.html]NHL Jerseys China[/url],[url=http://www.anna-jersey.com/nba-jerseys-c-821.html]NBA Jerseys China[/url],[url=http://www.anna-jersey.com/mlb-]MLB Jerseys China[/url],[url=http://www.anna-jersey.com/]China Jerseys[/url],Free

Shipping
[/pre]
[pre]
[url=http://www.fitflop-uk.com/]fitflops sale UK[/url] [url=http://www.fitflop-]fitflop sale[/url]
[/pre]

[url=http://www.china4jersey.com/]Wholesale Jerseys From China[/url],[url=http://www.china4jersey.com/]Wholesale Jerseys[/url],[url=http://www.china4jersey.com/]China Jerseys[/url],NFL

Jerseys China Paypal,NHL Jerseys China Paypal,Chinese Jerseys factory,Sewn On Jerseys,Accept Paypal,Free Shipping
[/pre]
Enter your comment
 
 
projects/aswing/tutorials/how_to_use_aswing_with_the_sepy_and_mtasc.txt · Last modified: 2007/02/20 11:12 (external edit)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki