Will -version 9 for AS2.0 syntax be supported?

View: New views
3 Messages — Rating Filter:   Alert me  

Will -version 9 for AS2.0 syntax be supported?

by Igor Sadovskiy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Nicolas.
 
Adobe Flash CS3 (9) is now released and I see there is a possibility to compile code targeted Flash Player 9 using both As2 and As3 syntax. But Flash 9 uses to separate core classes sets to compile As2 and As3 code. For As3 projects it uses Flex 2 core classes while for As2 projects it uses a little bit extended class set from Flash 8.
 
So, as I understand, actually Flash 9 compiles As2 projects to target AVM2 with a little bit extended API in Flash Player 9. If so, it won't be a problem to add such support to MTASC. Just add "std9" folder and "-version 9" option support to compiler, update generated SWF's header with appropriate version info and etc...
 
May be I'm wrong since I wasn't able to make deep researches. So what do you think about?
 
Great regards,
Igor
 

--
MTASC : no more coffee break while compiling

Re: Will -version 9 for AS2.0 syntax be supported?

by Nicolas Cannasse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hello Nicolas.
>  
> Adobe Flash CS3 (9) is now released and I see there is a possibility to
> compile code targeted Flash Player 9 using both As2 and As3 syntax. But
> Flash 9 uses to separate core classes sets to compile As2 and As3 code.
> For As3 projects it uses Flex 2 core classes while for As2 projects it
> uses a little bit extended class set from Flash 8.
>  
> So, as I understand, actually Flash 9 compiles As2 projects to target
> AVM2 with a little bit extended API in Flash Player 9. If so, it won't
> be a problem to add such support to MTASC. Just add "std9" folder and
> "-version 9" option support to compiler, update generated SWF's header
> with appropriate version info and etc...
>  
> May be I'm wrong since I wasn't able to make deep researches. So what do
> you think about?

It will be done soon.

Actually Philippe Elsass (of the FlashDevelop team) sent me the std9
headers and haXe has been updated accordingly. There are not so much
changes anyway... And the AS2 code is compiled to AVM1, not AVM2 ;)

Nicolas


--
MTASC : no more coffee break while compiling

Re: Will -version 9 for AS2.0 syntax be supported?

by Igor Sadovskiy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Cool! Thank you for your response, Nocolas :)
 
Igor

 
On 5/10/07, Nicolas Cannasse <ncannasse@...> wrote:
> Hello Nicolas.

>
> Adobe Flash CS3 (9) is now released and I see there is a possibility to
> compile code targeted Flash Player 9 using both As2 and As3 syntax. But
> Flash 9 uses to separate core classes sets to compile As2 and As3 code.
> For As3 projects it uses Flex 2 core classes while for As2 projects it
> uses a little bit extended class set from Flash 8.
>
> So, as I understand, actually Flash 9 compiles As2 projects to target
> AVM2 with a little bit extended API in Flash Player 9. If so, it won't
> be a problem to add such support to MTASC. Just add "std9" folder and
> "-version 9" option support to compiler, update generated SWF's header
> with appropriate version info and etc...
>
> May be I'm wrong since I wasn't able to make deep researches. So what do
> you think about?

It will be done soon.

Actually Philippe Elsass (of the FlashDevelop team) sent me the std9
headers and haXe has been updated accordingly. There are not so much
changes anyway... And the AS2 code is compiled to AVM1, not AVM2 ;)

Nicolas


--
MTASC : no more coffee break while compiling


--
MTASC : no more coffee break while compiling