| View previous topic :: View next topic |
| Author |
Message |
asianking Expert Cheater
Reputation: 0
Joined: 25 Jun 2008 Posts: 109
|
Posted: Wed Aug 13, 2008 10:32 pm Post subject: Listbox + Variables |
|
|
I making a flash game trainer along with a listbox... the flash variables getitem is not a number. It's words... So to get a blade the code would be
| Code: |
flash.setvariables("getitem", Fire Blade)
|
When I enter this code to vb05, it gives me an error stating that I did not declear 'Fire Blade'... I can dim one word, but I can't dim two words...
for example I can dim Fire, but I can't dim Fire Blade...
Is there anyway I can declear two words... I try making it single/double; didn't work...
_________________
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Wed Aug 13, 2008 11:40 pm Post subject: |
|
|
declare it as a string.
also, " "
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Thu Aug 14, 2008 3:58 am Post subject: |
|
|
Just surround the text with quotes:
| Code: | | FlashObject.SetVariable.("getitem", "Fire Blade") |
_________________
- Retired. |
|
| Back to top |
|
 |
asianking Expert Cheater
Reputation: 0
Joined: 25 Jun 2008 Posts: 109
|
Posted: Fri Aug 15, 2008 8:48 pm Post subject: |
|
|
thanks it's work... Just "xxxx", "xxxx"
really appreciated guys... u rock!
_________________
|
|
| Back to top |
|
 |
|