This is a discussion on "fl.controls.ComboBox could not be found" within the Flash & Multimedia Forum section. This forum, and the thread "fl.controls.ComboBox could not be found are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
fl.controls.ComboBox could not be found
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
fl.controls.ComboBox could not be found
Newbie question here ... I'm writing my first few actionscripts (way outside my normal areas), using the flex SDK, and getting:
Definition fl.controls:ComboBox could not be found. import fl.controls.ComboBox; I note a similar answer at ... http://www.webforumz.com/macromedia-...e-flash-fl.htm .... but the solution offered there (drag and drop a combo box on, then delete it) can't be done in my command line / SDK environment. Can anyone point me at the solution - what I need to move around or how I need to change my CLASSPATH? Thanks |
|
|
|
|||
|
Re: fl.controls.ComboBox could not be found
Hmm, I'll ask my flex buddies here at the office, not sure I am much help on this one.
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
|||
|
Re: fl.controls.ComboBox could not be found
Thanks .... It so frustrating in that they can clearly go into the Flash movies if only I can find how.
|
|
|||
|
Re: fl.controls.ComboBox could not be found
Flex doesn't have a "library" persay so you need to use code to create them....at the top of your code, before anything executes. If you are using AS it'll look like this: import mx.controls.ComboBox If you are using the Flex language, MXML then it needs to look like this: <mx:ComboBox blah blah />
Last Blog Entry: Yay!? (Oct 8th, 2007)
Last edited by Sgaspar11; Sep 17th, 2007 at 18:17. |
|
|||
|
Re: fl.controls.ComboBox could not be found
OK; thanks; I had noticed that. What I'm looking to do is to edit and recompile Actionscript that already has fl.controls.Comboxes placed in it, generated in the source via the Flash application, rather than using Flex (unless it's a one-for-one replacement?).
To give you a bit more background, I have a colleague who's primarily a graphic Artist doing major Flash work and I need to tweak the actions; I really don't want to have to get a copy of Flash just to run a few compiles with a couple of its widget classes, nor to have to start shifting code back and forth to her machine (at a different location to mine) to compile via the GUI under Flash there. Any bright suggestions, anyone. |
|
|||
|
Re: fl.controls.ComboBox could not be found
Ah, I see. Well - there are a couple of options.
1. You can get flash and work on it that way. OR 2. This one is all dependant on how the actionscript is currently compiled and written. As long as all of the actionscript is one 1 frame of the flash file...aka (one page) You can create an external .as file and do an include to the actionscript file in the flash file. That way you could manipulate the AS upload it to the server, just like you could do with a .css file seperatly from the .html or.php/.asp. It's look something like this: #include "myAs.as" Make sense?
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
|||
|
Re: fl.controls.ComboBox could not be found
Elements of it do, yes ... and when I get a chance to get back to it over the weekend, I expect I'll make more sense of it / pehaps get it going. The job can be done as a single frame, I'm sure; it has those metrics.
Thanks! |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using data from ComboBox and DataGrid | Germaris | Flash & Multimedia Forum | 0 | Mar 20th, 2008 20:56 |
| combobox | ahwell | Flash & Multimedia Forum | 3 | Jan 25th, 2008 10:53 |
| combobox component | ahwell | Flash & Multimedia Forum | 0 | Sep 11th, 2007 17:21 |
| How to create a country and state combobox | Learner | Flash & Multimedia Forum | 4 | Jul 30th, 2007 01:59 |
| Retaining comboBox label on exitFrame | DrGonzo | Flash & Multimedia Forum | 3 | Oct 18th, 2006 15:42 |