473,395 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

FlashVar link wont work

Hi

I am embedding a swf object. I try:

[HTML]<script type="text/javascript" src="../scripts/swfobject.js"></script>

<script type="text/javascript">

var flashvars = {
linktarget: "_top",
link: "http://www.google.co.za",
linkfromdisplay: "true"
};
var params = {
menu: "false",
};


swfobject.embedSWF("Clarence_Ford.swf", "divFlash", "468", "60", "9.0.0", "", flashvars, params);
</script>

<div id="divFlash">
<a href="http://www.google.co.za" border="0">
<img src="468_60px_GS_F.GIF" /></a>
</div>[/HTML]


and i have tried:


[HTML]<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="550" height="400" align="middle">
<param name="movie" value="Clarence_Ford.swf">
<param name="allowScriptAccess" value="always">
<param name="flashVars" value="link=http://www.google.com" />
<embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"
width="550" height="400" align="middle" src="Clarence_Ford.swf"
allowscriptaccess="always"></embed>
</object>[/HTML]

yet when i click on the flash object once the page has rendered it does not redirect me to the link that is set in the flashvars.

What could possibly be wrong? Is it maybe the swf file itself that does not all me to pass the flashVars. Every website I look at uses either one of the above methods yet it refuses to work for me.

note the example top uses swfobject.js

Any help appreciated.
Oct 6 '08 #1
1 3144
acoder
16,027 Expert Mod 8TB
If it's just a problem with passing flashvars, see this link. If not, it's probably a Flash problem and you should ask in the Flash forum.
Oct 6 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: rufus | last post by:
I want to add 2 'onclick' events to a link button but, of course, the javascript wont work. In other words: linkbutton.Attributes.Add("onClick", "MyFunction1();")...
1
by: Mario | last post by:
I reinstalled IE 6 with all the windows 98 updates and patches and the problem remains exactly. Please tell me how can I solve this ? > Hello, > > Under windows98se and IE 6.0.2800.1106 , few...
9
by: Targa | last post by:
I know you can do an onmouseover/onmouseout to display alternate text for links but Im looking for a script that would cover all links on a page without having to add code to each link. Is there...
5
by: Mr Newbie | last post by:
Debug.Assert( False, "Why wont I display ??") I am trying to use this in my code but it wont display. The app is running on my local machine and the above code under a button click event. What...
3
Frinavale
by: Frinavale | last post by:
Hi there, I am currently behind a firewall that wont let me send emails. As a result my smtpClient.send(emailMessage) wont work on my IIS but this method does work through the VisualStudio...
6
by: Matt | last post by:
On my master page i have build 5 link buttons. First Page I receive ID and set the ID in master page Property so i can do the work with it. How ever when i clicked to second button i lose this ID....
13
by: Casimir Pohjanraito | last post by:
I have a list of links, with a thumbnail image hidden(resized) next to the link. Complete html&css at end of this post. CSS for the link resizes the image on a:hover. All is good, except the...
1
by: theJonster | last post by:
Hi I am embedding a swf object. I try: <script type="text/javascript" src="../scripts/swfobject.js"></script> <script type="text/javascript"> var flashvars = { ...
4
nathj
by: nathj | last post by:
Hi, Well the title of the thread is the question. I have tried searching for this and after several days of getting nowhere with it I decided I would ask. So here's the deal. I am using Flash...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.