A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F CS5] How to check for external variable to show update notifications?

  1. #1
    Member
    Join Date
    Oct 2006
    Posts
    48

    [F CS5] How to check for external variable to show update notifications?

    Hello

    I was wondering if it's possible to show a notification for new updates in a swf file.

    Like what if I upload a .txt file somewhere and inside it there's a variable, something like;

    Code:
    newupdate="Version 2.0 is ready for download at domainname.com."
    And this will show up in a text field somewhere in my swf file. Is this possible? Are there any pros and cons about using this method of notification?

    (Using Flash CS5, AS2)
    Last edited by humbuged; 03-25-2011 at 09:17 PM.

  2. #2
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,756
    you can for sure load and display data from a text file..

    however you still need to 'trigger' a function to 'check' if there 'was' indeed an update or change.

    What you could do it use a date.. or timestamp to check for..

    maybe even store the date/time locally on the users computer using SharedObjects (flash cookies)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center