Hi Peng ,
Try the following :
- Add your swf to a folder example “deployment\web\img” .
- Download the “htmlsnippet” widget from the app store and add it to your page .
- Add the following inside the widget
<embed src="yourHostName/img/yourFile.swf">
Example
<embed src="http://localhost:8080/img/yourFile.swf">
Regards,
Sufian.