afternoon all!
really hope some clever script head on here can put me out of my misery.
i have a flash movie that is part of quite a large project.
it is the second swf file to load and contains a few different elements that stay throughout the whole "shabang"
i am using cs5 and cs5.5 to publish. and each time i try i get a
PHP Code:
1021: duplicate function definition
error message (something that i never got in cs4)
reading up on it and asking a few people it looks like it is being called elsewhere - but it is not in any other class files and is not on any frames within the fla's either!!! even when i try to change function names it gives me the same error (also when i remove the path the class file from main i still get the error!)
it's driving me f*ckin' nuts!!!!
does anyone know what is wrong, or where the error is, with the script
PHP Code:
package project.main.Popup {
import caurina.transitions.Tweener;
import flash.display.MovieClip;
public class SmallLoader extends MovieClip {
public function SmallLoader (_x:Number, _y:Number):void {
this.x = _x;
this.y = _y;
}
public function hide ():void {
Tweener.addTween (this, {alpha:0, time:.5, onComplete:hideComplete});
}
private function hideComplete ():void {
this.visible = false;
}
}
}
i have spent days/weeks trying to work it out - with no joy!
here's hoping someone can put me right!!!!!