In flex we use navigateToUrl () method to traverse to a WEB page, usually with a link Button or Button.
The line is :
specify the link in the double quotes.
In flex iam having Button which calls the function redirect() at JS,which contains the line of code, then definition would be as below..,
Code at Flex app:
<mx:Button id=”btn” click=”b()”/>
private function b():void
Code at JS/html wrapper:
Now on click Button the page will travel to the Google Page.