Re: [OT] Passing a WebDNA variable through flash

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58912
interpreted = N
texte = Thanks for all the help. The solution below fixed the problem. Thanks again. Erol ----- Original Message ----- From: "Rajeev Kumar" To: "WebDNA Talk" Sent: Wednesday, July 28, 2004 3:39 AM Subject: Re: [OT] Passing a WebDNA variable through flash > If you're writing using Actionscript, i.e. inside flash. You cant use webDNA > syntax. > > Just pass the [cart] into the flash file using: ..="movie.swf?cart=[cart]" > > That will create a variable called 'cart' in the _root level of the flash > file. > > So you can use it in the getURL statement as: > getURL("page.tpl?cart="+_root.cart); > > > > Raj > > > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Tana > Adams > Sent: Wednesday, 28 July 2004 12:23 PM > To: WebDNA Talk > Subject: Re: [OT] Passing a WebDNA variable through flash > > > It's been a while since I worked with Flash, but I checked our Flash files > and found the variables to be passed this way: > > getURL("page.tpl?cart={cart}","display"); > > Again, this is the way the URL is set up within the Flash file itself. It > sounds 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 Erol > Guneri > Sent: Tuesday, July 27, 2004 3:25 PM > To: WebDNA Talk > Subject: Re: [OT] Passing a WebDNA variable through flash > > > Haven'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 of > loading variables into the flash image so that it can then pass it on, but > can't seem to see how. > > Erol > > ----- Original Message ----- > From: "Dan Strong" > To: "WebDNA Talk" > Sent: Tuesday, July 27, 2004 11:24 PM > Subject: Re: [OT] Passing a WebDNA variable through flash > > > > Does [interpret][cart][/interpret] make any difference? Is your code > inside 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 > > >> >("http://www.mysite.com/cart=[cart]","_parent","POST"); > > >> >} > > >> > > >> Shouldn't the syntax of the URL be > > >> http://www.mysite.com/?cart=[cart] , > or > > >more specifically, > > >> http://www.mysite.com/index.html?cart=[cart] ? As you have it > > >> 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 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/ > > --- > 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 > > > --- > 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 > > > > ------------------------------------------------------------- > 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: [OT] Passing a WebDNA variable through flash ( "Erol Guneri" 2004)
  2. Re: [OT] Passing a WebDNA variable through flash ( "Rajeev Kumar" 2004)
  3. Re: [OT] Passing a WebDNA variable through flash ( "Tana Adams" 2004)
  4. Re: [OT] Passing a WebDNA variable through flash ( Stuart Tremain 2004)
  5. Re: [OT] Passing a WebDNA variable through flash ( "Dan Strong" 2004)
  6. Re: [OT] Passing a WebDNA variable through flash ( "Erol Guneri" 2004)
  7. Re: [OT] Passing a WebDNA variable through flash ( "Dan Strong" 2004)
  8. Re: [OT] Passing a WebDNA variable through flash ( "Erol Guneri" 2004)
  9. Re: [OT] Passing a WebDNA variable through flash ( "Dan Strong" 2004)
  10. [OT] Passing a WebDNA variable through flash ( "Erol Guneri" 2004)
Thanks for all the help. The solution below fixed the problem. Thanks again. Erol ----- Original Message ----- From: "Rajeev Kumar" To: "WebDNA Talk" Sent: Wednesday, July 28, 2004 3:39 AM Subject: Re: [OT] Passing a WebDNA variable through flash > If you're writing using Actionscript, i.e. inside flash. You cant use webDNA > syntax. > > Just pass the [cart] into the flash file using: ..="movie.swf?cart=[cart]" > > That will create a variable called 'cart' in the _root level of the flash > file. > > So you can use it in the getURL statement as: > getURL("page.tpl?cart="+_root.cart); > > > > Raj > > > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Tana > Adams > Sent: Wednesday, 28 July 2004 12:23 PM > To: WebDNA Talk > Subject: Re: [OT] Passing a WebDNA variable through flash > > > It's been a while since I worked with Flash, but I checked our Flash files > and found the variables to be passed this way: > > getURL("page.tpl?cart={cart}","display"); > > Again, this is the way the URL is set up within the Flash file itself. It > sounds 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 Erol > Guneri > Sent: Tuesday, July 27, 2004 3:25 PM > To: WebDNA Talk > Subject: Re: [OT] Passing a WebDNA variable through flash > > > Haven'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 of > loading variables into the flash image so that it can then pass it on, but > can't seem to see how. > > Erol > > ----- Original Message ----- > From: "Dan Strong" > To: "WebDNA Talk" > Sent: Tuesday, July 27, 2004 11:24 PM > Subject: Re: [OT] Passing a WebDNA variable through flash > > > > Does [interpret][cart][/interpret] make any difference? Is your code > inside 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 > > >> >("http://www.mysite.com/cart=[cart]","_parent","POST"); > > >> >} > > >> > > >> Shouldn't the syntax of the URL be > > >> http://www.mysite.com/?cart=[cart] , > or > > >more specifically, > > >> http://www.mysite.com/index.html?cart=[cart] ? As you have it > > >> 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 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/ > > --- > 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 > > > --- > 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 > > > > ------------------------------------------------------------- > 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/ "Erol Guneri"

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:

WebCat2: Formulas.db question (1997) Cookies and webcat (1997) Not really WebCat - need HTML Grider (1997) Emailing html (1998) [WebDNA] Encode cookies ONLY via "method=Base64" (2008) taxRate is fine but taxTotal isn't (1997) Sorry, WebCatalog Server Not Running (2002) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) Webcatalog/ColdFusion/Tango (1998) searching by date (1998) WebCat2 Append problem (B14Macacgi) (1997) Webdna sends your serial number on Internet (2003) dynamic PDF no longer working? (2004) [WebDNA] TCPConnect example doesn't work (2017) Occasional crashes with $remove (1997) SSL and Webstar 3 with Webcatalog (1998) Unusual characters in the db ... (2002) searching multiple databases in single search (1997) 2nd WebCatalog2 Feature Request (1996) Addlineitems ... grrr (2004)