Flash Photo Gallery and XML learn flash, flash tutorials, actionscript, flash training
This flash tutorial teaches you how to create this photo gallery using a few different layouts. Create the polaroid effect through actionscript. We will Load Images from xml, use actionscript to draw the polaroid effect, apply filters through ActionScript. To get source files and watch the complete video tutorial, click here: https://www.masterflash.net/flash_xml...
Closed Caption:
here we are with the flash polaroid XML
photo gallery very dynamic
action script tutorial provided by
master plus done that
this is only a sample video showing you
bits and pieces what supporter the
actual tutorial
I want to do is read rocketed right in
the beginning at the store just I let it
play out for a few minutes
we're not going to be doing anything on
the stage for this one
it's all specifically going to be your
ActionScript
there's only one thing that we really
need to do as far as our properties for
for a public settings inside here so if
you need to get your
properties 10 out computer when the
properties like that
to come on down here public settings
and let's go ahead and change our
axis reversion down to one just getting
a lot you actually wanna alright
screen click on this %ah Settings box in
here and we need to take this treatment
of
otherwise would be able to do it and we
also need to take off the stage now
haven't tested it with the stage on here
under the strict mood won't work
but what we're gonna be doing for
this we don't want to watch the clearest
agents this is we're basically gonna be
creating
one movie clip that is gonna kinda
multiply by creating
obviously like a loop equation that will
love them
here basically use the same instance
name over and over
and we want to be able to do that so
make sure that you have a strict mode is
selected
and the automatically declare statement
is instances
the selected also by said okay
an iPod project Jacory
if you want when he was on a good come
into my html
this for later when I go to output is up
on the site set this the best
and I generally do that and most recent
Oreos just because
one it does look better
and two creator higher file size which
isn't necessarily a good thing but
as long as it looks good okay so ross et
go ahead and put
a actions where appear neighbor whatever
you want like I said we're not going to
do anything in here
or all action script for this one okay
on is over gonna do I
to start this off what we have to do is
import
well later on in the file obviously
won't be able to do this until the end
well we're gonna be doing is gonna be a
file a drop shadow
and transitions from the transition
manager so we're gonna go ahead and for
all that stuff in here
so for the drop shadow ok
already do is import Slashdot filters
die drop show filter some I going
alright next line say
import at though that transitions got
ass trick so I called and poor eso
da transitions diet using dot
after to Michael over the
easiest occurs gonna get ISO for the
first thing that we need to do is we
need to find
and X&Y axis on the stage we won our
images to start now for this one
so I can have it fit on stage you guys
can actually see it
I was going to start it right around
here at
the x-axis a forty and y-axis 20
ok at anywhere somewhere in there so
that's how you can basically start this
off alright if you want to I set it up
on the stage down here obviously
said the accident 120 why 433 gay
assuming that so you know that so
on let's go ahead and Iraq in on this
ISO fears over its gonna say out
but here
at and you know
what I usually do is create some long
ass variable names
that generally obviously it's probably a
little overboard
but overall it does help explain what
we're doing throughout the ActionScript
and so we do that we have a lot of
variable names
longer willing to write something up but
I X axis
people's forty so I call in display
underscore on risk or y-axis
it was twenty some iPhone course you can
set that up to whatever you want we do
%ah
name the name about our XML
basically create a very on a4ai so get
there is a bar image underscore list
Colin XML some iPhone I'm always right
these notes
but I just to start the soft gonna get a
couple when I really do so
and tell about
got so you to say here's
I variable name that will be the loader
jackson also is a XML
underscore loader calling you're a
loader
equals New York loader opening closing
for the season
some like on XML loader dot
added that was honored open for the
season
dot complete in all caps
comma skewed
what we need to do here is couple the
function in a manner variable name to
define later the functions or essay
winners for exxon owners loader
underscore is complete and I we don't
have the type
more time so actually good copy this you
wanted
we're gonna get it is in a minute we
won't use it for a couple minutes
up given day alright ISO
right here we need to do is you know
directed to our file paths arrestee X
amount of dollars for loader dot load
opening for the city's new you are all
request opening proceedings quotation
marks
name our XML file
load underscore images underscore
gallery
and I realize that I may have not have
told you
work to call your excel file just now so
really this is it
alright this is how I name my X enough
obviously saw that from inside a beer
and I'm about and i won he's on top of
it
alright a I so what we need to do is
basically just go ahead and define what
this is
alright sorry to say function when
underscore
XML underscore loader underscore is
complete
opening for the Seas event Colin
event closing procedures to avoid
opening bracket
is already set this up try Merak
image underscore list he called new
XML opening currencies
event dot target doc data does a great
to see some Michael
that is the and at the same video for
flash polaroid XML photo gallery you can
locate the source files and the rest the
video tutorial on master class done at
hope you enjoy it
Video Length: 07:37
Uploaded By: masterflashcorp
Published: 11/29/2010
View Count: 3,508