Hi
Here is the flash script:
flash_loader.swf loads timeline7_lowres.swf into an empty movie clip with
the following script:
loadMovie("templates/images/flash/timeline7_lowres.swf",
empty_mc);
______________________________________________________
timeline7_lowres.swf preloader script is as follows:
// this will be called when the preloader finishes animating out function
onPreloaderOut(){
preloader_mc.removeEventListener("onPreloaderOut", this);
gotoAndPlay("SITE");
}
// add this timeline as a listener to listen for the 'onPreloaderOut'
event
preloader_mc.addEventListener("onPreloaderOut", this);
// tell the preloader to start preloading this timeline
preloader_mc.startPreload(this);
John Cowles
Director
T: +44 (0)1736 368254
F: +44 (0)1736 368260
E: [EMAIL PROTECTED]
altcom Ltd, 13 North Parade, Penzance, Cornwall, UK, TR18 4SL, United
Kingdom
-----Original Message-----
From: Rákos Attila [mailto:[EMAIL PROTECTED]
Sent: 17 April 2007 14:00
To: John Cowles
Subject: Re[2]: [Flashcoders] preloader and cacheing problem
JC> Here is the javascript that loads the initial flash file - if
JC> javascript isn't enabled then a static image is shown (hence the
JC> document.write) function flash_write(file, width, height) {
I think Nils meant the ActionScript code (inside the FLA) loading the swf,
which is not cached.
Attila
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com