PDA

View Full Version : Experimental stuff


zerooito
03-07-2003, 12:48 PM
Hi, folks!

Im programming AS for years,
but Im very new to comm server apps...

Im trying to build an experimental room class,
with students and a teacher (in a graphic interface)
just to learn how this shared objects stuff works.

But Im finding hard to understand the interactions
between the classes and sub-classes of server files
and client side MCs...

Anybody can light my way, please?

Any help would be apreciated.

Thanx in advance.

Zerooito

zerooito
03-11-2003, 03:04 AM
Looks like this part of the forum isn't too populated, huh?

Did I find petrol in the desert? (hehehe)

Well...

I've browsed macromedia articles,
and there's not such good tutorials
for beginners, like me, that want to
build real applications,
instead of just cut and paste code...

But... I guess there's one very nice article
that helps me a lot.

If anybody is stuck then look at this:

http://www.macromedia.com/devnet/mx/flashcom/articles/connections.html

Thanx, Kristopher Schultz,
I own you this one!!

Zerooito

baigorri
03-11-2003, 12:42 PM
that was a good article

basicaly how i've been doing it is

I create a client side netConnection

client_nc = new netConnection();

handle the status

client_nc.onStatus = function(){

}

connect it

client_nc.connect("rtmp/folder", a_username);

create a serverside object for the user and when I need to call a function on the client from the server I use

Client.prototype.myFunction = function(){
client_nc.call("functionOnClient", null, var1, var2)
}

i probably missed something im doing it off the top of my head but thats the basics of it.

Chris

zerooito
03-11-2003, 07:17 PM
Thanx, folk!

Im almost getting mad about this thing...

Its hard to get such a technology without
any good documentation.

The macromedias user guide for comm server sucks!

Im cooking my brain.

If you know any good tutorial for beginners,
Ill apreciate.

Thanx again!

Zerooito