Strange Bug with mc_tween2
Days ago one of the local market had some problem with mc_tween file. The #include “mc_tween2.as” line is there but nothing shows up.
If you trace the prototype functions of mc_tween, “undefined” is shown. I thought that was because they do not know how to use “Macromedia Extension Manager”. Now I realize that I’m the stupid one. Yesterday, I had the same problem. After trying to put the “mc_tween2.as” file at various places, I gave up. I copied the whole chunk of script into my own as file. Well it works.
I wasn’t very happy with the cheapskate solution. After spend another hour, I found the real problem. The mc_tween2 file is not recognized by my system. I believe it’s some problem with the file format. I guess it’s the file header or file closure problem. I’m no export in file format. My solution is to copy the codes, create a new file and save it. It works!
Similar problem happened before when I copy files from PC to Mac. There was no error message but the file is not include when flash is exported. Well, solution is the same, copy, new, paste and save.
Another problem with Mac and PC is Class files. Sometimes, MyClass.AS doesn’t work but MyClass.as works. Strange…
When on a Mac I find I have to type the file extensions exactly as it appears, so if the file is called ‘myfile.AS’ I have to type ‘AS’ and not ‘As’ or ‘as’. It just seems to be the way Mac’s work.
Yup, it’s quite irritating, Mac doesn’t give an error. So the bug is silent.
Hey,
I love what you’e doing!
Don’t ever change and best of luck.
Raymon W.
well, thats because since MAC uses Linux Kernel, it makes a difference between uppercase and lowercase in folder/file names.