Skip navigation
Currently Being Moderated

Help with URL Link in a view

Mar 2, 2013 4:35 PM

In this code:

 

 

<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
  xmlns:mx="library://ns.adobe.com/flex/mx"
  xmlns:s="library://ns.adobe.com/flex/spark" title="Google">
 
<fx:Declarations>
  <!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>

</s:View>


 

Why cant I add this to the code abowe? Is there a differnet way to do it in a view?

 

 

<?xml version="1.0"?>
<!-- controls\button\LBURL.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

 

<mx:LinkButton label="Google"
width="100"
click="navigateToURL(new URLRequest('http://google.com/q?s=Google'), 'quote')"/>
</mx:Application>

 
Replies
  • Currently Being Moderated
    Mar 3, 2013 12:18 PM   in reply to fsoender

    What is happening to make you think you can't add it in the code where you want to add it? Are you trying to add the Application tag as well, or just the LinkButton? BTW, you might get more help if you post in the Flex forum instead of this one.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 3, 2013 1:18 PM   in reply to fsoender

    Yeah. If you can't answer simple questions that would help me to help you, I guess you will need to figure it out on your own.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points