Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
here's some sample Flash code:

<EMBED src="indianajoneshangman.swf" quality=medium bgcolor=#000000 WIDTH="650" HEIGHT="400" NAME="Indiana Jones Hangman" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>

see the code in action here
 
iostream.h said:
I sure do hate IE.

It does work. But only on <a href></a> tags! In "real" browsers it works on all tags. Depending on what you want to do you might be able to wrap the tags in A tags and get it to work.

Please do not use flash for buttons and the like. It's a really annoying solution and does not work well in some browsers I use (Linux browsers for example can have problems). There is nothing more annoying than being told to download a plugin just to see a menu.
 
Viewing with Firefox on Win2000 the rollovers work (as expected) but with a serious delay. You should pre-load the alternate images used for the rollovers using JavaScript to stop this.

I've looked at your code and it could be realy easy to fix :) At some point you are going to want your buttons to link somewhere so they will need to be A href="" tags instead of div tags. Can you not simply change them to be something like <a href="" id="design"> </a>?
 
robbieduncan said:
There is nothing more annoying than being told to download a plugin just to see a menu.

Well, except for using Java menus. :)

I agree totally - using Flash, Java, or whatnot just for basic site functionality is a good way to lose visitors. You've also got to remember that not everyone has broadband yet! When I was on dialup, I was willing to sit and wait for actual content to load; but I was gone in a few seconds from sites that weren't even navigable without having to first wait for some silly thing or another to finish coming across the modem.
 
a:hover does work

iostream.h said:
I sure do hate IE.
I don't see a sample of how you are having trouble with hover in css..?
Or is it css?
Nevermind...
The post wasn't totally clear. After doing some digging around I see
what you are doing.
Why don't you use Dreamweaver or whatever program to preload images and set the rollovers using javascript?
I know that this way will be more compatible than the css version but not as easily updatable.
 
stoid said:
here's some sample Flash code:

<EMBED src="indianajoneshangman.swf" quality=medium bgcolor=#000000 WIDTH="650" HEIGHT="400" NAME="Indiana Jones Hangman" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>

see the code in action here

dont forget the <object> tags for netscape/mozilla type browsers.
 
theranch said:
...
Why don't you use Dreamweaver or whatever program to preload images and set the rollovers using javascript?
I know that this way will be more compatible than the css version but not as easily updatable.

Except if someone has javascript turned off.

CSS rollover effects are more compatible than javascript-based ones in CSS1 compliant browsers (which is almost every modern browser out there), and almost always result in less code. Besides, in order to get this effect in Dreamweaver, you'd still have to add an <a> tag to attach the action to.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.