Monday, February 18, 2013

Error 1046:Type was not found or was not a compile-time constant: (button reference)

I'm learning flash ActionScript and came across the error.
Error 1046:Type was not found or was not a compile-time constant: (button reference)
Apparently it can be a lot of things.  For me, I had the "Instance Of" name matching the "Instance Name".  It took me a while, but I finally realized these names have to be different after talking it through with someone.  I hope this helps anyone else new to Action Script 3.0 with their similar headache.


The wrong way:
 The acceptable way:


No comments:

Post a Comment

ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'

 I tried a couple things, downgrading, reinstalling, followed some github links talking about /usr/local/lib/python3.10/dist-packages/basics...