Fixed animation/swf resource issue