Click to See Complete Forum and Search --> : how do you force a refresh on a swf


charliem
08-19-2007, 08:44 AM
Hi there. I have a flash slide show that reads an xml file for a home page slide show. The slides are changed out based on events we have coming up. I have replaced the slides in the slide list but it is still playing the old slide...that doesnt even exist anymore?

How do you force a refresh of the .swf so that it picks up the new slide. I tried refreshing the page and that doesnt work. We will be changing out slides every week.

Also, how do I add a hyperlink to each slide so that if the user clicks on the slide it takes them to a web page?

dcpweb
08-19-2007, 08:08 PM
Hi,

To add a hyper link you need to create a button and then add an action to the button, code is:

on(release){

getURL=("http://www.google.co.uk","_blank");

}

--------------------------------

refesh question: can you post a link to the .swf file so I can see what is going on?


regards

p shah - www.dcpweb.co.uk

charliem
08-19-2007, 09:27 PM
Hi there. Thanks for the response. I would give you a link but I dont want to show up on an SE. I will attach the file for you and you can tell me what you think. Attached is the .swf, .fla and the xml file. This is the original. All I have done is alter the images and upload to my website.

thanks again your your help. I got this slide show because it didnt require flash to use it, but if sounds like if want to link to a page I will have to edit it in flash?