Need FLASH files to load last

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Need FLASH files to load last

Post by anjanesh »

I have a page which has a table containing 2 cells.
One is the middle one which includes the main stuff etc.
The other (right cell) includes a php file that randomly selects 4 flash files from a folder and makes 4 <OBJECT> elements. These flash files are just ads and need to given last priority
But unfortunately the middle cell contains site related pictures and it starts loading only AFTER the flash ads are fully loaded.
I obviously dont want this to get more priority but flash is taking it.
Im not using frames or iframe. Is there is a solution without the use of iframe or frames ?
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

Make a 10-second flash file that displays 'loading' and then goes off to load the 'real' flash files?
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Oh no. You see - I dont make flash files. I just need to make the page. The site will have an admin part where the admin can upload any flash file that he wants to. So I have to do this in the php/html part.
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

Can you dynamically change the flash file via javascript? if so do it using onLoad in the body section of the HTML.
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Im getting a random flash file from a folder in php and then using <OBJECT> with the randomly selected filename
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

how about having javascript (using a timer) write the flash object code into the page onload?
Post Reply