Click on any phrase to play the video from that point.
[CS6]
One of the most exciting features in Flash Professional CS6
is the ability to go ahead and export your Flash content as HTML.
It's very exciting being able to do this.
It's done with this extension called Toolkit for CreateJS.
In fact, I already have that extension installed in Flash Professional CS6.
You can see it right here.
So let's take a look at this animation.
I'm just going to run this--again, pretty straightforward SWF file.
We have some motion in there, and I can take a peek at the animation right in here.
I can scrub through it, and it's done with classic tweens.
Nothing too complex is going on here.
In fact, I do want to keep it somewhat simple, no blend modes or anything like that
because I want to make sure the integrity of the design and animation is maintained.
But then all I need to do is go over to my Toolkit for CreateJS panel.
This uses this open-source JavaScript framework.
As I kind of move on down, two dialogs you need to keep in mind:
One is, of course, the export settings.
So I'm just going to target my desktop.
So there's the SWF file from earlier.
I'll choose that desktop folder.
And what will get output to my desktop are an images folder, if needed,
sounds, and then a libs folder, which is all my JavaScript, which you'll see in a second.
There's also just Export HTML; in case you don't want to export the HTML
you can actually take the JavaScript only
but then--compress everything down as well.
All right. Let's go ahead and hit the magic button, which is the Export button.
I'll click there, and it will automatically give me that preview.
Just like that. There we have it.
In fact, if I right-click you can see it doesn't say Flash Player in this file,
so this is actually HTML content.
This is great.
So let me go ahead and take a peek at my desktop, right in here.
Here were my first 2 files; well, here are my other files that were being generated.
And overall you really don't need to worry about these other files,
but if you take a peek in this libs folder, you can go ahead and see
these different JavaScript files that can be used for tweens, for timelines, for movie clips.
Nonetheless, in here, in this main folder you can see that I have this SwimdogJS
and, most importantly, this HTML file.
So I'm going to go ahead and open this up in Dreamweaver.
Here it is in Dreamweaver, using all those JavaScript files
as well as that JS file for that Swimdog.
As I scroll down, that one dog on the stage
is being referenced right here, and it gets added to the stage just like that.
And I can start to control it further if I want to, as well.
But the great thing is this is actually in JavaScript now,
so I can go ahead and start using it.
So, lastly, I can go ahead and run it one more time.
You can see that it's working.
And if I want to go ahead and extend it even further,
I want to show you that you can also check out the Help in the panel as well.
A really exciting thing that you can do--this is just only the beginning
of getting your content in HTML and just going from there
adding even more interactivity.
But really a lot of your animation and even your interactivity can even be done
in Flash Professional CS6.
Very exciting what you can do; I encourage you to check it out for yourself.
[Adobe]
