Posted by: zalimSingh January 25, 2006
Login in to Rate this Post:
0
?
alternatively, for the comedy location on_click,
on_click() {
location_box.moveToLocation(a,b); //comedy location
location_box.displayLabel("Comedy"); //comedy label
}
for the mystery on_click action,
on_click() {
location_box.moveToLocation(x,y); //mystery location
location_box.displayMysteryLabel("Mystery"); // mystery label
}
this way, you have fewer lines to code. better design..