URL_OPEN_FULL - Illegal Argument Count
#1
Posted 07 June 2012 - 11:06 PM
What I'm trying to open it straight out of their help information:
url_open_full( 'http://yoyogames.com' '_self', 'resizable=0, height=200, scrollbars=0');
Any ideas.
#2
Posted 07 June 2012 - 11:19 PM
This will open the specified URL on the browser of the chosen target device, or, if you are using the HTML5 module, in the currently open browser. The "target" parameter that you specify is the same as the standard JavaScript "name" value when you use the open() method (be aware that all but '_self' may result in the browser blocking, or asking the user if they wish to allow it) and the "options" is the same as the Java Script "specs" prameter for controlling what properties the new window/tab should display (not all browsers may support all features).
It works fine on html5 from my tests but not with the windows runner. Right enough its listed under Platform Specific Functions for HTML5, it will not work in windows/iOS/Android it appears.
Edited by @Alex@, 07 June 2012 - 11:21 PM.
#3
Posted 07 June 2012 - 11:21 PM
#4
Posted 07 June 2012 - 11:23 PM
#5
Posted 08 June 2012 - 12:09 PM
I'm working on the Android. What does it mean for that?
You don't really need to set a target or window size on android as any url will open in the browser at the usual resolution...
#6
Posted 08 June 2012 - 04:00 PM
#7
Posted 08 June 2012 - 07:49 PM
#8
Posted 08 June 2012 - 07:54 PM
Hod use this:
YoYo_OpenURL("http://www.yourwebsite.com");
This works on android and ios.
That is a deprecated function and is now called url_open(). What Hod is using is the _ext version of this which is NOT compatible with other platforms...
PS: Don't double post
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











