Hi there,
I have this small piece of code for FLEX3 - AS3 nothing fancy actually very simple and it works, BUT I do need to build on it and there it is where the problem starts.
Code:
<mx:Script>
<![CDATA[
import flash.net.navigateToURL;
]]>
</mx:Script>
<mx:LinkButton label="INFO"
x="600" y="530"
color="#000000"
click="{navigateToURL( new URLRequest('http://www.google.com'))}"/>
I need to urgently find a way to when selecting the LinkButton that the new window opens in a FULL Size sreen resolution window of that computer it is on.
Trying for 8 to 9 days now I can't come up with an solution.
This is what I have tryed.
Code:
click="{navigateToURL( new URLRequest('javascript:NewWindow=window.open("http://www.google.com","width=,height=,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=Yes");NewWindow.focus(); void(0);'))}"/>
And I get always this ERROR Msg.
Code:
Element type"mx:LinkButton" must be followed by either attribute specifications,">" "/>".
I have been told that this could should work with AS3 and in FLEX3 it works fine as JScript itself but I can't fine the fault in it. ???
Please if somebody could help does not have to be the same code can be anything actually but my windows have to open in Full screen!
Any help is so much appriciated. I need to open this site and I can't without that item working.
Thanks aktell, New Zealand


