Skip navigation
bob_baldwin
Currently Being Moderated

CSExtension Scaling

Sep 18, 2012 5:27 AM

I'm sure there's an obvious answer to this, but if there is, it isn't immediately apparent. We're converting a CS Extension previously hosted in 5.x to 6.0 using EB 2.0, Flex 4.6. In the process, we're removing all deprecated methods and classes. The first to go, of course, was CSXSWindowApplication, replaced with CSExtension.

 

Here's the issue: the scaling of the prior content (all Spark components) is roughly one-quarter the size previously displayed in the 5.x environment. Now, the extension width/height is specified in the manifest and not explicitly set in the extension itself. When width/height ARE specified explicitly, the content sizes properly.

 

Is there any obvious explanation? It looks like an issue with the scale grid.

 
Replies
  • Currently Being Moderated
    Sep 18, 2012 7:23 AM   in reply to bob_baldwin

    Hi Bob,

     

    Can you try adding this to the project's compiler argument? This should fix the scaling issue that you're seeing.

     

    -includes=mx.managers.systemClasses.MarshallingSupport
    

     

    Joe

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (1)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points