Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: variable sized hit area
From: Dave Hollinden
Date: Mon, 14 Feb 2000 20:23:39 GMT

I'm wondering how to make a variable-size hit area behind a text field of
unknown length.

I'm reading the name of a song from a data base, putting it into a text
field, and putting the text field into a button. (The name will be an
active link to more info about the song.) I'd like to put a solid hit area
in the button behind the entire name of the song. I don't know how long the
name will be ahead of time. I can't figure out how to make the width of the
hit area the same as the width of the title. If I put the hit area into a
movie clip and set its width property based on the number of letters in the
text field, it won't be accurate because letter width's vary. If I put the
text field in a movie clip and grab its width property, it gives me the
width of the entire field set aside for the text.

Any suggestions? TIA.

Dave Hollinden
Web Design Team Lead
dhollindenatsonicfoundry [dot] com

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World’s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: variable sized hit area, Branden Hall

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]