Added swf support