4 Replies Latest reply on Jun 28, 2009 11:56 PM by belordmedia

    Flash CS4 Monitor Issue

    belordmedia Level 1

      Hello,

       

      Can someone help with this one?

       

      after publishing my files, the site appears Ok on large monitors like 23 inch. Same with Explorer where the site gets resized according to the size of the window. Also works with firefox and Safari (apple mac) but, the top of the site is chopped up on laptops. about 10 cm from the top. No way to redraw the window it seems so you have no access to top buttons, logo etc...

       

      I tried a few things in the Publish settings video but no luck.

       

      Any ideas??

       

      Many thanks

        • 1. Re: Flash CS4 Monitor Issue
          RossRitchey Level 4

          When you say it gets chopped off, do you mean the SWF is larger than the available space, or is it just positioning incorrectly?

          • 2. Re: Flash CS4 Monitor Issue
            belordmedia Level 1

            Hi Ross

             

            This is an odd one for me.

             

            The issue seems to be only on laptops from 12 inch to 17 inch.

             

            It looks like the site is too big for the screen so, the top area is not viewable. There are no scrolling bar on the right hand side so you cannot scroll up or down.  I am including some screen shots.

            It is the same on Firefox and Safari.

             

             

            Hope you can help

             

            Regards

             

            Michel

            • 3. Re: Flash CS4 Monitor Issue
              RossRitchey Level 4

              To get it top aligned, you can add a line to the first frame actions of the project.

               

              Actionscript 2:

               

              Stage.align = "T";

               

              Actionscript 3:

               

              stage.align = StageAlign.TOP;

               

              Then, I am guessing that you are using a percentage width and height to embed?  If so, you may want to consider allowing the project to scale, which would shrink it down when it goes in a smaller space.  Or, you can use javascript to detect screen size, using an absolute value if the screen space is smaller than the SWF, and a percentage if it is larger.  Or, you could build a second SWF that contains only a ScrollPane, and loads the original into itself - causing a scrollbar to appear if the screen is too small.

               

              Those are a couple ideas off the top of my head, I'm sure there are other ways as well.

              • 4. Re: Flash CS4 Monitor Issue
                belordmedia Level 1

                Hello Ross

                 

                 

                I have tried the  "stage.align = StageAlign.TOP"

                But it does not cure the problem.

                 

                I have also  tried various percentage. No luck

                (including a screen of the publish settings)

                 

                 

                 

                you mention  building  a second SWF that contains only a ScrollPane, and loads the original into itself. This is too advanced for me.

                 

                Could you explain how to do it so I can have a go?

                but imagine I am 3 years old

                 

                 

                Many many many thanks

                 

                Michel