Question
Architecture of basic app with no components
I'm coming from an extensive background in AS1.0 and 2.0, and
some level of 3.0. I consider myself fluent inI'm coming from an
extensive background in AS1.0 and 2.0, and some level of 3.0.
However, I'm having a surprisingly hard time understanding how a
basic flashcom app works. It seems most of the information I've
found relies on the use of components, which I want to avoid as
much as possible. If someone could point in the right direction, or
give me the basic architecture, that would be wonderful.
Some slightly more specific questions:
- Do remote SharedObject writes get broadcasted to all connections?
- What is the role of server-side ActionScript? It seems to me that after accepting/rejecting the connection almost everything could be scripted client-side, with writing/reading to various remote SharedObjects. However it looks like all the components have extensive server-side AS.
To give a practical example, how would I construct a very basic chat? I know everything about how to create a Flash interface to do this, and in fact have worked on messaging apps where I was sending information via LoadVars to a database, and the database gurus were handling the rest. But how would I connect users, and have their messages broadcast and read by all other connected users?
Thanks for any tips, I know this is a painfully broad question, but I'm just having a hard to getting kick started as I sift through the mosterous pile of component code...
Some slightly more specific questions:
- Do remote SharedObject writes get broadcasted to all connections?
- What is the role of server-side ActionScript? It seems to me that after accepting/rejecting the connection almost everything could be scripted client-side, with writing/reading to various remote SharedObjects. However it looks like all the components have extensive server-side AS.
To give a practical example, how would I construct a very basic chat? I know everything about how to create a Flash interface to do this, and in fact have worked on messaging apps where I was sending information via LoadVars to a database, and the database gurus were handling the rest. But how would I connect users, and have their messages broadcast and read by all other connected users?
Thanks for any tips, I know this is a painfully broad question, but I'm just having a hard to getting kick started as I sift through the mosterous pile of component code...
