Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

89 users online



how to load random text file in dynamic textbox

how to load random text file in dynamic textbox

Currently viewing this thread: 1 (0 members and 1 guests)


cadeus

cadeus

Status: Offline!

how to load random text file in dynamic textbox

I want my dynamic textbox, called scrollBox, to randomly load one of 5 text files each time the flash file is opened...
Any ideas?

kevinsean

kevinsean

Status: Offline!

Random text files

onClipEvent (enterFrame) {fc=random(5);loadVariablesNum ("textfile"+[fc]+".txt", 0);
}

in this example, name text files textfile1.txt,textfile2.txt etc.

apply to movie clip which uses scroller.

Kevin.

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0063 seconds.