Apologies , i should have added more detail. The user is presented with a cover slide where there are a number of buttons each represents a training video. When the user click on the button , it loads a generic slide that has a video object that plays a video. There is a share with a number of training videos , the button updates a veriable "vmvplay" with video name, and the next skile will load and play the video ,but as you explained, it reads the veriable to know the video to play.
HOpe this makes i more clear ... thanks