all groups > flash actionscript > october 2006 >
You're in the

flash actionscript

group:

I want to my external JPG files to have this sequence: 01, 02, ... , 10, 11, ...


I want to my external JPG files to have this sequence: 01, 02, ... , 10, 11, ... tahadaf
10/11/2006 9:59:19 PM
flash actionscript:
Oh, I'm getting crazy! I just can't understand how to get this to work!
Please, if you know what's wrong, help me!!! PLEASE, PLEASE

You know, my slideshow works fine when I rename the external images to 1.jpg,
2.jpg, ...., 10.jpg, .....
But becasue of some reasons, I need to have the external images in this new
sequence: 01.jpg, 02.jpg, ....., 10.jpg, .....

But I don't know how to change the codes to understand the new format! I guess
this would be an easy thing to do and I can't find it, that's why I'm getting
crazy! I've tryied anything but no result :(

oh, Please, Please, Please help me.

http://emstris.com/sample/billyleverett_001/slideshow.zip

And note that the slideshow will run while you open the main.swf first
(because of pathes in there, I know, It's a mess!)


Thanks
Re: I want to my external JPG files to have this sequence: 01, 02, ... , 10, 11, ... AnandMX
10/12/2006 12:00:00 AM
not able to dnld the file,
but u can load it as if u have to concatanate the "0" sign
add it with the path
loadMovie(Path+"0"+filename)
Re: I want to my external JPG files to have this sequence: 01, 02, ... , 10, 11, ... AnandMX
10/12/2006 12:00:00 AM
Error you didnt provided us the XML
"file:///C|/Documents%20and%20Settings/anandva/Desktop/slideshow/New%20Folder/slideshow.xml"
Re: I want to my external JPG files to have this sequence: 01, 02, ... , 10, 11, ... tahadaf
10/12/2006 12:00:00 AM
Actually there is no "slideshow.xml" around. I have changed the codes to read
the number of images from "img.txt". That just and extra thing which does
nothing!

right now, we have this sequence...
Loading: g.jpg
Loading: 1g.jpg
...
...
...
Loading: 10g.jpg
...


Which should be 01.jpg, ..., 10.jpg, ....


?! Any help?

AddThis Social Bookmark Button