In our next lesson, we will explore our publish setting options. Learn how to publish our content and which options will be best suited for your files depending upon which CS version you are using.
I just want to reset our properties back to
the way we worked with our earlier version of Ben,
which I saved earlier, so i'm just going to
click on Ben,
reset Ben to set us back to the
way we were before, where our properties was set
anchored inside of
our panel. Look how easy it was, whenever
we want to drag it out, we just drag it out
and we just reset back to our previous saved
version.
Notice how, when I saved it, I just over-rid
Ben, and I just saved it, and created a new workspace
and just named it in the same way.
So if you ever change your workspace, and you want
it
to save that change again, just write
that name again.
So let's look into our publish settings,
and again the differences between the versions
of Flash are really not that big so it's quite
easy to
maneuver and figure it out.
As we saw a moment ago from our publish
settings,
we could have jumped into our publish
settings.
But, what we want to do is let's go a route
of going through our file> publish settings.
By going through file> publish settings, we're going to
get into our publish settings as well.
clicking it that way,
we'll see, first of all, that we have used three
different tabs.
We have here the html tab, the Flash tab,
and the formats tab.
Let's toggle back into the formats tab for a
second here,
and as we go into the formats tab, you're going to see that
by default, the file,
the 2 file types that are going to be
outputted when we click on our publish,
or when we go (and I just canceled), and we click on
our file> publish
it would generate those two files.
Now where are they going to be positioned?
By default, and back to our formats,
they're gonna be positioned exactly in the
same place where our FLA is.
Now we don't really want that.
The best way to do it... I never really go
into the select> publish destination, because
when you do that,
it's going to hardcode a full path which makes
it really hard to then make your
application more mobile, so you could send
your FLA and have multiple people working
on it more easily.
Instead of going through that path, what I
like doing is just working with directly putting here
kind of unix type of relative pathing.
It's quite easy. The way you relative path,
there's just 2 rules here.
One is, when you want to refer to the previous
directory to go one directory back, you type dot dot
and your two directories back, and then you'd have
a slash
just the same as you would do on the web, the same type
of slash,
and then you could write another folder. So if we
wanted to go into the deploy folder now
then we could set the deploy folder, set a path,
now our files set is going to go into
one folder back
into the deploy folder which is the way
we're working on our
samples that we've seen earlier. We're going to open them up in a second now.
(We're not even going to save this file.) Before we go and do that,
let's look at a few more properties that are
important to know
related to our formats.
One is that we have here other options which
we could publish to,
which we're not going to dig into.
You're more then welcome to play around
with them such as creating a windows projector file,
or creating a Macintosh
protector file. I'm sure I make people shocked
when I call a Macintosh, Microsoft by mistake!
But, let's look at the 2 tabs. If I
deselect my html then my tab for
html is going to be removed.
Not everything really...
as you can see as i'm adding, some things
don't have...
as you can see my windows projector
and my macintosh projector don't have extra
properties which we could change in our
publish settings, but many do.
We could see that our html does, our Flash does
and so do the other items. But we're going to focus
really on our Flash, we're not even going to look into the html
wrapper
because it's not the topic right now.
So if you click onto our Flash properties, let's
see what our properties are. We're really
going to run through them really quickly.
We could see, one is that,
the Flash player that we're running.
We could see in our Flash player, it's running
on 10 which is the latest version to date
of making this video.
We could have made it run for Flash player
9, that's still ActionScript 3.0 which
is fine. We could have made it 8, but if we would
have made it 8, it would automatically move down
to ActionScript 2.0 because
Flash player 8
didn't support ActionsScript 3.0.
So we know that we have to work
on Flash player 9 or up,
but i'm just gonna leave it on the default for
my CS5, which is Flash player 10
and ActionScript 3.0.
Now we're not gonna dig too much, we're not going to
dig at all, into the image and sound properties,
kind of a topic we're going to break into,
different content which is not related
to our programming right now, and really...
quickly saying is that you could set
global,0:05:05.320
global configurations for files that are visual in
images and sounds,
such as their compression quality, their audio
stream format, and so on,
and we're not going to dig into it.
In our SWF settings, we're not going to dig into
that as well right now, but
as we progress and work with ActionScript, we will start
playing around and tinkering with these things.
These relate to,
do we want to compress the movie now, we always
want to compress it, do we want to include hidden
layers, we definitely do.
You want to work with your defaults,
we're not really going to
dig into all these different
options here right now,
but what you want to do is make sure that your
current profile is the default.
Now, if you'd change things around,
as most other panels, you'd probably have a
way to...
if you want to change your
your default...
Let's see if we change things around, I changed
all of that...
Now my default isn't really the default, right.
We don't want to create a new profile, if
we don't like the way we set it here then we could
create a new profile but
we don't really want to create a new profile.
Do we want to duplicate it? Not really.
Do we want to add a profile name? Nope.
If I click on ok now, and then go back
into my properties> publish settings, we're going to see that
we're still in default
but our default properties are not really
configured correctly.
I don't know why there isn't a button
here, but you would think that there would
be a button to reset back,
maybe it's just me but,
were is it?
How do we go back to default again?
Let's just revert back, so
what i've done is I deselected these 3 babies...
So what you want to make sure is when you're running
your Flash, just run down,
Flash player 9 or up,
you're running ActionScript 3.0,
we don't really care about anything here,
but we wanna make sure that our SWF setting
is
all the 3 first items- compress movie,
include hidden layers, include XMP metadata.
If you don't have it then don't select it, but
if it's there then select it.
In your advanced settings,
you want to make sure that nothing is selected.
So that is basically are publish settings,
which all these configurations are going enable
us to
generate our applications and create
specifications if we want it to run for different
players such as Flash Lite, or the iPhone
if we're running on CS5,
although it seems like,
from reading the blogs, that it's not
really going to be useful for us, unfortunately,
because apple doesn't want us to use it.
The last item
I want to talk about
is, as we soar inside of it... i'm just going to cancel this out,
and i'm going to click ok, because we changed it earlier,
If we go on into our
properties again, we're going to see our class which we said
is going to be our next topic. This is where
our programming life begins.
If you want to find your class definition,
you could always click on
ActionScript settings, right,
or you could go in into your file> publish settings,
make sure you're in Flash, and then when you're
next to your ActionScript setting, you're just
going to click on ActionScript settings,
which will take you to that same document class,
and we're not going to, again, go into all these details.
The only thing you wanna make sure is that we have our defaults
all set to work the same way, so as we're working
we'll get the same type of errors.
We wanna make sure that we're in strict
mode, and warning mode,
and automatically declare stage instances.
Let's just leave everything the default way
as Flash has it configured.