开发者

Action Script 3 Linkage mystery

开发者 https://www.devze.com 2023-01-11 14:40 出处:网络
I have a button symbol in the library that has a linkage. when I run my movie, everything works fine. If I go into the properties of that button turn off linkage, then immediatly turn it back on with

I have a button symbol in the library that has a linkage. when I run my movie, everything works fine. If I go into the properties of that button turn off linkage, then immediatly turn it back on with the same settings, then run the movie. I get;

1046: Type was not found or was not a compile-time const开发者_开发问答ant: Phase02_btn.

1180: Call to a possibly undefined method Phase02_btn.

Anyone know what's going on, and how to fix it?

JD-


Well that error in flash is telling you it can't find the Phase02_btn class. So it sounds like you must have changed the linkage name.

Be careful when you unselect and reselect 'export for actionscript', as flash WILL change your linkage name to that of the movieclips name by default.

0

精彩评论

暂无评论...
验证码 换一张
取 消