Solved

URLRequest  / NavigatoURL control

Posted on 2009-07-15
2
624 Views
Last Modified: 2012-05-07
I have an advanced data grid that is being loaded from an XML file.  I also have a panel which loads an image also from the XML file based on the selected item on the grid.  They would like to be able to either double click the image or have a link such that when clicked a full size PDF will open of the drawing. If I use NavigatoURL with the PDF path hard coded this works, but it does me no good as I need this to be loaded from the xml file as well.

Using navigatoURL ({datagrtid.selecteditem.linkurl}) = does not appear to work. Is there some way to make this work?

Thanks
0
Comment
Question by:interstate
2 Comments
 
LVL 9

Accepted Solution

by:
danyul_c earned 500 total points
Comment Utility
try:
var urlRequest:URLRequest = new URLRequest(datagrid.selectedItem.linkurl);

navigateToURL(urlRequest);

Open in new window

0
 

Author Closing Comment

by:interstate
Comment Utility
I took your suggestion and did this right on the object itself and it worked!!!!

doubleClick="navigateToURL(new URLRequest(intbaseboardsDatagrid0.selectedItem.url),'_blank')"

Life is good

Thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now