-
Displaying text in flash through variabel
Hi,
I am trying to display text in flash from a txt file.As soon as the swf file is run the text should be displayed and it should scroll in a vertical way.
How i am suppose to do it?????
-
Senior Member
you need to use loadVariable("txtFile.txt", "", "POST");
that will load the variables from the txt file.
Make sure the text file says something like:
myVar=texthji koewfk oe fkowep fkwofp kewof kewopf kewop fkewo fwe kf
then use a dynamic text field in flash with the var name the same as the one in the text field, so myVar in this case.
Then look into scrollMax, scroll and delays to get it to scroll automatically.
Cheers
Ex-Ess
-
Pixel Pusher
For help on text fields...
Straight from the source!
Looks like Ex-Ess just beat me to it with some good advice...
-
Senior Member
I never liked the macromedia example. It makes it so you have to keep clicking the scroll buttons. Better to make the button on(press) start a movie that makes the text scroll in the direction you want and the on(release) stops it. Makes it nice n smooth.
Cheers
Ex-Ess
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|