|
|
 |
RE: FN-FORUM: Flash mx problem - loading symbols rather than external swf's
date posted 6th February 2008 11:45
Hi John,
Attaching movies from yr library is pretty simple and might help in your =
case if you have a single preloader for the whole swf. Youll have to =
make a decision (based on total file size) whether to load all content =
in one or on demand as the user clicks (which is the preferable =
solution). Anyways to answer your question
You will need to set the "linkage" of the item in yr library. To do this =
right-click the item and go to linkage. Click "Export for actionscript" =
and enter a name in the identifier box. The name you enter should be the =
same as "linkageName" in the example below:
code to load from library:
my_Moveiclip.attachMovie("linkageName", "newName", =
my_Moveiclip.getNextHighestDepth());
Kind regards=20
Brendan Oliver
[FSW Multimedia]
T: +44 (0)1949 21202
F: +44 (0)1949 21021
E: [EMAIL REMOVED]
w: http://www.fswdesign.com/=20
14 Main Street
East Bridgford
Nottingham
NG14 8PA=20
Internet E-mail Confidentiality: This E-Mail may contain confidential =
and/or privileged information. It is only intended for the use of the =
addressee indicated in this message. If you are not an intended =
addressee of this email (or responsible for delivery of the message to =
such person), the disclosure, copying or delivering of the contents of =
this email to anyone else is strictly prohibited and may be unlawful. If =
you receive this e-mail by mistake destroy the message and please notify =
us immediately by e-mail. Please advise immediately if you or your =
employer do not consent to Internet E-Mail for messages of this type. =
Information or opinions in this message that do not relate to this =
business shall be treated as neither given or endorsed by it. Please =
note that whilst we try to ensure that messages and attachments are =
virus free, we cannot accept responsibility for situations where this is =
not the case.
=20
-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] Behalf Of John
Deaville
Sent: 06 February 2008 12:49
To: Brendan Oliver
Subject: FN-FORUM: Flash mx problem - loading symbols rather than
external swf's
Hello - I hope someone can help me out with this
The situation is that I have been making a portfolio based site using =
flash
MX, there are several subsections of my portfolio, and each one has lets =
say
10 images
I have actually uploaded a test at
http://www.photofixer.co.uk/phoflash
However this is totally incomplete
I used to do this by using the 'loadmovie' command and load external =
swf's
for each image - which works fine, but takes a while to update every =
single
movie, so I want to make the portfolio so that I can update the whole =
thing
in one go
I don=B9t want the user to have to wait for the whole portfolio to load =
before
it plays so I placed the main images on frames 10,20,30,40 etc .... And =
the
action on each thumbnail was to say go to the relevant frame when =
pressed -
you can see from the uploaded sample, that this is not working properly
until the whole movie is loaded, if you click 'editorial' and then click =
the
last thumbnail, the timeline advances in a linear fashion and displays
whatever image has loaded - I don=B9t understand why this is
Anyhow - the real question I have is - is it possible to load a symbol =
into
a movie clip rather than loading an external swf into a movie clip? And
therefore the user will only have to download the clips that they want =
to
view. Otherwise I will go back to loading external swf files
Apologies is I have not explained myself very well.
--=20
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|