Professional Web Applications Themes

Launching HTTPService with timed event - Macromedia Flex General Discussion

Hi I'm still trying to get this working. I was looking at Tracy's example here: [url]http://www.cflex.net/showFileDetails.cfm?ObjectID=560&Object=File&Chann elID=1[/url] But my code is different and I'm having trouble sorting out which parts of this I actually need to do the timer. I have some datagrids which are fed by HTTPService, but the whole thing launches by invoking this line: loginService2.send() Right now I have it set up to launch from a button click. All I need to do is a simple timer to invoke this line every ten seconds or whatever. Can somebody show how to do this? D....

  1. #1

    Default Launching HTTPService with timed event

    Hi I'm still trying to get this working. I was looking at Tracy's example here:

    [url]http://www.cflex.net/showFileDetails.cfm?ObjectID=560&Object=File&Chann elID=1[/url]

    But my code is different and I'm having trouble sorting out which parts of
    this I actually need to do the timer. I have some datagrids which are fed by
    HTTPService, but the whole thing launches by invoking this line:

    loginService2.send()

    Right now I have it set up to launch from a button click.

    All I need to do is a simple timer to invoke this line every ten seconds or
    whatever. Can somebody show how to do this?

    D.

    Developer504 Guest

  2. #2

    Default Re: Launching HTTPService with timed event

    I can't make it any simpler than that example.

    What part don't your understand?

    *declare the timer var and instantiate a timer into it
    *add an event listener to the timer to call a function
    *create the function. In that call send()
    *start the timer

    Tracy

    ntsiii Guest

Similar Threads

  1. Getting Error: Event Type 'flash.event:event' is unavailable ?????
    By malik.robinson@gmail.com in forum Macromedia Flex General Discussion
    Replies: 0
    Last Post: January 14th, 01:51 AM
  2. Timed Out Requests
    By athanasiusrc in forum Coldfusion Server Administration
    Replies: 1
    Last Post: November 10th, 01:46 AM
  3. ProFTP timed out
    By mh9000 in forum Linux / Unix Administration
    Replies: 1
    Last Post: June 9th, 02:27 AM
  4. The operation has timed-out.
    By garikaps in forum ASP.NET Web Services
    Replies: 3
    Last Post: October 29th, 04:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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