It's time to start using external code
:mad:OK I have gone to school and learned about :
Inheritance, Encapsulation & Polymorphism
but to put it into practice I NEED to know some BASICS in how to structur, name and link .as files to .fla files correctly.
The tutorials I find talk about oop and I practice exples and my code does nothing.
so I started from scratch with the most barebones example:
1)create test.fla
2)create test.as
3) make sure test .as targets test.fla in the top right corner
4) in test.as I plug in these lines:
Quote:
package
{
public class test
{
public function test():void
{trace ("hello");
}
test();
}
}
5) I save everthything and run test.fla or publish test.swf and nothing happens.
How do I create more than one script and appy it to an fla?
I did catch something I missed from the document class tutorial in the properties I forgot to set up the script in the Document class window. It figures it would be something dumb like that.
How do I create more than one script and appy it to an fla?