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 avariable string. Are you adding dummy variable/value pairs to the start andend? 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 AMSubject: Flash loadVariablesI'm trying to get a string of variables into flash from WebCat. I'm usingthe loadVariables() function. When I choose Debug > List Variables in theflash preview mode it shows my variables loaded at _level10; however, when Itrace 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.xtrace(_root.clipEmpty.test); //this returns "undefined"trace(_root.x); //this returns "Boom!"I've changed my code to use the LoadVars() object and theloadVariablesNum(). 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 thispoint. 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 toWeb 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:
Flash sometimes has trouble determining the first and last variables of avariable string. Are you adding dummy variable/value pairs to the start andend? 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 AMSubject: Flash loadVariablesI'm trying to get a string of variables into flash from WebCat. I'm usingthe loadVariables() function. When I choose Debug > List Variables in theflash preview mode it shows my variables loaded at _level10; however, when Itrace 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.xtrace(_root.clipEmpty.test); //this returns "undefined"trace(_root.x); //this returns "Boom!"I've changed my code to use the LoadVars() object and theloadVariablesNum(). 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 thispoint. 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 toWeb 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:
WebCat Bulletin Board Solution ? (1998)
Enhanced Master Counter? (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
[url] - question (2000)
Configuring E-mail (1997)
Back to Authnet with storebuilder (2003)
Press Release hit the NewsWire!!! (1997)
WebCat2b15MacPlugin - [protect] (1997)
Re:E-Mailer (WebCatb15acgiMac) (1997)
Associative lookup style? + bit more (1997)
Problems appending to database (1997)
printing twice? and fix (1997)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
WebCatalog for guestbook ? (1997)
Shipping.db (1998)
Stumpted Again (1997)
[showif] and equality (1998)
WebStar 3 crackable !!!! (1998)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
do you have a webcatalog tool you want to sell? (1999)