i want to use a variable(text) to refrence a movieclips instance name
[SIZE=1]function InventoryShow(event:Event):void
{
[/SIZE][COLOR=Navy][SIZE=1] var SC:URLVariables = new URLVariables(event.target.data);
for (var s in SC)
{
if (s != "<script language" && s != "bat****")
{
trace(s +" = "+ SC[s]);
if (s == "backpack1")
{[/SIZE]
[/COLOR][COLOR=Navy][SIZE=3][COLOR=DarkRed] //Inventory.backpack1.text = SC[s]; **<--- This works**
Inventory.s.text = SC[s]; // **<--- This Doesn't works**[/COLOR][/SIZE]
[SIZE=1] }
}
}[/SIZE]
}[/COLOR]