# Loading Movie Clips Dynamically

**URL:** <https://forum.kirupa.com/t/loading-movie-clips-dynamically/160537>\
**Category:** flash\
**Created:** [August 26, 2005, 6:40pm UTC](https://forum.kirupa.com/t/loading-movie-clips-dynamically/160537 "2005-08-26T18:40:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mabans](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@Mabans](https://forum.kirupa.com/u/Mabans)\
**Post date:** [August 26, 2005, 6:40pm UTC](https://forum.kirupa.com/t/loading-movie-clips-dynamically/160537/1 "2005-08-26T18:40:33Z")

</div>

I am currently dymanically loading informatin from a game server into flash. While this information is easy to load up using tradtional methods I would like to see if it possible to bring up 2 distinct movie clips. 1 that lists the players when there is a game where there are 2 teams and another where everyone is just every man for themselves. In php there is the Switch Function

```auto

  switch($variable)
  	{
  	case "whatever it is":
   	Do whatever you want;
   	break;
  	}
  

```

If…then statements work the same as well this is just a bit tighter when doing various functions. Now if there something similar I can do where if there is a team based game going that it loads up 1 mc that has the team display and another if there is just everyone for themsleves?

Check out the Flash Server Game info here.  
[http://www.unisongaming.com/flash/image.htm](http://www.unisongaming.com/flash/image.htm)
