Hey all - forgive the likely idiotic question.
I have an XML stock ticker that I'm loading and building out with AS3 - but in the same FLA I have an older component written in AS2.
I get the occasional output message that the older piece requires AS2 (duh), but it seems to work fine on initial testing. Will that be an issue on final export or can they both run and play nice nice? I can't seem to find a straight answer anywhere.
If they don't get along, is there a way to package up an AS2 element and wrap it in AS3 tags? Or something? I'd really rather not have to create a new component if I can avoid it.
Thanks much.
You can load an AVM1 movie into an AVM2 swf provided you don't intent to interact between them, however you can use LocalConnection to communicate between the two VMs, but it's not something that i would rely on 100%.
You'll need to have the AVM1 component in a separate swf and load it into the AVM2 movie for this to work properly though.
Cheers,
A.
Cool - thank Lith. I think i understood that. 
It may be a non-issue now anyway, as we might be running the mini-apps in different areas.
shrug
Good to know its not impossible anyway.
Originally posted by: lithium You can load an AVM1 movie into an AVM2 swf provided you don't intent to interact between them, however you can use LocalConnection to communicate between the two VMs, but it's not something that i would rely on 100%.
You'll need to have the AVM1 component in a separate swf and load it into the AVM2 movie for this to work properly though.
Cheers,
A.
In other words, try and avoid mixing AS2 and AS3 as they require different virtual machines and the work around is flakey and hack-like.