-
URl in a new window.
My friend asked me this question but I don't know anything about as3. Here is the code he is using:
Code:
onClipEvent (load) {
imageNumber=1;
imageProperties=_root.getCurrentImageName(imageNumber);
loadMovie(_root.url+imageProperties['name'], this.cont.cont1);
url=imageProperties['linkToOpen'];
}
It reads to the xml file:
<page name="ABOUT">
<image imageUrl="_pic1.jpg" link="http://www.adirondackgraphics.com"/>
<image imageUrl="_pic2.jpg" link="http://www.susanstotthomes.com"/>
<image imageUrl="_pic3.jpg" link="http://www.herestoyourhealth.us"/>
<image imageUrl="_pic4.jpg" link="http://www.crosscreekcc.com"/>
<image imageUrl="_pic5.jpg" link="http://http://www.blueridgeinnandsuites.com"/>
<image imageUrl="_pic6.jpg" link=""/>
<image imageUrl="_pic7.jpg" link="http://www.adirondackgraphics.com/folio/print/sample.html"/>
<image imageUrl="_pic8.jpg" link="http://www.adirondackgraphics.com/folio/ads/sample.html"/>
<image imageUrl="_pic9.jpg" link=""/>
<texts>
He is trying to make it so when you click on a link it opens in a new window but can't get it to work.
-
-
idk. He told me he was using cs3 and as3. I went thru a lot trying to figure it out and then he sent me that code snippet. Personally, i thought you could just:
Code:
<image imageUrl="_pic1.jpg" link="http://www.adirondackgraphics.com" target="_blank"/>
He said it didn't work.