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

can't import mx.graphics into Flash CS6

Contributor ,
Jul 17, 2014 Jul 17, 2014

I'm use both Flash CS6 and Flash Builder 4.6.  In FB I can import mx.graphics.* into an .as file with no problem, but in Flash only mx.core is recognized.  How can I access mx.graphics in Flash?  Many thanks.

TOPICS
ActionScript
792
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
Guide ,
Jul 17, 2014 Jul 17, 2014

You could add a reference to the Flaex SDK swc in your project, but I wouldn't advise it. You'll be dragging in a bunch of crap that's probably not necessary.

What specific thing are you wanting to get?

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
Contributor ,
Jul 18, 2014 Jul 18, 2014

Hi, Amy.  Specifically I'm after mx.graphics.codec.PNGEncoder/JPGEncoder.

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
Guide ,
Jul 18, 2014 Jul 18, 2014
LATEST

Maybe try looking for third-party efforts, such as A Better PNG Encoder for Flash or actionscript 3 - AS3 PNG Encoder? - Stack Overflow

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