View Full Version : Am desperate now ... iframes & link to parent

09-18-2006, 12:48 AM
Hi There
I have been searching for 2 days to solve a problem. Getting to desperado stakes now.

I have index.html that contains an iframe (src programs.html).
In the iframe, I have links to a flash player in index.html. Ideally, I'd like to click on one of the links and the flash player starts playing that particular file.

Here's my code:


<script language="javascript" type="text/javascript">
function writeContent(thisPage) {




<iframe class="scrollingFrame" src="programs.html" name="programs" scrolling="Yes" id="programs">Your browser does not support iframes</iframe>

and in the iframe (programs.html):

<td class="cell2"><a href="index.html" target="tv" >Garden Tap</a></td>
<td class="cell2"><a href="index.html" target="tv" >Shambles</td>

I think I have the links right to get back into the index. However, the screen flashes. Am I missing something?

Also, I need to know how to start the flash player.

This is what I have so far:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" name="tv" width="320" height="240" id="c31tv" />

<param name="movie" value="media/shows/example.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="LOOP" value="false" />
<param name="play" value="false" />

<embed src="media/shows/example.swf" width="320" height="240" loop="false" align="middle" quality="high" name:="c31tv"pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#ffffff" name="media/shows/c31.swf" play="false" swliveconnect="true" />

Now the flash player doesn't even start, so I'm stuck there as well.
Any help would be greatly appreciated, or perhaps direct me where I can get some help?

If you need to look at the page, it's here http://www.fabicom.com.au

Thank you in advance.