I think the BrowserWindow class wraps how to launch another browser window
with a URL in it.

HTH,
-Alex

On 1/16/17, 1:11 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala"
<omup...@gmail.com on behalf of bigosma...@gmail.com> wrote:

>(I'm back go working on the Flex Team page using MDL.  )
>
>I'm hunting through the examples, but I dont see a way to programatically
>navigate to a URL in FlexJS.  Am I missing something obivious?
>
>I see an <a> tag with a href, and another approach that adds an <a>
>element
>in code, but that seems so cumbersome.  And it does not feel MXML-ish.
>
>I see a few options:
>
>1.  Implement an href attribute in the MDL Button.  Although it will be
>confusing to the user if there is a href and a click handler.  Do both get
>executed?  Can we throw a warning in MXML about this?
>2.  Implement a org.apache.flex.net.navigateToURL function which simply
>takes an urlRequest and navigates to the specified url (by internally
>calling window.open() )
>
>Any other options?
>
>Thanks,
>Om

Reply via email to