Announcement

Collapse
No announcement yet.

timebased load to another page

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

  • timebased load to another page

    Hi [img]/ubbthreads/images/icons/blush.gif[/img]

    it possible to build an automatic "counting" pagechange from one page to another page? Like the Splash Screen "Display at startup"
    In my case i take a short flashfilm on page 1 and after the flash is over it have change to page2.
    For my next project i like to use this function with pictures in a automatic slideshow.

    Sneeze

  • #2
    Re: timebased load to another page

    There is a great video tutorial on how to do this. The tutorial can be found here.
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

    Comment


    • #3
      Re: timebased load to another page

      Thank you TJ_Trigger,

      but the flash was not made by myself. I only have a *.swf file.
      An for my next project i only have work with pics like *.jpg or *.png.

      again ... thanx for your tip !

      Comment


      • #4
        Re: timebased load to another page

        I am not much of a flash person so I don't know what to tell ya. Maybe you could decompile the .swf and add your own commands to the end of it or ask the creator to do it for you.

        I will let the Flash crowd who know this better answer the question.
        TJ-Tigger
        "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
        "Draco dormiens nunquam titillandus."
        Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

        Comment


        • #5
          Re: timebased load to another page

          oops! .... be careful with that decompiling stuff .... Shhh!

          "or ask the creator to do it for you." << a much better option [img]/ubbthreads/images/icons/smile.gif[/img]
          -
          = Derek
          ["All glory comes from daring to begin" - fortune cookie]

          Comment


          • #6
            Re: timebased load to another page

            Many have tried to decompile .swf files; but, for the most part, it's not possible. Even when the actual creator of the file is trying to reverse engineer it for a legitimate reason, say when the source file is lost, it's like trying to 'undo' a photoshop file that has had the flatten layers command applied -- it can't be done!

            Comment


            • #7
              Re: timebased load to another page

              Yes ,

              so am i

              but this discussion turn into a wrong direction ... i think [img]/ubbthreads/images/icons/blush.gif[/img]
              To decompile Flashes is not my need gentelmen !

              Any tips to my automatic pagechangeproblem?

              Thanx for your involvement !

              Sneeze

              Comment


              • #8
                Re: timebased load to another page

                Hi - here's a loop that will jump to Page "2" after a period of 20 seconds. You can change the time by adjusting the 5000 to what is more suitable. I found 250 to be about 1 second:
                <font color=green>
                <IR_ACTIONS_LIST>
                <Action name="Set Value">
                <Type>6</Type>
                <Function>0</Function>
                <DTIndentLevel>0</DTIndentLevel>
                <Enabled>1</Enabled>
                <ErrorHandling>
                <UserNotificationMode>2</UserNotificationMode>
                <CustomErrorMessage/>
                <OnErrorAction>0</OnErrorAction>
                <JumpToLabel/>
                </ErrorHandling>
                <Variable>%Counter%</Variable>
                <Value>0</Value>
                <Evaluate>0</Evaluate>
                </Action>
                <Action name="WHILE">
                <Type>204</Type>
                <Function>1</Function>
                <DTIndentLevel>0</DTIndentLevel>
                <Enabled>1</Enabled>
                <ErrorHandling>
                <UserNotificationMode>2</UserNotificationMode>
                <CustomErrorMessage/>
                <OnErrorAction>0</OnErrorAction>
                <JumpToLabel/>
                </ErrorHandling>
                <Condition>%Counter% &amp;lt; 5000</Condition>
                </Action>
                <Action name="Set Value">
                <Type>6</Type>
                <Function>0</Function>
                <DTIndentLevel>1</DTIndentLevel>
                <Enabled>1</Enabled>
                <ErrorHandling>
                <UserNotificationMode>2</UserNotificationMode>
                <CustomErrorMessage/>
                <OnErrorAction>0</OnErrorAction>
                <JumpToLabel/>
                </ErrorHandling>
                <Variable>%Counter%</Variable>
                <Value>%Counter% + 1</Value>
                <Evaluate>1</Evaluate>
                </Action>
                <Action name="END WHILE">
                <Type>205</Type>
                <Function>1</Function>
                <DTIndentLevel>0</DTIndentLevel>
                <Enabled>1</Enabled>
                <ErrorHandling>
                <UserNotificationMode>2</UserNotificationMode>
                <CustomErrorMessage/>
                <OnErrorAction>0</OnErrorAction>
                <JumpToLabel/>
                </ErrorHandling>
                </Action>
                <Action name="Jump">
                <Type>1</Type>
                <Function>0</Function>
                <DTIndentLevel>0</DTIndentLevel>
                <Enabled>1</Enabled>
                <ErrorHandling>
                <UserNotificationMode>2</UserNotificationMode>
                <CustomErrorMessage/>
                <OnErrorAction>0</OnErrorAction>
                <JumpToLabel/>
                </ErrorHandling>
                <PageName>Page 2</PageName>
                </Action>
                </IR_ACTIONS_LIST>
                </font color=green>
                -
                = Derek
                ["All glory comes from daring to begin" - fortune cookie]

                Comment


                • #9
                  Re: timebased load to another page

                  Very special thanxs to you Derek [img]/ubbthreads/images/icons/smile.gif[/img]

                  Fist as i see your code in te thread i think...what the ****...so much code for this small function???
                  It have to be need 12 seconds to wonder ...
                  Then OK copy `n paste that sh** and melt down my PC.
                  I paste it and Ooops ... thats all ??? COOL [img]/ubbthreads/images/icons/smile.gif[/img]

                  Now it works fine !
                  first i try to use it at the first event:"on initialize" ...
                  Can you emagine the big black question mark roaming over my head as i see nothing `n seconds later page 2? [img]/ubbthreads/images/icons/wink.gif[/img]
                  Then i try event: "on show" and it works fine.

                  But the question-mark-experience leads me to a new funny idea ... sound without a page ...
                  then sound more pages next after next like
                  ::::::
                  Imagine the Music Terminator theme...
                  No Page an it sounds first the beats Ta ta ta...tata
                  then everey beats shows a page fast n loud...
                  ::::::
                  Okay ... i shut up and make my work ...

                  So ure footer becomes true i my case [img]/ubbthreads/images/icons/smile.gif[/img]
                  "The only source of knowledge is experience" - AE

                  Comment


                  • #10
                    Re: timebased load to another page

                    Happy to have been instrumental in melting down your PC and solving your 'problem' [img]/ubbthreads/images/icons/smile.gif[/img]
                    -
                    = Derek
                    ["All glory comes from daring to begin" - fortune cookie]

                    Comment


                    • #11
                      Re: timebased load to another page

                      Who is "AE" ?

                      Comment


                      • #12
                        Re: timebased load to another page

                        [img]/ubbthreads/images/icons/shocked.gif[/img] Gasp!! Sharp intake of breath!!

                        That'll be Albert Einstein
                        -
                        = Derek
                        ["All glory comes from daring to begin" - fortune cookie]

                        Comment


                        • #13
                          Re: timebased load to another page

                          Hoowh, hoowh, hoowh ... Black Beauty !

                          I know Alfred E. Neumann `n when i call him ... he comes n hit ju [img]/ubbthreads/images/icons/smile.gif[/img]

                          Comment

                          Working...
                          X