HTML on Flash

Soldato
OP
Joined
11 Jul 2004
Posts
15,814
Location
Neptune
That's fine! I'll do that!..but not sure how to get the HTML sitting on the flash.

I'm happy creating the swf and the HTML site - it's just overlaying the HTML over the Flash that I'm struggling with! :)
 
Soldato
Joined
18 Oct 2002
Posts
14,760
Location
The land of milk & beans
All you need to do to be able to lay HTML over flash is add the following parameter to your <object> declaration (if you don't flash will show above regardless of z-indexes):

Code:
<param name="wmode" value="transparent">
 
Soldato
Joined
7 Mar 2005
Posts
19,092
Location
LU7
You could experiment and see what happens if you link to the Flash. It might just be at the top of your HTML though. You could try setting the Flash as your background. Not sure if HTML would allow that.
 
Soldato
OP
Joined
11 Jul 2004
Posts
15,814
Location
Neptune
All you need to do to be able to lay HTML over flash is add the following parameter to your <object> declaration (if you don't flash will show above regardless of z-indexes):

Code:
<param name="wmode" value="transparent">

Will have a play with that. Thanks.

You could experiment and see what happens if you link to the Flash. It might just be at the top of your HTML though. You could try setting the Flash as your background. Not sure if HTML would allow that.

I've tried in Dreamweaver and it doesn't allow a background 'image' to use swf.
 
Soldato
OP
Joined
11 Jul 2004
Posts
15,814
Location
Neptune
Going to have a play today.

Was suggested this on another forum:

"Position your SWF on the top left corner of your page with absolute positioning. Then make a wrapper DIV for everything else which is also positioned over the SWF element."
 
Top Bottom