How about: Compile the AS2 classes into a separate swf, that gets loaded into the old swf with AS1 classes. No need to convert anything.
-david R On 8/22/05, Alias <[EMAIL PROTECTED]> wrote: > On 8/22/05, Ralf Bokelberg <[EMAIL PROTECTED]> wrote: > > Why do you need them in AS1, > > actually you can mix AS1 and AS2. > > On 8/22/05, Ralf Bokelberg <[EMAIL PROTECTED]> wrote: > > Why do you need them in AS1, > > actually you can mix AS1 and AS2. > > > > Only if you design everything carefully to compile in AS2 (and at that > point you might as well do everything in AS2). My project gets 200+ > compile errors when I compile it as AS1. > > Trust me, there is a need for this. > > Cheers, > Alias > > > > Cheers, > > Ralf. > > > > Alias wrote: > > > > > Hi Jesse, > > > > > > Heres how it goes - my company has loads of projects, and a lot of > > > them are in AS1, for various reasons. I'm in the process of creating a > > > library of classes, which I obviously want to be in AS2. But in order > > > to get the full benefit, I need to be able to batch convert these > > > classes to AS1, so they can be retrofitted to AS1 projects - hence my > > > need for a converter. ASV does it, but it seems that something is > > > getting lost in between, as the class compiles down to flash 6 > > > bytecode quite nicely, and the ASV output code works fine in flash 7, > > > but not in flash 6, which is Uber wierd. > > > > > > I'll be taking that beer now. > > > > > > Alias > > > > > > On 8/22/05, JesterXL <[EMAIL PROTECTED]> wrote: > > > > > >>I'm confused; AS2 and AS1 at runtime are the same bytecode; you mean > > >>you've > > >>got both AS1 and AS2 classes? If so, I see... here's a beer. > > >> > > >>----- Original Message ----- > > >>From: "Alias" <[EMAIL PROTECTED]> > > >>To: "Open Source Flash Mailing List" <[email protected]> > > >>Sent: Monday, August 22, 2005 3:42 PM > > >>Subject: Re: [osflash] Port AS2 to AS1... > > >> > > >> > > >>Hi Jesse, > > >> > > >>Unfortunately we need compile-time interoperablility with legacy AS1 > > >>code - I'm moving everyone over to AS2, but it'll take time. > > >> > > >>Cheers, > > >>Alias > > >>(Stuck in the stone age) > > >> > > >> > > >>On 8/22/05, JesterXL <[EMAIL PROTECTED]> wrote: > > >> > > >>>AS2 can export to Flash Player 6.0.0.0; no need to port it. There are, > > >>>however, bytecode optimizations in 6.0.65.0. > > >>> > > >>> > > >>> > > >>> > > >>>----- Original Message ----- > > >>>From: "Alias" <[EMAIL PROTECTED]> > > >>>To: "Open Source Flash Mailing List" <[email protected]> > > >>>Sent: Monday, August 22, 2005 2:12 PM > > >>>Subject: [osflash] Port AS2 to AS1... > > >>> > > >>> > > >>>Hi guys, > > >>> > > >>>I'm currently in a bit of a source maintenance pickle - I'm trying to > > >>>move an AS2 class (which extends movieclip) over to AS1 (Flash Player > > >>>6.0), and I'm trying to figure out why it won't work. I'm exporting it > > >>>from ASV, and that doesn't seem to be happening. > > >>> > > >>>So I'm wondering if anyone has written as AS2/AS1 conversion tool? Are > > >>>there any language pitfalls to look out for /avoid? > > >>> > > >>>II get the feeling I'm going to be here for a while... > > >>> > > >>>Cheers, > > >>>Alias > > >>> > > >>>_______________________________________________ > > >>>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
