Here's an approach to making a CD
My problem w/ using Flash for CD's has been loading media and saving variables. Presently, I use a Director shell to deal w/ both problems, but I'm trying to use Flash MX to get away from that. I think its overkill for most of my work and I really like the results I get w/ Flash.
I think I've gathered enough help from various Flashkit (thank you)and Macromedia sources to create a good approach. I'd like to share it and get some feedback.
Solution 1: Saving Varibles
The shared objects that someone described as "like cookies for flash" can be used to save and recall varibles.
Recalling the Variable
so = SharedObject.getLocal("myInfo");
MyColor = so.data.favoriteColor;
Saving the Variable
so = SharedObject.getLocal("myInfo");
mycolor = "orange";
so.data.favoriteColor = mycolor;
// Displays: orange
Mac compatibility is another problem I've experienced. However, becasue this is a standard Flash MX function, I undersdand that it works for MAC's ... but I haven't tested it on a MAC.
Solution 2: Loading Media
You can use the .load commands to dynamically load pictures, video ( i think ) and sounds. I deal w/ a lot of event sounds and this works quite well.
sndObj = new Sound();
sndObj.loadSound("xjump.mp3");
sndObj.start();
So, if you just need to save user profiles and would like flash to serve as a container for sound and other media, this should work. I'm going to build a prototype now, but, first, I'm curious if anyone anticipate problems w/ these methods?
Thanks.