Skip to main content
Inspiring
July 17, 2014
Question

can't import mx.graphics into Flash CS6

  • July 17, 2014
  • 1 reply
  • 833 views

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.

This topic has been closed for replies.

1 reply

Amy Blankenship
Legend
July 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?

bhnhAuthor
Inspiring
July 18, 2014

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

Amy Blankenship
Legend
July 18, 2014

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