• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 752
  • Last Modified:

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>
0
SwitchedOnMedia
Asked:
SwitchedOnMedia
  • 4
1 Solution
 
Aneesh ChopraCommented:
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
0
 
Aneesh ChopraCommented:
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
0
 
Aneesh ChopraCommented:
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
0
 
Aneesh ChopraCommented:
Now, you must have to pass the target also....


to open it in the same window
-------------
<param name="movie" value="banners/banner.swf?clicktag=http://www.website.com&target=_self">
--------------

to open it in a new window
--------------
<param name="movie" value="banners/banner.swf?clicktag=http://www.website.com&target=_blank">
---------------

or to open it in a frame
--------------
<param name="movie" value="banners/banner.swf?clicktag=http://www.website.com&target=framename">
---------------

Rgds
Aneesh



0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now