Yep, that is _Class now.
Should have guessed why the underscore :)
Well i go find/replace now...

Thanks!
cosmin


> Just rename the class, I think I read in the documentation on the
> oregano server site they used the reserved word Class for the main class
> so he rewrote it to clazz, if he is doing that I think you will be ok
> renaming the Error class :)
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Cosmin Cimpoi
> Sent: 02 November 2005 15:21
> To: Open Source Flash Mailing List
> Subject: Re: [osflash] mtasc Error
> 
> I think that is the problem.
> 
> the code is this:
> 
> var err = new Error(errCode, loginMode, cache);
> 
> It is inside org.omus.core.Session in the Oregano Multiuser Server AS2 
> Client.
> It seems that this port from as1 to as2 is not mtasc compatible (nor
> should 
> be as there is no such claim on the site).
> 
> But it's clear now that the Error class that MTASC enforces overwrites
> that 
> in the org.omus package and that is why i gt back only the first string 
> argument passed to the class constructor.
> 
> Can you think of sny quick fix for this?
> I started this project (multiplayer game) as an exercise on FAME +
> Oregano 
> (well, using ant instead of flashout but AAME sounds bad :) and going
> back 
> to the MM compiler seems soooo slow.
> If not, I 'll just go ahead and rename that class.
> 
> thanks for the feedback so far.
> 
> cosmin
> 
> 
> ----- Original Message ----- 
> From: "Ralf Bokelberg" <[EMAIL PROTECTED]>
> To: "Open Source Flash Mailing List" <[email protected]>
> Sent: Wednesday, November 02, 2005 4:29 PM
> Subject: Re: [osflash] mtasc Error
> 
> 
>> The mtasc distribution contains a directory named standard, which
>> contains intrinisic definitions of the player classes.
>> Can you show us a simple example code to reproduce this problem?
>>
>> Cheers,
>> Ralf.
>>
>> Cosmin Cimpoi wrote:
>>
>>> I'm using Flash8 / fp8
>>> And the MM compiler is the one that insgtantiates correctly this
> Error
>>> class.
>>> Mtasc just takes the first argument and traces that instead of the
> class.
>>>
>>> What is std?
>>>
>>> cosmin
>>>
>>>
>>> ----- Original Message ----- 
>>> From: "Ralf Bokelberg" <[EMAIL PROTECTED]>
>>> To: "Open Source Flash Mailing List" <[email protected]>
>>> Sent: Wednesday, November 02, 2005 3:57 PM
>>> Subject: Re: [osflash] mtasc Error
>>>
>>>
>>>
>>>>Flash actually knows a global class called Error. Should be in std.
>>>>
>>>>Cheers,
>>>>Ralf.
>>>>
>>>>Cosmin Cimpoi wrote:
>>>>
>>>>
>>>>>Nope.
>>>>>But I have the feeling that mtasc has.
>>>>>**
>>>>>**
>>>>>*From:* Jim Tann <mailto:[EMAIL PROTECTED]>
>>>>>
>>>>>    *To:* Open Source Flash Mailing List
> <mailto:[email protected]>
>>>>>    *Sent:* Wednesday, November 02, 2005 3:38 PM
>>>>>    *Subject:* Re: [osflash] mtasc Error
>>>>>
>>>>>    Do you have another class called Error?
>>>>>
>>>>>
>>>>>
>>>>>
> ------------------------------------------------------------------------
>>>>>
>>>>>    *From:* [EMAIL PROTECTED]
>>>>>    <mailto:[EMAIL PROTECTED]>
>>>>>    [mailto:[EMAIL PROTECTED] *On Behalf Of *Cosmin
> Cimpoi
>>>>>    *Sent:* 02 November 2005 13:21
>>>>>    *To:* Open Source Flash Mailing List
>>>>>    *Subject:* [osflash] mtasc Error
>>>>>
>>>>>
>>>>>
>>>>>    I have this issue:
>>>>>
>>>>>
>>>>>
>>>>>    I am using the Oregano as2 client and compiling with MTASC.
>>>>>
>>>>>    Oregano has an Error class that it uses well, for creating error
>>>>>    objects.
>>>>>
>>>>>    When i compile in MTASC the line:
>>>>>
>>>>>
>>>>>
>>>>>    var err = new Errorx('code', 'method');
>>>>>
>>>>>
>>>>>
>>>>>    and trace err it returns the String 'code'
>>>>>
>>>>>
>>>>>
>>>>>    If I compile with MM it returns the class: org.omus.util.Error
>>>>>
>>>>>
>>>>>
>>>>>    If I change the name of the class to Errorx for example the
> problem
>>>>>    is solved.
>>>>>
>>>>>    Anyone knows what this could be about ?
>>>>>
>>>>>
>>>>>
>>>>>    thanks,
>>>>>
>>>>>    cosmin
>>>>>
>>>>>
> ------------------------------------------------------------------------
>>>>>
>>>>>    _______________________________________________
>>>>>    osflash mailing list
>>>>>    [email protected]
>>>>>    http://osflash.org/mailman/listinfo/osflash_osflash.org
>>>>>
>>>>>
>>>>>--------------------------------------------------------------------
> ----
>>>>>
>>>>>_______________________________________________
>>>>>osflash mailing list
>>>>>[email protected]
>>>>>http://osflash.org/mailman/listinfo/osflash_osflash.org
>>>>
>>>>_______________________________________________
>>>>osflash mailing list
>>>>[email protected]
>>>>http://osflash.org/mailman/listinfo/osflash_osflash.org
>>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> osflash mailing list
>>> [email protected]
>>> http://osflash.org/mailman/listinfo/osflash_osflash.org
>>
>> _______________________________________________
>> osflash mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/osflash_osflash.org
>> 
> 
> 
> 
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
> 
> 
> 
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to