Hi,
I want to display a .swf in a lightbox, but it needs to access a .xml file.
File manager won't let me upload the .xml file so where can i put it? Is this even possible to do?
Thanks
Corrie
Hi,
I want to display a .swf in a lightbox, but it needs to access a .xml file.
File manager won't let me upload the .xml file so where can i put it? Is this even possible to do?
Thanks
Corrie
The file Manager will let you - if you add xml as an uploadable file type in Settings.
You may also need to add a crossdomain.xml into your site root, to ensure that the swf can access the xml from both www.yoursite.com and yoursite.com (do a Google search on crossdomain.xml)
Hey, thanks for your help, I didn't know I could specify what files could be uploaded in settings, someone else set that bit up for me so thanks :)
Will go play with my script, but for anyone else reading this, here's the adobe link about crossdomain:
http://kb2.adobe.com/cps/142/tn_14213.html
Thanks
C
Still not working with the crossdomain.xml on the server.
It's been years since I wrote Actionscript so perhaps there is something wrong here in my .fla file?:
Can any coders help??Code:var XMLPath:String = "http://www.la-design.co.uk/contao/tl_files/la-design/images/news/bookScaler.xml"; this.flipbook.bookLoader.source="../brickPhotos.swf";
I also tried just using "../bookscaler.xml"
Thanks
C
Ramjet, you're a legend thank you!
Probably obvious to anyone that know's what they're doing ops: but I've learnt for next time
Thanks
C
no problem -
sometimes the simplest mistakes are the hardest to spot
Bookmarks