Re: WebDNA vars parsed in FLASH (ActionScript)

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59612
interpreted = N
texte = For what it's worth I write all my variables to a text file and use the loadVariablesNum action to load them into flash. This is how I do our shipping labels. I think this approach is mentioned elsewhere on the list. Allen Frye Zambooie http://www.zambooie.com -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Donovan Brooke Sent: Thursday, October 14, 2004 10:38 AM To: WebDNA Talk Subject: Re: WebDNA vars parsed in FLASH (ActionScript) Erol Guneri wrote: > I had this problem a couple of months back and Raj gave me this which > solved it for me: > > 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); > > Erol nice!, however, I didn't even need the "+_root.cart" in there at all and it is working smoothly??? Thanks Erol, Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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: WebDNA vars parsed in FLASH (ActionScript) ( Donovan Brooke 2004)
  2. Re: WebDNA vars parsed in FLASH (ActionScript) ( "Allen Frye" 2004)
  3. Re: WebDNA vars parsed in FLASH (ActionScript) ( Donovan Brooke 2004)
  4. Re: WebDNA vars parsed in FLASH (ActionScript) ( "Erol Guneri" 2004)
  5. WebDNA vars parsed in FLASH (ActionScript) ( Donovan Brooke 2004)
For what it's worth I write all my variables to a text file and use the loadVariablesNum action to load them into flash. This is how I do our shipping labels. I think this approach is mentioned elsewhere on the list. Allen Frye Zambooie http://www.zambooie.com -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Donovan Brooke Sent: Thursday, October 14, 2004 10:38 AM To: WebDNA Talk Subject: Re: WebDNA vars parsed in FLASH (ActionScript) Erol Guneri wrote: > I had this problem a couple of months back and Raj gave me this which > solved it for me: > > 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); > > Erol nice!, however, I didn't even need the "+_root.cart" in there at all and it is working smoothly??? Thanks Erol, Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ "Allen Frye"

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:

duplicate items in cart (1998) [OT] Change permissions via FTP? (2002) WebCat cannot handle compatible search parameters? (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) Professional WebDNA Hosting Solutions (2005) WebCatalog Hosting (1996) Major Security Hole (1998) Sku numbers (1997) [OT] Site launch (2004) [delete] problem (1997) RE: New WebCatalog Version !!! (1997) docs for WebCatalog2 (1997) Cancel Subscription (1996) Help! WebCat2 bug (1997) MacAuthorize order data fields WAS:How To question... (1997) [WebDNA] API Code - IP to Country code and zip Code to us census (2000) (2011) [SearchString] problem with [search] context (1997) SKU's (2000) WebCat2: Items xx to xx shown, etc. (1997) Getting Total Quantity (1997)