deanosrs
02-20-2006, 12:37 PM
Hi.
In one scene I define the variable "racer1rating" then I want to assign it to a custom property of a clip. So in the next scene, where the clip is, on its action script I've got:
onClipEvent(load) {
this.rating = racer1Rating;
}
However this doesn't work. But this does if I just use a fixed value:
onClipEvent(load) {
this.rating = 20;
}
And I can print out the value of racer1Rating into a dynamic text box. Any ideas as to why I can't get its value into the onClipEvent(load) conditional?
In one scene I define the variable "racer1rating" then I want to assign it to a custom property of a clip. So in the next scene, where the clip is, on its action script I've got:
onClipEvent(load) {
this.rating = racer1Rating;
}
However this doesn't work. But this does if I just use a fixed value:
onClipEvent(load) {
this.rating = 20;
}
And I can print out the value of racer1Rating into a dynamic text box. Any ideas as to why I can't get its value into the onClipEvent(load) conditional?