PDA

View Full Version : launch a popup that displays flash content


expressoro
11-17-2006, 02:48 PM
hi all.

i have a HTML movieclips gallery with thumbnails for each SWF I have to display. When the user clicks on the thumbnail, a popup shoud appear displaying the full size SWF in it.

can you help me on that? i'm not a coder, but I think i need a function with the following param:

javascript:popswf('popup.html', moviewith, movieheight)

where popup.html would be a page that takes as parameter the SWF url, the width, height and displays the clip. Thanks

peter5
11-17-2006, 11:07 PM
Something like this site:
http://harristoshs.eq.edu.au/plexus/Subjects/INP052/pages/examples1a.html

I use dreamweaver, but you can check out the code. Have you tried something as simple as:

<a href="../files/student/task1/Task1a_Bianca.swf" target="_blank">Bianca</a>

My experience is that if the flashplayer installed, then dragging a swf into IE will play the swf. The code above is the equivalent to that. (But I am no expert in this area, so I defer to other comments)