09-25-2008 4:30 PM
Ok...This is a newbie question...I know -:(
Supposed that in my project I got a file named Main.mxml and another one called About.mxml...So I want to open About.mxml when I press a button on Main.mxml
I have search for answers, but so far have only found that I need to create the new window by code...Isn't any other way??? Like in VB6 where it should be...
About.show()
Greetings,
Blag.
09-27-2008 10:02 PM
Hi Alvaro,
I have worked a bit on RIAs using Adobe Flex though not in integration with SAP.
Use the below code if useful,
Function
private function <function name>() : void
{
var u:URLRequest = new URLRequest("<url address>");
navigateToURL(u,"_blank");
}
Function Call
<mx:Image toolTip="<Tooltip text>" complete="smooth(event)" source="<image path>" scaleX=".5" scaleY=".5" mouseDownEffect="{blurImage}"
mouseUpEffect="{unblurImage}" click="<function name>()"/>
09-27-2008 10:02 PM
Hi Alvaro,
I have worked a bit on RIAs using Adobe Flex though not in integration with SAP.
Use the below code if useful,
Function
private function <function name>() : void
{
var u:URLRequest = new URLRequest("<url address>");
navigateToURL(u,"_blank");
}
Function Call
<mx:Image toolTip="<Tooltip text>" complete="smooth(event)" source="<image path>" scaleX=".5" scaleY=".5" mouseDownEffect="{blurImage}"
mouseUpEffect="{unblurImage}" click="<function name>()"/>
09-29-2008 8:36 PM
Thanks for your answer -:) But I needed to open a new Flex AIR window, and not a Flex web window -;)
Dan McWeeney answered me on [Twitter|http://twitter.com/dan_mcweeney/statuses/934492599] -:)
Greetings,
Blag.
09-29-2008 8:43 PM