Welcome to WebmasterWorld Guest from 54.158.36.59

Forum Moderators: open

Message Too Old, No Replies

flash ads

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

5+ Year Member



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)

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



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 Jul 2, 2008 (gmt 0)

5+ Year Member



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)

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



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

 

Featured Threads

Hot Threads This Week

Hot Threads This Month