# Flash Grid Square calculator

Hi,

I need a piece of Flash doing.

See: [url removed, login to view]

The side frame area below the logo is flash.

I will provide you with a Flash CS3 or 8 .fla file with all the graphics laid out.

When the cursor point moves into the gridded square the cursor design changes to the one on the visual.

This cursor shows an 8 figure grid reference in the yellow box.

As the cursor moves it needs to continually display the correct Grid reference.

The only numbers that will change will be A, B, C and D

NC 81[A][B] 65[C][D] (77 and 52 in my example)

This is reflected in the box below the Roamer in red which also needs to change as the cursor moves.

When the cursor point moves over one of the 5 icons the word 'LOCATION' changes to

SHOP (Star)

HOW TO (Square next to 'Sch')

FORUM (red triangle)

or CONTACT (telephone) - these names will diplayed in red.

If cursor then clicked it will take you to the relevant page in the right frame.

HOW TO CALCULATE THE GRID REFERENCE

NB - Ignore the the red 1:50000 numbers!

NC 81[A][B] 65[C][D]

Only the numbers A, B, C and D will change.

LEFT TO RIGHT MOVEMENT

Each grid square along the bottom is the 1st number that needs to change = A. This will be from 0 to 9

This will only change when the cursor changes main squares (not faint grey squares)

Within each square the 2nd figure is calculated = B

You must imagine that each main square is divided again into 10 (you will see a faint grey line which divides each square, the very centre is 5 up and 5 across - the grey lines are just to aid calculation on the actual product). So that for example if the cursor is on any black vertical line then B = 0.

B can only be 0 to 9

UP DOWN MOVEMENT

Each main grid square UP from the bottom is the 1st number that needs to change = C this will be from 0 to 9

As above each of these squares is divided into 10 so D = 0 to 9

eg D=0 if the cursor is on any horizontal line. D=5 if on a horizontal grey line

Slightly complicated but we can discuss this.

I've attached the .fla file.

Regards,

Steve