dynamic flash background
- Started
- Last post
- 4 Responses
- fogle
i would like to know how to do something like this:
http://pinkinetik.ro/iashido/pap…
he has several backgrounds that are random on each load but it is all flash. how do you do this? thanks in advance.
- fogle0
bump
- Mick0
Background is probably a MC, first frame says GotoAndPlay(_currentframe+Random... - the next 5 frames are different images, or actions that load different images.
- fogle0
thank you Mick. I will try that.
- tap0
on (press or load or what ever) {
instancename.loadVariables(("dir... add (random(99)+1)) add ".file_suffix_type");
}File suffix type should be .txt or .swf or what every kind of file you are going to load. Your files need to be numbered in a sequence.
random01.txt
random02.txt
random03.txtThis way you don't have to load all of your images in one movie clip.