11.18.07

Flex 2 /Flash ActionScript Error #2044

Posted in Error, Flash, Flex, errors at 7:30 am by Curtis J. Morley

Error #2044: Unhandled skinError:. text=[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2036: Load Never Completed. URL: http://curtismorley.com/someURL/SkinUnderAllNoCaption.swf"]

Description:
Here is a combo meal deal of errors that you may get if you are using one of the basic video component skins in Flash. Flash needs to know where the file is and how it interacts with the video you are playing. The reason you will get this error is because the skin didn't load and so Flash is trying to wrap this video skin around your video unsuccessfully which produces ActionScript Error 2044. I have always seen ActionScript 3 error 2044 coupled with ActionScript Error #2036 which says that the load of the skin never completed. I get this error because of the way wordpress handles includes.

Fix:
Put the file on the server and link to the file in the Flash Authoring Environment.

Step 1:
Convert your video into an FLV with either Flash itself or with the bundled Flash Video Encoder.

Step 2:
Import the video and go through the wizard provided. Make sure that you choose the skin you would eventually want to control your video. In the screenshot below I chose the SkinUnderAllNoCaption skin. This step is critical because it is necessary to have Flash auto generate a swf of the skin for you.

Flash Video Skin Window

Step 3:
Save your file and you check the folder that your main swf is located in. You should find another file with the name of the skin you chose. In my case the file is called 'SkinUnderAllNoCaption.swf'.Flash video skin Autogenerated by Flash

Step 4:
FTP the 'skin' swf to your server.

Step 5:
Open up your Flash file and select the video. Then go to the component 'Parameters' palette ad 2x click the 'skin' option as shown in the image below.Flash Video Component Parameter Palette

Step 6:
Choose the last 'Skin' option called 'Custom Skin URL' and then enter the URL of the skin swf into this field and click ok.
Flash video Custom Skin URL

Step 7:
Don't panic. The skin will most likely not display in the authoring environment. Hit <CTRL> + <ENTER> on your keyboard to test your movie and you will see the same lovely component that you had originally. The two files below show the file before testing your movie and after.
Flash video in Flash Authoring Environment

Flash video component preview

Step 8:
Upload your swf file to the server in the same place as your skin swf and enjoy.

Troubleshooting:
Make sure that you have a crossdomain.xml file on your server to prevent other ActionScript Errors.

You can see this in action at my post about 'How I Made History'
Now you have a step-by-step description of how to deal with ActionScript Error #2044

As always - Happy Flashing

18 Comments »

  1. Ryan said,

    December 19, 2007 at 12:29 am

    thanks your page helped :)

  2. Curtis J. Morley said,

    December 19, 2007 at 5:59 pm

    Ryan,

    Glad I could help.

    Happy Flashing

    Curtis J. Morley

  3. Ruth Cheesley said,

    March 8, 2008 at 5:29 pm

    Thank you SO MUCH for this tip - I am creating a site for a client which is selling downloadable short videos, and for the previews I wanted to use an swf with bar - but the damned control bar wouldn’t show!

    Firefox didn’t even give an error, just didn’t show it, but IE came up with Error #2036 - searching for this in google threw up your page, and by setting the URL of the skin manually I was able to resolve this problem …. only wish I’d found the error code 2 hours previously!!!!

  4. Curtis J. Morley said,

    March 12, 2008 at 3:35 pm

    Ruth,

    I know how you feel. I am really glad that this solved your issue with AS3 Error 2044. Flash Error 2036 and 2044 go hand-in-hand. I now have nearly 100 errors posted and will keeping doing my part to make Flash/Flex development easier and better.

    Thanks
    Curtis J. Morley

  5. Art Self said,

    April 21, 2008 at 8:23 am

    Curtis J. Morley,

    You are the man, finding a solution to this error made me want to pull my hair out. After seeing what a simple fix this is it has saved me a lot of time and making streaming videos for myself has liberated me from the grasp of YouTube. Thank you and keep posting fixes, I’m sure I’ll be back.

    Art Self

  6. Curtis J. Morley said,

    April 21, 2008 at 12:33 pm

    Art,

    Thanks for the kind words. I am very glad that I could help. My goal is to have all ActionScript Errors with solutions and code/tutorials.

    Thanks,

    Curtis J. Morley

  7. Jerome Noel said,

    May 9, 2008 at 1:53 pm

    Flypaper has some interesting prospects, that is until error 2036 poped up. I’ve read your fix report, but I’m not sure how to implement those fixes with Flypaper. The URL that I’m working on will not put the image on screen. Any ideas?

  8. Gabriel Sheridan said,

    May 14, 2008 at 12:28 pm

    Thanks Man!
    Now I am having a problem with the video not even showing up on our pc using IE

  9. eric said,

    May 22, 2008 at 7:43 pm

    I’m getting this error but I have a feeling it’s for a different reason. The skin comes up and the movies play, but the player shows up in a few different spots. I have my player linked to a movie clip called “holder_mc” and it’s supposed to play different movies when I click a button. I never actually dragged the FLV player onto the stage, yet it shows up before I push the button, and even then it shows up in the wrong place. Also, when I press the button that’s supposed to call the player, a new player, in the correct place of the default color shows up. Any insight would be most appreciated.

  10. eric said,

    May 22, 2008 at 7:44 pm

    oh and it’s coupled with error 2032 not 2036

  11. Frances said,

    June 18, 2008 at 6:21 am

    I have tried what you suggested in your tutorial but it still doesnt seem to want to work.

    I have to store the .swf and video flv files on a seperate domain (hosted by a third company) and then display the video + plus player on my website (the video is displayed dynamically dependant on the querystring). Do you think this is why the menu still wont appear but the video plays fine?

    Any guidance would be much appreciated.

  12. aris said,

    November 14, 2008 at 12:03 pm

    you won’t believe how many hours/days i have spend due to error 2044.
    Thanks very much for the tip. everything works fine after changing skin with the custom url.
    cheers, aris.

  13. Curtis J. Morley said,

    November 14, 2008 at 12:12 pm

    Aris,

    You are very welcome. I am very glad that I can help you.

    Curtis J. Morley

  14. Peter Pedaci said,

    December 2, 2008 at 10:06 am

    It’s not the actual issue, but… how did you realize the time displays? it’s what I’m trying to figure out and I’m close to throw something really heavy outside the window…
    I defined a class that holds the String values of the time (actual time & total time). I can access them from my custom skin, trace() gives me the correct values, but if I try writing them to my textfields it ONLY (??) works if when I publish the skin… the video-loading .swf won’t update the text fields (but trace is still outputting the right values…).

    Thanks for your help.

    Peter

  15. SamL said,

    March 22, 2009 at 11:21 am

    I have tried this, I put the swf file of the skin on my server and then updated the code for it in flash. When I tried bringing up the webpage again I got another error:

    Error #2044: Unhandled skinError:. text=Error #2121: Security sandbox violation: Loader.content: http://samlynch.com/media/trajan.swf cannot access http://www.samlynch.com/media/SkinUnderPlayStopSeekCaptionVol.swf. This may be worked around by calling Security.allowDomain.

    Does anyone know about the Secuirty.allowDomain call? Thanks!

  16. Aaron said,

    July 14, 2009 at 10:28 am

    Thank you so very very much for this and the crossdomain articles. Adobe.com was poor help for me but you got me straight in ten minutes :)

  17. David said,

    August 24, 2009 at 1:03 pm

    I know this might sound dumb but… I have uploaded my skin to the server but on your page where you have manually put in how to get to that skin how do you do that? I can not figure it out so I have no idea what to put in for the Custom URL section so it obviously can’t find anything right now. Please help!

  18. Dwayne said,

    October 15, 2009 at 6:19 pm

    THANK YOU…THANK YOU…THANK YOU…..!!!!!!!
    I too was pulling my hair out….all day…..as a matter of fact….
    You made this all incredibly clear,
    and i have successfully embedded my first flash/skinned player.

    You have taught me something i will forever use…

    Eternally Greatful….really!

    Dwayne

Leave a Comment