header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Nilpointer
Points:0
Posts:0

5/7/2010 12:24:00 AM

Title: Flex-Flash in PDF


I need to embed a pice of flash in a PDF File using Acrobat 9.
Problem is: When inserting a Flex-Project output SWF it always resizes it to a lower resolution making it look aweful. Using an ActionScript Projekt SWF everything works fine.

thx for helping!





1
MaxFlash
Points: 580
Posts:0
5/7/2010 2:00:37 AM



In flex generated swf file the scaling of the application is controlled by internal classes by setting the scalemode property. You can change scaling behavior by setting four modes, see which suits you :



// you can set these modes on applicationComplete event of flex application.

// resize to fit
stage.scaleMode= StageScaleMode.EXACT_FIT; 

//maximum height and width, cropping may occur
stage.scaleMode= StageScaleMode.NO_BORDER;  
  
//never scale  
stage.scaleMode= StageScaleMode.NO_SCALE;  
  
//scale to maximum height and width in proportion to avoid any distortion
stage.scaleMode= StageScaleMode.SHOW_ALL;  



Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 5+2 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions