?
Solved

Flash Banner - Not open new page

Posted on 2006-04-07
4
Medium Priority
?
750 Views
Last Modified: 2008-02-01
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
Comment
Question by:SwitchedOnMedia
  • 4
4 Comments
 
LVL 34

Expert Comment

by:Aneesh Chopra
ID: 16399075
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
 
LVL 34

Expert Comment

by:Aneesh Chopra
ID: 16399078
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
 
LVL 34

Expert Comment

by:Aneesh Chopra
ID: 16399186
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
 
LVL 34

Accepted Solution

by:
Aneesh Chopra earned 2000 total points
ID: 16399252
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question