http://nuigroup.com/wiki/Building_Your_First_Application/
So if someone can tell me the wiki software we are running here, I can find out how to make it much much better.
1: create a new Flash file (actionScript3)
2: click on the canvas, the properties for the file should not be available.
3:click on the size button.
4: change that to 1024 x 768 and 30+ FPS
5: click settings (below size button)
6: Where it says actionScrtip version, make sure ActionScript is selected and click settings
7: in classpath at the bottom, click on the + button and enter
../ext
do the same for
../int
8: save this flash file in (the touchlib folder) AS3/src (name it what you want) EG touch.fla
9: in the AS3/int/app/demo folder, create a new folder called MyTouchApp (must be exact)
10: create a new ActionScript file.
11: save it as MyTouchApp.as in AS3/int/app/demo/MyTouchApp (that folder you just made)
12: go back to (click on the tab for) you flash file EG. touch.fla
13: In the Document Class text field enter app.demo.MyTouchApp.MyTouchApp
14: select the rectangle button and make a rectangle that is over, and larger than your canvas. This will be the area your program will run on.
15: right click (control click on a mac) on the black rectangle you just made and select “Convert To Symbol”
16: make sure movieclip is selected and press ok.
17: Save file… go back to MyTouchApp.as
18: copy code from examples and paste it in this file. MAKE SURE THE PAGE IS CLEARED FIRST
19: save this file again, go back to (click on the tab for) you flash file EG. touch.fla
20: publish the file. It should work now
You need to create a new fla fie and a new .as file.
in the properties of the fla click settings (next to “publish:")
next to the drop down for actionscript version, click on settings
at the bottom for classpath hit plus sign and enter
../int
and the same again for:
../ext
save the fla file in (the touchlib folder) AS3/src (name it what you want)
save the .as file in AS3/int/app/demo (name it MyTouchApp.as )
in the fla file in properties window, for the Document class enter
app/demo/MyTouchApp.as
it should have no error… click the pencil button next to it, and it should take you to your .as file if it worked properly.
They are now linked.
In the as file use this code.
