Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-20-2008, 06:06 PM   PM User | #1
DR.Wong
Regular Coder

 
DR.Wong's Avatar
 
Join Date: Jan 2005
Posts: 358
Thanks: 22
Thanked 1 Time in 1 Post
DR.Wong is an unknown quantity at this point
Show "flash loading" while animation loads on uneditable swf

Hey there!

I've got a small problem. I've got a SWF file that I need to place on my site, basically a picture slide show. The problem is that the guy who programmed it didn't place a loader into it.

It takes a little while to load so I need something to show that it is loading.

My solution was to place a background image in the table cell saying "loading.." but it seems that this doesn't work for some reason. The cell seems to be filled with white, masking the background.

Anyone have any ideas??

Thanks a lot!!!
__________________
-DR.Wong

Wheres the food at?
DR.Wong is offline   Reply With Quote
Old 10-20-2008, 10:31 PM   PM User | #2
itsallkizza
Senior Coder

 
Join Date: Oct 2008
Location: Long Beach
Posts: 1,196
Thanks: 36
Thanked 164 Times in 164 Posts
itsallkizza will become famous soon enough
If you set the window mode in your flash object html to transparent, it will allow the user to see the loading image behind it. I'm going to assume you don't have the original .fla file to create a flash loader (that would be much better for many reasons, including the fact that if the flash animation has any state of semi-transparency (like a fade in/out) then your loading image will appear in the background).

You need to change both the embed and the object in your html, like so...
Inside the object:
Code:
<param name="wmode" value="transparent" />
Inside the actual embed tag as an attribute:
Code:
wmode="transparent"
itsallkizza is offline   Reply With Quote
Old 10-21-2008, 05:23 AM   PM User | #3
DR.Wong
Regular Coder

 
DR.Wong's Avatar
 
Join Date: Jan 2005
Posts: 358
Thanks: 22
Thanked 1 Time in 1 Post
DR.Wong is an unknown quantity at this point
Hey there,

I don't have the original .fla file.

The wmode solution doesn't seem to work. I'm using Safari 3 at the moment.

I'm not a flash programmer so I can't program the slideshow myself.

Do you know of a slideshow script that has a loader built in?

I've just tried this one : http://www.dvd-replica.com/kozykorner/flash-imagefade-1 but it doesn't have a loader either.
__________________
-DR.Wong

Wheres the food at?
DR.Wong is offline   Reply With Quote
Old 10-21-2008, 07:22 AM   PM User | #4
itsallkizza
Senior Coder

 
Join Date: Oct 2008
Location: Long Beach
Posts: 1,196
Thanks: 36
Thanked 164 Times in 164 Posts
itsallkizza will become famous soon enough
If you want to wait until tomorrow I can set you up with one when I get to work. I just finished the framework of an xml driven website I scripted entirely from scratch where I wrote an algorithm that uses a max or min length for each slide to linger, while loading the next slide in the background.

(ex: http://buildyourownbagel.com/gallerytest/main.html)

If you want, e-mail me a few pictures as examples, so I know what size. ohsosexybrit@gmail.com
itsallkizza is offline   Reply With Quote
Old 10-21-2008, 01:19 PM   PM User | #5
DR.Wong
Regular Coder

 
DR.Wong's Avatar
 
Join Date: Jan 2005
Posts: 358
Thanks: 22
Thanked 1 Time in 1 Post
DR.Wong is an unknown quantity at this point
Wow I'd love that. I'll send them to you just now.

They're pretty small pics. The site looks amazing.

Take a look here, this is where the flash animation is that I need fixed.

The animation is on the right of the page.

Thanks a lot!
__________________
-DR.Wong

Wheres the food at?

Last edited by DR.Wong; 10-21-2008 at 05:18 PM..
DR.Wong is offline   Reply With Quote
Old 10-21-2008, 08:11 PM   PM User | #6
itsallkizza
Senior Coder

 
Join Date: Oct 2008
Location: Long Beach
Posts: 1,196
Thanks: 36
Thanked 164 Times in 164 Posts
itsallkizza will become famous soon enough
Here's a link to the source for anyone else who might come across this thread:
http://www.ebonyaura.com/slideshow.zip
itsallkizza is offline   Reply With Quote
Users who have thanked itsallkizza for this post:
DR.Wong (10-22-2008)
Old 10-22-2008, 05:22 AM   PM User | #7
DR.Wong
Regular Coder

 
DR.Wong's Avatar
 
Join Date: Jan 2005
Posts: 358
Thanks: 22
Thanked 1 Time in 1 Post
DR.Wong is an unknown quantity at this point
This really works like a charm, I recommend it to anyone needing a highly flexible and customizable flash image fader (simple slideshow)

Thanks a lot itsallkizza!!
__________________
-DR.Wong

Wheres the food at?
DR.Wong is offline   Reply With Quote
Old 07-08-2012, 05:46 PM   PM User | #8
debugger999
New to the CF scene

 
Join Date: Jul 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
debugger999 is an unknown quantity at this point
show image while flash is loading

Perfect anwer brother........
Thanks,
Dinesh
Quote:
Originally Posted by itsallkizza View Post
If you set the window mode in your flash object html to transparent, it will allow the user to see the loading image behind it. I'm going to assume you don't have the original .fla file to create a flash loader (that would be much better for many reasons, including the fact that if the flash animation has any state of semi-transparency (like a fade in/out) then your loading image will appear in the background).

You need to change both the embed and the object in your html, like so...
Inside the object:
Code:
<param name="wmode" value="transparent" />
Inside the actual embed tag as an attribute:
Code:
wmode="transparent"
debugger999 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:32 AM.


Advertisement
Log in to turn off these ads.