Refactoring Flash Embedding Methods
Ming Ying, James Miller · International Journal of Systems and Service-Oriented Engineering · 2012
Flash and Ajax are currently two popular Rich Internet Application (RIA) technologies, integrating Flash and Ajax will further enhance Internet users’ experiences. To communicate Flash written in ActionScript with Ajax written in JavaScript, the first step is to embed Flash content into a web page. Two methods can be used: markup-based Flash embedding methods and JavaScript-based Flash embedding methods. However, the drawbacks of markup-based Flash embedding methods make JavaScript-based Flash embedding methods a better solution. To automatically convert markup-based Flash embedding methods into a JavaScript-based method, this paper presents a refactoring tool, called FlashembedRT, to assist programmers with the transformation. This tool refactors the five different markup-based Flash embedding methods to the JavaScript-based Flash embedding method called flashembed.