Conditional question

how would I go about showing a sequence of pics (maybe slide show)… the sequence of which (or group or folder or ???array…dunno what it would be) depends on a certain condition being met. that is…if it’s one thing show this group and if it’s another show that group ??

thanks :slight_smile:

That’s tough. It would really depend upon what the code was for showing the pics in the first place. Probebly it’s just an “if…else” statement.

ie

if(condition1==true){
picgroup=“harmony”;
}else{
picgroup=“destiny”;
}

yeah…i know… I have no idea how to do that…wondered if anyone did or if it CAN be done…

i suppose a bunch of pics could b all in one movieclip but that’s a lot to load…:-\

are you using Flash 5.0 or MX?

Why doesn’t anybody read the sticky… :frowning:

I’m using mx :slight_smile:

you could probably do a series of movie clips and use telltarget… like say you got a group of 4 or somthin… they could be buttons within a movie clip… and when you click a button it will load more movie clips up… whatever pics you wanna show… so all you would have to do is

on(press){
_root.movieClipWithPics.gotoAndStop(1);
}

thats just assuming you have all the pics on the first frame of a movie clip… and from there if you wanted them to be buttons too you could do the same concept… like if you click one of them… it will go to a frame within the same movie clip with a full sized picture or somthing…

maybe i misunderstood… i think i just said more of a photo gallery but maybe you can access them with the same concept… like if your condition is met… then

_root.MovieClipWithPics.gotoAndStop(frameWithNewPic);

lol sorry if i got this wrong… not sure i totally understand what you are trying to accomplish

lol ilyas!
I agree about the sticky!
They should read it before posting!
I mean everybody!
maybe make a new sticky: “Read the other sticky before posting” lol :slight_smile: Just kidding :slight_smile:

huh? I’m just trying to figure something out. I don’t know what you mean by laughing about sticky’s. If I’m missing something right in front of me please tell me.

We’re not laughing about you, man, it’s just that I posted a sticky thread called “Please read before posting” and nobody seems to read it…

pom :*(