# Auto Update

**URL:** <https://forum.kirupa.com/t/auto-update/247352>\
**Category:** flash\
**Created:** [December 21, 2007, 4:58pm UTC](https://forum.kirupa.com/t/auto-update/247352 "2007-12-21T16:58:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![creyentededios](https://avatars.discourse-cdn.com/v4/letter/c/ac91a4/32.png) [@creyentededios](https://forum.kirupa.com/u/creyentededios)\
**Post date:** [December 21, 2007, 4:58pm UTC](https://forum.kirupa.com/t/auto-update/247352/1 "2007-12-21T16:58:05Z")

</div>

Hi, i am making a widget from YWE! and need help with a flash object

i am planning on making a flash file for when i update my widget, it tells people to update it

heres the plans:  
i have a site with a folder called widget:

the flash file will have 2[?] frames in it  
one will check to see if its updated, the other will tell people to update the widget

in the first frame, i need actionscript  
my flash will be in /widgets/update.swf  
and then i will have a text file called /widgets/update.txt

when i embed the flash file, i would like there to be a flash var [?] at the end  
so it would be update.swf?ver=…

whatever i put there, like for example update.swf?ver=1.0, i would like it to match it with the text file, and if its the same, do nothing  
but its if different, go to the second frame

i would also like it to check the text file like maybe once a day?

please answer if you know, all help is greaty appreciated  
-creyentededios
