I got this as a subclass, basically it’s a movieclip on top and a loader on the bottom.
public function WorkThumb(namer:String, desc:String, url:String, thumb:String, num:uint) {
addChild(loader_mc)
addChild(workDis);
urlTxt = url;
desTxt = desc;
nameTxt = namer;
thumbTxt = thumb;
numTxt = num;
}
on the main class i used to load WorkThumb, basically i got functions like these:
_workThumb.mouseChildren = true;
_workThumb.buttonMode = true;
_workThumb.addEventListener(MouseEvent.ROLL_OVER, workDisRollOver);
_workThumb.addEventListener(MouseEvent.CLICK, workDisClick);
This should be working properly and it does, but there seem to be a slight problem.
i can’t rollover or click at the _workThumb properly, it’s the kind of thing where it sometimes work, sometimes doesn’t. Do you guys have any suggestions? Would it be because there is a loader class in the sub class?
thanks