var newwin;
function launchwin(winurl,winname,winfeatures){
newwin = window.open(winurl,winname,winfeatures);
}
</script>
(Tested in IE 7 Beta & Mozilla, works fine)
Hi all
I need some help on this:
Open a new java window in Flex like we do in Flash
I have a html page with this _javascript_ code
<SCRIPT LANGUAGE="_javascript_"> var _javascript__version = 1.0;</SCRIPT>
<SCRIPT LANGUAGE="_javascript_1.1"> _javascript__version = 1.1;</SCRIPT>
<SCRIPT LANGUAGE="_javascript_">
var newwin;
function launchwin(winurl,winname,winfeatures){
newwin = window.open(winurl,winname,winfeatures);
if(_javascript__version > 1.0){
setTimeout('newwin.focus();',250);
}
}
And have this code in Flex, azulej7.htm is the html page.
public function executEmail(event:MouseEvent):void{
var u:URLRequest = new URLRequest("_javascript_:launchwin
('azulej7.htm', 'newwindow', 'height=450, width=550')");
navigateToURL(u);
}
<mx:Button click="executEmail(event)">
Ok this open a new window but not the _javascript_ window with 550 by
the450 height.
If anyone can help me I say thanks and many thanks to all.
jf.sal
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
- [flexcoders] New Javascript Window jf.saldanha
- Re: [flexcoders] New Javascript Window Prakaz
Reply via email to

