Re: [Flashcoders] Delegate.create() not working in flash develop.....

2007-04-12 Thread Omar Fouad
Ah really!!! I didnt try it as flash develop says i cant Sounds COOL On 4/12/07, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi, ok np. Im using a custom delegate as well most of the time, but injecting swf's do support assets btw. greetz JC On 4/12/07, Omar Fouad <[EMAIL PROTECTED]> wrote:

Re: [Flashcoders] Delegate.create() not working in flash develop.....

2007-04-12 Thread Hans Wichman
Hi, ok np. Im using a custom delegate as well most of the time, but injecting swf's do support assets btw. greetz JC On 4/12/07, Omar Fouad <[EMAIL PROTECTED]> wrote: Yes dude, it was an idea... but i think is more convenient having a modified Delegate class than using injection, as in inject

Re: [Flashcoders] Delegate.create() not working in flash develop.....

2007-04-12 Thread Omar Fouad
Yes dude, it was an idea... but i think is more convenient having a modified Delegate class than using injection, as in injecting swf's doesn't support assets... thanks Hans for your reply and thanks to all the list! Flash Coders ROCKS On 4/12/07, Hans Wichman <[EMAIL PROTECTED]> wrote: O

Re: [Flashcoders] Delegate.create() not working in flash develop.....

2007-04-12 Thread Hans Wichman
Omar, have you tried what I suggested? greetz JC On 4/11/07, Omar Fouad <[EMAIL PROTECTED]> wrote: D. ache i tried it but unfortunately it didn't work. More ideas??? On 4/11/07, dr.ache <[EMAIL PROTECTED]> wrote: > > scope problem. try to create the Delegate before applying it to the > on

Re: [Flashcoders] Delegate.create() not working in flash develop.....

2007-04-11 Thread Hans Wichman
Hi, the problem is "Note: I had set the "USEMX" option in flash develop to true..." Setting the option to true, means mtasc is passed a flag -mx which means: do NOT use the mx classes. So you are not compiling the delegate class into your project. If you want to use the -mx flag, simply create a

Re: [Flashcoders] Delegate.create() not working in flash develop.....

2007-04-11 Thread Omar Fouad
D. ache i tried it but unfortunately it didn't work. More ideas??? On 4/11/07, dr.ache <[EMAIL PROTECTED]> wrote: scope problem. try to create the Delegate before applying it to the onEnterFrame function like that: function new() { var del:Funtion = Delegate.create(this,traceIt); _root.onEn

Re: [Flashcoders] Delegate.create() not working in flash develop.....

2007-04-10 Thread dr.ache
scope problem. try to create the Delegate before applying it to the onEnterFrame function like that: function new() { var del:Funtion = Delegate.create(this,traceIt); _root.onEnterFrame = del; } problem arises because you are in _root.onEnterFrame. your "this" will point to _root, not on your cla

Re: [Flashcoders] Delegate.create() not working in flash develop.....

2007-04-10 Thread eka
Hello :) Can you test my personal vegas.events.Delegate class ? This class is MTASC/Flash/FDT compatible : - Project in RIAForge : http://vegas.riaforge.org/ - Project in Google Code : http://code.google.com/p/vegas/ - installation of VEGAS : http://code.google.com/p/vegas/wiki/InstallVEGASwith

[Flashcoders] Delegate.create() not working in flash develop.....

2007-04-10 Thread Omar Fouad
Hi list, I was working in a project using Flash develop and mtasc, and i realized that Delegate isn't working properly, as in The function specified into the create() method in Delegate doesn't fire. so i decided to create simple class just to test the Delegate.create Method to know whether the pr