Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH: <IFRAME> |
| From: | Julie Fell (Entex) |
| Date: | Wed, 14 Jun 2000 23:41:28 +0100 |
Yes, you can use the <IFRAME>, however keep in mind that the <IFRAME> will
only work in IE 4.x and higher. What I have done in the past is create an
<IFRAME> w/o any scroll bars or borders, wrapped it inside a <div>,
positioned it where I wanted it then I had a Flash movie play inside of it.
I keep the <IFRAME> hidden using style="display:none;" then when I want it
to appear or "play" I use an onmouse event to call the <IFRAME> into view.
Example:
<head>
<script>
function showIframe()
{
if (foo.style.display == "none"){
foo.style.display = "";
event.cancelBubble = true;
}
else{
foo.style.display = "none";
event.cancelBubble = true;
}
}
</script>
</head>
<body>
<div onclick="showIframe()">Click here to show Iframe</div>
<div id="foo" style="position:absolute; top:n; left:n; display:none"><iframe
src="your_flash_movie.htm" width="n" height="n" frameborder="no"
scrolling="no"></iframe></div>
</body>
HTH
Julie Fell [Entex]
Web Developer - Microsoft Web Communities
http://communities.msn.com/FlashInThePan - A web community devoted to
Flash!!
-----Original Message-----
From: Jason Bouwmeester [jason
Has anyone used <IFRAME> successfully with Flash?
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

