Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Flex sdk in Flash Pro - niggly problem

Guest
Sep 26, 2013 Sep 26, 2013

Gidday

I'm playing around with the AS3XLS lib so I can import Excel files into an AIR app.

I've almost got it working  - only problem is I'm getting compile-time error like...

1046: Type was not found or was not a compile-time constant: DateFormatter.

... for the following classes:

    import mx.formatters.DateFormatter;

    import mx.formatters.NumberBase;

    import mx.formatters.NumberBaseRoundType;
     import mx.formatters.NumberFormatter;

I thought it was related to the flex lib not being installed, but I have the flex swc in my lib path, and use other Flex in the project.

Any idea why the error is appearing?

Cheers!

TOPICS
ActionScript
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guru , Sep 27, 2013 Sep 27, 2013

Depends on which ide you are using besides Flash.

I use Flashdevelop and can simply mark any imported class, right click>go to declariation and it will open the source for me.

If you dont have anything besides Flash, make a copy of your swc-file, rename the copys file format to zip and manualy navigate through the library.

Translate
Guru ,
Sep 27, 2013 Sep 27, 2013
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 27, 2013 Sep 27, 2013

Thanks Mocca

Still no go. Can Spark formatters be used in Flash Pro CS 6?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Sep 27, 2013 Sep 27, 2013

Does the DateFormatter class exist in your version of the flex sdk?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 27, 2013 Sep 27, 2013

Rookie question - how do I find that out? I think it's Flex 4.6

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Sep 27, 2013 Sep 27, 2013

Depends on which ide you are using besides Flash.

I use Flashdevelop and can simply mark any imported class, right click>go to declariation and it will open the source for me.

If you dont have anything besides Flash, make a copy of your swc-file, rename the copys file format to zip and manualy navigate through the library.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 02, 2013 Oct 02, 2013
LATEST

Cheers Mocca

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines