Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Superompose flash (swf) over header image? (http://forum.bytesforall.com/showthread.php?t=3787)

tfs Oct 8, 2009 01:23 PM

Superompose flash (swf) over header image?
 
I have a header image that's about 900x100 on a fixed width blog. I'd like to take a small flash animation and have it superimposed over the header image. I've seen posted in here elsewhere how to insert flash directly into the "Configure Header Area", but in that case it has a place of its own, and I want to superimpose it over the header image.

The only other thing I can think of is to try to convert the header image and the flash into an animiated GIF. Any suggestions?

StellaBlue Oct 15, 2009 04:24 PM

Hi tfs,

Here are a couple options:
1. make a 900x100 flash movie (.swf) that includes your header image and your existing flash movie that you want to overlay. You can use the %flash[url,width,height] in the Configure header options. See the article 'Add a flash header to Wordpress Atahualpa theme (3.4.4)'. It works good and no code to write, just replace bfa_header_config.php with supplied file. Also, there is a sample flash source file (.fla) that you can use as a starter.

2. Another option is to use the %html[.....]% param in the Configure header area options of the Atahualpa Theme options. See 'Add Custom Header to WordPress Atahualpa Theme (ver 3.4.4)'. Again, replace the bfa_header_config.php file with the supplied. By using the %html[...]% param, you can supply HTML for your flash movie and the image you want to display in header. Or you could use the %image param for your image and use the %html[...] param to handle a relatively positioned (by css) object element for the flash overlay. The sample code in the %html[...]% example uses a relatively positioned flash movie overlay similar to what you are looking for.

It really depends on your skill set and ambition. If you are reall good at flash, I might do #1 which is pretty clean. If you are good at HTML and CSS (inline) and want to use %image or want a true overlay, try option #2.

Good Luck with it! :)

note: The %flash[...] and %html[....]% params add quite a bit of flexibility to header and don't require .php hacks.


All times are GMT -6. The time now is 07:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.