Re: [OT] Passing a WebDNA variable through flash
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58910
interpreted = N
texte = If you're writing using Actionscript, i.e. inside flash. You cant use =webDNAsyntax.Just pass the [cart] into the flash file using: =...=3D"movie.swf?cart=3D[cart]"That will create a variable called 'cart' in the _root level of the =flashfile.So you can use it in the getURL statement as:getURL("page.tpl?cart=3D"+_root.cart);Raj-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of =TanaAdamsSent: Wednesday, 28 July 2004 12:23 PMTo: WebDNA TalkSubject: Re: [OT] Passing a WebDNA variable through flashIt's been a while since I worked with Flash, but I checked our Flash =filesand found the variables to be passed this way:getURL("page.tpl?cart=3D{cart}","display");Again, this is the way the URL is set up within the Flash file itself. =Itsounds like that's where you're having the issue. You can't use the []brackets withing Flash, as far as I know. You have to use the curly =braces{}.Hope that helps.Tana-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of =ErolGuneriSent: Tuesday, July 27, 2004 3:25 PMTo: WebDNA TalkSubject: Re: [OT] Passing a WebDNA variable through flashHaven't tried interpret. The code is actually written in the flash =image,which is why it is not picking up the [cart]. I believe there is =someway ofloading variables into the flash image so that it can then pass it on, =butcan't seem to see how.Erol----- Original Message -----From: "Dan Strong"
To: "WebDNA Talk" Sent: Tuesday, July 27, 2004 11:24 PMSubject: Re: [OT] Passing a WebDNA variable through flash> Does [interpret][cart][/interpret] make any difference? Is your codeinside of a [loop] or> anything like that?> -Dan>> On Tue, 27 Jul 2004 23:16:15 +0100> "Erol Guneri" wrote:> >Thanks for the reply.> >> >You are right about the syntax, this was just a mistake in the email,though> >I did double check.> >> >It just passes "[cart]" instead of the cart number.> >> >Erol> >> >----- Original Message -----> >From: "Dan Strong" > >To: "WebDNA Talk" > >Sent: Tuesday, July 27, 2004 9:14 PM> >Subject: Re: [OT] Passing a WebDNA variable through flash> >> >> >> >on (press) {> >> > get URL=20> >> >("http://www.mysite.com/cart=3D[cart]","_parent","POST");> >> >}> >>> >> Shouldn't the syntax of the URL be=20> >> http://www.mysite.com/?cart=3D[cart] ,or> >more specifically,> >> http://www.mysite.com/index.html?cart=3D[cart] ? As you have it=20> >> written> >(without the '?'), no> >> variable can be passed.> >>> >> Don't know if that's the prob, but worth a looksee, no? HTH> >>> >> -Dan> >>> >> -------------------------------------------------------------> >> 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/>>> -------------------------------------------------------------> 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 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 toWeb Archive of this list is at: http://webdna.smithmicro.com/---Incoming mail is certified Virus Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/2004=20---Outgoing mail is certified Virus Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/2004=20-------------------------------------------------------------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:
If you're writing using Actionscript, i.e. inside flash. You cant use =webDNAsyntax.Just pass the [cart] into the flash file using: =...=3D"movie.swf?cart=3D[cart]"That will create a variable called 'cart' in the _root level of the =flashfile.So you can use it in the getURL statement as:getURL("page.tpl?cart=3D"+_root.cart);Raj-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of =TanaAdamsSent: Wednesday, 28 July 2004 12:23 PMTo: WebDNA TalkSubject: Re: [OT] Passing a WebDNA variable through flashIt's been a while since I worked with Flash, but I checked our Flash =filesand found the variables to be passed this way:getURL("page.tpl?cart=3D{cart}","display");Again, this is the way the URL is set up within the Flash file itself. =Itsounds like that's where you're having the issue. You can't use the []brackets withing Flash, as far as I know. You have to use the curly =braces{}.Hope that helps.Tana-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of =ErolGuneriSent: Tuesday, July 27, 2004 3:25 PMTo: WebDNA TalkSubject: Re: [OT] Passing a WebDNA variable through flashHaven't tried interpret. The code is actually written in the flash =image,which is why it is not picking up the [cart]. I believe there is =someway ofloading variables into the flash image so that it can then pass it on, =butcan't seem to see how.Erol----- Original Message -----From: "Dan Strong" To: "WebDNA Talk" Sent: Tuesday, July 27, 2004 11:24 PMSubject: Re: [OT] Passing a WebDNA variable through flash> Does [interpret][cart][/interpret] make any difference? Is your codeinside of a [loop] or> anything like that?> -Dan>> On Tue, 27 Jul 2004 23:16:15 +0100> "Erol Guneri" wrote:> >Thanks for the reply.> >> >You are right about the syntax, this was just a mistake in the email,though> >I did double check.> >> >It just passes "[cart]" instead of the cart number.> >> >Erol> >> >----- Original Message -----> >From: "Dan Strong" > >To: "WebDNA Talk" > >Sent: Tuesday, July 27, 2004 9:14 PM> >Subject: Re: [OT] Passing a WebDNA variable through flash> >> >> >> >on (press) {> >> > get URL=20> >> >("http://www.mysite.com/cart=3D[cart]","_parent","POST");> >> >}> >>> >> Shouldn't the syntax of the URL be=20> >> http://www.mysite.com/?cart=3D[cart] ,or> >more specifically,> >> http://www.mysite.com/index.html?cart=3D[cart] ? As you have it=20> >> written> >(without the '?'), no> >> variable can be passed.> >>> >> Don't know if that's the prob, but worth a looksee, no? HTH> >>> >> -Dan> >>> >> -------------------------------------------------------------> >> 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/>>> -------------------------------------------------------------> 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 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 toWeb Archive of this list is at: http://webdna.smithmicro.com/---Incoming mail is certified Virus Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/2004=20---Outgoing mail is certified Virus Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/2004=20-------------------------------------------------------------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:
Bug or syntax error on my part? (1997)
Forms Search Questions (1997)
DB Updates don't take (1998)
Numbers and Numbers and Me (1999)
sorting question... (2001)
hideif [x]=1,2,3.. (2003)
splitting up items in a cart (1999)
$Append for Users outside the ADMIN group (1997)
Encypt Question - Making New Users.db (1999)
authenticating a second user (1997)
Delete problem (2005)
Tags on root directory files? (1998)
WebCat2b13 Command Reference Doc error (1997)
Old Topic - [OT] - server speeds. (2002)
autocommit problem (1998)
search form problem.. (1997)
OT: Stats Program for FTP (2004)
taxTotal (1997)
SendTo more emails (1998)
[WebDNA] An unknown error occured // Deadlock avoided (2011)