I ran into a couple of bizarre problems when I had to add a module to a completed Flash project. First of all, my project is a main Flash movie that dynamically loads individual modules. The main movie is published to Flash Player 10 using AS3, and the individual modules are published to Flash Player 9 also using AS3. The project was completed and working perfectly without any problem. Then I added a module, and it exhibited these problems:

  • even though a named movieclip exists on the stage and in the timeline, scripts that try to access it will trigger errors complaining it could not access properties of a null object. The movieclip was placed on the stage in the timeline at that juncture. The name used to reference it was correct. The movieclip was opened up and checked at design time, there was nothing wrong with it or anything different from the other working movieclips. Inspecting into the application data pool and the display tree in deMonster Debugger showed that the movieclip exists but was represented by an icon used for variables, unlike the other working movieclips. And the rebuild worked. I ended up having to revert the FLA to an earlier version, and rebuilding the changes. The difference is that I did not agree to overwriting items in the library that already existed when I copy and paste the same strip of frames from one channel into a newly created channel. I guess that overwriting screwed up things, even though it was not supposed to because the item overwriting the other is the same thing.
  • a button object could not be animated and error threw error, complaining of accessing an null object. But the button is definitely there. Finally, it was fixed by republishing the movie to Flash Player 9 – somehow this movie was published to Flash Player 10. But it is puzzling is that why it would not work under FP10.
  • a background transparent background panel seemed to have lost its transparency when viewed in the Flash editor at design time – where it used to be transparent, it now shows white the color of the project background. But, when published and played back, everything still works including the transparency.
  • why scripts inside a module published to FP9 could execute FP10 3D features like animating the rotationX, rotationY, and rotationZ. Or is FP9 already supports 3D features.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Haohao
  • LinkedIn
  • Live
  • MyShare
  • MySpace
  • Reddit
  • Technorati
  • TwitThis

Related posts:

  1. Flash Component UIScrollBar Issue Resolved
  2. Making a Web-server-hosted Flash Project Playable from a Local Drive
  3. Timer Object Management in Flash CS4
  4. IE8 Freezes on Adobe’s Flash Player Installer Page
  5. Flash Tween Engines for AS3

Tags: , , , ,

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>