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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

opening a web page 1

Status
Not open for further replies.

marty321

Technical User
Aug 9, 2004
9
IE
Hello all,

Can anyone tell how i can open a webpage using a flash button
within director, the normal actionscript attached to the button

on (release) {
getURL("}

doesnt work!

Any help would be great.
 
Use "lingo:" (or "event:") as a getURL parameter to send a command from embedded Flash to hosting Director.
--
// Flash
on (release){
getURL("lingo:goToURL(1)")
}

-- Director Movie script
on goToURL arg
case arg of
1: tURL = " 2: tURL = " end case
baOpenURL(tURL , "normal")
end goToURL
--
If you're creating a Shockwave movie, use "goToNetPage" instead of BuddyAPI openURL command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top