all groups > flash actionscript > october 2006 >
You're in the

flash actionscript

group:

this[item].on(click) = function () {


this[item].on(click) = function () { t_wooton
10/16/2006 9:02:05 PM
flash actionscript:
I was going to go into each on of my radio button components and add on(click){
.... } function but this seemed redundant if i could get some sort of
actionscript to run on the main timeline. The code below gives me the error
[Q]Expected a field name after '.' operator.[/Q] Anyway to do this. Bay
this[item].onPress = function() { ... } doesn't work either (maybe because its
a component?)

for(var item in this){
this[item].on(click) = function () {
trace("hi");
}
}
Re: this[item].on(click) = function () { Glazer
10/17/2006 12:00:00 AM
for(var item in this){
this[item].onRelease = function () {
trace("hi");
}
AddThis Social Bookmark Button