|
|||
|
Hi
I think this is a great flash file and works well for me, but it seems it can only be used once with one xml file. I'm loading 2 copies of my Horizontal Scroller Motion Blur swf (to make 2 separate galleries) into my main swf but it only loads the xml of the first Horizontal Scroller Motion Blur swf that you load, even when it loads the other movieclip it still loads the older xml. Is there any way of changing the code on one of my Horizontal Scroller Motion Blur swfs to load another xml file... First Horizontal Scroller Motion Blur swf... Code:
var xmlOb:XML = new XML(); myXml = xmlOb; xmlOb.ignoreWhite = true; xmlOb.onLoad = Proxy.create(this, conti, scroller, myXml, settings); xmlOb.load(_root.xmlFile == undefined ? "data.xml" : _root.xmlFile); Code:
var xmlOb:XML = new XML(); myXml = xmlOb; xmlOb.ignoreWhite = true; xmlOb.onLoad = Proxy.create(this, conti, scroller, myXml, settings); xmlOb.load(_root.xmlFile == undefined ? "data2.xml" : _root.xmlFile);
|
|
|||
|
replace this
xmlOb.load(_root.xmlFile == undefined ? "data2.xml" : _root.xmlFile); with xmlOb.load("somexmlFile.xml"); but again, I am not sure it will properly work, I never tested this twice in the same fla. Some class adjustments may be needed. If you still have problems, please email me. |
|
|||
|
Hi, i bought the horizontal scroller to use as a gallery, but when i´m trying to have 2 galleries, it only loads the first xml.
main.swf loads in level10 (preview.swf) preview.swf data.xml but when a try to load preview2.swf (debug list variables... it loads always the same xml, as if it is in cache) preview2.swf data1.xml thank you... Filipe Ive found a solution to this problem... all flashtory.hs.main (for gallery1) flashtory.hs2.main (for gallery2) etc... it works Last edited by freezone76; 06-12-2011 at 10:09 PM. |
|
|||
|
Quote:
Yes, this is the solution, quite hard to do it but it's the right way to do it. I found no other way to properly load it twice or more inside the same project. Thank you for sharing this
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|