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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DYNAMIC TEXTBOX WITH BUTTONS!

Status
Not open for further replies.

oldnewbie

Technical User
Dec 6, 2000
9,142
CA

Been workin' on this thing... For some odd reason the first button is still bugged in NS (workin' on that!), but everything seems to be workin' fine in IE and AOL.

Haven't tried to load this from a text file yet, but it does work when defining the textfield variable in the first frame of the movie.

Regards,
new.gif
 
so what are you saying old, you loaded those images in using the <img source= in the html?..or what..

more details?
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
If it was only that simple! Not much interest is there!
Guess it doesn't beat a paint program!
Oh well, back to the jukebox drawing board!

Regards,
new.gif
 
dude are you going to answer the question or not?.or am i not worthy of the answer?.
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
Cool - but why is the text anti-aliased if it's &quot;dynamic&quot;?
 
nice 'TADA' LOL, like it
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
now that i look at that again , and if i'm taking your suttle hints the right way..that would work for the juke box..even if your faking the dynamic scroll, which would work..then have the play list show up on the left according to which button was pushed..so if button one was pushed, link one would show up in the targeted clip on the left side..and link one would play the clip..thus faking a playlist..would work..but how would you play them back to back when we still don't know in what order they will be pushed..

thinking............................
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
Wang... That's because the font is embedded. It's not a regular TTF font... Well in fact it is, it's a modified Verdana in which I copied & pasted a few characters from a symbol or dingbats font. So the buttons are really characters from this font. Had to embed it to make sure you all would see them!
If I recall well (will check again!), it didn't seemed to work if I didn't embed the whole thing and just selected those few characters. Which brings on another restriction, it seems you can only embed one font per dynamic textbox when the text is dynamically set through a variable, or read from a text file.
But it does work, when readfrom a text file so that at least, makes this whole thing updatable, without fumbling around with the movie each time you want to change a button.

All of this gave me another idea, if you guys want to play around with it...
What about 2 textboxes (one over the over, one with the positioned and embedded dingbat font - the other with the regular font)controlled in sync by the same buttons?
Guess one restriction here would be character (button or regular) height, so that the scroll factor is allways the same in both textboxes so that they scroll in sync. Unless some regular synced movie clip was scrolled at the same time in the background (somewhat what I've done with the Monalisa button - did you noticed that one?), but then that would keep you from dynamically updating it!
Nothing's perfect! This is just another &quot;not really easy&quot; workaround, and in the end (file size, creating the fonts, installing them, careful writing of the damn text files...), might not make it worthwhile.

And no Carl, dindn't have this in mind, for the jukebox!
Why use buttons in that case. Simple regular underlined links could, I imagine, be loadded up in an array (your playlist), in the order in which they were selected, and for that matter, even switched around to the user's pleasure, once loaded. A few more weeks of hard work, and it should all fall into place!

Regards,
new.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top