Converting animations from one platform to another
Using Adobe Animate, it's a rather simple matter to convert a project from one document type to another in order to target a variety of platforms using the same assets and animation.
Using Animate, it's a rather simple matter to convert a project from one document type to another.
We do this in order to target a variety of platforms using the same assets and animation.
As you see here, we have a basic web ad and if we go ahead and test this, Control, Test, we can see the animation occur inside of Flash player as a swift.
To convert this to HTML5 or some other platform,
Converting a document to a different platform
we can choose File, Convert To, and then choose the specific platform we want to convert it to.
In this case, I'm going to choose HTML5 Canvas.
In my save dialog, Animate gives it another name specific to the platform we're targeting, and it's going to be saved as an FLA document, just like the one that targets Flash Player.
Go ahead and hit Save and everything is converted for us.
We can see in the Output panel that Frame Scripts have been commented.
Handling ActionScript when converting to HTML5 Canvas
The reason for this is because Flash player uses action script, whereas, HTML 5 Canvas document types utilize JavaScript for interactivity.
Having a look at the Timeline, we can see that everything is really still intact.
And if we select the frame in the Actions layer that has our action script in it and choose Window, Actions we can see that indeed this has been commented out.
Let's convert this to JavaScript – this.stop to achieve the same effect.
Testing the converted project in a web browser
With this done, we can go ahead and choose Control, Test to test it in the browser.
And there we have it.
This is what was formerly Flash Player only content, now runs in a native web browser using each HTML 5 Canvas.
What you learned:
Convert a project from one platform (say, Flash) to another (such as HTML5)
You can control how Adobe websites use cookies and similar technologies by making choices below. But note that if you disable cookies and similar technologies entirely, Adobe websites may not function properly.
Cookies are small text files stored by your web browser when you use websites. There are also other technologies that can be used for similar purposes like HTML5 Local Storage and local shared objects, web beacons, and embedded scripts. These technologies help us do things like remembering you and your preferences when you return to our sites, measure how you use the website, conduct market research, and gather information about the ads you see and interact with.
You can make choices in the menu below about what cookies and other technologies you want us to use on Adobe sites when you visit them from this browser. You can always change those choices later by clicking on the Cookie Preferences link at the bottom of the page.
If enabled:
We can improve your experience by tailoring the site and the content to things we think might be of interest
We can better keep track of your preferences — like what language you prefer to use
We will better understand your likely interests so we can provide you more relevant Adobe ads and content on non-Adobe websites and in non-Adobe apps
It will help us improve the performance of our website and those of our partners who use the Adobe Experience Cloud
If disabled:
We won’t be able to remember you from session to session so the experience may not be tailored to your interests
You’ll still have access to the content of the site but certain features that depend on cookies may not function
You’ll still see ads, they just may not be as relevant to you
General information
You can control how Adobe websites use cookies and similar technologies by making choices below. But note that if you disable cookies and similar technologies entirely, Adobe websites may not function properly.
Cookies are small text files stored by your web browser when you use websites. There are also other technologies that can be used for similar purposes like HTML5 Local Storage, web beacons, and embedded scripts. These technologies help us do things like remembering you and your preferences when you return to our sites, measure how you use the website, conduct market research, and gather information about the ads you see and interact with.
You can make choices in the menu below about what cookies and other technologies you want us to use on Adobe sites when you visit them from this browser. You can always change those choices later by clicking on the Cookie Preferences link at the bottom of the page.
If enabled:
We can improve your experience by tailoring the site and the content to things we think might be of interest
We can better keep track of your preferences — like what language you prefer to use
We will better understand your likely interests so we can provide you more relevant Adobe ads and content on non-Adobe websites and in non-Adobe apps
It will help us improve the performance of our website and those of our partners who use the Adobe Experience Cloud
If disabled:
We won’t be able to remember you from session to session so the experience may not be tailored to your interests
We’ll still count your use of our site and services
You’ll still have access to the content of the site but certain features that depend on cookies may not function
You’ll still see ads, they just may not be as relevant to you
Operate the site and core servicesOperate site and measure engagement
Always active
These cookies are required, and they are used to enable the site and related services core functionality. Without them the site could not operate, so they cannot be disabled.
These cookies enable the site and related services’ core functionality and collect statistics about user engagement, such as counting active use to help us understand trends. These cookies cannot be disabled.
Measure performance
These cookies are used to analyze site usage to measure and improve performance. Without them Adobe cannot know what content is most valued and how often unique visitors return to the site, making it hard to improve information we offer to you.
These cookies are used to analyze site usage to measure and improve performance. Without them Adobe cannot know what content is most valued, making it hard to improve information we offer to you.
Extend functionality
These cookies are used to enhance the functionality of Adobe sites such as remembering your settings and preferences to deliver a personalized experience; for example, your username, your repeated visits, preferred language, your country, or any other saved preference.
Personalize advertising
These cookies are used to enable Adobe and our partners to serve ads more relevant to your interests. Without them you will still see ads, but they might not be as relevant to you.
Personalize advertising
These cookies are used to enable Adobe and our partners to serve ads more relevant to your interests. Without them you will still see ads, but they might not be as relevant to you.