I am desperate to find an answer to a request from a client who wants to build
a "design your own uniform" application. He wants it built so that the
manufacturer can update the styles themselves(non-programmers) for example the
styles are in vector or bitmap file (which ever works best) and can then be
imported somehow into the application to be able for the enduser to change the
color of the sleeves or the collar etc. without having to import the style in
flash and then convert it to a movie clip. He wants it set up so that all he
has to do is upload the styles to the application from an admin database and
have it interact in the flash application.
Can this be done, possible or is there any other way of doing this? I have
intermediate experience with flash and action script.
Thank you in advance for your help.
Danka
jools2005 - 26 Mar 2008 20:56 GMT
many solutions to the same question.
You could have the styles added to a database or an xml file that the flash
app will load to access all styles.
Or simpler you write a php script that obtains a list of files and folders
inside a 'styles' folder, each folder is a style and each image file inside
each folder is named to a pre-determined set.
Or even simpler, style images and folders all use a predetermined naming
convention to allow the flash app to blindly find all styles (folders numbered
0-50, style images numbered 0-10 etc)
hope it helps