[osflash] mtasc Error
Cosmin Cimpoi
cosmin.cimpoi at monogroup.com
Wed Nov 2 10:20:46 EST 2005
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" <info at bokelberg.de>
To: "Open Source Flash Mailing List" <osflash at osflash.org>
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" <info at bokelberg.de>
>> To: "Open Source Flash Mailing List" <osflash at osflash.org>
>> 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:Jim at avtgroup.com>
>>>>
>>>> *To:* Open Source Flash Mailing List <mailto:osflash at osflash.org>
>>>> *Sent:* Wednesday, November 02, 2005 3:38 PM
>>>> *Subject:* Re: [osflash] mtasc Error
>>>>
>>>> Do you have another class called Error?
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> *From:* osflash-bounces at osflash.org
>>>> <mailto:osflash-bounces at osflash.org>
>>>> [mailto:osflash-bounces at osflash.org] *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
>>>> osflash at osflash.org
>>>> http://osflash.org/mailman/listinfo/osflash_osflash.org
>>>>
>>>>
>>>>------------------------------------------------------------------------
>>>>
>>>>_______________________________________________
>>>>osflash mailing list
>>>>osflash at osflash.org
>>>>http://osflash.org/mailman/listinfo/osflash_osflash.org
>>>
>>>_______________________________________________
>>>osflash mailing list
>>>osflash at osflash.org
>>>http://osflash.org/mailman/listinfo/osflash_osflash.org
>>>
>>
>>
>>
>>
>> _______________________________________________
>> osflash mailing list
>> osflash at osflash.org
>> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
More information about the osflash
mailing list