hey there folks,
need a little hand, i am trying to activate a function within a class on a mouse rollover -this is AS2 in CS3 and i have the following in my Class.as:
private function mouseEvents(new_pane, pane_name)
{
new_pane[pane_name].onRollOver = function ()
{
movePanes()
this._alpha = 50
}
new_pane[pane_name].onRollOut = function ()
{
this._alpha = 100
}
}
public function movePanes():Void
{
var i:Number
for(i in _global.pane_array)
{
trace(_global.pane_array*)
}
}
the global.pane_array is specified in my FLA
Obviously i would like to see the trace from the array, but nada…
if i put the movePanes() outside the rollover event, it works fine… however this does not achieve my goals
also if i declare the function as a global function from within my FLA, and then call it on the rollover e.g. _global.movePanes() - it works!
I could really use some assistance here as have an imminent deadline approaching…
Many Thanks
nift