use resolve to set default swf path