[RESOLVED] fl.controls missing?
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [RESOLVED] fl.controls missing?

  1. #1
    Member
    Join Date
    May 2007
    Location
    Poland
    Posts
    65

    [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 02:47 PM.

  2. #2
    Member
    Join Date
    May 2007
    Location
    Poland
    Posts
    65
    Yes, I was so tired. I had to put the ComboBox component in the library.

  3. #3
    Senior Member joshstrike's Avatar
    Join Date
    Jan 2001
    Location
    Alhama de Granada, España
    Posts
    1,131
    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.

  4. #4
    Member
    Join Date
    May 2007
    Location
    Poland
    Posts
    65
    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
  •  




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com