Forum Moderators: open

Message Too Old, No Replies

flash ads

         

dukelips

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

10+ 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

eelixduppy

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]>
</embed>
</object>

dukelips

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

10+ Year Member



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

Please guide

eelixduppy

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