add swf like animation support