# Trouble in embedding flash in HTML:

**URL:** https://forum.kirupa.com/t/trouble-in-embedding-flash-in-html/233086
**Category:** flash
**Created:** [July 19, 2007, 11:22pm UTC](https://forum.kirupa.com/t/trouble-in-embedding-flash-in-html/233086 "2007-07-19T23:22:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![naveeng](https://avatars.discourse-cdn.com/v4/letter/n/a9a28c/32.png) [@naveeng](https://forum.kirupa.com/u/naveeng)
#### Post date: [July 19, 2007, 11:22pm UTC](https://forum.kirupa.com/t/trouble-in-embedding-flash-in-html/233086/1 "2007-07-19T23:22:46Z")

</div>

[FONT=Calibri][SIZE=3] [/SIZE][/FONT]  
[SIZE=3][FONT=Calibri]Hello every one,  
I started practicing Action Script and am stuck for the first time itself.  
I created an .as file where I defined my image viewer class and using that I created a swf file. I can see that working if I open the swf file in browser. But surprisingly, when I embed it in the html page, it is not running smooth. [/FONT][/SIZE]  
[SIZE=3][FONT=Calibri]Can anyone look in to it?  
you can see my problem here:[/FONT][/SIZE]  
[[FONT=Calibri][SIZE=3][COLOR=#800080]http://www.pmpresume.com/flash/images/flashes/demo.swf[/COLOR][/SIZE][/FONT]](http://www.pmpresume.com/flash/images/flashes/demo.swf)[SIZE=3][FONT=Calibri] (working)[/FONT][/SIZE]  
[[FONT=Calibri][SIZE=3][COLOR=#800080]http://www.pmpresume.com/flash/test.html[/COLOR][/SIZE][/FONT]](http://www.pmpresume.com/flash/test.html)[SIZE=3][FONT=Calibri] (same swf not working)[/FONT][/SIZE]  
[SIZE=3][FONT=Calibri][/FONT][/SIZE]  
[SIZE=3][FONT=Calibri]Thank you [/FONT][/SIZE]
