Announcement

Collapse
No announcement yet.

Page size

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Page size

    I am working on a Project that has many pages. One of these pages is for running a MP4 movie and to do that it has a QuickTime object.
    The global Project settings is preset to a size window smaller than the screen and must be fixed (not resizable), nevertheless I would like to have the movie playing at a larger size or even at full screen.

    Is there any way to set only one page to a larger size other than the remaining of the Project?

  • #2
    I would use a dialog for that object.

    Ulrich

    Comment


    • #3
      Originally posted by Ulrich View Post
      I would use a dialog for that object.

      Ulrich
      Thanks for your reply, Ulrich, but which dialog do you refer to? Dialog.SplashVideo?

      First, I do not think it is possible to set the size for it and second, I forgot to mention before that the vídeo is in the MP4 format.

      Comment


      • #4
        On the main menu, select Dialog > Add. Also, please check the help on this.

        Ulrich

        Comment


        • #5
          Originally posted by Ulrich View Post
          On the main menu, select Dialog > Add. Also, please check the help on this.

          Ulrich
          I was just editing my former post to say that was trying the Dialog, when I received yours. I am right now seeing if it will work like I want. I will return the result.

          Sergio

          Comment


          • #6
            A piece of cake!!! It worked like a wanted. mp4, avi, any format!

            Thank you again.

            Sergio.

            Comment


            • #7
              That's me again.

              Ulrich, I am facing problems when resizing the Dialog with the QuickTime object in. When the movie is playing, the movie does not have the expected behaviour as you resize the Dialog window. The movie does not resize accordingly.

              I have checked the four Auto-resize boxes in the QuickTime object and the Dialog window as resizable. A bug or am I doing some stupid thing?

              Sergio.

              Comment


              • #8
                I don't have Quicktime installed here, but the object (without playing a video) is resizing properly in the test I did here. Are you using AMS 8.5.0.0? There were some fixes for issues with resizing on dialogs in 8.0.2 and 8.0.3, but this a long time ago.

                Ulrich

                Comment


                • #9
                  I am using AMS 8.0.5.0

                  I repeat the test and it actually does not resize properly here as you said. Do you really think it could be the release?

                  Comment


                  • #10
                    Please post a sample *.apz.

                    Ulrich

                    Comment


                    • #11
                      Follow:

                      MP4_Project.apz

                      Look at Dialog properties, On Show event, I have disabled the QT object controls in order to see whether it has effect or not. No difference.

                      Sergio

                      Comment


                      • #12
                        For proper resizing of an object, you must not check all four borders at the same time. Checking all options means the that the object will keep its original size, and will be moved while the window/dialog is resized. If you want to resize the Quicktime object, you may want to check only the "bottom" and "right" options, so the left and top border is kept in its original position.

                        As for the change of the properties of the object at runtime, I would first retrieve the table of the current settings with Quicktime.GetProperties(), then change the desired setting(s) in the table, and finally use Quicktime.SetProperties() with the updated table to control the object. Please see if this works better.

                        Ulrich
                        Attached Files
                        Last edited by Ulrich; 04-28-2015, 07:12 AM. Reason: Revised project attached

                        Comment


                        • #13
                          I checked the two borders only as you told and the resizing worked. Thanks for that tip.

                          I have also tried the change of properties as you suggested (by the way, thanks for the corrected script) and it also worked, but I notice a motion trail of the command bar when resizing. Did you?
                          Any idea of how I can eliminate this issue?

                          Sergio

                          Comment


                          • #14
                            What you see is a redraw glitch of the Quicktime control. You can force a redraw of the control by quickly hiding and showing it again.

                            On Size script:
                            Code:
                            DialogEx.StopTimer();
                            DialogEx.StartTimer(500);
                            On Timer script:
                            Code:
                            DialogEx.StopTimer();
                            QuickTime.SetVisible("QuickTime1", false);
                            QuickTime.SetVisible("QuickTime1", true);
                            Ulrich

                            Comment


                            • #15
                              Great! it works fine.

                              Any problem if I shorten the timer interval? What kind of problem may arise from using very short timer intervals? Is there any limitation?

                              Sergio.

                              Comment

                              Working...
                              X