User Tag List

Results 1 to 7 of 7

Thread: More Problems!

  1. #1
    No Products Registered

    Join Date
    Dec 2006
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    More Problems!

    Hey everybody!

    I have even more problems than i tought. Does anybody know how to receive data from several different webpages using Live Receiver.

    I have tried to use multiple objects with different names but its only 1 that receives the data, the one closest to the top in the event editor and the the rest is dead.

    I have all open channels, users online, credits all stored in mysql, and need to receive them all on 1 frame.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More Problems!

    I've been able to receive data from different webpages myself without problems... (in my case, creating/examining a player account). There isn't a trick to it - I just used the same Live Receiver object for each request.

    I think I can only suggest posting a (safe) example of what doesn't work for you.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)HTML5 Export Module (Steam)SWF Export Module (Steam)Firefly 3D Module (Steam)
    Spryz's Avatar
    Join Date
    Jul 2006
    Location
    United Kingdom
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More Problems!

    I believe what you are trying is grabbing the data all at once, what i suggest is using a single line reciever object and go through each site 1 by 1 until all the data is gathered, if you try to use the same/different line reciever object all at the same time, it will only gather data from a single site, either the first or last i cant remember which one.

  4. #4
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: More Problems!

    Yes you would need to get the data from the different pages one by one. When one request and retrieval is done do the next one and so on.

  5. #5
    No Products Registered

    Join Date
    Dec 2006
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More Problems!

    Thanks for the help guys. This is exactly what i do now, was hoping there was a way to get them all in 1 frame. It works ok but in the long run i am afraid i will have to many frames to keep up with them.

    So far i have 8 different frames collecting data, and so for each time a user go from one frame to another they will have to go trough these 8 frames to collect, and the bigger this gets the longer the transition. Just for this 8 frames it usally takes about 4 - 5 sec.

    Is there a way to collapse frames into groups like in the event editor? That would be very usefull.

  6. #6
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: More Problems!

    Can't you put these all in one frame and do something like this

    Start of frame - Activate group 1

    Event Group 1
    Request your data
    Process your retrieved data
    When done activate group 2

    Event Group 2
    Request your data
    Process your retrieved data
    When done activate group 3

    and so on....

    The only requirement is you do them one at a time but you should be able to get it all done in one frame.
    Its still going to take some time to communicate with servers on the net and get the data back.
    No real way to speed up that part its out of everyones control as its on the net.

  7. #7
    No Products Registered

    Join Date
    Dec 2006
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More Problems!

    I diden't know you could group them like that.

    Ok, so tried but still only 1 data is printed out and thats the first one. How do you close each one, i tried deactivate and when i did no data came out.

    Here is my code:

    First group:
    +On start of frame
    ->Activate group 1

    +On group 1 activated
    ->Start downloading from "http://www.mywebsite.com/get_channels.php"

    +On Received
    ->Set text Received$( "Live receiver" )
    ->Set Global String G to Edittext$( "Edit Box" )
    ->Deactivate group 1
    ->Activate group 2

    Second group:
    +Group 2 is activated
    ->Start downloading from "http://www.konk24.com/get_balance.php"

    +On Received
    ->Set text Received$( "Live receiver" )
    ->Set Global String H to Edittext$( "Edit Box 2" )
    ->Deactivate group 2
    ->Jump to frame

    What am i doing wrong?

Similar Threads

  1. More AI Problems
    By Gimbabwe in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th October 2011, 11:47 PM
  2. 3 Problems, please help!
    By Jacob_Miller in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 5th February 2011, 02:27 PM
  3. INI Problems.
    By Joeyotrevor in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 15th May 2008, 02:59 PM
  4. Serious problems.
    By Clicktastic in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 26th December 2006, 03:07 PM

Posting Permissions

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