Welcome to WebmasterWorld Guest from 54.197.66.254

Forum Moderators: open

Message Too Old, No Replies

flash ads

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

Preferred Member

10+ Year Member

joined:Mar 30, 2006
posts: 399
votes: 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 July 1, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 12, 2005
posts:5966
votes: 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]>
</embed>
</object>
3:13 am on July 2, 2008 (gmt 0)

Preferred Member

10+ Year Member

joined:Mar 30, 2006
posts: 399
votes: 0


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

Please guide

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

Senior Member

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 12, 2005
posts:5966
votes: 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