Search Tutorials
Setting up the Main Text - Movie Clip (cont.)Step 2 (cont.) : Create a blank frame at frame 2 and add the frame-label load to it, also add the following action to this frame:If (scrolltext ne "") This will test if the variable scrolltext is not equal to nothing (e.g. if the variable has a content --> text), if so.. it will go to frame with label end and stop. If the text is not loaded yet, then scrolltext is still empty and the Movie Clip will continue to the next frame. To create a loop between frame 2 and 3 wich will run and check until scrolltext is not equal to nothing (e.g. if it has content) we create an empty keyframe at frame 3 and put the following action:
Go to and Play ("load")
Next, create an empty keyframe at frame 4 and give it the label end. Add
the following actions to the frame Set Variable: "balkheight" = "200" This will stop the Movieclip at frame 4 and set the variable balkheigth which will be used later in the scoll-bar to calculate it's position.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|