Hi,
when I try to call a function on the maintime line from a class file i get :
TypeError: Error #1006: redArrowAlpha is not a function.
the code is simple:
//blueArrow_select function is called from an addEventListener and works fine...
public function blueArrow_select(e:MouseEvent):void
{
MovieClip(parent).redArrowAlpha();
}
then in the main time line a simple function...
function redArrowAlpha():void
{
TweenLite.to(redArrow, 5, { alpha:0, ease:Circ.easeOut});
}
thanks
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.