Re: WebDNA vars parsed in FLASH (ActionScript)

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59604
interpreted = N
texte = 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 ----- Original Message ----- From: "Donovan Brooke" To: "WebDNA Talk" Sent: Thursday, October 14, 2004 4:15 PM Subject: WebDNA vars parsed in FLASH (ActionScript) > Hello, > I'm having a heck of a time getting [cart] to parse inside of > flash. > > In flash, I set an action inside the action window (for the frame): > Get URL ("default.tpl?cart=[cart]",Vars=GET) > > Action works, but [cart] gets passed as "[cart]"... > > So then I tried to set it inside the object code thinking that webdna > isn't seeing the [cart] code to parse it in the first place. > > > > > > [!]**** setting it right here?? [/!] > > [!]**** and in the embed?? [/!] > TYPE="application/x-shockwave-flash" PLUGINSPAGE="BLAH"> > > > This didn't work either. > Any ideas would be appreciated. > > Thanks. > > 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)
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 ----- Original Message ----- From: "Donovan Brooke" To: "WebDNA Talk" Sent: Thursday, October 14, 2004 4:15 PM Subject: WebDNA vars parsed in FLASH (ActionScript) > Hello, > I'm having a heck of a time getting [cart] to parse inside of > flash. > > In flash, I set an action inside the action window (for the frame): > Get URL ("default.tpl?cart=[cart]",Vars=GET) > > Action works, but [cart] gets passed as "[cart]"... > > So then I tried to set it inside the object code thinking that webdna > isn't seeing the [cart] code to parse it in the first place. > > > > > > [!]**** setting it right here?? [/!] > [cart]"> > [!]**** and in the embed?? [/!] > [cart]" WIDTH="550" HEIGHT="180" > TYPE="application/x-shockwave-flash" PLUGINSPAGE="BLAH"> > > > This didn't work either. > Any ideas would be appreciated. > > Thanks. > > 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/ "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:

The Box - (2002) [WebDNA] Happy Valentine's Day! (2012) simple forum/bboard (2004) problems with WebCat-Plugin () Euro WebDNA Conference (2004) [WebDNA] Successful, working WebDNA7/CentOS install? (2013) orderfile problems osx (2003) Multiple prices (1997) creating a ShipCosts database (1997) SSI *nix 4.5 build (2002) [BULK] [WebDNA] [BULK] WebDNA 7 - Showing every other far DB - Fault! (2011) Sort Order on a page search (1997) RE: [WebDNA] php/mySQL version of WebDNA Speed Test? (2009) [what] [am] [I] [missing]? (2003) Referrer field to header field conversion (1997) AND/OR searches in WebCat 3.07 (2003) WCS Newbie question (1997) WC2.0 Memory Requirements (1997) problems with 2 tags (1997) WebCat2b15MacPlugin - showing [math] (1997)