PDA

View Full Version : Understanding how FMS works


Alt-Ox
06-13-2009, 03:00 AM
hello guys
I've installed FMS but I've not being so lucky.

just tested the samples I got from default installation, for example the "sharedball".

since it has no .asc file I copied nothing to FMS/application, just compiled the .fla file (it came with .fla and .as files).

ok, it generated both .html and .swf files
copied them to my apache server (same machine from FMS) under "sharedball" folder

when I access http://my_server/sharedball/sharedball.html I can see the "application", but if I open this sharedball.html on another browser instance, I can see they are not being shared, I mean, it's like a simple application not shared.

am I doing that correctly?
just read those .pdf under documentation, I guess it's right.. but it simple doesn't work.

Can anyone help me on that?

mr-webcam
06-13-2009, 09:53 PM
it dosent need server side files, the shared ball is an example of shared objects and all the code is contained in the action script within the fla /swf
It will help if you tell us first what version of fms you are using, second if your OS is windows or linux. Permissions is one of things many people forget to check :)
Are other applications working ? did you create a folder within your FMS/applications? this folder can have any name but you must edit the connection string within you actionscript and make sure it is the same like this
rtmp://server-ip-address/sharedball
recompile your fla, if you made a new folder restart FMS and try connecting again.

Alt-Ox
06-14-2009, 12:17 AM
tks mr-webcam

I'm using windows on the server, with FMS 3.5

regarding the SharedBall sample, I created a "SharedBall" folder under 'applications' .. and the netconnection is appointing to rtmp:/SharedBall/

When I compile the swf (by hitting ctrl + enter) it seems to work, I got the output traces stating I'm connected successfully. Also I can see the sharedobject into FMS Console.

but then, I copied those files published (sharedball.html & sharedball.swf) into my webserver (apache running on windows)

So I have: apache\webroot\sharedball\index.html & sharedball.swf
obs: just renamed the sharedball.html to index to make it simple to check

when I access the http://my_server/sharedball/ I got the application ... just that red ball ..
but if I open another web browser, they do not seem to be the same application, they do not interact each other (but they should, right?)

thanks

bowljoman
06-14-2009, 04:16 PM
'rtmp:/SharedBall/'

Is not a valid rtmp connection string.

you need full path

'rtmp://ip-or-domain-name/sharedball'