Why You Can’t Use Test Movie in Flash IDE for FP 10.1

June 30th, 2010

First of all, if you have not gotten ready for Flash Player 10.1 by integrating the playerglobal.swc into either Flash CS4 or CS5 you can read up on how to do that here.

Now, after many questions, I thought I would dive into why using Test Movie (cmd(cntrl)+enter) from Flash CS4 always gives “ReferenceError: Error #1065″ when trying to use a 10.1 specific function. This happens even after updating the Stand Alone players.

I’ve narrowed this down using Capabilities.version and Capabilities.playerType like so:

********************
import flash.system.Capabilities;

trace(Capabilities.version);
trace(Capabilities.playerType);
********************

It appears that the IDE uses an integrated player for Test Movie, and not the Stand Alone player, as you would think it would. Instead, Test Movie produces a player type of “External.” Whatever that means. Which is the player run by the IDE itself.

So how do you work around this?

Well, you don’t. I have torn through every file I could find to see where Flash is targeting the player – or the “External” player itself, and I just can not find it. I can’t even find it in the app package (right clicking and going to Show Package Contents on the Mac). Needless-to-say this is frustrating.

But, there is some hope. You can use Debug Movie (cmd(cntrl)+shift+enter) from the IDE to use the Stand Alone debug player which will give you full access to Flash Player 10.1. Here’s what the two ways to test should do in CS4:

This same issue happens in Flash CS5. Although, if you have run the update to 11.0.1, you should be able to use Flash Player 10.1 API without problems. This is what the two ways to test should give you:

Of course, you can always Publish and open your SWF/HTML in your browser, even though that is a pain.

Unfortunately, I don’t foresee a real fix for this coming anytime soon, but it sure would be nice. If I find anymore information or a way to fix it, I will be sure to let you know.

Happy Flashing!

4 Responses to “Why You Can’t Use Test Movie in Flash IDE for FP 10.1”

  1. Jurriaan says:

    Thanks for the update as I was just trying to figure this out. It would be ridiculous for adobe not to bring out an update for cs4, since we are still talking about the flash 10 player here, belonging to version 10 of the program, and that is of course not the only reason.
    But than again.. there has only been 1 patch in total, despite many bugs staying in after that one, so Im not about to get my hope up. In the end Adobe is shooting in their own foot if they don’t and that is likely what is going to happen

  2. TheDarkIn1978 says:

    Thanks for this. I was days away from doing a complete reinstall of Mac OS as i was convinced that was the only other possible cause for this problem. Now i know i\’m not the only one with this issue and that it\’s a problem with Test Movie not being updated by Adobe.

    I\’ve opened a case with Adobe product support about this issue and will write back if they offer any solution or reason.

  3. TheDarkIn1978 says:

    Adobe product support phoned me to discuss this issue. They (2 of them) were rather vague, but generally stated that the “external” (test movie) player will eventually be updated.

  4. TheDarkIn1978 says:

    Adobe product support phoned me to discuss this issue. They (2 of them) were rather vague, but generally stated that the \"external\" (test movie) player will eventually be updated.

Leave a Reply

Security Code: