11.18.07
Flex 2 /Flash ActionScript Error #2044
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.
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'.
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.
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.
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.
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
Ryan said,
December 19, 2007 at 12:29 am
thanks your page helped
Curtis J. Morley said,
December 19, 2007 at 5:59 pm
Ryan,
Glad I could help.
Happy Flashing
Curtis J. Morley
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!!!!
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
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
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
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?
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
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.
eric said,
May 22, 2008 at 7:44 pm
oh and it’s coupled with error 2032 not 2036
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.