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

Damm, Can this be done?

Status
Not open for further replies.

jrwild78

Technical User
Feb 28, 2003
1
GB
I know there's probably a few way's around this but just thought i'd check if there's AS or something! Anyway...

Im working on a site completely in Flash, the site is for a Physiotherapy company and basically I've created the four different pages using stacked movies. I have one page which is a self help page where the user runs there mouse over a figure of a man to reveal a description of the possible injury, the affected areas are all created using invisible 'hotspots' with no up stated only an over and hit so that the content is visible only when the run their mouse over, fine so far. Now my problem is this: I would like to include a 'Reveal All' button whereby all the hotspots are revealed on the page, I know I could do this in various painstaking ways but is it possible to trigger the over state of each and every 'hotspot' to be displayed at once and then hide at the second hit state?

Sorry about the long message, just wanted to double check there wasn't an easier way of doing this

Thanks
 
1 possibility that springs to mind if using mx

make the 'hotspots' movie clips. movie clips in mx can behave exactly like buttons (on release, on rollover etc.)
all hotspots initialised with visible set to false

then rollover sets visible to true

'reveal all' sets visible to true for all and a simple toggle function can set them back to false

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top