Is there anyway in Flash (perhaps using a bit of php?) to;
a)Read through a given directory for images until the last image is reached.
b)Convert those images into thumbnail buttons, or mc's that you can 'drag and drop'?
Printable View
Is there anyway in Flash (perhaps using a bit of php?) to;
a)Read through a given directory for images until the last image is reached.
b)Convert those images into thumbnail buttons, or mc's that you can 'drag and drop'?
windows batch file method (no php, asp, or whatever server tools needed):
http://board.flashkit.com/board/show...91&postcount=7
otherwise propably php,- would be nice if someone posted a nice smal php script that returns flash a xml that includes the files and folders of the requested folder, like:
fileList.php?dir=images/thumbnails
right now most of my works are manual edited and created xml files because that works fastest for me from development time. Like when creating an editor I create a xml file that contains the most recent files I worked with.
Well there is
http://www.flash-creations.com/notes...eadfromdir.php
Not suitable for my purposes, but maybe ok for you.
I'll check out the Windows batch file method, thanks.
well why not,- because it requires php or beeing online? - if that´s the case there is portable web:
http://portablewebap.com/
just start the exe and within it´s subfolders you have a active php environment with apache database. can be used on autorun cd- roms as well. But I agree rather tricky if you´d use it for such.
I´ll have a look into the link you gave me,- thx for that. But if I want such a script some day I propably write it myself with the help of my php books- but that link might be a good step starting.
It's okay I've implemented the code you gave me. Working the way I want it now.
I may be a little less familiar, but in my opinion, this could add to my knowledge of php, thanks