Interesting.
Strickly speaking VMs do not care. You can use MTASC or Swish or MMC or your own program to create the code. The player will execute the code that it gets.

If you have 2 VMs supporting 2 different byte-codes (AS2 and AS3) then you really have 2 products and only the branding (Macromedia Flash) makes them similar. If someone wanted to make an Actionscript compiler that generated Java byte-code, there is no reason why that could not be done. The emulation of movie clips would be a nice peice of code but not impossible.

Ron

ryanm wrote:

AS1 and AS2 and AS3 all compile to Flash Player byte-code. The VM could not care less how you created the byte-code. You could define your own language and write your own compiler to generate an swf.

Sort of true, but misleading. AS1(&2) bytecode runs in the old VM, and AS3 bytecode runs in the new VM, and the different VMs *definately* care how your code was created. AS1 bytecode will not run in the new VM and AS3 bytecode will not run in the old one. This is a kind of clean break for Flash. Not as clean as I would like, since having 2 VMs causes bloat, but clean in the sense that the new VM is incompatible with the old one because of the fundamental changes in the way the player works.

ryanm
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to