Hey, I would like an combobox to load jpg’s into a container when a value is selected, and with fade out and in when a photo is change, and if possible a percent preloader.
I have this as to make the combobox load swf’s, but could anyone please be so kind to make it so it loads jpg’s with fade in and out and percent loader? :
// ComboBox
function handler() {
chosen = _root.combobox.getSelectedItem().label;
if (chosen == "Lagbilde") {
_root.container.loadMovie("sound.swf");
} else if (chosen == "Celluoid Dream") {
_root.container.loadMovie("sound2.swf");
} else if (chosen == "God Called In Sick Today") {
_root.container.loadMovie("sound3.swf");
} else if (chosen == "Fun, Fun, Fun") {
_root.container.loadMovie("sound4.swf");
}
}
hey , there was an excellent discussion about a resizing gallery that faded jpgs in. do a search in the forums for it. if you cant figure it out let me know and ill send you my code that i ended up using on www.creativejuggernauts.com/daniel
Nice, but I have allready made something that fits my site, but it doesn’t work. See, I have 2 comboboxes that when you select one of the value’s it loads a jpg into a container, but it doesn’t work when I have the whole photo.swf loaded into main.swf, and the comboboxes get all white and looks weird, heres the as im using:
Hey thanks, got it fixed now, just had overlooked 2 _root.'s somewhere in there. But when I view my .swf online, the combobox get all weird, it has white instead of text, and the select highlight is all white, so you cant see the text you select. Anyone know how to fix that?
http://www.vsf-fc.tk , then go to “bilder”. The enter button doesnt work for someone, no idea why, but if so, just click the link under.
well it seems to work fine when testing locally, but when it is published to the web, it hits the “* * * LOADED * * *” instructions before the clip is actually loaded.