Hyperlink from a button
by Andy Schatz · in Torque Game Engine · 04/21/2005 (2:33 pm) · 4 replies
How do I link to a webpage in Torque?
I have a Flash Gui (using the Flash resource), on which I have a nice, pretty "Buy Now" button, which I want to link to a web page. I am assuming the best way to do this is to have that call an fsCommand (which essentially just calls a Torque script command), which then calls whatever command Torque uses to bring up the appropriate link. What's that command?
I am NOT looking for how to link through HTML in the help files.
Thanks for your help in advance!
Andy
I have a Flash Gui (using the Flash resource), on which I have a nice, pretty "Buy Now" button, which I want to link to a web page. I am assuming the best way to do this is to have that call an fsCommand (which essentially just calls a Torque script command), which then calls whatever command Torque uses to bring up the appropriate link. What's that command?
I am NOT looking for how to link through HTML in the help files.
Thanks for your help in advance!
Andy
#2
04/21/2005 (2:46 pm)
Stephen said it.
#3
04/21/2005 (2:48 pm)
Thanks guys! Searching through the code and the forums for the word "link" "html" and "hyperlink" were fruitless. Much appreciated!
#4
12/27/2005 (11:07 pm)
Yep thanks. Searching for "link" "web" and "command" brought me straight here. :)
Torque 3D Owner Stephen Zepp
In Torque, the function is gotoWebPage( %url );
...just make the URL the web page you want loaded.