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!

Can I Create Hostpots / Image Maps?

Status
Not open for further replies.

wuzzle

Programmer
Dec 20, 2000
75
CA
We're about to create a digital business card for a client. They need us to take this map idea: with the links and all, and put it into Director so it can function off of a cd.

Is there a way to do this that wouldn't be making each of those little text links a button of its own? I know this would be easy in Authorware because we could use hotspots. But is there a practical way of doing this in Director? I hope I'm overlooking something.

Thanks!
 
You can make transparent sprites and put them over the city names
If it is the cities that you want to navigate from
you can make a script that when (user) rolls the mouse over the transparent sprite over (city(NewYork)) in sprite channel 6 you jump to another frame i.e. "NewYork"

or you could have mouseDown


This would be a Movie Script

on startMovie
repeat with channel = 1 to 10
puppetsprite channel, TRUE
end repeat

end

on action
if rollOver (6) then goNewYork
else
if rollOver (7) then goToronto
else
if rollOver (8) then goMontreal
else
if rollOver (9) then goPhiladelphia

else nothing
end if
end if
end if
end if
end action

on goNewYork
go"NewYork"--frame label "NewYork"
end

on goToronto
go"toronto"--frame label"toronto"
end

on goMontreal
puppetTransition 04
go"Montreal"
end

on goPhiladelphia
go"Phila"frame label "Phila"
end

--------------------------------------------

you also might want to look at case statements


Christopher Mealey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top