Could be a dumb mistake of mine, but I have to admit that I´m breaking my head trying to solve it... first, I set up the FlashDevelop IDE and managed to compile my first test project with it (using MTASC), here is the code I´m using:
import com.ariaware.arp.ArpForm; //Its meant to be the Application Form of the ARP framework as well as the entry point class com.cconline.view.Application extends ArpForm { //constructor function Application(target:MovieClip) { //Assimilate _root target.__proto__ = this.__proto__; target.__constructor__ = Application; this = Application(target); trace(this); //problem 1 this.createTextField("lala",0,0,0,100,100) this['lala'].text = 'TESTE'; var sd:MovieClip; this.onEnterFrame = function() { this['lala']._x += 1; //problem 2 trace(this['lala']._x); } } static function main() { var app:Application = new Application(_root); } } The output of the trace(this) keeps showing in the FlashDevelop output panel as if it was inside a loop, but it isn´t, also, the TextField 'lala' only goes 3 pixels away and goes back to its start position... it seems that something is reseting the movie? If so, what could be doing that? Another question regarding ARP development with MTASC... I´ve read the technique to assimilate the _root on Aral´s blog but I could not link this with how ARP works, one method that I think of is by putting the forms on the stage trough the IDE and linking the classes trough this class (including the Application linking itself to its form symbol on the library); another one is by creating a wrapper class that does all the class linking stuff...? I´m a little confused here... Thanks in advance! Marcelo. _______________________________________________________ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html _______________________________________________ osflash mailing list osflash@osflash.org http://osflash.org/mailman/listinfo/osflash_osflash.org