ActiveDen

Clear loaded xml cache

132 posts
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • United Kingdom
  • Referred between 1 and 9 users
smoke_e_joe says

Hi guys just wondering if anyone knows the quickest way to clear all cache of loaded xml.

Currently images and everything load fine its just the description for the images that dont clear they load the same old ones.

E.G

Load sub gallery flowers, and image 1 and the text for this images. Go back to main gallery load sub gallery portfolio loads images but has same text as previous gallery loaded from flowers.

I have traced the sub xml being loaded and its the correct one so how is it loading previous text from the first gallery loaded and how can i clear it all each time when a new gallery is loaded.

Thanks for your help. Joe

2 years ago
132 posts
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • United Kingdom
  • Referred between 1 and 9 users
smoke_e_joe says

Never mind i’v figured it out.

I moved the array inside the function rather than it being created wen the gallery first loads it now creates a new array everytime a sub gallery is loaded instead.

Very simple. And stupid on my part.

2 years ago
1379 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 1 and 9 items
  • Europe
  • Referred between 1 and 9 users
Firsh says

You can just use a random number like my.xml?2131 something like this

res: http://www.actionscript-library.com/?p=249

Hope I helped.

2 years ago
by
by
by
by
by