PDA

View Full Version : Flash banner doesnt redirect to mainpage


pureturk
07-05-2008, 04:52 PM
Hello guys,

I have just created a flash banner for my site. everything seems to be good except the banner does not redirect to mainpage when you click on it..

this is the code I am using..

Am i missing something?

<object classid="clsid:d27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="880" height="151">
<param name="movie" value="http://mysite.com/images/flash.swf" />
<param name="quality" value="high" />
<embed src="http://mysite.com/images/flash.swf"
quality="high"
type="application/x-shockwave-flash"
width="880"
height="151"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

Princeton
07-05-2008, 08:42 PM
you will have to modify the flash file (.swf) "URL" to your mainpage ..
edit .swf with Adobe/Macromedia Flash application

pureturk
07-05-2008, 09:08 PM
Princeton

I did it.

This is how it looks like.

on (release)
{
getURL("http://www.mysiteurl.com");
}


it still doesnt redirect.

--------------- Added 1215362085 at 1215362085 ---------------

This is what happens;

when coded like this;
{
getURL("http://www.mysite.com", "_self");
}It does not redirect..


But when i code it like this;
{
getURL("http://www.mysite.com", "_parent");
}

it opens in a new window. I am trying to get it to open in the same window.

pureturk
07-07-2008, 04:40 AM
Found the solution..


I had to add these to the code (shown in red)

<object classid="clsidd27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="880" height="151">
<param name="allowScriptAccess" value="always" />
<param name="movie" value="http://mysite.com/images/flash.swf" />
<param name="quality" value="high" />
<embed src="http://mysite.com/images/flash.swf"
quality="high"
type="application/x-shockwave-flash"
width="880"
height="151"
pluginspage="http://www.macromedia.com/go/getflashplayer"
allowScriptAccess="always" />
</object>