Skip to main content
Participating Frequently
July 11, 2006
Question

FMS2 does connect, but sample apps don't

  • July 11, 2006
  • 13 replies
  • 796 views
hi all,
i don't think anyone can help me, but i'll explain my problem anyway..

i have FMS2 installed on Win XP.. it works fine..
and i can go to the admin console. So i want to try a sample application..
i create a new instance (just like the name what the script says: for example; example_sharedball)

then i start the example sharedball.. but in the admin i can't see someone is connected.. and when i start another example sharedball thing, it's not in the same position as the other one.. and when u move one of them, the otherone doesnt move too..

i also have tried the other sample application,
none seems to work..

any help would be appreciated!
    This topic is closed to new replies. Start a new post to keep the conversation going.

    13 replies

    July 11, 2006
    Hmm... any chance you have a firewall getting in the way?
    UnknownerAuthor
    Participating Frequently
    July 11, 2006
    ok, now i removed the include part of the debugger.. then i get the next error:

    Level: error
    Code: NetConnection.Connect.Failed

    and when i change the connection string to this: client_nc.connect("rtmp:/localhost:1935/tutorial_sharedball/room_01");
    it shows me the next errors

    Level: error
    Code: NetConnection.Connect.Rejected
    Level: status
    Code: NetConnection.Connect.Closed

    :S it's pretty confusing and frustrating, because a year ago with flash mx; i had no problem.. now i want to continue with FMS.. i'm getting this stupid errors :(
    July 11, 2006
    I just noticed your updated post.

    Now that we have a rejection error, we know that the flashplayer is finding the server, and the server is rejecting the connection. Take a look at the logs and see if there is a message telling you why. You can also add some code to the swf to display the error description (if the server is sending one to the client).
    UnknownerAuthor
    Participating Frequently
    July 12, 2006
    hmm, this is what i see in the live log of the: tutorial_sharedball/room_01 in the admin console:

    FCApplication loaded successfully.
    Communication Framework loaded successfully.
    Base Component loaded successfully.
    AudioConference loaded successfully.
    AVPresence loaded successfully.
    Chat loaded successfully.
    ConnectionLight loaded successfully.
    Cursor loaded successfully.
    PeopleList loaded successfully.
    PresentationText loaded successfully.
    RoomList loaded successfully.
    SetBandwidth loaded successfully.
    SimpleConnect loaded successfully.
    UserColor loaded successfully.
    VideoConference loaded successfully.
    Video Playback loaded successfully.
    WhiteBoard loaded successfully.
    Communication Components loaded successfully.


    and may i ask for one of those codes to show the error in description?
    July 11, 2006
    I'm using 8, but I'm not familiar with the sample apps. If you don't need the connection debugger (which AFAIK didn't ship with Flash 8), just remove the line that includes it (or comment it out).
    UnknownerAuthor
    Participating Frequently
    July 11, 2006
    nope, that didnt solve my prob..

    i think i don't got the include files NetDebug etc..
    i'm using flash 8.. what are you using?
    July 11, 2006
    Assuming that FMS is installed on the machine where the .swf is located, try this as your rtmp string:

    client_nc.connect("rtmp:/localhost:1935/tutorial_sharedball/room_01");

    You need to identify the host as well as the application
    UnknownerAuthor
    Participating Frequently
    July 11, 2006
    though the tutorial_sharedball.swf isnt in the same directory as the FMS directory.. it's on my desktop. i have put it in the main FMS install dir.. but even then, it doenst work..

    i get this error:

    **Error** Scene=Scene 1, layer=Actions, frame=1:Line 1: Error opening include file NetDebug.as: File not found.
    #include "NetDebug.as"

    Total ActionScript Errors: 1 Reported Errors: 1

    UnknownerAuthor
    Participating Frequently
    July 11, 2006
    yeah, i've in the application directory a dir called tutorial_sharedball (inside this there is the file main.asc), and then i go to the console, there i start the new instance with the definst of room_01. Then i start the tutorial_sharedball.swf but that doesnt seems to be connected.. and this is the connect line:
    client_nc.connect("rtmp:/tutorial_sharedball/room_01");
    July 11, 2006
    Did you add the app directory and main.asc to the FMS install dir/applications directory?