# Flash Parameters Help

**URL:** https://forum.kirupa.com/t/flash-parameters-help/325858
**Category:** flash
**Created:** [November 8, 2011, 8:55pm UTC](https://forum.kirupa.com/t/flash-parameters-help/325858 "2011-11-08T20:55:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![RyuuJin](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@RyuuJin](https://forum.kirupa.com/u/RyuuJin)
#### Post date: [November 8, 2011, 8:55pm UTC](https://forum.kirupa.com/t/flash-parameters-help/325858/1 "2011-11-08T20:55:43Z")

</div>

I am new to flash parameters but from the research I could find so far it seems that this should be fairly simple. I can’t seem to get my head around it.

I have a flash file that has a movie clip in it. In this movie clip there are two movie clips. What I need to do is show a one movie clip and hide another. I basically only need help with setting up the reading of the flash parameter code in flash…

```auto

[COLOR=#000000][FONT=courier new] **var** [/FONT][/COLOR][COLOR=#000000][FONT=courier new]imageToShow[/FONT][/COLOR][COLOR=#000000][FONT=courier new]:String;**
var** paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;[/FONT][/COLOR]

```

This is basically what I have… I’m not sure what to go on to next or if this is even correct. I basically need to get to the point where I can say…

```auto

if (parameter == "image1") {
 image.image1.alpha = 1;
 image.image2.alpha = 0;
}

```

Or something to that effect. Sorry I’m a bit new to this and none of the tutorials I have seen explain this well enough for me to understand.

Thanks!
