Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

flash button down state

Status
Not open for further replies.

StephanieCC

Technical User
Aug 28, 2001
48
US
I learned that screenreaders read the title of flash buttons instead of alt text--in addition Netscape only read title--now I am trying to get buttons to appear in the down state after the linked page appears--I created them in Dreamweaver and I'm not sure how to edit the code to make sure the down state works--
 
Can you try to explain yourself clearer? Have you made your buttons in Flash? Or are they gifs/jpegs?
 
I don't know how DW creates the buttons but it's not
with flash. Once the SWF is created you cannot edit it.
I been using DW MX for a while and never saw that option.
But then any time I needed something in flash I built it
in flash. The best you can do in DW is to tell your button
where to go. URL that is.
 
I can edit the swf file if you post it Regards
David Byng
spider.gif

davidbyng@hotmail.com
 
David I would like to know how I use Sothink SWF Decompiler
and SWF Browser to dump things and Hex editor to change
some things maybe the url. But adding things short of
rebuilding the button in flash Please let me know.
 
Hows this:


What you need to do is add this to the code:

Change: "file.swf"

To this: "file.swf?down=on" // or "down=off"

Then the down state will stay on

The way I have made the file is you only need one swf file because you just change the url and the button name in the HTMl Page like this:

"menu.swf?down=off&txt=About+RARI&link=about.html"

This makes the site easy to edit and you only need one swf Regards
David Byng
spider.gif

davidbyng@hotmail.com
 
Not sure what you mean about having only 1 swf--for the whole nav bar you mean?

Well let's say I want to edit each button.swf--I tried editing the About button to

"button1.swf?down=on&txt=About+RARI&link=about.html"

but the down state doesn't work--am I missing something? Why the About+RARI&link? I assume the command is going to say when arrive at this link (about) show down state--
Thanks
 
So you're saying that if I insert

"button1.swf?down=on&txt=About+RARI&link=about.html"

exactly as is into the html, when I click the about button, then get to the about page, the about button will be in a down state? I ask because I did it and it didn't work--
 
Ah Dave--Sorry--I didn't realize the links were files--I've been calling myself stupid quite often these past three weeks . . . so wow great job and thanks so much--I haven't put it into the page yet--but think I can manage that now-- :)
 
Ok I am still having problems--When I insert the code and try to preview, IE searches, but can't find anything--menu.fla is in the main folder with all the buttoned pages--also three grey flash containing buttons appear in dreamweaver but not the actual blue button file that you made-- I noticed the html has menu.swf and the actual file is menu.fla--I changed the home button to fla but still didn't work--any ideas?
 
Ok that worked, using the swf instead of the fla--Thanks! But now CSS positioning doesn't work--

The original page positions correctly and both pages have the same exact code except for the new menu

Also, is there a way I can edit the button you created--I wanted to try a darker down state?
 
just a thought...but you can make yr own buttons from three gifs and some java script. In fact if you make 'em in Fireworks, and save it as html and images, then you simply use insert>interactive images>fireworks html, and place the page file as yr button.

Adding effects to the down state gif isn't hard.

Far as I know the down state doesn't persist in the flash buttons supplied with DW.

So, if you need it you will have to dismantle the code and start over - "Oops! I've joined a club that'll have me as a member?" -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top