Hello, first of all, I must say that jsc is simply incredible!
Orginally I am C# developer but now I also developing AS3, so when I
found your tool I just felt orgazm )))
Anyway. How can I I use external libraries in my project.
For example I have Flint library (very good particle system) in SWC
file. But I can't use it in C# code and yes, I can parse it by hands
to C# jsc, but it's so boring - to many classes. So I wonder - is
there some automatic converter or simply the way to use external code?
> Hello, first of all, I must say that jsc is simply incredible!
> Orginally I am C# developer but now I also developing AS3, so when I
> found your tool I just felt orgazm )))
> Anyway. How can I I use external libraries in my project.
> For example I have Flint library (very good particle system) in SWC
> file. But I can't use it in C# code and yes, I can parse it by hands
> to C# jsc, but it's so boring - to many classes. So I wonder - is
> there some automatic converter or simply the way to use external code?
> On May 29, 11:08 am, Moristar <moris...@gmail.com> wrote:
> > Hello, first of all, I must say that jsc is simply incredible!
> > Orginally I am C# developer but now I also developing AS3, so when I
> > found your tool I just felt orgazm )))
> > Anyway. How can I I use external libraries in my project.
> > For example I have Flint library (very good particle system) in SWC
> > file. But I can't use it in C# code and yes, I can parse it by hands
> > to C# jsc, but it's so boring - to many classes. So I wonder - is
> > there some automatic converter or simply the way to use external code?
Hello again
Finally I took a look at the sample project and I'm happy, that I went in
correct direction. Thanks for stubs for Flint classes, but can I ask you to
make stubs for org.flintparticles.twoD package also? It seems that you
create them much more quickly than me.
Thanks again! Long live the jsc )
>> On May 29, 11:08 am, Moristar <moris...@gmail.com> wrote:
>> > Hello, first of all, I must say that jsc is simply incredible!
>> > Orginally I am C# developer but now I also developing AS3, so when I
>> > found your tool I just felt orgazm )))
>> > Anyway. How can I I use external libraries in my project.
>> > For example I have Flint library (very good particle system) in SWC
>> > file. But I can't use it in C# code and yes, I can parse it by hands
>> > to C# jsc, but it's so boring - to many classes. So I wonder - is
>> > there some automatic converter or simply the way to use external code?
I am sorry, but this week I am booked. I will do so however in the next
week.
Are you planning to post online your experiments with jsc? I would be happy
to have a look at them. Or even if you manage to write some cool demos I
would include them to the jsc project examples.
On Mon, Jun 1, 2009 at 8:59 AM, A$TRAL Moristar <moris...@gmail.com> wrote:
> Hello again
> Finally I took a look at the sample project and I'm happy, that I went in
> correct direction. Thanks for stubs for Flint classes, but can I ask you to
> make stubs for org.flintparticles.twoD package also? It seems that you
> create them much more quickly than me.
> Thanks again! Long live the jsc )
>>> On May 29, 11:08 am, Moristar <moris...@gmail.com> wrote:
>>> > Hello, first of all, I must say that jsc is simply incredible!
>>> > Orginally I am C# developer but now I also developing AS3, so when I
>>> > found your tool I just felt orgazm )))
>>> > Anyway. How can I I use external libraries in my project.
>>> > For example I have Flint library (very good particle system) in SWC
>>> > file. But I can't use it in C# code and yes, I can parse it by hands
>>> > to C# jsc, but it's so boring - to many classes. So I wonder - is
>>> > there some automatic converter or simply the way to use external code?
Sure, I will )
Can you tell me than, how do you create them (I mean stubs) so accurate and
well formed? I cant believe, that you doing this by own hands
> I am sorry, but this week I am booked. I will do so however in the next
> week.
> Are you planning to post online your experiments with jsc? I would be happy
> to have a look at them. Or even if you manage to write some cool demos I
> would include them to the jsc project examples.
> Best Regards,
> Arvo
> On Mon, Jun 1, 2009 at 8:59 AM, A$TRAL Moristar <moris...@gmail.com>wrote:
>> Hello again
>> Finally I took a look at the sample project and I'm happy, that I went in
>> correct direction. Thanks for stubs for Flint classes, but can I ask you to
>> make stubs for org.flintparticles.twoD package also? It seems that you
>> create them much more quickly than me.
>> Thanks again! Long live the jsc )
>>>> On May 29, 11:08 am, Moristar <moris...@gmail.com> wrote:
>>>> > Hello, first of all, I must say that jsc is simply incredible!
>>>> > Orginally I am C# developer but now I also developing AS3, so when I
>>>> > found your tool I just felt orgazm )))
>>>> > Anyway. How can I I use external libraries in my project.
>>>> > For example I have Flint library (very good particle system) in SWC
>>>> > file. But I can't use it in C# code and yes, I can parse it by hands
>>>> > to C# jsc, but it's so boring - to many classes. So I wonder - is
>>>> > there some automatic converter or simply the way to use external code?
By the way, my goal of using jsc is to make flash demo versions of casual
games, that my company developing. So you will see them very soon on our
website. And also I'll will think about composing some good tutorials )
> Sure, I will )
> Can you tell me than, how do you create them (I mean stubs) so accurate and
> well formed? I cant believe, that you doing this by own hands
>> I am sorry, but this week I am booked. I will do so however in the next
>> week.
>> Are you planning to post online your experiments with jsc? I would be
>> happy to have a look at them. Or even if you manage to write some cool demos
>> I would include them to the jsc project examples.
>> Best Regards,
>> Arvo
>> On Mon, Jun 1, 2009 at 8:59 AM, A$TRAL Moristar <moris...@gmail.com>wrote:
>>> Hello again
>>> Finally I took a look at the sample project and I'm happy, that I went in
>>> correct direction. Thanks for stubs for Flint classes, but can I ask you to
>>> make stubs for org.flintparticles.twoD package also? It seems that you
>>> create them much more quickly than me.
>>> Thanks again! Long live the jsc )
>>>>> On May 29, 11:08 am, Moristar <moris...@gmail.com> wrote:
>>>>> > Hello, first of all, I must say that jsc is simply incredible!
>>>>> > Orginally I am C# developer but now I also developing AS3, so when I
>>>>> > found your tool I just felt orgazm )))
>>>>> > Anyway. How can I I use external libraries in my project.
>>>>> > For example I have Flint library (very good particle system) in SWC
>>>>> > file. But I can't use it in C# code and yes, I can parse it by hands
>>>>> > to C# jsc, but it's so boring - to many classes. So I wonder - is
>>>>> > there some automatic converter or simply the way to use external
>>>>> code?
On Mon, Jun 1, 2009 at 10:40 AM, A$TRAL Moristar <moris...@gmail.com> wrote:
> By the way, my goal of using jsc is to make flash demo versions of casual
> games, that my company developing. So you will see them very soon on our
> website. And also I'll will think about composing some good tutorials )
> Sure, I will )
>> Can you tell me than, how do you create them (I mean stubs) so accurate
>> and well formed? I cant believe, that you doing this by own hands
>>> I am sorry, but this week I am booked. I will do so however in the next
>>> week.
>>> Are you planning to post online your experiments with jsc? I would be
>>> happy to have a look at them. Or even if you manage to write some cool demos
>>> I would include them to the jsc project examples.
>>> Best Regards,
>>> Arvo
>>> On Mon, Jun 1, 2009 at 8:59 AM, A$TRAL Moristar <moris...@gmail.com>wrote:
>>>> Hello again
>>>> Finally I took a look at the sample project and I'm happy, that I went
>>>> in correct direction. Thanks for stubs for Flint classes, but can I ask you
>>>> to make stubs for org.flintparticles.twoD package also? It seems that you
>>>> create them much more quickly than me.
>>>> Thanks again! Long live the jsc )
>>>>>> On May 29, 11:08 am, Moristar <moris...@gmail.com> wrote:
>>>>>> > Hello, first of all, I must say that jsc is simply incredible!
>>>>>> > Orginally I am C# developer but now I also developing AS3, so when I
>>>>>> > found your tool I just felt orgazm )))
>>>>>> > Anyway. How can I I use external libraries in my project.
>>>>>> > For example I have Flint library (very good particle system) in SWC
>>>>>> > file. But I can't use it in C# code and yes, I can parse it by hands
>>>>>> > to C# jsc, but it's so boring - to many classes. So I wonder - is
>>>>>> > there some automatic converter or simply the way to use external
>>>>>> code?
Hi.
Sorry for disturbance, but I faced a problem, that I cant pass AS3 Class
parameter. I mean using of Class type as C# Type.
So if I want to pass simply class name - C# compiler says, that I'm using
class as variable, and when I'm trying to cheat and replacing Class with
Type - it's C#-AS3 translator can't understand me.
Can you help with that?
> On Mon, Jun 1, 2009 at 10:40 AM, A$TRAL Moristar <moris...@gmail.com>wrote:
>> By the way, my goal of using jsc is to make flash demo versions of casual
>> games, that my company developing. So you will see them very soon on our
>> website. And also I'll will think about composing some good tutorials )
>>> Sure, I will )
>>> Can you tell me than, how do you create them (I mean stubs) so accurate
>>> and well formed? I cant believe, that you doing this by own hands
>>>> I am sorry, but this week I am booked. I will do so however in the next
>>>> week.
>>>> Are you planning to post online your experiments with jsc? I would be
>>>> happy to have a look at them. Or even if you manage to write some cool demos
>>>> I would include them to the jsc project examples.
>>>> Best Regards,
>>>> Arvo
>>>> On Mon, Jun 1, 2009 at 8:59 AM, A$TRAL Moristar <moris...@gmail.com>wrote:
>>>>> Hello again
>>>>> Finally I took a look at the sample project and I'm happy, that I went
>>>>> in correct direction. Thanks for stubs for Flint classes, but can I ask you
>>>>> to make stubs for org.flintparticles.twoD package also? It seems that you
>>>>> create them much more quickly than me.
>>>>> Thanks again! Long live the jsc )
>>>>>>> On May 29, 11:08 am, Moristar <moris...@gmail.com> wrote:
>>>>>>> > Hello, first of all, I must say that jsc is simply incredible!
>>>>>>> > Orginally I am C# developer but now I also developing AS3, so when
>>>>>>> I
>>>>>>> > found your tool I just felt orgazm )))
>>>>>>> > Anyway. How can I I use external libraries in my project.
>>>>>>> > For example I have Flint library (very good particle system) in SWC
>>>>>>> > file. But I can't use it in C# code and yes, I can parse it by
>>>>>>> hands
>>>>>>> > to C# jsc, but it's so boring - to many classes. So I wonder - is
>>>>>>> > there some automatic converter or simply the way to use external
>>>>>>> code?
Could you give me an example source snippet of how you are trying to
use it and a more elaborate description on what you are trying to
achieve. I would be glad to help you out.
On Jun 1, 1:48 pm, "A$TRAL Moristar" <moris...@gmail.com> wrote:
> Hi.
> Sorry for disturbance, but I faced a problem, that I cant pass AS3 Class
> parameter. I mean using of Class type as C# Type.
> So if I want to pass simply class name - C# compiler says, that I'm using
> class as variable, and when I'm trying to cheat and replacing Class with
> Type - it's C#-AS3 translator can't understand me.
> Can you help with that?
> > On Mon, Jun 1, 2009 at 10:40 AM, A$TRAL Moristar <moris...@gmail.com>wrote:
> >> By the way, my goal of using jsc is to make flash demo versions of casual
> >> games, that my company developing. So you will see them very soon on our
> >> website. And also I'll will think about composing some good tutorials )
> >>> Sure, I will )
> >>> Can you tell me than, how do you create them (I mean stubs) so accurate
> >>> and well formed? I cant believe, that you doing this by own hands
> >>>> I am sorry, but this week I am booked. I will do so however in the next
> >>>> week.
> >>>> Are you planning to post online your experiments with jsc? I would be
> >>>> happy to have a look at them. Or even if you manage to write some cool demos
> >>>> I would include them to the jsc project examples.
> >>>> Best Regards,
> >>>> Arvo
> >>>> On Mon, Jun 1, 2009 at 8:59 AM, A$TRAL Moristar <moris...@gmail.com>wrote:
> >>>>> Hello again
> >>>>> Finally I took a look at the sample project and I'm happy, that I went
> >>>>> in correct direction. Thanks for stubs for Flint classes, but can I ask you
> >>>>> to make stubs for org.flintparticles.twoD package also? It seems that you
> >>>>> create them much more quickly than me.
> >>>>> Thanks again! Long live the jsc )
> >>>>>>> On May 29, 11:08 am, Moristar <moris...@gmail.com> wrote:
> >>>>>>> > Hello, first of all, I must say that jsc is simply incredible!
> >>>>>>> > Orginally I am C# developer but now I also developing AS3, so when
> >>>>>>> I
> >>>>>>> > found your tool I just felt orgazm )))
> >>>>>>> > Anyway. How can I I use external libraries in my project.
> >>>>>>> > For example I have Flint library (very good particle system) in SWC
> >>>>>>> > file. But I can't use it in C# code and yes, I can parse it by
> >>>>>>> hands
> >>>>>>> > to C# jsc, but it's so boring - to many classes. So I wonder - is
> >>>>>>> > there some automatic converter or simply the way to use external
> >>>>>>> code?
Oh, that's OK. I've found the solution. I'm using this statement typeof(RadialDot).ToClassToken() to get a Class object with the RadialDot type. For now I'm trying to add some stubs for mx.controls package. It was a pleasant surptise, when I compiled ScriptCoreLib and is copied to util\jsc folder :)
On Fri, Jun 5, 2009 at 3:38 PM, A$TRAL Moristar <moris...@gmail.com> wrote:
> Oh, that's OK. I've found the solution.
> I'm using this statement
> typeof(RadialDot).ToClassToken()
> to get a Class object with the RadialDot type.
> For now I'm trying to add some stubs for mx.controls package. It was a
> pleasant surptise, when I compiled ScriptCoreLib and is copied to util\jsc
> folder :)
Yeah, there is a lot of questions )
I will provide stubs with example a bit later. I only imported TextArea
class for real )
Now I have this message
Error 5 ActionScript : BCL needs another method, please define it. Cannot
call type without script attribute : System.Convert for System.String
ToString(Int64, Int32) used at
Engine.Widgets.TextWidgetWithScroll.set_FontInfo. If the use of this method
is intended, an implementation should be provided with the attribute
[Script(Implements=typeof(...)] set. You may have mistyped it.
This is because I use Convert method for getting hexadecimal string from
uint color value. It seems, that I must write functionality for converting
uint to string by myself?
> I could include those new stubs into the svn tree if you also provide a
> simple example project to demonstrate (for testing) those new types.
> If you have more questions, let me know.
> On Fri, Jun 5, 2009 at 3:38 PM, A$TRAL Moristar <moris...@gmail.com>wrote:
>> Oh, that's OK. I've found the solution.
>> I'm using this statement
>> typeof(RadialDot).ToClassToken()
>> to get a Class object with the RadialDot type.
>> For now I'm trying to add some stubs for mx.controls package. It was a
>> pleasant surptise, when I compiled ScriptCoreLib and is copied to util\jsc
>> folder :)
So.. I have made this correction to ScriptCoreLib:
[Script(Implements = typeof(global::System.Convert))]
internal class __Convert
{
public static string ToString(char value)
{
return __String.FromCharCode(value);
}
> Yeah, there is a lot of questions )
> I will provide stubs with example a bit later. I only imported TextArea
> class for real )
> Now I have this message
> Error 5 ActionScript : BCL needs another method, please define it. Cannot
> call type without script attribute : System.Convert for System.String
> ToString(Int64, Int32) used at
> Engine.Widgets.TextWidgetWithScroll.set_FontInfo. If the use of this method
> is intended, an implementation should be provided with the attribute
> [Script(Implements=typeof(...)] set. You may have mistyped it.
> This is because I use Convert method for getting hexadecimal string from
> uint color value. It seems, that I must write functionality for converting
> uint to string by myself?
>> I could include those new stubs into the svn tree if you also provide a
>> simple example project to demonstrate (for testing) those new types.
>> If you have more questions, let me know.
>> On Fri, Jun 5, 2009 at 3:38 PM, A$TRAL Moristar <moris...@gmail.com>wrote:
>>> Oh, that's OK. I've found the solution.
>>> I'm using this statement
>>> typeof(RadialDot).ToClassToken()
>>> to get a Class object with the RadialDot type.
>>> For now I'm trying to add some stubs for mx.controls package. It was a
>>> pleasant surptise, when I compiled ScriptCoreLib and is copied to util\jsc
>>> folder :)