I wonder if some of you could take a look at some code and the error message I’m getting and make some comments. This code is a button for a file attachment on my website. everything else seems to be all right but I keep getting this error on the button…and its driving me nuts! Any help would be great…thanks.
PX
The error is: Error Scene=Scene 1, layer=Fill attach Buttons, frame=15:Line 2: Statement must appear within on/onClipEvent handler
{
Total ActionScript Errors: 1 Reported Errors: 1
And the code is:
//Component construct()
{
icon = “”;
label = “Remove”;
labelPlacement = “right”;
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}