Thanks Lee.. I can't believe i had to alter Delegate O_o
- Andreas
Lee McColl-Sylvester wrote:
I've found this before... Macr, not being good at general programming syntax
rules, have used the same variable name inside and outside an internal function
definition. It kinda looks like this:
Function somefunc()
{
Newfunc = function()
{
Var func;
...
}
Var func;
...
}
Although Flash would compile this as okay because the variables have different
scopes, MTASC see them as both belonging to somefunc, so see the variable func
as being declared twice.
If you navigate the file, you should be able to rename one of the vars
Lee
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning
Sent: 13 June 2006 13:19
To: Flashcoders mailing list
Subject: [Flashcoders] mtasc and delegate
Delegate.as line 27: characters 3-11 : type error Local variable
redefinition : func
Why is mtasc giving me hate? It's not like i wrote Delegate :P
- Andreas SJ
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
--
- Andreas Rønning
---------------------------------------
Flash guy
Rayon Visual Concepts, Oslo, Norway
---------------------------------------
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com