Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hot Link to the web from an E-Card

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I've created an E-Card for a friend to promote his company which has music, graphics and a short animation. At the end of the presentation it contains all his details including his web address.
How do I embed a url into authorware so when this address is clicked it will automatically take the user to his web page?
 
You will need an interaction icon that is a hotspot or hotobject, etc. Then in the branch path of the interaction (when they click on the address) put a calc icon with something like these lines of text:

if NetConnected then
GoToNetPage("MySite.com" , "_blank")
else
JumpOutReturn("IEXPLORE.EXE" , "MySite.com" )
end if

The "else" portion of the statement is in case you want to package the piece as an EXE, otherwise you just need the one GoToNetPage line.

The "_blank" parameter opens a new browser window. If you want to open in the same browser window, you can either omit that parameter or use "_self" instead of "_blank".

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top