fl.controls.ComboBox could not be found

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 15th, 2007, 17:51
Reputable Member
Join Date: Jul 2005
Location: Melksham, Wilts, UK
Posts: 293
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote

  #2 (permalink)  
Old Sep 17th, 2007, 15:06
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
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)
Reply With Quote
  #3 (permalink)  
Old Sep 17th, 2007, 17:14
Reputable Member
Join Date: Jul 2005
Location: Melksham, Wilts, UK
Posts: 293
Thanks: 0
Thanked 0 Times in 0 Posts
Re: fl.controls.ComboBox could not be found

Quote:
Originally Posted by Sgaspar11 View Post
Hmm, I'll ask my flex buddies here at the office, not sure I am much help on this one.
Thanks .... It so frustrating in that they can clearly go into the Flash movies if only I can find how.
Reply With Quote
  #4 (permalink)  
Old Sep 17th, 2007, 18:14
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
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.
Reply With Quote
  #5 (permalink)  
Old Sep 19th, 2007, 17:44
Reputable Member
Join Date: Jul 2005
Location: Melksham, Wilts, UK
Posts: 293
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #6 (permalink)  
Old Sep 20th, 2007, 14:45
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
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)
Reply With Quote
  #7 (permalink)  
Old Sep 21st, 2007, 18:00
Reputable Member
Join Date: Jul 2005
Location: Melksham, Wilts, UK
Posts: 293
Thanks: 0
Thanked 0 Times in 0 Posts
Re: fl.controls.ComboBox could not be found

Quote:
Originally Posted by Sgaspar11 View Post
Make sense?
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!
Reply With Quote
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 01:39.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43