— Shang Liang

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…

4 comments
  1. Ben Patterson says: December 3, 20065:58 pm

    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.

  2. 5566 says: December 4, 20065:18 pm

    Yup, it’s quite irritating, Mac doesn’t give an error. So the bug is silent.

  3. RaymonWazerri says: April 21, 20077:53 am

    Hey,
    I love what you’e doing!
    Don’t ever change and best of luck.

    Raymon W.

  4. One says: October 2, 200811:27 am

    well, thats because since MAC uses Linux Kernel, it makes a difference between uppercase and lowercase in folder/file names.

Submit comment

For spam filtering purposes, please copy the number 7940 to the field below: