Link to home
Start Free TrialLog in
Avatar of SwitchedOnMedia
SwitchedOnMedia

asked on

Flash Banner - Not open new page

Hi,

I'm trying to get a flash banner that I have been sent by a client not to open in a new window, I urgently need an answer so I've set the points to 500.  The target=_self doesn't appear to work, am I doing something wrong?

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="468" height="60">
<param name="movie" value="banners/banner.swf?clicktag=http://www.website.com&target=_self">
<param name="quality" value="high">
<param name="menu" value="false">
<embed src="banners/banner.swf?clicktag=http://www.website.com&target=_self" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60" menu="false">
</embed></object>
Avatar of Aneesh Chopra
Aneesh Chopra
Flag of India image

Swf need to be updated for this...
You also need the Flash source to edit it..

check the getURL inside the flash source file..

it must be something like this..
-----------
getURL(clicktag,"_blank");
------------

change it to as shown below:
----------
getURL(clicktag);
-----------

Rgds
Aneesh
if you dont have Flash source with you,

you can send the "banner.swf" to me, i can fix it for you and send it back to you.

either you upload it somewhere and give the link here...
or
send it by email... my email is in my profile

Rgds
Aneesh
Hi,

I have sent the fixed banner.swf back to you mail..

I used Action Script replacer (a third party tool: http://www.buraks.com/asr/)

ASR can edit the action in a swf directly.

Next..
you should pass the URL only, no need to pass the target....
---------
<param name="movie" value="banners/banner.swf?clicktag=http://www.website.com">
--------

I hope it would be clear now.


Rgds
Aneesh
ASKER CERTIFIED SOLUTION
Avatar of Aneesh Chopra
Aneesh Chopra
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial