homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

flash ads

 4:41 pm on Jun 25, 2008 (gmt 0)

hows it possible to design a flash ad that displays covering the entire website and then resizes into a small portion in the webpage.

Can anyone help



 6:35 pm on Jul 1, 2008 (gmt 0)

When you add the HTML object into your source, you must specify different height and width values for the flash. An example might be the following:

<object [b]width="550" height="400"[/b]>
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" [b]width="550" height="400"[/b]>


 3:13 am on Jul 2, 2008 (gmt 0)

initially the flash will be of size 778 * 200 then it should resize into 150 *100 .

Please guide


 8:30 pm on Jul 8, 2008 (gmt 0)

You might be able to use javascript to resize the object on the fly. You'd have to change the attribute values:

var e = document.getElementById('movie');
e.width = 150;
e.height = 100;

This would have to be done with some sort of event -- up to you.

Hope this helps

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved