[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:
And I get an error:
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?
1172: Definition fl.controls:ComboBox could not be found.
I also tried this:
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.
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!
Click Here to Expand Forum to Full Width