Can anyone help me with this one.
i have movie clips named
location_0_0_mc
location_0_1_mc
location_1_0_mc
location_1_1_mc
set up in a grid style, so the number represent x and y or columns and rows
// location_x_y_mc
I need to a formula to work out if for example
var current_location = location_0_1_mc
var possible_location = location_1_1_mc
if (current_location X >= possible_location X) {
//do this
}
if (current_location Y >= possible_location Y) {
//do this
}
etc etc
Can anyone help?
Thanks
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com