More information about the Underscore mailing list

[_] Re: Loading Flash question

Roger Anderson roger.anderson at zycko.com
Thu Jul 13 14:12:23 BST 2006

Hi Simon

Thanks for all of that.

We're using MX version 8.

Roger


-----Original Message-----
From: underscore-bounces at under-score.org.uk
[mailto:underscore-bounces at under-score.org.uk] On Behalf Of simon
johnson
Sent: 13 July 2006 13:19
To: underscore at under-score.org.uk
Subject: [_] Re: Loading Flash question

hello there are a few ways to do what you want
the super simplest one is just to have a movie the length of the first
animation +1 keyframe at the end
have a blank mc sitting in the top left hand corner of the stage and and

have two frame scripts load and unload the swf's you want to display
the first script is

_root.holder.loadMovie("pants1.swf")

where holder is the instance name of the blank mc and pants 1 is th
ename of the first swf to load. the swf in this canse is sitting next to
th e loader swf but you can use any url if the files are not in the same
directory

then on the keyframe at the end of theclip you have this script
stop()
_root.holder.unloadMovie("pants1.swf")
_root.holder.loadMovie("pants2.swf")

where pants2.swf is the second swf to load in

i'll post the fla file to you what version of flash are you using?
si



--

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

_______________________________________________________________________

This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Zycko Limited. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error please notify Zycko Limited on +44 1285 868500.
All emailed quotes are valid for 14 days, subject to availability, unless otherwise stated. All emailed quotes are subject to Zycko's standard Terms and Conditions.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________