have a variable that will have a differn't string value depending on a random event. I want to use the string that is passed to that variable to move an instance on the stage. Is there someway to do this? I will attach the code to kind of show what im doing. To explain the code a little more the goal of it is to create an array of 4 cards and shuffle them. Once they are shuffled I want to select the first card in the array and move it.
Attach Code

// important packages
import flash.display.Loader;
import flash.net.URLRequest;
import flash.events.*;

dealBtn.addEventListener(MouseEvent.CLICK, deal);


function deal(event:MouseEvent):void
{

var cardNames:Array;
var cardValues:Array;
var card1:String = new String();

cardNames = ["aceHeart", "twoHeart", "threeHeart", "fourHeart"];
cardValues = [1,2,3,4];


var shuffled:Array = new Array();
var randomNum:Number;
var randomNum2:Number;
var store:String;
var SwitchValue:Number;
for (var i:uint = 0; i < 3; i++)
{
randomNum = Math.floor(Math.random()*3);
randomNum2 = Math.floor(Math.random()*3);
store = cardNames[randomNum];
cardNames[randomNum] = cardNames[randomNum2];
cardNames[randomNum2]= store;
}

cardNames[1] = card1;
card1.x = 252;
card1.y = 256;