Skip to main content
September 27, 2013
Answered

Flex sdk in Flash Pro - niggly problem

  • September 27, 2013
  • 1 reply
  • 1171 views

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!

This topic has been closed for replies.
Correct answer moccamaximum

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


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.

1 reply

Inspiring
September 27, 2013
September 27, 2013

Thanks Mocca

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

moccamaximumCorrect answer
Inspiring
September 27, 2013

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


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.