Page 1 of 1

Show .swf file in a popup window

Posted: Mon Feb 08, 2010 5:33 am
by klevis miho
How to show a flash file in a popup window?
I managed to show images in a popup, but not flash files.

Any help would pe appreciated.

Re: Show .swf file in a popup window

Posted: Mon Feb 08, 2010 6:03 am
by pbs
User below given flash object and replace SWFPATH with you .swf file path. Also set width, height

Code: Select all

 
<object codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="300" height="300">
            <param name="quality" value="high">
            <param name="wmode" value="transparent">
            <param name="movie" value="SWFPATH">
            <embed src="SWFPATH" width="300" height="300" wmode="transparent"></embed>
        </object>
 

Re: Show .swf file in a popup window

Posted: Mon Feb 08, 2010 6:20 am
by klevis miho
Thnx for the code, but It doesn't display me anything.
I am using this one to preview the flash:

Code: Select all

<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=7,0,2,0" height="250">
     <param name="src" value="media/file.swf">
     <embed src="media/file.swf" pluginspage="http://www.macromedia.com/shockwave/download/"      height="250">
</embed>
</object>
I basically want to see a thumbnail and when I click on in, a popup with the full dimensions of the flash file will open.

Re: Show .swf file in a popup window

Posted: Mon Feb 08, 2010 6:29 am
by klevis miho
Sorry sorry pbs, it is working quite good thnx, my bad :)

Re: Show .swf file in a popup window

Posted: Mon Feb 08, 2010 6:34 am
by klevis miho
But I noticed another problem:

I have one swf file that has links in it, and when I click on the swf file(to open the popup), the popups opens but also the link that is inside the swf file.
I also noticed that when my mouse is over the swf file, the pointer doesnt switch to a clickable pointer.

Is there any parameter to avoid this?