| View previous topic :: View next topic |
| Author |
Message |
123456789987654321 I post too much
Reputation: 0
Joined: 10 Oct 2007 Posts: 3341 Location: The Bat Cave :D
|
Posted: Mon Feb 25, 2008 8:13 am Post subject: Help Variable Tester VB2008 |
|
|
What would be the code so then when I click the button, the value of the variable thats in the textbox1 comes in textbox2?
_________________
|
|
| Back to top |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Mon Feb 25, 2008 8:20 am Post subject: Re: Help Variable Tester VB2008 |
|
|
| 123456789987654321 wrote: | | What would be the code so then when I click the button, the value of the variable thats in the textbox1 comes in textbox2? |
Jesus christ, do you even know the basics of Flash's properties and functions?
|
|
| Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Mon Feb 25, 2008 8:43 am Post subject: Re: Help Variable Tester VB2008 |
|
|
| Xenophobe wrote: | | 123456789987654321 wrote: | | What would be the code so then when I click the button, the value of the variable thats in the textbox1 comes in textbox2? |
Jesus christ, do you even know the basics of Flash's properties and functions? |
Seems like he doesn't.
| Code: | | TextBox.Text := Flash.GetVariable('Variable name'); // Delphi. |
|
|
| Back to top |
|
 |
AtheistCrusader Grandmaster Cheater
Reputation: 6
Joined: 23 Sep 2006 Posts: 681
|
Posted: Mon Feb 25, 2008 8:52 am Post subject: |
|
|
| text1.text = flash1.getvariable("variable") /Vb6
|
|
| Back to top |
|
 |
XxOsirisxX Grandmaster Cheater Supreme
Reputation: 0
Joined: 30 Oct 2006 Posts: 1597
|
Posted: Mon Feb 25, 2008 4:11 pm Post subject: |
|
|
I'm not sure if this is directly to a Flash component, but, to be general, "Variable" as is defined in this thread, is not directly refiering to Flash variable case.
Anyhow..
value textbox1 to textbox2?
| Code: | dim i as integer '(Meh.. integer)
i = 800
text1 = i + 200
text2 = text1 |
I make some changes at the value of i, just to make the example, a bit "better" even trouhg i see it the same
In Flash case (In case is what you request) , i do beleive you can use the same method.
text2 = text1
or
text2 = val(text1)
_________________
|
|
| Back to top |
|
 |
123456789987654321 I post too much
Reputation: 0
Joined: 10 Oct 2007 Posts: 3341 Location: The Bat Cave :D
|
Posted: Mon Feb 25, 2008 5:07 pm Post subject: |
|
|
| masterkert3 wrote: | | text1.text = flash1.getvariable("variable") /Vb6 |
WTF?
I had that....
Edit
I had a bracket that wasnt needed no wonder it didnt work
See i knew i wasnt compleatly dumb
_________________
|
|
| Back to top |
|
 |
|