View Full Version : timebased load to another page
Sneeze
10-14-2002, 11:41 AM
Hi /ubbthreads/images/icons/blush.gif
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
TJ_Tigger
10-14-2002, 12:02 PM
There is a great video tutorial on how to do this. The tutorial can be found here (http://www.indigorose.com/ubbthreads/showflat.php?Cat=&Board=UBB2&Number=11075&page=&vi ew=&sb=&o=&vc=1).
Sneeze
10-14-2002, 01:06 PM
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 !
TJ_Tigger
10-14-2002, 02:12 PM
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.
Derek
10-14-2002, 02:37 PM
oops! .... be careful with that decompiling stuff .... Shhh!
"or ask the creator to do it for you." << a much better option /ubbthreads/images/icons/smile.gif
HenryAdams
10-14-2002, 03:52 PM
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!
Sneeze
10-15-2002, 02:07 AM
Yes ,
so am i
but this discussion turn into a wrong direction ... i think /ubbthreads/images/icons/blush.gif
To decompile Flashes is not my need gentelmen !
Any tips to my automatic pagechangeproblem?
Thanx for your involvement !
Sneeze
Derek
10-15-2002, 07:28 AM
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% &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>
Sneeze
10-15-2002, 08:08 AM
Very special thanxs to you Derek /ubbthreads/images/icons/smile.gif
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 /ubbthreads/images/icons/smile.gif
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? /ubbthreads/images/icons/wink.gif
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 /ubbthreads/images/icons/smile.gif
"The only source of knowledge is experience" - AE
Derek
10-15-2002, 08:32 AM
Happy to have been instrumental in melting down your PC http://www.aozl37.dsl.pipex.com/ams4/icons/wink.gif and solving your 'problem' /ubbthreads/images/icons/smile.gif
Sneeze
10-15-2002, 08:38 AM
Who is "AE" ?
Derek
10-15-2002, 08:47 AM
/ubbthreads/images/icons/shocked.gif Gasp!! Sharp intake of breath!!
That'll be Albert Einstein
Sneeze
10-15-2002, 08:56 AM
Hoowh, hoowh, hoowh ... Black Beauty !
I know Alfred E. Neumann `n when i call him ... he comes n hit ju /ubbthreads/images/icons/smile.gif
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.