I know this should be easy but for some..not so much for me
have this code..
Code is supposed to work as follows. I have a combobox named ChooseYourGameBox with a list of games. User picks a game. The command button (named LaunchGame) then should look at what is written in the combox box and load in the appropriate game for the user when it is pressed. That works great the first time. But then if you choose a different game and click the command button to load in a different game it doesnt do anything. So if i pick Game1 and hit the command button its loaded in fine, but then when i want to play something different after, say, Game2 and hit the command button nothing is happening..can someone please correct and if possible please explain (if possible) why this would be the case?
Thanks
have this code..
Code:
Public Sub LaunchGame_Click()
If ChooseYourGameBox.Value = "Game1" Then
ArcadeGames.Movie = "http://www.Game1.swf"
ElseIf ChooseYourGameBox.Value = "Game2t" Then
ArcadeGames.Movie = "http://www.Game2.swf"
End If
Code is supposed to work as follows. I have a combobox named ChooseYourGameBox with a list of games. User picks a game. The command button (named LaunchGame) then should look at what is written in the combox box and load in the appropriate game for the user when it is pressed. That works great the first time. But then if you choose a different game and click the command button to load in a different game it doesnt do anything. So if i pick Game1 and hit the command button its loaded in fine, but then when i want to play something different after, say, Game2 and hit the command button nothing is happening..can someone please correct and if possible please explain (if possible) why this would be the case?
Thanks
Last edited: