Forum Moderators: not2easy

Message Too Old, No Replies

using flash buttons on a CSS site

CSS flash buttons newbie

         

tom0987654321

3:28 pm on Feb 25, 2004 (gmt 0)



Posted: Wed Feb 25, 2004 1:12 pm Post subject: Using flash buttons with CSS - Newbie question

--------------------------------------------------------------------------------

I am trying to design a website that uses CSS and all is well other than my desire to use flash buttons on the site.

Are these defined in the CSS? If so how? I have a number of links and want the buttons with different text in and linking to a different source.

How can i go about this? I am using dreamweaver MX.

Cheers

Tom

grahamstewart

3:35 pm on Feb 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



welcome to WebmasterWorld tom

Are these defined in the CSS?

Nope. CSS styles (X)HTML.
Flash is a separate plug-in technology.

Having said that you may be able to use CSS to control some aspects of Flash by using it to manipulate style and position of the element containing the flash.

(don't really know - I've never had reason to use flash)

TheDoctor

10:12 am on Feb 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World, Tom.

There was another query about CSS and Flashh a couple of days ago, and this reference in A List Apart [alistapart.com] was recommended. I haven't looked at it myself, bt A List Apart is well worth investigating anyway.

Shadows Papa

12:21 pm on Mar 1, 2004 (gmt 0)

10+ Year Member



tom
if you "insist" on using flash for anything, especially buttons that may be critical, I strongly urge you to also include an alternative. Reason - professional sites and business sites are hit by a mix of people, and I'm fast discovering that many people simply still don't use the flash plug-in. Contrary to what the makers of flash would tell you (of course, they want to sell and promote the technology so numbers can be inflated!) not everyone uses flash, nor will everyone. Many are finding browsers much better than IE and for those, flash is not automatic. Then there is the majority of the world that still must operate at dial-up speeds - they don't use flash due to bandwidth (I'm in that category - I can't afford to have flash pushed at me while I'm attempting to load content so I don't run the plug-in, not to mention mis-used flash brings even a fast computer with half a gig or ram to a near standstill while the flash downloads and plays)
Abused flash can also bring even good computers to their knees so I urge you to learn how to present alternatives before using flash so that all may enjoy your site, even those that don't, won't or can't run flash.

The answer has been mentioned - you can't control flash itself with CSS, but if flash is in another "container", then certain properties can be manipulated.

Shadows Papa