How easy would it be to create a hazard perception test i.e.
take a photo and divide it into sections and when the user clicks
on a section with a hazard, they increment their score. Obviously
there would need to be some sort of check to see if the hazard has
already been selected or the user would get too many points for the
same hazard. It would also need to check when all the hazards have
been identified. Has anyone created anything like this before and
if so do you have any code available.
Create a separate bitmap member for each hazard.
Drag each hazard member onto the Stage to create a sprite.
Select all the hazard sprites, then Right-click (Windows) or
Control-click (Mac) and select Script... from the contextual menu.
In the script window that opens, type or paste the following
on mouseUp me
Create a movie script. Type or paste the following
gHazardList = 
if not gHazardList.getPos(aSpriteNum) then
vCount = gHazardList.count
if vCount = 1 then
alert "You've found 1 hazard."
alert "You've found "&vCount&" hazards."
In the Control menu, make sure that Loop Playback is checked.
Run your movie.
Click on the hazard sprites.