-
[RESOLVED] fl.controls missing?
This one simply killed me:
I create a brand new AS flash file. I put only one line of code in the timeline script:
Code:
import fl.controls.ComboBox;
And I get an error:
Code:
1172: Definition fl.controls:ComboBox could not be found.
There is nothing else in the file, it is AS3. Can it be my mistake by any chance? Am I so tired that I am missing something? Do you get that error too?
I also tried this:
Code:
import fl.controls.*;
which gives me the same result.
Is there any explanation for this? Please help.
Last edited by ampo_webdesign; 06-09-2007 at 01:47 PM.
-
Yes, I was so tired. I had to put the ComboBox component in the library.
-
Senior Member
Hey, just so you know... the fl.data components also aren't available until a component and its support files are in the library. Just in case you're like me and you use dataProviders without necessarily using prefab components...it took me a long time to figure that one out.
-
Thanks joshstrike, I didn't know that too, so you probably saved my time .
Until now the dataProvider worked for me without library considerations, but I guess it was just luck, because I had some prefab components there for other reasons. But now I tried to run a single line script: import fl.data.DataProvider; in an emtpy Flash file and you're right - the same error was there. Thanks again!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|