Share to EffectHub.com

You can earn money or coins from your share:)

Tips: you can use Sparticle for uploading away3D effects.

Tips: you can download Sparticle for uploading effects.

Tips: The ActionScript editor is supporting Away3D, Starling, Dragonbones and Flex frameworks.

Tips: paste the web page URL then click button:)

Converting AS2 to AS3? Can it be done?




First I'm not a Flash developer, I'm asking this question to help another group trouble shoot a problem. While I know this sounds dumb, I need an official answer to they can close this solution as some type of an option to solve this problem.

I was given several swfs from an elearning course in hopes that they could someone be put into Captivate and wrapped for an LMS. Apparently the Flash developer isn't able to code these files for the LMS (weird yes, but not my task in this problem) In looking at the swfs I was given they all say they were created using AS2 and of course, Captivate only supports AS3.

Short of redoing the Flash files in AS3 is there any other way to take something written Flash using AS2 and output it to a swf that is AS3?

Thanks for indulging me with your time.

Tags

401 views    1 answers

The Best Answer

0


You cannot "Convert" an as2.swf to an as3.swf.

 

You would need to have the original .fla file that created the as2.swf and manually export it to as3.

The actionScript may need converting depending on several things. Hard to give an exact answer.

An example of something needing conversion would be as something simple as a something referenced in a function may be doing something like...

_parent.movieClipName._visible = true ;

needs to be changed to

parent.movieClipName.visible = true;

because the underscore needed in certain name references was removed in AS3.

There are too many things that could need changing to name them all.

 

Another approach that "may" work as a creative workaround (hack) ...

You could create a new as3.fla and export a new as3.swf that can actually

load the original as2.swf file into the new as3.swf

Then just load the new as3.swf into Captivate.

 

Here is a link that will help and there is an example available to download

http://www.kirupa.com/forum/showthread.php?295698-loading-an-AS2-swf-into-an-AS3-swf


2014-07-11     0 Comments

surfzsl

2014-06-12

Public Question, everyone could view answers and download attachments.

Finish this task then you can earn 10

Task Finished


>>Back to Task List


Sponsor


You may interest with



Share

Join Effecthub.com


Or Login with Your Email Address:

Or Sign Up with Your Email Address:
This field must contain a valid email
Password should be at least 1 character