The variables aren't globally applying to all forms which creates two methods of fix but to keep it simple you can always access it by adding formname in front, see: form1.cash = 1000 if you press a button in form2 with this code it should work.
alright i want a command button to interact with another form say when i click the button the command i want it to send the other form is
im doing this so it is a much neater hackCode:Call ShockwaveFlash1.SetVariable("cash", 10000)
i know there is a way to do this i just forgot how
edit: this is for vb6
In Other Words i want FormBs Command Button to interact with FormA
Last edited by nosnipe; 05-04-2009 at 01:51 AM.
The variables aren't globally applying to all forms which creates two methods of fix but to keep it simple you can always access it by adding formname in front, see: form1.cash = 1000 if you press a button in form2 with this code it should work.
Well as we all know , .swf-s (Flash movies) Might have different variable names , and you should decompile that movie , and check out the variables , because the variable "cash" you are trying to use , might not be available
OrX