Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-11-2005, 03:20 PM   #1
focolo
Registered User
 
Join Date: Apr 2005
Location: Stockholm, Sweden
Posts: 30
Default Build my own ComboBox!?

Does anyone have any experience of building a ComboBox? I feel that the component ComboBox included in Flash MX 2004 doesn't fit into my site, and its size is too big - 56 kB.

Thanks
Mikael
focolo is offline   Reply With Quote
Old 04-11-2005, 03:55 PM   #2
egoldy
Member
 
egoldy's Avatar
 
Join Date: Nov 2004
Posts: 71
Send a message via MSN to egoldy
Default

I have the same question...
__________________

MY PORTFOLIO
egoldy is offline   Reply With Quote
Old 04-11-2005, 06:51 PM   #3
jsebrech
Joeri Sebrechts
 
Join Date: Apr 2005
Location: Antwerp, Belgium
Posts: 1,465
Default

A combobox is like any other custom component. Google for tutorials on how to build custom components, and check out UIObject.as and UIComponent.as in your flash mx 2004 folder. Especially UIObject, since that demonstrates how you turn a movieclip into a component.

If it's just a one-timer, it might be easier to just make it a normal symbol and not a component. But if you do make a component, and size is an issue, you'll have to inherit from movieclip, which means you'll have to write quite a bit of code to intelligently deal with user events, scaling, sizing, and so on.
jsebrech is offline   Reply With Quote
Old 04-11-2005, 09:02 PM   #4
focolo
Registered User
 
Join Date: Apr 2005
Location: Stockholm, Sweden
Posts: 30
Default

Yeah, basically my whole site is built with one AS 2.0 class, so why not continue... I will just use the ComboBox once, so there is almost no idea to make it a component, so i guess i have to deal with some "intelligent" coding - or rather - at least give it a try. I was just curious if there was someone out there that had came up with the same stupid idea and then solved it...
focolo is offline   Reply With Quote
Reply


Thread Tools
Display Modes 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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:36 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.