1 Reply Latest reply on Oct 17, 2006 2:47 AM by Glazer

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

    t_wooton
      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
      quote:

      Expected a field name after '.' operator.
      Anyway to do this. Bay this[item].onPress = function() { ... } doesn't work either (maybe because its a component?)