Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-09-2008, 01:28 PM   PM User | #1
Neha Shah
New Coder

 
Join Date: Aug 2008
Location: Mumbai
Posts: 40
Thanks: 8
Thanked 0 Times in 0 Posts
Neha Shah is an unknown quantity at this point
dropdown menu in flash..

hi to all,

I want to have dropdown menu in my website coded in flash.
Does anybody know any tutorials for this ?
thanks in advance.
Neha Shah is offline   Reply With Quote
Old 09-10-2008, 07:01 AM   PM User | #2
hardnrg
New Coder

 
Join Date: Jul 2007
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
hardnrg is an unknown quantity at this point
Hi Neha,

Here are a few things that might get your started... and keywords you can google for....

Code:
var cb:ComboBox = new ComboBox();
var dp:DataProvider = new DataProvider();

cb.dataProvider = dp;

dp.addItem({label: "Option 1", data: 1});
dp.addItem({label: "Option 2", data: 2});
dp.addItem({label: "Option 3", data: 3});

addChild(cb);
And some attributes you might need for your combo box (cb.**)...
.width, .rowCount, .prompt, .dropdownWidth

You should also be able to style it using a TextFormat();

Hope that helps!
hardnrg is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:38 PM.


Advertisement
Log in to turn off these ads.