Real-time refreshing data

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Real-time refreshing data

    Hello everybody,
    i have a swf file, with a simple mx:List i have to refresh this list when an
    user will click to a link on my website.

    Example:
    [url]http://www.example.com/click.php?id_user=1000[/url]

    when the user click on the link i have to save the id_user and read this value
    to my swf file...

    so, what is the better solution to do this?
    i would't send a POST request every N seconds(to a php page) to download all
    the id_user clicked, is there a better solution? i would a 'real-time'
    refreshing, is it possible?

    Thanks so much


    dam85 Guest

  2. Similar Questions and Discussions

    1. Question about Flex retrieving real-time data
      You can always just set a timer and call your server once every few seconds to check for updates. It really depends on how vital/compex/reusable you...
    2. real-time data from database for PDA
      Hopefully someone can help me here. I have tried everything I can think of but maybe someone has exprienced this or has a clue. I have a flash file...
    3. refreshing data
      Hello all, All I would like to do is to refresh a xml model every 5 mins or so( since the xml file will be updated every 5 mins or so as well) I...
    4. charts not refreshing each time use F12
      I am just getting started with charting in ColdFusion. I create my chart in Dreamweaver (using hard-coded data, as practice), then hit F12 to...
    5. Real time converted to Unix time
      I have seen many request to go from unix to GM time, but I have not seen the reverse. Anyone know what the formula would be to convert a US...
  3. #2

    Default Re: Real-time refreshing data

    Use ExternalInterface to communicate between the browser and the Flex app.

    Tracy
    ntsiii Guest

  4. #3

    Default Re: Real-time refreshing data

    but is supported with all the browsers? because i read:

    ExternalInterface requires the user's web browser to support either ActiveX or
    the NPRuntime API that is exposed by some browsers for plug-in scripting. Even
    if a browser and operating system combination are not listed above, they should
    support the ExternalInterface class if they support the NPRuntime API.

    is the only way to get a data from a website?
    Thanks a lot

    dam85 Guest

  5. #4

    Default Re: Real-time refreshing data

    ...... an user has to install a browser plugin?
    is there another simple way to communicate?

    thanks again
    dam85 Guest

  6. #5

    Default Re: Real-time refreshing data

    up
    dam85 Guest

  7. #6

    Default Re: Real-time refreshing data

    isn't there a framework?
    dam85 Guest

  8. #7

    Default Re: Real-time refreshing data

    Perhaps you can explain your requirements more clearly?
    Tracy
    ntsiii Guest

  9. #8

    Default Re: Real-time refreshing data

    Have a look for the FABridge which is available with Flex 3.

    More info on adobe labs.
    David M.. Guest

  10. #9

    Default Re: Real-time refreshing data

    i tested ExternalInterface and it works perfectly!!!

    thanks a lot
    dam85 Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139