QUOTE(mrloserskid @ 30 Jun, 2008 - 08:51 AM)

hi i know how to swam images to each other. and import them all that stuff.
but i dont know how to make an if.
what im looking for is something like when button click. if radio button 1 is slected switch image to A0001.jpg
if radio button 2 is selected use A0002.jpgonly one radio button can be selected but dosent really matter
thanks for the help
heres my swaping code.
on (release) {
if(radiobutton1.selectedValue == "A0001.jpg")
{
this._parent.A2.loadMovie("A0001.jpg");
}
else
{ //load Graphic Behavior
this._parent.A2.loadMovie("A0002.jpg");
//End Behavior
}}
p.s. A2 is the name of the movie clip witch is changed to A002.jpg
thanks
now, i'm not completely sure, but i know that's how you do it in Flex, and they're very similar... the only difference is probably just what you called the conditional in the if statement...