Skip navigation
Currently Being Moderated

How to set default size for published SWF in Catalyst CS5.5

Apr 6, 2012 2:35 AM

I create a 800*600 pixel project in Catalyst CS5.5 and published it as .swf.

 

But when I opened the published .swf, the default size is smaller than 800*600. I have to resize it by myself.

 

So is there any method that I can set the default size for published .swf?

 

Thank you guys! Best regards.

 

Nick

 
Replies
  • Currently Being Moderated
    Apr 6, 2012 1:06 PM   in reply to longzhilin

    If you configured your Flash Catalyst app to be resizable, it will 'adapt' to the size of the browser window or the html container it might be in. To have a fixed width and height, simply turn off that option in your Flash Catalyst file and republish your application. Or you can edit the HTML file directly, replacing the 100% references in the width and height wth your fixed values.

     

    Chris

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 9, 2012 7:55 AM   in reply to longzhilin

    When you start new Flash Catalyst project, you have the option to enable resizing

    Screen Shot 2012-04-09 at 7.47.07 AM.png

    This setting is enabled by default.

     

    If you need to change this later, you can go into Modify > Artboard settings.

     

    Screen Shot 2012-04-09 at 7.47.22 AM.png

    Now when you publish your project, the width and height will be used instead.

     

    As to manually editting the HTML file, there are 3 tag sets that define the width and height of the project (to handle various browsers). You will need to adjust the values in each of those tag sets. You should only need to do this if you can't republish the file.

     

    Chris

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

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