Solved

Issue having image url links open in a new window

Posted on 2011-03-02
2
450 Views
Last Modified: 2012-06-21
I have a template i am using that has a flash page that links to an xml page. when i click on the images it opens the url on the same page the xml code looks like

<image imageUrl="_pic01.jpg" link="http://www.madelinesacs.com"/>

I have tried <image imageUrl="_pic01.jpg" link="http://www.madelinesacs.com" target="_blank"/>

and is does the same thing. So I looked in the flash source and i am thinking that the source is telling it to open in the same page. The action script code looks like this;

onClipEvent (load) {      
      imageProperties=_root.getCurrentImageName(0);
      loadMovie(_root.url+imageProperties['name'], this.cont.cont1);
      url=imageProperties['linkToOpen'];
      
}

How can i get these image links to work.
0
Comment
Question by:natevelli
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 17

Expert Comment

by:deepanjandas
ID: 35023750
Try this:
<a href="http://www.madelinesacs.com" target="_blank"><image imageUrl="_pic01.jpg"/></a>

Warm Regards
Deepanjan Das
0
 
LVL 17

Accepted Solution

by:
deepanjandas earned 500 total points
ID: 35023754
Though I am not sure how you are accessing the url in onClipEvent load method.

Warm Regards
Deepanjan Das
0

Featured Post

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

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

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

717 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