Flash loadVariables

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54750
interpreted = N
texte = 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 =3D "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/ 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)
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 =3D "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/ Justin Carroll

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:

Type 11 errors setting up WebCAt 2 (1997) Subtotal and Grand Total Changes (2000) RequiredFields template (1997) many-to-one problem (1998) carriage returns in data (1997) Emailer help....! (1997) problem serving foreign languages text (1997) More on [purchase] (1998) Bug Report, maybe (1997) Removing user entered whitespace... (2004) Interfacing WebMerchant to www.fedex.com (1997) [Fileinfo] Context (2000) web hosting (2000) frames & carts (1997) Problem with summary on date / inconsequent webcat behaviour (1998) shipcost (1997) WebCatalog can't find database (1997) [REDIRECT url=http://isd.smithmicro.com/] into New Window? (2002) [Replace] really replaces? (2000) [isfile] ? (1997)