[OT] Little Flash help

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69076
interpreted = N
texte = Hi Sorry for the OT just wondered if any of you guys could help me as I don't really know much about scripting flash. I have a Flash file that is basically a slideshow that loads a list of images supplied by an XML document. In the script of the Flash file there is a line ... images_xml.load("images.xml") .... I would like to be able to point it to different XML files depending on the SWF filename, ie if the SWF file was called "Home.swf" then it would load "Home.xml" or ... images_xml.load("Home.xml") So I'm guessing I just need to replace the "images.xml" with something like "[filename].xml" but I don't know what the code should be, is this possible and can anyone help? Hope this is clear and thanks for any help. Cheers ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1330 860550 Fax +44 1330 860880 ======================================== http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig ======================================== ------------------------------------------------------------- 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] Little Flash help ( Steve Craig 2007)
  2. Re: [OT] Little Flash help ( Donovan Brooke 2007)
  3. [OT] Little Flash help ( Steve Craig 2007)
Hi Sorry for the OT just wondered if any of you guys could help me as I don't really know much about scripting flash. I have a Flash file that is basically a slideshow that loads a list of images supplied by an XML document. In the script of the Flash file there is a line ... images_xml.load("images.xml") .... I would like to be able to point it to different XML files depending on the SWF filename, ie if the SWF file was called "Home.swf" then it would load "Home.xml" or ... images_xml.load("Home.xml") So I'm guessing I just need to replace the "images.xml" with something like "[filename].xml" but I don't know what the code should be, is this possible and can anyone help? Hope this is clear and thanks for any help. Cheers ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1330 860550 Fax +44 1330 860880 ======================================== http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig ======================================== ------------------------------------------------------------- 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/ Steve Craig

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:

Q: Japanese Kanji code support? (2000) Version f1 status (1997) problems with 2 tags (1997) Shipcost lookup? (1997) Document Contains No Data! (1997) Protect vs Authenicate (1997) ShowNext for method=POST (1997) W* 4.2 / WebCat (TPro) 3.0.5b / OS 8.5.1 / BW G3 (2000) Spell Check (2003) emailer error 452 (2001) [WebDNA] CORRECTION: 60% failure rate using replace in a loop (2010) Web Catalog and Net Cloak (1998) WebCommerce: Folder organization ? (1997) WebCat2 several catalogs? (1997) Progress !! WAS: Trouble with formula.db (1997) New cart in ShoppingCarts (2003) Fun with Dates - finally resolved but.... (1997) passing cart value (2003) [WebDNA] Search Problem (2011) shipping costs (1997)