how to make a combobox like this?

  • zhaojany
  • Student
  • Student
  • User avatar
  • Joined: Aug 03, 2006
  • Posts: 78
  • Status: Offline

Post July 22nd, 2007, 11:25 pm

http://www.websamba.com/lily369/combobox.gif
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 22nd, 2007, 11:25 pm

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post July 23rd, 2007, 1:16 am

if you want to customize the combobox component, this might help:
Customizing the ComboBox component
Otherwise, make your own component using actionscript and then you can customize it any way that you want.
I made a list in flash, so the combobox won't be harder to do.
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • zhaojany
  • Student
  • Student
  • User avatar
  • Joined: Aug 03, 2006
  • Posts: 78
  • Status: Offline

Post July 23rd, 2007, 1:43 am

i thought it shuld be harder so i never think to make my own combobox

but if it is really difficult to customize it ,i might try to my own one :)

thanks IceCold
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post July 23rd, 2007, 3:11 am

It's a bit difficult, but definitely not hard.
And all of this you can build using only text fields and some other custom shape u made for drop down arrow.
For my list i used only 1 movieclip in the library, with a textfield inside it and attached it as many time as i wanted.
The idea is simple: first display a textfield and the arrow. When the arrow is pressed, display 3 or more textfields under the first one (make this number of displayed lines a parameter for a function).
Next thing you will have to deal with the scrollbar and highlighting overed text.
The only thing on scrolling is that instead of actually scrolling, you just display the new values in the textboxes, according to the scroll position.
If you have other questions feel free to ask.
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • montyt
  • Proficient
  • Proficient
  • User avatar
  • Joined: Apr 27, 2007
  • Posts: 275
  • Status: Offline

Post July 26th, 2007, 3:47 am

i hope these 2 links gone work for u.
http://www.kirupa.com/developer/mx/dropdownmenu.htm
http://www.webwasp.co.uk/flash-sample-m ... /index.php
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post July 27th, 2007, 12:13 am

that's a dropdown menu, not a combobox.
Would do for combobox if you know you don't have more than 10-15 items, but otherwise you will need a scroller.
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 46 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.