[Flashcoders] FlashVars - place data in a variable

2009-05-22 Thread webmastermack
Hi everyone, I have added a text string to my swf using FlashVars.  I can output the import text string to a text field just fine. However when I try to put it into a variable that is used for criteria to contact a database, it doesn't work.  The text string is loading into the swf, the

Re: [Flashcoders] FlashVars - place data in a variable

2009-05-22 Thread Bob Wohl
So you are trying access strValue after your loop? It may be a scope issue, try casting the var before the loop and trace after the loop. Also, you may want to access your flash var one by one to help debug: //quick example var strValue:String =

Re: [Flashcoders] FlashVars - place data in a variable

2009-05-22 Thread Bob Wohl
: Bob Wohl bob.w...@gmail.com Subject: Re: [Flashcoders] FlashVars - place data in a variable To: Flash Coders List flashcoders@chattyfig.figleaf.com Date: Friday, May 22, 2009, 1:17 PM So you are trying access strValue after your loop? It may be a scope issue, try casting the var before

[Flashcoders] FlashVars - place data in a variable

2009-05-22 Thread webmastermack
...@gmail.com Subject: Re: [Flashcoders] FlashVars - place data in a variable To: Flash Coders List flashcoders@chattyfig.figleaf.com Date: Friday, May 22, 2009, 1:17 PM So you are trying access strValue after your loop? It may be a scope issue, try casting the var before the loop and trace after

[Flashcoders] FlashVars - place data in a variable

2009-05-22 Thread webmastermack
of text field, there is no response. Example: gw.connect(http://www.mysite.com/amfphp/gateway.php;); gw.call(load_data.my_data, res, keyStr);    -Mack --- On Fri, 5/22/09, Bob Wohl bob.w...@gmail.com wrote: From: Bob Wohl bob.w...@gmail.com Subject: Re: [Flashcoders] FlashVars - place data

Re: [Flashcoders] FlashVars - place data in a variable

2009-05-22 Thread Bob Wohl
://www.mysite.com/amfphp/gateway.php;); gw.call(load_data.my_data, res, keyStr); -Mack --- On Fri, 5/22/09, Bob Wohl bob.w...@gmail.com wrote: From: Bob Wohl bob.w...@gmail.com Subject: Re: [Flashcoders] FlashVars - place data in a variable To: Flash Coders List flashcoders@chattyfig.figleaf.com

[Flashcoders] FlashVars - place data in a variable

2009-05-22 Thread webmastermack
. Period. Thanks for all your help. -Mack --- On Fri, 5/22/09, Bob Wohl bob.w...@gmail.com wrote: From: Bob Wohl bob.w...@gmail.com Subject: Re: [Flashcoders] FlashVars - place data in a variable To: Flash Coders List flashcoders@chattyfig.figleaf.com Date: Friday, May 22, 2009, 3:58 PM Hi Mack