Re: Flash loadVariables

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54762
interpreted = N
texte = Flash sometimes has trouble determining the first and last variables of a variable string. Are you adding dummy variable/value pairs to the start and end? eg: start=start&var1=value1..&end=end. Not sure if this will fix it, but I thought I'd mention it anyway. ----- Original Message ----- From: "Justin Carroll" To: "WebDNA Talk" Sent: Tuesday, December 09, 2003 2:15 AM Subject: Flash loadVariables I'm trying to get a string of variables into flash from WebCat. I'm using the loadVariables() function. When I choose Debug > List Variables in the flash preview mode it shows my variables loaded at _level10; however, when I trace those same variables I get "undefined" every time. Here's an example of what's happening: loadVariable("test.txt", _level10); //_level10.test _root.x = "Boom!" //_level10.x trace(_root.clipEmpty.test); //this returns "undefined" trace(_root.x); //this returns "Boom!" I've changed my code to use the LoadVars() object and the loadVariablesNum(). Nothing seems to work. Every single time I get "undefined" for my variables. I'm on a Macintosh using Flash MX. Any suggestions would be helpful at this point. Thanks. Justin Carroll ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Flash loadVariables ( "Rajeev Kumar" 2003)
  2. Re: Flash loadVariables ( chas@valley.net (chas) 2003)
  3. Re: Flash loadVariables ( Justin Carroll 2003)
  4. Re: Flash loadVariables ( Daniel Schutzsmith 2003)
  5. Flash loadVariables ( Justin Carroll 2003)
Flash sometimes has trouble determining the first and last variables of a variable string. Are you adding dummy variable/value pairs to the start and end? eg: start=start&var1=value1..&end=end. Not sure if this will fix it, but I thought I'd mention it anyway. ----- Original Message ----- From: "Justin Carroll" To: "WebDNA Talk" Sent: Tuesday, December 09, 2003 2:15 AM Subject: Flash loadVariables I'm trying to get a string of variables into flash from WebCat. I'm using the loadVariables() function. When I choose Debug > List Variables in the flash preview mode it shows my variables loaded at _level10; however, when I trace those same variables I get "undefined" every time. Here's an example of what's happening: loadVariable("test.txt", _level10); //_level10.test _root.x = "Boom!" //_level10.x trace(_root.clipEmpty.test); //this returns "undefined" trace(_root.x); //this returns "Boom!" I've changed my code to use the LoadVars() object and the loadVariablesNum(). Nothing seems to work. Every single time I get "undefined" for my variables. I'm on a Macintosh using Flash MX. Any suggestions would be helpful at this point. Thanks. Justin Carroll ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Rajeev Kumar"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

PCS Frames (1997) suggestion (1997) flushdatabases (2000) Taxes rates based on item and State (1998) UPDATE PROBLEM (1997) math problems (2000) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) changing prices in cart (1997) RE:It just Does't add up!!! (1997) WebCatalog can't find database (1997) Images generated by a web dna database (2003) [TaxableTotal] - not working with AOL and IE (1997) RE: Formulas.db + Users.db (1997) Limit to Field Length in DB (1998) How true is this? (1999) Re[3]: Problem with new formvariables (2000) Error: Missing c in orderfile???? (2005) Re:no [search] with NT (1997) [WebDNA] Nginx (2010) error -571 (2004)