To run this application you need:
- Flash MX 2004 or above
- An HTTP server supporting PHP
- MySQL database
- amfphp library
- Flashcom or Media Server
- Remoting components
If you don't have a server; you can download Apache, PHP and MySQL each from
his own site, but there are easy to install distributions with all-in-one you
can use, in example XAMPP
The amfphp library doesn't need a special
install, just to be upload to the server and be accessible by the application.
For further details, check the Hello
World tutorial
You can get a free Media Server for development only from Macromedia
site
You can get the Remoting components also on Macromedia
site
The flow of this application could be resumed like this:
- Login or register
- Create a room for you and a registered guest (you can register a guest), both will emailed with details.
- Join the room (at proper time)
Limitations:
- A user can create only one room per day
- If some user didn't use an asked room for three times, will lost his rights
to create rooms
- There couldn't be two users with the same username or email
- Rooms max time is one hour and they close automatically when finish time arrives
The UTC time is that on the server, so the initial screen let you know the server UTC time, yours UTC time (should be around the same) and your local offset. Always the server UTC time will be used for rooms tickets. The big clock on background runs in your local time. There are further things to to prevent abuse (email confirm or more grained rights based on user) but this is easy to add and is up to you to improve security.
IMPORTANT: Note that base.php should be used to host the swf, since it pass the server UTC time trough flashvars. If you move this application to another page, be sure you add the flashvars output of base.php
Quick install
1. Unzip all the files in a folder under your root webfolder
2. Modify host, user and pass in inc_sql.php inside services folder to match
those of your database
3. Run setup.php to create the database and the test user
4. Check that the path to your remoting library is ok in gateway.php file (default
../amfphp/amf-core/app/Gateway.php)
5. Edit Flashcom/main.asc and modify the setDefaultGatewayUrl (line 7) to the
path to your gateway.php
6. Create a folder named videoroom in your FlashCom or Media Server application
folder and move main.asc there
7 . Modify if needed the path to gateway.php, remotingUri variable (http://localhost/amfphp/gateway.php
by default) and the Flashcom app, flashcomUri variable (rtmp:/videoroom by default)
to match your own in application.as
8 . Use base.php to see the movie, that's because base.php pass the server UTC
time to the movie as flashvars. If not UTC server tima is passed, client UTC
time will be used
Note1: .If you will move gateway.php to another place, change
the parameter of remotingProvider object in application constructor (com/flashdb/videoroom/application.as)
Note2: If you want to rename the Flashcom or Media Server,
change the uri inside initStreams method of com/flashdb/videoroom/application.as

5 most recent
Flash streaming servers
Tree menu
Flash Spell Checker
Flash Remoting Library
MX 2004 Chart/Poll
Applications