macromedia.dynamic.html
[Top] [All Lists]

Targeting iframe from Flash

Subject: Targeting iframe from Flash
From: "VonPeters" <webforumsuser@xxxxxxxxxxxxxx>
Date: Fri, 18 Jul 2008 17:24:08 +0000 (UTC)
Newsgroups: macromedia.dynamic.html

Ummmm   well I can admit I was wrong. 
 I thought I could surely make this work after reading different posts on other 
forums.
 turns out that it's not working.

 ok

 this is what I have for flash

 stop() ;

 listen_btn.addEventListener (MouseEvent.MOUSE_DOWN, listenHandler);
 function listenHandler (event:MouseEvent):void{
         
getURL("javascript:loadPage("www.lazarowich.com/listen",'contentFrame')"); 

 }

 and in the code for DreamWeaver I have   (see attached code)

 Where am I going wrong here?

 // this is from DreamWeaver and is the code from the index page. Which is to 
hold the loader swf and the targeted iframe


 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

 <html xmlns="http://www.w3.org/1999/xhtml";>

 <head>
                <meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8" />
                <meta name="generator" content="Adobe GoLive" />
 <title></title>
 </head>

        <body bgcolor="#000000">
                <div 
style="position:relative;width:901px;height:701px;background-color:#000;margin:a
uto;-adbe-g:p;">
                        <div 
style="position:absolute;top:0px;left:0px;width:550px;height:700px;">
                                <a href="file:///TeraDrive/Client 
Files/Shayne/shaynes-site/welcome.html" 
target="_self">
                                <iframe id="contentFrame" name="contentFrame" 
src="(EmptyReference!)" 
frameborder="0" scrolling="no" align="left" height="700" width="550"></iframe>
                  </a></div>
                        <div 
style="position:absolute;top:0px;left:550px;width:350px;height:700px;">
                                <object 
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=6,0,0,0" height="700" width="350">
                                        <param name="movie" 
value="flash/loadermenu.swf" />
                                        <param name="quality" value="best" />
                                        <param name="play" value="true" />
                                        <embed src="flash/loadermenu.swf" 
width="350" height="700" 
pluginspage="http://www.macromedia.com/go/getflashplayer"; 
type="application/x-shockwave-flash" quality="best" play="true"></embed> 
                          </object></div>
                </div>
                <p></p>
 </body>

 </html>


<Prev in Thread] Current Thread [Next in Thread>