Copy link to clipboard
Copied
I'm trying to make multiple instances of my symbol square but this error keeps happening and i have no idea how to fix it. I am not expirenced in Flash coding and I have no idea what a "compile-time constant" is. It should be working. I already enabled Export for Actionscript and I'm using the class name. Please help me this is very annnoying
Copy link to clipboard
Copied
i don't see a problem, but sometimes i can be blind to typos.
copy from the code to your class name (or vice versa) to make sure they're both ("square") the same.
Copy link to clipboard
Copied
i did do that and i tried everything else like changing the instance name or linkage name name but nothing works. yesterday when i was farting around it worked randomly and I have no idea why but now it doesn't again. anyways thanks for replying though
Copy link to clipboard
Copied
create a new folder
save your fla to that folder
close animate
open the fla from that new folder
test
any problem?
if there is, type sq as a movieclip:
var sq:MovieClip=new square();
Copy link to clipboard
Copied
Hi.
It's just a shot in the dark, but try disabling advanced layers (Ctrl/Cmd + J). Maybe your version of Animate is one of those that have conflicts with this mode.
Regards,
JC