Groups | Blog | Home
all groups > flash (macromedia) > july 2005 >

flash (macromedia) : Flash over HTML


David Stiller
7/13/2005 4:30:19 PM
ccorey,

[quoted text, click to view]

The trick is to make the actual SWF larger than the ad's final resting
place. Mask any areas outside the desired visual parts and tween the
whatever you like to "constrain" to the apparently final size. Research the
term "wmode" in the Macromedia technotes to see about floating Flash content
over other HTML elements.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

David Stiller
7/13/2005 7:55:20 PM
ccorey,

[quoted text, click to view]

DHTML is really just a buzzword that typically refers to a combination
of HTML, CSS, and JavaScript. In the very least, you'll be using HTML and
CSS; whether or not you use JavaScript is up to you. All you really need to
do is put your SWF into a <div> tag with a style attribute (the CSS) that
gives that tab a z-index higher than other content on your page.
Dreamweaver calls this kind of <div> a "layer," but it's really just a
<div>.

Here's a tip, actually. If you find an example of the effect your
looking for online, you'll be able to see exactly how it was accomplishing
by viewing the source for that page. If will show the HTML, the CSS, and
even the JavaScript (if there is any).


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

ccorey
7/13/2005 8:25:23 PM
ccorey
7/13/2005 11:28:20 PM
Thank you.

ccorey
7/14/2005 12:00:00 AM
Yes, simply inserting a layer works great. The only issue is that the text
below the layer is not accesable when published. If I had linked text there,
the user would be unable to link. Not a big problem, but is there a setting
for this floating layer that would allow this?

Thank you for all your help!
David Stiller
7/14/2005 1:39:20 PM
ccorey,

[quoted text, click to view]

You have entered the world of HTML and may find better answers in the
Dreamweaver forum. Just be advised, the kind of thing you're after is not
standard by any stretch. Yes, Yahoo! and other companies do it, but they do
it with ads, which only stay on the screen for short periods of time (or are
ignored).

The success of wmode -- and, in fact, of layered DIVs altogether --
depends greatly on what browsers you cater to, and what versions of those
browsers, and so on.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

AddThis Social Bookmark Button