|
-
how to force page to refresh from flash
Hello,
version: flash mx
player: 6
I've got a swf of an avatar that users can alter like change its clothes hairstyle etc.
However once they press "ok" to save their changes, the swf doesn't automatically update, even though the changes have been saved server-side as the page doesn't automatically refresh.
The server side app that stores the avatar details is written in perl and updates and xml document but I won't have access to them. (Even if I did, I don'tknow any perl)
I'm aware of caching issues etc, but I was hoping there would be a way thru all that to refresh the page and update the avatar from the flash movie itself.
Is there any way of forcing the page to refresh an show the updated swf from flash?
-
Hi,
You could use:
Code:
<meta http-equiv="refresh" content="0; url=your_page.htm">
This will refresh your_page.htm immediately. However, you state you don't have access to the Perl. If you can you could put the meta tag in after the avatar is updated.
Do you have access to any of the pages?
Cheers,
macca
-
Hi,
the meta tag does not help since it does not refresh the swf nur the files loaded by the swf, only the html page.
You might put some ?stuff=.... at the end of the url for that xml file, to force reloading
Musicman
-
Thanks for your replies!
I'll let you know how it goes.
macca25, I do have access to the html pages that hold the swf that updates the avatar, is that any use?
-
musicman, you were right.
I just gave it a ?stuff=getTimer() on the end of the xml url and bob's your uncle, it worked!
thanks for that.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|