Forum /
Ext GWT Community Forums (1.x) /
Ext GWT: Help & Discussion (1.x) /
flash problem
flash problem
hi
i've got a problem with flash.
I'm using web desktop of gxt 2.1 and i've got a window
in the window i've an htmlPanel, and inside i put a div with the flash object
like this
in the htmlPanel, i set html:
String game = "<div width='100%'><object codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#3,0,0,0' height='100%' width='100%'><param name='SRC' value='"+ urlSWF + "'> <param name='QUALITY' value='high'> <embed src='"+urlSWF+ "' pluginspage='http://www.macromedia.com/shockwave/download/' type='application/x-shockwave-flash' quality='high' height='100%' width='100%'></object></div>";
htmlPanel.setHTML(game);
It works fine. The problem is if i click on another shortcut, ( so it open another window), the flash object is in front of the new window !
I've tried to use the class FlashComponent, but it's work at all using the constructor FlashComponent(urlSWF). i can see it.
Thanks in advance.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us