3 Replies Latest reply on Jul 19, 2011 11:25 PM by Anirudh Sasikumar

    Importing swf into FB 4.5 doesnt scale?

    Adrien. Level 1

      OK So heres my issue. I have a flash file that has the dimentsions of: 550 by 440 the document is suppose to be sclaed down to 305 by 201.

       

       

                     <fx:DesignLayer d:userLabel="Flash">
                          <s:MovieClipSWFLoader includeIn="CharacterRecordScreen,FromCharacterRecord_Inventory,Inventory,MainWindowScreen,ShopWindowScreen,SpellsWindow"
                                                     x="459" y="52" width="305" height="201"
                                                     loadForCompatibility="true" maintainAspectRatio="false"
                                                     source="assets/images/WildernessMap.swf"/>
                     </fx:DesignLayer>
      

       

      This is the code in FB 4.5 that loads the SWF. notice the width and size.

       

      When running the application this is my result:

       

      issue.png

      This is not how the application should look...

       

      Any ideas on how to fix this? so that it is the size of the specified in the code?