├── .gitignore
├── BallControl.fla
├── DevNotes_NetConnection.fla
├── FITCHollywoodPresentation.fla
├── FITCPresentation.fla
├── LICENSE
├── MessageRecorder.fla
├── README.md
├── RemotingDataMTASC.bat
├── RemotingTest.fla
├── SimpleChat.fla
├── admin
├── .actionScriptProperties
├── .flexProperties
├── .project
├── Readme.txt
├── assets
│ ├── css
│ │ └── main.css
│ ├── icons
│ │ ├── r5-128.png
│ │ ├── r5-16.png
│ │ ├── r5-32.png
│ │ └── r5-48.png
│ └── images
│ │ ├── FinalLogo.png
│ │ ├── application.png
│ │ ├── application_delete.png
│ │ ├── application_go.png
│ │ ├── arrow_switch.png
│ │ ├── resultset_next.png
│ │ ├── server.png
│ │ ├── user.png
│ │ └── user_delete.png
├── build.properties
├── build.xml
└── src
│ ├── Red5Admin.mxml
│ ├── Red5AdminAIR-app.xml
│ └── Red5AdminAIR.mxml
├── authdemo
├── .actionScriptProperties
├── .flexProperties
├── .project
├── libs
│ └── as3crypto.swc
└── src
│ └── authdemo.mxml
├── bwcheck
├── .actionScriptProperties
├── .flexProperties
├── .project
├── Readme.txt
├── build.properties
├── build.xml
└── src
│ ├── bwcheck.mxml
│ └── org
│ └── red5
│ └── flash
│ └── bwcheck
│ ├── BandwidthDetection.as
│ ├── ClientServerBandwidth.as
│ ├── ServerClientBandwidth.as
│ ├── app
│ └── BandwidthDetectionApp.as
│ └── events
│ └── BandwidthDetectEvent.as
├── bwcheckNative
├── .actionScriptProperties
├── .flexProperties
├── .project
├── Readme.txt
├── build.properties
├── build.xml
└── src
│ ├── bwcheck.mxml
│ └── org
│ └── red5
│ └── flash
│ └── bwcheck
│ ├── BandwidthDetection.as
│ ├── ClientServerBandwidth.as
│ ├── ServerClientBandwidth.as
│ ├── app
│ └── BandwidthDetectionApp.as
│ └── events
│ └── BandwidthDetectEvent.as
├── classes
├── com
│ ├── acmewebworks
│ │ ├── controls
│ │ │ └── BaseClip.as
│ │ └── utils
│ │ │ └── CoordinateTools.as
│ ├── blitzagency
│ │ ├── controls
│ │ │ └── GraphicButton.as
│ │ ├── data
│ │ │ ├── ContentFarm.as
│ │ │ └── DecodeHTML.as
│ │ ├── events
│ │ │ ├── EventBroadcaster.as
│ │ │ ├── IBroadcastable.as
│ │ │ └── IStaticBroadcastable.as
│ │ ├── util
│ │ │ ├── ClipTransitionManager.as
│ │ │ ├── ConfirmationDialog.as
│ │ │ ├── LSOUserPreferences.as
│ │ │ └── SimpleDialog.as
│ │ └── xray
│ │ │ ├── logger
│ │ │ ├── ClassLoader.as
│ │ │ ├── Debug.as
│ │ │ ├── Log.as
│ │ │ ├── LogManager.as
│ │ │ ├── Logger.as
│ │ │ ├── XrayLog.as
│ │ │ └── XrayLogger.as
│ │ │ └── util
│ │ │ ├── MtascUtility.as
│ │ │ ├── XrayConnect.as
│ │ │ └── XrayLoader.as
│ ├── dynamicflash
│ │ └── utils
│ │ │ └── Delegate.as
│ ├── gskinner
│ │ ├── events
│ │ │ └── GDispatcher.as
│ │ ├── geom
│ │ │ └── ColorMatrix.as
│ │ └── transitions
│ │ │ └── MultiTween.as
│ ├── mosesSupposes
│ │ └── fuse
│ │ │ ├── Fuse-Kit-License.html
│ │ │ ├── Fuse.as
│ │ │ ├── FuseFMP.as
│ │ │ ├── FuseItem.as
│ │ │ ├── FuseKitCommon.as
│ │ │ ├── PennerEasing.as
│ │ │ ├── Shortcuts.as
│ │ │ ├── ZManager.as
│ │ │ └── ZigoEngine.as
│ └── neoarchaic
│ │ └── ui
│ │ └── Tooltip.as
└── org
│ ├── osflash
│ └── data
│ │ └── XMLObject.as
│ └── red5
│ ├── admin
│ ├── connector
│ │ ├── Red5Connector.as
│ │ └── event
│ │ │ └── Red5Event.as
│ ├── panels
│ │ ├── AdminPanel.mxml
│ │ └── Login.mxml
│ └── utils
│ │ └── SharedObjectHandler.as
│ ├── controls
│ └── GraphicButton.as
│ ├── data
│ ├── RemotingTest.as
│ └── RemotingTestData.as
│ ├── fitc
│ └── presentation
│ │ ├── ConfigDelegate.as
│ │ ├── DemoSection.as
│ │ ├── Main.as
│ │ ├── Section.as
│ │ ├── SectionAPI.as
│ │ └── SpeakerBroadcaster.as
│ ├── net
│ ├── Connection.as
│ └── Stream.as
│ ├── samples
│ ├── echo
│ │ ├── commands
│ │ │ ├── ConnectCommand.as
│ │ │ ├── DisconnectCommand.as
│ │ │ ├── PrintTextCommand.as
│ │ │ ├── RunTestCommand.as
│ │ │ ├── SetupConnectionCommand.as
│ │ │ └── StartTestsCommand.as
│ │ ├── controller
│ │ │ └── EchoController.as
│ │ ├── events
│ │ │ ├── ConnectEvent.as
│ │ │ ├── DisconnectEvent.as
│ │ │ ├── EchoTestEvent.as
│ │ │ ├── PrintTextEvent.as
│ │ │ ├── RunTestEvent.as
│ │ │ ├── SetupConnectionEvent.as
│ │ │ ├── StartTestsEvent.as
│ │ │ └── TestSelectEvent.as
│ │ ├── model
│ │ │ ├── EchoTest.as
│ │ │ ├── EchoTestData.as
│ │ │ ├── ModelLocator.as
│ │ │ └── tests
│ │ │ │ ├── ArrayCollectionTest.as
│ │ │ │ ├── ArrayTest.as
│ │ │ │ ├── BaseTest.as
│ │ │ │ ├── BooleanTest.as
│ │ │ │ ├── ByteArrayTest.as
│ │ │ │ ├── CustomClassTest.as
│ │ │ │ ├── DateTest.as
│ │ │ │ ├── ExternalizableTest.as
│ │ │ │ ├── NullTest.as
│ │ │ │ ├── NumberTest.as
│ │ │ │ ├── ObjectProxyTest.as
│ │ │ │ ├── ObjectTest.as
│ │ │ │ ├── RemoteClassTest.as
│ │ │ │ ├── StringTest.as
│ │ │ │ ├── UndefinedTest.as
│ │ │ │ ├── UnsupportedTest.as
│ │ │ │ ├── XMLDocumentTest.as
│ │ │ │ └── XMLTest.as
│ │ ├── view
│ │ │ ├── CredentialsView.mxml
│ │ │ ├── Main.as
│ │ │ ├── MainView.mxml
│ │ │ ├── ServiceConfigView.mxml
│ │ │ └── TestSelectionView.mxml
│ │ └── vo
│ │ │ ├── EchoClass.as
│ │ │ ├── EchoTestResult.as
│ │ │ ├── ExternalizableClass.as
│ │ │ ├── RemoteClass.as
│ │ │ ├── TestSelection.as
│ │ │ └── User.as
│ ├── games
│ │ └── othello
│ │ │ ├── GameBoard.as
│ │ │ ├── GameManager.as
│ │ │ ├── GamePiece.as
│ │ │ ├── GamePieceCenter.as
│ │ │ ├── Main.as
│ │ │ └── MultiPlayerManager.as
│ ├── livestream
│ │ ├── broadcaster
│ │ │ └── Main.as
│ │ ├── recorder
│ │ │ └── Main.as
│ │ ├── subscriber
│ │ │ └── Main.as
│ │ └── videoconference
│ │ │ ├── Broadcaster.as
│ │ │ ├── Chat.as
│ │ │ ├── Connection.as
│ │ │ ├── ConnectionLight.as
│ │ │ ├── Connector.as
│ │ │ ├── GlobalObject.as
│ │ │ ├── Subscriber.as
│ │ │ ├── TextFilter.as
│ │ │ ├── VideoConference.as
│ │ │ └── VideoPool.as
│ ├── messagerecorder
│ │ ├── Main.as
│ │ ├── Recorder.as
│ │ └── ThankYou.as
│ ├── pausetester
│ │ └── Main.as
│ ├── porttester
│ │ ├── Main.as
│ │ └── PortTest.as
│ ├── publisher
│ │ ├── business
│ │ │ ├── NetConnectionDelegate.as
│ │ │ ├── NetStreamDelegate.as
│ │ │ └── Services.mxml
│ │ ├── command
│ │ │ ├── ChangeMonitorViewCommand.as
│ │ │ ├── ChangePresetCommand.as
│ │ │ ├── ChangeSettingsViewCommand.as
│ │ │ ├── CloseConnectionCommand.as
│ │ │ ├── CloseFullScreenCommand.as
│ │ │ ├── CreatePresetCommand.as
│ │ │ ├── EnableAudioCommand.as
│ │ │ ├── EnableVideoCommand.as
│ │ │ ├── OpenDocsCommand.as
│ │ │ ├── PauseStreamCommand.as
│ │ │ ├── PlayStreamCommand.as
│ │ │ ├── PublishStreamCommand.as
│ │ │ ├── RemovePresetsCommand.as
│ │ │ ├── ResumeStreamCommand.as
│ │ │ ├── SavePresetCommand.as
│ │ │ ├── SetupConnectionCommand.as
│ │ │ ├── SetupDevicesCommand.as
│ │ │ ├── SetupStreamsCommand.as
│ │ │ ├── StartCameraCommand.as
│ │ │ ├── StartConnectionCommand.as
│ │ │ ├── StartFullScreenCommand.as
│ │ │ ├── StartMicrophoneCommand.as
│ │ │ ├── StopCameraCommand.as
│ │ │ ├── StopMicrophoneCommand.as
│ │ │ ├── StopStreamCommand.as
│ │ │ └── UnpublishStreamCommand.as
│ │ ├── control
│ │ │ └── DashboardController.as
│ │ ├── events
│ │ │ ├── ChangeMonitorViewEvent.as
│ │ │ ├── ChangePresetEvent.as
│ │ │ ├── ChangeSettingsViewEvent.as
│ │ │ ├── CloseConnectionEvent.as
│ │ │ ├── CloseFullScreenEvent.as
│ │ │ ├── CreatePresetEvent.as
│ │ │ ├── EnableAudioEvent.as
│ │ │ ├── EnableVideoEvent.as
│ │ │ ├── OpenDocsEvent.as
│ │ │ ├── PauseStreamEvent.as
│ │ │ ├── PlayStreamEvent.as
│ │ │ ├── PublishStreamEvent.as
│ │ │ ├── RemovePresetsEvent.as
│ │ │ ├── ResumeStreamEvent.as
│ │ │ ├── SavePresetEvent.as
│ │ │ ├── SetupConnectionEvent.as
│ │ │ ├── SetupDevicesEvent.as
│ │ │ ├── SetupStreamsEvent.as
│ │ │ ├── StartCameraEvent.as
│ │ │ ├── StartConnectionEvent.as
│ │ │ ├── StartFullScreenEvent.as
│ │ │ ├── StartMicrophoneEvent.as
│ │ │ ├── StopCameraEvent.as
│ │ │ ├── StopMicrophoneEvent.as
│ │ │ ├── StopStreamEvent.as
│ │ │ └── UnpublishStreamEvent.as
│ │ ├── model
│ │ │ ├── Logger.as
│ │ │ ├── Main.as
│ │ │ ├── Media.as
│ │ │ ├── ModelLocator.as
│ │ │ └── Navigation.as
│ │ ├── view
│ │ │ ├── LogPod.mxml
│ │ │ ├── LogPodClass.as
│ │ │ ├── MonitorPod.mxml
│ │ │ ├── MonitorPodClass.as
│ │ │ ├── Publisher.mxml
│ │ │ ├── PublisherClass.as
│ │ │ ├── general
│ │ │ │ ├── Images.as
│ │ │ │ ├── SaveConnection.mxml
│ │ │ │ └── SaveConnectionClass.as
│ │ │ ├── images
│ │ │ │ ├── control_play.png
│ │ │ │ ├── control_stop.png
│ │ │ │ ├── error.png
│ │ │ │ ├── famfamfam.txt
│ │ │ │ ├── fms.gif
│ │ │ │ ├── monitor.png
│ │ │ │ ├── red5.png
│ │ │ │ ├── report.png
│ │ │ │ ├── server.png
│ │ │ │ ├── server_add.png
│ │ │ │ ├── server_connect.png
│ │ │ │ ├── server_error.png
│ │ │ │ ├── server_go.png
│ │ │ │ ├── server_key.png
│ │ │ │ ├── server_lightning.png
│ │ │ │ ├── server_link.png
│ │ │ │ ├── sound.png
│ │ │ │ ├── sound_add.png
│ │ │ │ ├── sound_delete.png
│ │ │ │ ├── webcam.png
│ │ │ │ ├── webcam_add.png
│ │ │ │ └── webcam_delete.png
│ │ │ ├── log
│ │ │ │ ├── LogAppBar.mxml
│ │ │ │ ├── LogAppBarClass.as
│ │ │ │ ├── LogControlBar.mxml
│ │ │ │ ├── LogControlBarClass.as
│ │ │ │ ├── LogDisplay.mxml
│ │ │ │ └── LogDisplayClass.as
│ │ │ ├── monitor
│ │ │ │ ├── MonitorAppBar.mxml
│ │ │ │ ├── MonitorAppBarClass.as
│ │ │ │ ├── MonitorControlBar.mxml
│ │ │ │ ├── MonitorControlBarClass.as
│ │ │ │ ├── MonitorDisplay.mxml
│ │ │ │ └── MonitorDisplayClass.as
│ │ │ └── settings
│ │ │ │ ├── SettingsAppBar.mxml
│ │ │ │ ├── SettingsAppBarClass.as
│ │ │ │ ├── SettingsDisplay.mxml
│ │ │ │ ├── SettingsDisplayClass.as
│ │ │ │ ├── SettingsStatusBar.mxml
│ │ │ │ ├── SettingsStatusBarClass.as
│ │ │ │ ├── StatusBar.mxml
│ │ │ │ └── StatusBarClass.as
│ │ └── vo
│ │ │ ├── ServerPreset.as
│ │ │ └── settings
│ │ │ ├── AudioSettings.as
│ │ │ ├── GeneralSettings.as
│ │ │ └── VideoSettings.as
│ ├── simplechat
│ │ ├── BasicChat.as
│ │ └── Main.as
│ └── soball
│ │ ├── BallControl.as
│ │ └── Main.as
│ ├── ui
│ ├── ConnectionLight.as
│ ├── VideoContainer.as
│ └── controls
│ │ ├── Help.as
│ │ └── IconButton.as
│ └── utils
│ ├── Connector.as
│ ├── Debug.as
│ ├── Delegate.as
│ ├── GlobalObject.as
│ ├── GridManager.as
│ ├── PNGEnc.as
│ └── SharedObjectHandler.as
├── deploy
├── BallControl.html
├── BallControl.swf
├── DevNotes_NetConnection.swf
├── FITCPresentation.swf
├── FITCSpeakerBroadcaster.swf
├── MessageRecorder.swf
├── RemotingTest.swf
├── SimpleChat.html
├── SimpleChat.swf
├── adminPanel.air
├── adminPanel.html
├── adminPanel.swf
├── assets
│ ├── expressInstall.swf
│ └── swfobject.js
├── bwcheck.html
├── bwcheck.swf
├── echo_test.html
├── echo_test.swf
├── index.html
├── ofla_demo.html
├── ofla_demo.swf
├── othello.swf
├── publisher.html
├── publisher.swf
├── simpleBroadcaster.html
├── simpleBroadcaster.swf
├── simpleRecorder.html
├── simpleRecorder.swf
├── simpleSubscriber.html
├── simpleSubscriber.swf
├── videoConference.html
├── videoConference.swf
├── videoConference_Flash7.swf
├── xray.swf
├── xrayConnector_1.6.1.swf
└── xrayconnector.swf
├── echo
├── .actionScriptProperties
├── .as3_classpath
├── .flexProperties
├── .project
├── Readme.txt
├── build.properties
├── build.xml
├── famfam.txt
└── src
│ ├── assets
│ ├── main.css
│ ├── test_active.png
│ ├── test_complete.png
│ ├── test_error.png
│ ├── test_failed.png
│ ├── test_init.png
│ └── test_timeout.png
│ └── echo_test.mxml
├── flex.properties
├── installer
├── .actionScriptProperties
├── .flexProperties
├── .project
├── Readme.txt
├── build.properties
├── build.xml
└── src
│ ├── Item.as
│ ├── ProgressWindow.mxml
│ ├── assets
│ └── red5_logo.png
│ ├── functions.as
│ └── installer.mxml
├── lib
├── Cairngorm.swc
└── cairngorm_license.txt
├── loadtest
├── .actionScriptProperties
├── .flexProperties
├── .project
├── Readme.txt
├── build.properties
├── build.xml
├── flex.properties
└── src
│ ├── SOUser.as
│ ├── Viewer.as
│ ├── functions.as
│ └── loadtest.mxml
├── miniplayer
├── .actionScriptProperties
├── .flexProperties
├── .project
├── html-template
│ ├── index.template.html
│ └── swfobject.js
└── src
│ └── miniplayer.mxml
├── ofla_demo.fla
├── pause-tester
├── .actionScriptProperties
├── .flexProperties
├── .project
├── Readme.txt
└── pause_tester.mxml
├── player4
├── .actionScriptProperties
├── .as3_classpath
├── .flexProperties
├── .project
├── Readme.txt
├── build.properties
├── build.xml
├── libs
│ └── as3crypto.swc
└── src
│ ├── Main.as
│ ├── functions.as
│ └── player4.mxml
├── port-tester
├── .actionScriptProperties
├── .flexProperties
├── .project
├── Readme.txt
├── build.properties
├── build.xml
└── port_tester.mxml
├── publisher
├── .actionScriptProperties
├── .flexProperties
├── .project
├── Readme.txt
├── build.properties
├── build.xml
└── main.mxml
├── red5_tester.fla
├── samples
├── SimpleBallDemo.fla
├── SimpleBroadcaster.fla
├── SimpleChat.fla
├── SimpleChatUsingSoSend.fla
├── SimpleRecorder.fla
├── SimpleStreamPlayer.fla
└── SimpleSubscriber.fla
├── selftest
├── .actionScriptProperties
├── .flexProperties
├── .project
├── LICENSE.txt
├── README.txt
├── build.xml
├── lib
│ └── ivy-2.0.0-beta2.jar
├── mk
│ ├── Linux.properties
│ ├── Mac OS X.properties
│ ├── Windows Vista.properties
│ ├── build.properties
│ ├── flex.properties
│ ├── ivy.xml
│ └── ivysettings.xml
├── share
│ └── build.xml
├── src
│ └── net
│ │ └── theyard
│ │ └── components
│ │ └── test
│ │ └── YardTestCase.as
└── test
│ └── src
│ ├── AllTests.as
│ ├── AsUnitTestRunner.mxml
│ ├── net
│ ├── AllTests.as
│ └── theyard
│ │ ├── AllTests.as
│ │ └── components
│ │ ├── AllTests.as
│ │ ├── netconnectionsm
│ │ ├── AllTests.as
│ │ └── NetConnectionStateMachineTest.as
│ │ ├── netstreamsm
│ │ ├── AllTests.as
│ │ ├── NetStreamPlaybackRecordedFileTest.as
│ │ ├── NetStreamPublishLiveAndPlaybackTest.as
│ │ └── NetStreamRecordFileFromCameraTest.as
│ │ └── test
│ │ ├── AllTests.as
│ │ ├── DefaultFixtures.as
│ │ └── YardTestCaseTest.as
│ └── org
│ ├── AllTests.as
│ └── red5
│ ├── AllTests.as
│ └── server
│ ├── AllTests.as
│ └── io
│ ├── AllTests.as
│ ├── CustomObject.as
│ ├── EchoArrayTest.as
│ ├── EchoExternalizableObjectTest.as
│ ├── EchoObjectTest.as
│ ├── EchoStringTest.as
│ ├── EchoXMLTest.as
│ └── ExternalizableClass.as
├── simpleBroadcaster.fla
├── simpleRecorder.fla
├── simpleSubscriber.fla
├── videoConference.fla
└── videoConference_Flash7.fla
/.gitignore:
--------------------------------------------------------------------------------
1 | # Build and Release Folders
2 | bin/
3 | bin-debug/
4 | bin-release/
5 |
6 | # Other files and folders
7 | .settings/
8 |
9 | # Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties`
10 | # should NOT be excluded as they contain compiler settings and other important
11 | # information for Eclipse / Flash Builder.
12 |
--------------------------------------------------------------------------------
/BallControl.fla:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/BallControl.fla
--------------------------------------------------------------------------------
/DevNotes_NetConnection.fla:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/DevNotes_NetConnection.fla
--------------------------------------------------------------------------------
/FITCHollywoodPresentation.fla:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/FITCHollywoodPresentation.fla
--------------------------------------------------------------------------------
/FITCPresentation.fla:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/FITCPresentation.fla
--------------------------------------------------------------------------------
/MessageRecorder.fla:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/MessageRecorder.fla
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # red5-flash
2 | Flash components
3 |
--------------------------------------------------------------------------------
/RemotingDataMTASC.bat:
--------------------------------------------------------------------------------
1 | "C:/mtasc/mtasc.exe" -swf "C:/Documents and Settings/John/My Documents/Acmewebworks/OS Projects/RED5/SVN/flash/trunk/deploy/RemotingTest.swf" -mx -cp "C:/Documents and Settings/John/Local Settings/Application Data/Macromedia/Flash 8/en/Configuration/Classes" -cp "C:/Documents and Settings/John/My Documents/Blitz/Microsoft/MSVL/svn/DEV_Source/classes" -cp "C:/Documents and Settings/John/My Documents/Acmewebworks/OS Projects/RED5/SVN/flash/trunk/classes" "C:/Documents and Settings/John/My Documents/Acmewebworks/OS Projects/RED5/SVN/flash/trunk/classes/org/red5/data/RemotingTest.as" "C:/Documents and Settings/John/My Documents/Acmewebworks/OS Projects/RED5/SVN/flash/trunk/classes/org/red5/data/RemotingTestData.as" -trace Xray.trace -version 8
--------------------------------------------------------------------------------
/RemotingTest.fla:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/RemotingTest.fla
--------------------------------------------------------------------------------
/SimpleChat.fla:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/SimpleChat.fla
--------------------------------------------------------------------------------
/admin/.actionScriptProperties:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/admin/.flexProperties:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/admin/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | Red5 Admin
4 |
5 |
6 |
7 |
8 |
9 | com.adobe.flexbuilder.project.apollobuilder
10 |
11 |
12 |
13 |
14 | com.adobe.flexbuilder.project.flexbuilder
15 |
16 |
17 |
18 |
19 | com.adobe.flexbuilder.apollo.apollobuilder
20 |
21 |
22 |
23 |
24 |
25 | com.adobe.flexbuilder.project.apollonature
26 | com.adobe.flexbuilder.apollo.apollonature
27 | com.adobe.flexbuilder.project.flexnature
28 | com.adobe.flexbuilder.project.actionscriptnature
29 |
30 |
31 |
--------------------------------------------------------------------------------
/admin/Readme.txt:
--------------------------------------------------------------------------------
1 | Howto Build
2 | ===========
3 |
4 | Using Flex Builder/Eclipse:
5 |
6 | 1. Checkout this folder using Subclipse
7 | 2. Go to Project > Properties > Flex Build Path and change the
8 | additional source folder path (currently defined as
9 | '/path/to/classes/folder') and point it to a checked out copy
10 | of this folder: http://red5.googlecode.com/svn/flash/trunk/classes
11 |
12 | Using Ant:
13 |
14 | 1. Make sure you have a copy of this file in the folder below this one:
15 | http://red5.googlecode.com/svn/flash/trunk/flex.properties
16 | 2. Modify flex.properties and point it to your Flex SDK (2 or newer)
17 | 3. Type 'ant' to build the application
18 |
--------------------------------------------------------------------------------
/admin/assets/css/main.css:
--------------------------------------------------------------------------------
1 | /* adminPanel CSS file */
2 |
3 | .adminPanel {
4 | Logo : Embed(source="../images/FinalLogo.png");
5 | Application : Embed(source="../images/application.png");
6 | ApplicationGo : Embed(source="../images/application_go.png");
7 | User : Embed(source="../images/user.png");
8 | UserDelete : Embed(source="../images/user_delete.png");
9 | }
10 |
11 | Application {
12 | background-color : #eeeeee;
13 | background-alpha : 1;
14 | }
15 |
16 | .flowStack {
17 | border-style : solid;
18 | border-color : #cccccc;
19 | border-alpha : 1;
20 | border-thickness : 1;
21 | corner-radius : 5;
22 | background-color : #eeeeee;
23 | }
--------------------------------------------------------------------------------
/admin/assets/icons/r5-128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/icons/r5-128.png
--------------------------------------------------------------------------------
/admin/assets/icons/r5-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/icons/r5-16.png
--------------------------------------------------------------------------------
/admin/assets/icons/r5-32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/icons/r5-32.png
--------------------------------------------------------------------------------
/admin/assets/icons/r5-48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/icons/r5-48.png
--------------------------------------------------------------------------------
/admin/assets/images/FinalLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/FinalLogo.png
--------------------------------------------------------------------------------
/admin/assets/images/application.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/application.png
--------------------------------------------------------------------------------
/admin/assets/images/application_delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/application_delete.png
--------------------------------------------------------------------------------
/admin/assets/images/application_go.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/application_go.png
--------------------------------------------------------------------------------
/admin/assets/images/arrow_switch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/arrow_switch.png
--------------------------------------------------------------------------------
/admin/assets/images/resultset_next.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/resultset_next.png
--------------------------------------------------------------------------------
/admin/assets/images/server.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/server.png
--------------------------------------------------------------------------------
/admin/assets/images/user.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/user.png
--------------------------------------------------------------------------------
/admin/assets/images/user_delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/user_delete.png
--------------------------------------------------------------------------------
/admin/build.properties:
--------------------------------------------------------------------------------
1 | # SWF output filename.
2 | output.swf.name = adminPanel
3 | air.swf.name = Red5Admin
4 |
5 | # Default HTML page title.
6 | swf.release.title = Red5 Admin
7 |
8 | # Debug HTML page title.
9 | swf.debug.title = ${swf.release.title} (debug version)
10 |
11 | # Main MXML file.
12 | main.application = src/Red5Admin.mxml
13 | air.application = src/Red5AdminAIR.mxml
14 | air.descriptor = src/Red5AdminAIR-app.xml
15 | air.release = bin/release/Red5Admin.air
16 |
17 | air.cert.cname = osflash.org
18 | air.cert.ounit = Red5
19 | air.cert.oname = OSFlash
20 | air.cert.country = US
21 | air.cert.key_type = 2048-RSA
22 | air.cert.file = Red5Air.pfx
23 | air.cert.password = red5
24 |
25 | # Class-folders you want to search for classes to be included in the docs,
26 | # seperated by spaces (for example ../com/ ../net/ ).
27 | # To include every .as and .mxml file within your project, just state ../
28 | asdoc.domainextensions = ${src.dir}/org/red5/admin
--------------------------------------------------------------------------------
/admin/src/Red5Admin.mxml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/admin/src/Red5AdminAIR.mxml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/authdemo/.actionScriptProperties:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/authdemo/.flexProperties:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/authdemo/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | authdemo
4 |
5 |
6 |
7 |
8 |
9 | com.adobe.flexbuilder.project.flexbuilder
10 |
11 |
12 |
13 |
14 |
15 | com.adobe.flexbuilder.project.flexnature
16 | com.adobe.flexbuilder.project.actionscriptnature
17 |
18 |
19 |
--------------------------------------------------------------------------------
/authdemo/libs/as3crypto.swc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/authdemo/libs/as3crypto.swc
--------------------------------------------------------------------------------
/bwcheck/.actionScriptProperties:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/bwcheck/.flexProperties:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/bwcheck/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | bwcheck
4 |
5 |
6 |
7 |
8 |
9 | com.adobe.flexbuilder.project.flexbuilder
10 |
11 |
12 |
13 |
14 |
15 | com.adobe.flexbuilder.project.flexnature
16 | com.adobe.flexbuilder.project.actionscriptnature
17 |
18 |
19 |
--------------------------------------------------------------------------------
/bwcheck/Readme.txt:
--------------------------------------------------------------------------------
1 | Howto Build
2 | ===========
3 |
4 | Using Ant:
5 |
6 | 1. Make sure you have a copy of this file in the folder below this one:
7 | http://red5.googlecode.com/svn/flash/trunk/flex.properties
8 | 2. Modify flex.properties and point it to your Flex SDK (2 or newer)
9 | 3. Type 'ant' to build the application
--------------------------------------------------------------------------------
/bwcheck/build.properties:
--------------------------------------------------------------------------------
1 | # SWF output filename.
2 | output.swf.name = bwcheck
3 |
4 | # Default HTML page title.
5 | swf.release.title = Bandwidth Checker
6 |
7 | # Debug HTML page title.
8 | swf.debug.title = ${swf.release.title} (debug version)
9 |
10 | # Main MXML file.
11 | main.application = src/bwcheck.mxml
12 |
13 | # Class-folders you want to search for classes to be included in the docs,
14 | # seperated by spaces (for example ../com/ ../net/ ).
15 | # To include every .as and .mxml file within your project, just state ../
16 | asdoc.domainextensions = ${src.dir}
17 |
--------------------------------------------------------------------------------
/bwcheck/src/bwcheck.mxml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/bwcheck/src/org/red5/flash/bwcheck/BandwidthDetection.as:
--------------------------------------------------------------------------------
1 | package org.red5.flash.bwcheck
2 | {
3 | import flash.events.EventDispatcher;
4 | import flash.net.NetConnection;
5 | import org.red5.flash.bwcheck.events.BandwidthDetectEvent;
6 |
7 | [Event(name=BandwidthDetectEvent.DETECT_STATUS, type="org.red5.flash.bwcheck.events.BandwidthDetectEvent")]
8 | [Event(name=BandwidthDetectEvent.DETECT_COMPLETE, type="org.red5.flash.bwcheck.events.BandwidthDetectEvent")]
9 |
10 | public class BandwidthDetection extends EventDispatcher
11 | {
12 | protected var nc:NetConnection;
13 |
14 | public function BandwidthDetection()
15 | {
16 |
17 | }
18 |
19 | protected function dispatch(info:Object, eventName:String):void
20 | {
21 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(eventName);
22 | event.info = info;
23 | dispatchEvent(event);
24 | }
25 |
26 | protected function dispatchStatus(info:Object):void
27 | {
28 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(BandwidthDetectEvent.DETECT_STATUS);
29 | event.info = info;
30 | dispatchEvent(event);
31 | }
32 |
33 | protected function dispatchComplete(info:Object):void
34 | {
35 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(BandwidthDetectEvent.DETECT_COMPLETE);
36 | event.info = info;
37 | dispatchEvent(event);
38 | }
39 |
40 | protected function dispatchFailed(info:Object):void
41 | {
42 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(BandwidthDetectEvent.DETECT_FAILED);
43 | event.info = info;
44 | dispatchEvent(event);
45 | }
46 |
47 | public function set connection(connect:NetConnection):void
48 | {
49 | nc = connect;
50 | }
51 |
52 | }
53 | }
--------------------------------------------------------------------------------
/bwcheck/src/org/red5/flash/bwcheck/ServerClientBandwidth.as:
--------------------------------------------------------------------------------
1 | package org.red5.flash.bwcheck
2 | {
3 | import flash.net.Responder;
4 |
5 | public class ServerClientBandwidth extends BandwidthDetection
6 | {
7 |
8 | private var _service:String;
9 | private var info:Object = new Object();
10 | private var res:Responder;
11 |
12 | public function ServerClientBandwidth()
13 | {
14 | res = new Responder(onResult, onStatus);
15 | }
16 |
17 | public function onBWCheck(obj:Object):void
18 | {
19 | dispatchStatus(obj);
20 | }
21 |
22 | public function onBWDone(obj:Object):void
23 | {
24 | dispatchComplete(obj);
25 | }
26 |
27 | public function set service(service:String):void
28 | {
29 | _service = service;
30 | }
31 |
32 | public function start():void
33 | {
34 | nc.client = this;
35 | nc.call(_service,res);
36 | }
37 |
38 | private function onResult(obj:Object):void
39 | {
40 | dispatchStatus(obj);
41 |
42 | }
43 |
44 | private function onStatus(obj:Object):void
45 | {
46 | switch (obj.code)
47 | {
48 | case "NetConnection.Call.Failed":
49 | dispatchFailed(obj);
50 | break;
51 | }
52 |
53 | }
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/bwcheck/src/org/red5/flash/bwcheck/events/BandwidthDetectEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.flash.bwcheck.events
2 | {
3 | import flash.events.Event;
4 |
5 | public class BandwidthDetectEvent extends Event
6 | {
7 | public static const DETECT_STATUS:String = "detect_status";
8 | public static const DETECT_COMPLETE:String = "detect_complete";
9 | public static const DETECT_FAILED:String = "detect_failed";
10 |
11 | private var _info:Object;
12 |
13 | public function BandwidthDetectEvent(eventName:String)
14 | {
15 | super (eventName);
16 | }
17 |
18 | public function set info(obj:Object):void
19 | {
20 | _info = obj;
21 | }
22 |
23 | public function get info():Object
24 | {
25 | return _info;
26 | }
27 |
28 |
29 | }
30 | }
--------------------------------------------------------------------------------
/bwcheckNative/.actionScriptProperties:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/bwcheckNative/.flexProperties:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/bwcheckNative/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | bwcheckNative
4 |
5 |
6 |
7 |
8 |
9 | com.adobe.flexbuilder.project.flexbuilder
10 |
11 |
12 |
13 |
14 |
15 | com.adobe.flexbuilder.project.flexnature
16 | com.adobe.flexbuilder.project.actionscriptnature
17 |
18 |
19 |
--------------------------------------------------------------------------------
/bwcheckNative/Readme.txt:
--------------------------------------------------------------------------------
1 | Howto Build
2 | ===========
3 |
4 | Using Ant:
5 |
6 | 1. Make sure you have a copy of this file in the folder below this one:
7 | http://red5.googlecode.com/svn/flash/trunk/flex.properties
8 | 2. Modify flex.properties and point it to your Flex SDK (2 or newer)
9 | 3. Type 'ant' to build the application
--------------------------------------------------------------------------------
/bwcheckNative/build.properties:
--------------------------------------------------------------------------------
1 | # SWF output filename.
2 | output.swf.name = bwcheck
3 |
4 | # Default HTML page title.
5 | swf.release.title = Bandwidth Checker
6 |
7 | # Debug HTML page title.
8 | swf.debug.title = ${swf.release.title} (debug version)
9 |
10 | # Main MXML file.
11 | main.application = src/bwcheck.mxml
12 |
13 | # Class-folders you want to search for classes to be included in the docs,
14 | # seperated by spaces (for example ../com/ ../net/ ).
15 | # To include every .as and .mxml file within your project, just state ../
16 | asdoc.domainextensions = ${src.dir}
17 |
--------------------------------------------------------------------------------
/bwcheckNative/src/bwcheck.mxml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/bwcheckNative/src/org/red5/flash/bwcheck/BandwidthDetection.as:
--------------------------------------------------------------------------------
1 | package org.red5.flash.bwcheck
2 | {
3 | import flash.events.EventDispatcher;
4 | import flash.net.NetConnection;
5 | import org.red5.flash.bwcheck.events.BandwidthDetectEvent;
6 |
7 | [Event(name=BandwidthDetectEvent.DETECT_STATUS, type="org.red5.flash.bwcheck.events.BandwidthDetectEvent")]
8 | [Event(name=BandwidthDetectEvent.DETECT_COMPLETE, type="org.red5.flash.bwcheck.events.BandwidthDetectEvent")]
9 |
10 | public class BandwidthDetection extends EventDispatcher
11 | {
12 | protected var nc:NetConnection;
13 |
14 | public function BandwidthDetection()
15 | {
16 |
17 | }
18 |
19 | protected function dispatch(info:Object, eventName:String):void
20 | {
21 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(eventName);
22 | event.info = info;
23 | dispatchEvent(event);
24 | }
25 |
26 | protected function dispatchStatus(info:Object):void
27 | {
28 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(BandwidthDetectEvent.DETECT_STATUS);
29 | event.info = info;
30 | dispatchEvent(event);
31 | }
32 |
33 | protected function dispatchComplete(info:Object):void
34 | {
35 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(BandwidthDetectEvent.DETECT_COMPLETE);
36 | event.info = info;
37 | dispatchEvent(event);
38 | }
39 |
40 | protected function dispatchFailed(info:Object):void
41 | {
42 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(BandwidthDetectEvent.DETECT_FAILED);
43 | event.info = info;
44 | dispatchEvent(event);
45 | }
46 |
47 | public function set connection(connect:NetConnection):void
48 | {
49 | nc = connect;
50 | }
51 |
52 | }
53 | }
--------------------------------------------------------------------------------
/bwcheckNative/src/org/red5/flash/bwcheck/ServerClientBandwidth.as:
--------------------------------------------------------------------------------
1 | package org.red5.flash.bwcheck
2 | {
3 | import flash.net.Responder;
4 |
5 | public class ServerClientBandwidth extends BandwidthDetection
6 | {
7 |
8 | private var _service:String;
9 | private var info:Object = new Object();
10 | private var res:Responder;
11 |
12 | public function ServerClientBandwidth()
13 | {
14 | res = new Responder(onResult, onStatus);
15 | }
16 |
17 | public function onBWCheck(obj:Object):void
18 | {
19 | dispatchStatus(obj);
20 | }
21 |
22 | public function onBWDone(obj:Object):void
23 | {
24 | dispatchComplete(obj);
25 | }
26 |
27 | public function set service(service:String):void
28 | {
29 | _service = service;
30 | }
31 |
32 | public function start():void
33 | {
34 | nc.client = this;
35 | nc.call(_service,res);
36 | }
37 |
38 | private function onResult(obj:Object):void
39 | {
40 | dispatchStatus(obj);
41 |
42 | }
43 |
44 | private function onStatus(obj:Object):void
45 | {
46 | switch (obj.code)
47 | {
48 | case "NetConnection.Call.Failed":
49 | dispatchFailed(obj);
50 | break;
51 | }
52 |
53 | }
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/bwcheckNative/src/org/red5/flash/bwcheck/events/BandwidthDetectEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.flash.bwcheck.events
2 | {
3 | import flash.events.Event;
4 |
5 | public class BandwidthDetectEvent extends Event
6 | {
7 | public static const DETECT_STATUS:String = "detect_status";
8 | public static const DETECT_COMPLETE:String = "detect_complete";
9 | public static const DETECT_FAILED:String = "detect_failed";
10 |
11 | private var _info:Object;
12 |
13 | public function BandwidthDetectEvent(eventName:String)
14 | {
15 | super (eventName);
16 | }
17 |
18 | public function set info(obj:Object):void
19 | {
20 | _info = obj;
21 | }
22 |
23 | public function get info():Object
24 | {
25 | return _info;
26 | }
27 |
28 |
29 | }
30 | }
--------------------------------------------------------------------------------
/classes/com/acmewebworks/controls/BaseClip.as:
--------------------------------------------------------------------------------
1 | import mx.events.EventDispatcher;
2 |
3 | class com.acmewebworks.controls.BaseClip extends MovieClip
4 | {
5 | // Constants:
6 | public static var CLASS_REF = com.acmewebworks.controls.BaseClip;
7 | // Public Properties:
8 | public var addEventListener:Function;
9 | public var removeEventListener:Function;
10 | // Private Properties:
11 | private var dispatchEvent:Function;
12 |
13 | // Initialization:
14 | public function BaseClip()
15 | {
16 | EventDispatcher.initialize(this);
17 | }
18 |
19 | // Public Methods:
20 | public function scale(p_scale:Number):Void
21 | {
22 | _xscale = p_scale;
23 | _yscale = p_scale;
24 | }
25 |
26 | public function size(p_size:Number):Void
27 | {
28 | _x = p_size;
29 | _y = p_size;
30 | }
31 | // Semi-Private Methods:
32 | // Private Methods:
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/classes/com/acmewebworks/utils/CoordinateTools.as:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | Developer: John Grden
4 |
5 | */
6 |
7 | class com.acmewebworks.utils.CoordinateTools
8 |
9 | {
10 |
11 | private function CoordinateTools()
12 |
13 | {
14 |
15 | _global.localToLocal = localToLocal;
16 |
17 | }
18 |
19 |
20 |
21 | public static function localToLocal(from:Object, to:Object):Object
22 |
23 | {
24 |
25 | var point:Object = {x: 0, y: 0};
26 |
27 | from.localToGlobal(point);
28 |
29 | to.globalToLocal(point);
30 |
31 | return point;
32 |
33 | }
34 |
35 |
36 |
37 | public static function getAngle(pointAX:Number, pointAY:Number, pointBX:Number, pointBY:Number):Number
38 |
39 | {
40 |
41 | //return angle
42 |
43 | var nYdiff:Number = (pointAY - pointBY);
44 |
45 | var nXdiff:Number = (pointAX - pointBX);
46 |
47 | var rad:Number = Math.atan2(nYdiff, nXdiff);
48 |
49 |
50 |
51 | var deg:Number = Math.round(rad * 180 / Math.PI);
52 |
53 |
54 |
55 | //this will return a true 360 value
56 |
57 | deg < 0 ? 180 + (180-Math.abs(deg)) : deg;
58 |
59 | return deg;
60 |
61 | }
62 |
63 | }
64 |
--------------------------------------------------------------------------------
/classes/com/blitzagency/data/ContentFarm.as:
--------------------------------------------------------------------------------
1 | import com.blitzagency.data.DecodeHTML;
2 |
3 | import org.red5.fitc.presentation.ConfigDelegate;
4 |
5 |
6 |
7 | class com.blitzagency.data.ContentFarm {
8 |
9 | // Constants:
10 |
11 | public static var CLASS_REF = com.blitzagency.data.ContentFarm;
12 |
13 | // Public Properties:
14 |
15 | // Private Properties:
16 |
17 | public static function getContent(p_location:String):String
18 |
19 | {
20 |
21 | //_global.tt("getContent", p_location);
22 |
23 | var content = getRawContent(p_location);
24 |
25 | //_global.tt("content", content);
26 |
27 | content = DecodeHTML.decode(content);
28 |
29 | //_global.tt("content", content);
30 |
31 | return content;
32 |
33 | }
34 |
35 |
36 |
37 | public static function getRawContent(p_location:String):String
38 |
39 | {
40 |
41 | _global.tt("getRawContent", p_location);
42 |
43 | //var content = ConfigDelegate.getContent(p_location);
44 |
45 | return _global.org.red5.fitc.presentation.ConfigDelegate.getContent(p_location);
46 |
47 | //_global.tt("getRawContent", p_location, content, _global.ConfigDelegate.getContent);
48 |
49 | //return content
50 |
51 | }
52 |
53 |
54 |
55 | // Public Methods:
56 |
57 | // Semi-Private Methods:
58 |
59 | // Private Methods:
60 |
61 |
62 |
63 | }
64 |
--------------------------------------------------------------------------------
/classes/com/blitzagency/events/IBroadcastable.as:
--------------------------------------------------------------------------------
1 | /**
2 |
3 | Interface used to enforce proper inheritance of the EventBroadcaster through composition.
4 |
5 |
6 |
7 | @class
8 |
9 | @author Danny Patterson
10 |
11 | @version 1.0.0 2005-07-23
12 |
13 | @see com.blitzagency.events.EventBroadcaster
14 |
15 | */
16 |
17 |
18 |
19 | interface com.blitzagency.events.IBroadcastable {
20 |
21 |
22 |
23 | /**
24 |
25 | @see com.blitzagency.events.EventBroadcaster#addEventListener
26 |
27 | */
28 |
29 | public function addEventListener(eventName:String, listener:Object, methodName:String):Void;
30 |
31 |
32 |
33 | /**
34 |
35 | @see com.blitzagency.events.EventBroadcaster#broadcastEvent
36 |
37 | */
38 |
39 | public function broadcastEvent(eventName:String, data:Object):Void;
40 |
41 |
42 |
43 | /**
44 |
45 | @see com.blitzagency.events.EventBroadcaster#removeEventListener
46 |
47 | */
48 |
49 | public function removeEventListener(eventName:String, listener:Object, methodName:String):Void;
50 |
51 | }
52 |
--------------------------------------------------------------------------------
/classes/com/blitzagency/events/IStaticBroadcastable.as:
--------------------------------------------------------------------------------
1 | /**
2 |
3 | Interface used to enforce proper inheritance of the EventBroadcaster through composition.
4 |
5 |
6 |
7 | @class
8 |
9 | @author Danny Patterson
10 |
11 | @version 1.0.0 2005-07-23
12 |
13 | @see com.blitzagency.events.EventBroadcaster
14 |
15 | */
16 |
17 |
18 |
19 | interface com.blitzagency.events.IStaticBroadcastable {
20 |
21 | /**
22 |
23 | @see com.blitzagency.events.EventBroadcaster#addEventListener
24 |
25 | */
26 |
27 | public function addSingletonEventListener(eventName:String, listener:Object, methodName:String):Void;
28 |
29 |
30 |
31 | /**
32 |
33 | @see com.blitzagency.events.EventBroadcaster#broadcastEvent
34 |
35 | */
36 |
37 | public function broadcastSingletonEvent(eventName:String, data:Object):Void;
38 |
39 |
40 |
41 | /**
42 |
43 | * This is for use with to broadcast a Singleton instance of a utility class
44 |
45 | */
46 |
47 | public function removeSingletonEventListener(eventName:String, listener:Object, methodName:String):Void;
48 |
49 | }
50 |
--------------------------------------------------------------------------------
/classes/com/blitzagency/xray/logger/ClassLoader.as:
--------------------------------------------------------------------------------
1 | /**
2 | * @author John Grden
3 | */
4 | class com.blitzagency.xray.logger.ClassLoader
5 | {
6 | public static var CLASS_REF = com.blitzagency.xray.logger.ClassLoader;
7 |
8 | public static var initialized:Boolean = initialize();
9 |
10 | private static function initialize():Boolean
11 | {
12 | initializeClasses();
13 | return true;
14 | }
15 |
16 | public static function getClassByName(name:String):Function
17 | {
18 | if(!initialized) initialize();
19 | var clazz:Function = eval('_global.'+name);
20 | return clazz;
21 | }
22 |
23 | public static function getInstanceByName(name:String, args:Array):Object
24 | {
25 | if(!initialized) initialize();
26 | var clazz:Function = getClassByName(name);
27 | if(args==undefined) args = new Array();
28 | var result:Object = new Object();
29 | result.__proto__ = clazz.prototype;
30 | clazz.apply(result, args);
31 | return result;
32 | }
33 |
34 | /**
35 | * References all of the classes that need to be loaded dynamically. This could eventually be
36 | * replaced with Simon Wacker's Ant Script that loads all needed classes via MTASC from
37 | * a Spring context.xml file. This is not yet production ready at this time (May 24, 2006)
38 | */
39 | public static function initializeClasses():Void
40 | {
41 | //_global.trace("initializeClasses called");
42 | var obj = com.blitzagency.xray.logger.XrayLogger;
43 | //obj = com.blitzagency.xray.logger.asUnitLogger;
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/classes/com/blitzagency/xray/logger/Log.as:
--------------------------------------------------------------------------------
1 | import com.blitzagency.xray.logger.XrayLogger;
2 |
3 |
4 |
5 | class com.blitzagency.xray.logger.Log
6 |
7 | {
8 |
9 | private var message:String;
10 |
11 | private var dump:Object;
12 |
13 | private var level:Number;
14 |
15 |
16 |
17 | function Log(p_message:String, p_dump:Object, p_level:Number)
18 |
19 | {
20 |
21 | setMessage(p_message);
22 |
23 | setDump(p_dump);
24 |
25 | setLevel(p_level);
26 |
27 | }
28 |
29 |
30 |
31 | public function setMessage(p_message:String):Void
32 |
33 | {
34 |
35 | message = p_message;
36 |
37 | }
38 |
39 |
40 |
41 | public function setDump(p_dump:Object):Void
42 |
43 | {
44 |
45 | dump = p_dump;
46 |
47 | }
48 |
49 |
50 |
51 | public function setLevel(p_level:Number):Void
52 |
53 | {
54 |
55 | level = p_level;
56 |
57 | }
58 |
59 |
60 |
61 | public function getMessage():String
62 |
63 | {
64 |
65 | return message;
66 |
67 | }
68 |
69 |
70 |
71 | public function getDump():Object
72 |
73 | {
74 |
75 | return dump;
76 |
77 | }
78 |
79 |
80 |
81 | public function getLevel():Number
82 |
83 | {
84 |
85 | return level;
86 |
87 | }
88 |
89 | }
90 |
91 |
--------------------------------------------------------------------------------
/classes/com/blitzagency/xray/logger/LogManager.as:
--------------------------------------------------------------------------------
1 | import com.blitzagency.xray.logger.ClassLoader;
2 | import com.blitzagency.xray.util.MtascUtility;
3 | /**
4 | * @author John Grden
5 | */
6 | class com.blitzagency.xray.logger.LogManager
7 | {
8 | public static var CLASS_REF = com.blitzagency.xray.logger.LogManager;
9 | public static var initialized:Boolean;
10 |
11 | private static var loggerList:Object;
12 |
13 |
14 | public static function initialize():Void
15 | {
16 | if(initialized) return;
17 | MtascUtility.initialize();
18 | loggerList = new Object();
19 | initialized = true;
20 | }
21 |
22 | public static function getLogger(p_logger:String):Object
23 | {
24 | // initialize loggers object if not done so already
25 | var package:String = p_logger.split(".").join("_");
26 | if(loggerList[package].instance != undefined)
27 | {
28 | // if instance already exists, pass it back
29 | return loggerList[package].instance;
30 | }
31 | else
32 | {
33 | // grag logger class
34 | var loggerObject = ClassLoader.getClassByName(p_logger);
35 |
36 | // create new instance
37 | var instance:Object = new loggerObject();
38 |
39 | // update list
40 | loggerList[package] = new Object();
41 | loggerList[package].instance = instance;
42 |
43 | // return logger instance
44 | return instance;
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/classes/com/blitzagency/xray/logger/Logger.as:
--------------------------------------------------------------------------------
1 | /**
2 | * @author John Grden
3 | */
4 | interface com.blitzagency.xray.logger.Logger
5 | {
6 | public function setLevel(p_level:Number):Void;
7 | public function debug(message:String, dump:Object, package:String):Void;
8 | public function info(message:String, dump:Object, package:String):Void;
9 | public function warn(message:String, dump:Object, package:String):Void;
10 | public function error(message:String, dump:Object, package:String):Void;
11 | public function fatal(message:String, dump:Object, package:String):Void;
12 | public function log(message:String, dump:Object, package:String, level:Number):Void;
13 |
14 | }
15 |
--------------------------------------------------------------------------------
/classes/com/blitzagency/xray/logger/XrayLog.as:
--------------------------------------------------------------------------------
1 | import com.blitzagency.xray.logger.XrayLogger;
2 | import com.blitzagency.xray.logger.Log;
3 |
4 | class com.blitzagency.xray.logger.XrayLog
5 | {
6 | function XrayLog()
7 | {
8 | // CONSTRUCT
9 | }
10 |
11 | public function debug(message:String, dump:Object):Object
12 | {
13 | return new Log(message, dump, XrayLogger.DEBUG);
14 | }
15 |
16 | public function info(message:String, dump:Object):Log
17 | {
18 | return new Log(message, dump, XrayLogger.INFO);
19 | }
20 |
21 | public function warn(message:String, dump:Object):Log
22 | {
23 | return new Log(message, dump, XrayLogger.WARN);
24 | }
25 |
26 | public function error(message:String, dump:Object):Log
27 | {
28 | return new Log(message, dump, XrayLogger.ERROR);
29 | }
30 |
31 | public function fatal(message:String, dump:Object):Log
32 | {
33 | return new Log(message, dump, XrayLogger.FATAL);
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/classes/org/red5/admin/connector/event/Red5Event.as:
--------------------------------------------------------------------------------
1 | package org.red5.admin.connector.event
2 | {
3 |
4 | /**
5 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
6 | *
7 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
8 | *
9 | * This library is free software; you can redistribute it and/or modify it under the
10 | * terms of the GNU Lesser General Public License as published by the Free Software
11 | * Foundation; either version 2.1 of the License, or (at your option) any later
12 | * version.
13 | *
14 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
15 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
16 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
17 | *
18 | * You should have received a copy of the GNU Lesser General Public License along
19 | * with this library; if not, write to the Free Software Foundation, Inc.,
20 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 | */
22 |
23 | import flash.events.Event;
24 |
25 | /**
26 | *
27 | * @author Martijn van Beek
28 | */
29 | public class Red5Event extends Event
30 | {
31 | private var _code : String;
32 | private var _level : String;
33 |
34 | public function Red5Event(type:String, info:Object, bubbles:Boolean=false, cancelable:Boolean=false)
35 | {
36 | _code = info.code;
37 | _level = info.level;
38 | super(type, bubbles, cancelable);
39 | }
40 |
41 | public function get code():String
42 | {
43 | return _code;
44 | }
45 |
46 | public function get level():String
47 | {
48 | return _level;
49 | }
50 |
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/commands/DisconnectCommand.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.commands
20 | {
21 | import com.adobe.cairngorm.commands.ICommand;
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.echo.events.DisconnectEvent;
25 | import org.red5.samples.echo.model.ModelLocator;
26 |
27 | /**
28 | * @author Thijs Triemstra (info@collab.nl)
29 | */
30 | public class DisconnectCommand implements ICommand
31 | {
32 | private var _model : ModelLocator = ModelLocator.getInstance();
33 |
34 | /**
35 | * @param cgEvent
36 | */
37 | public function execute(cgEvent:CairngormEvent):void
38 | {
39 | var event : DisconnectEvent = DisconnectEvent(cgEvent);
40 | _model.nc.close();
41 | }
42 |
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/events/ConnectEvent.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.events
20 | {
21 | import com.adobe.cairngorm.control.CairngormEvent;
22 |
23 | import org.red5.samples.echo.controller.EchoController;
24 |
25 | /**
26 | * @author Thijs Triemstra (info@collab.nl)
27 | */
28 | public class ConnectEvent extends CairngormEvent
29 | {
30 | public var protocol : String;
31 | public var encoding : uint;
32 |
33 | /**
34 | * @param protocol
35 | * @param encoding
36 | */
37 | public function ConnectEvent(protocol:String, encoding:uint)
38 | {
39 | super( EchoController.EVENT_CONNECT );
40 | this.protocol = protocol;
41 | this.encoding = encoding;
42 | }
43 |
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/events/DisconnectEvent.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.events
20 | {
21 | import com.adobe.cairngorm.control.CairngormEvent;
22 |
23 | import org.red5.samples.echo.controller.EchoController;
24 |
25 | /**
26 | * @author Thijs Triemstra (info@collab.nl)
27 | */
28 | public class DisconnectEvent extends CairngormEvent
29 | {
30 | public function DisconnectEvent()
31 | {
32 | super( EchoController.EVENT_DISCONNECT );
33 | }
34 |
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/events/PrintTextEvent.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.events
20 | {
21 | import com.adobe.cairngorm.control.CairngormEvent;
22 |
23 | import org.red5.samples.echo.controller.EchoController;
24 |
25 | /**
26 | * @author Thijs Triemstra (info@collab.nl)
27 | */
28 | public class PrintTextEvent extends CairngormEvent
29 | {
30 | public var msg : String;
31 |
32 | /**
33 | * @param msg
34 | */
35 | public function PrintTextEvent(msg:String="")
36 | {
37 | super(EchoController.EVENT_PRINT_TEXT);
38 | this.msg = msg;
39 | }
40 |
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/events/RunTestEvent.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.events
20 | {
21 | import com.adobe.cairngorm.control.CairngormEvent;
22 |
23 | import org.red5.samples.echo.controller.EchoController;
24 |
25 | /**
26 | * @author Thijs Triemstra (info@collab.nl)
27 | */
28 | public class RunTestEvent extends CairngormEvent
29 | {
30 | public function RunTestEvent()
31 | {
32 | super(EchoController.EVENT_RUN_TEST);
33 | }
34 |
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/events/SetupConnectionEvent.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.events
20 | {
21 | import com.adobe.cairngorm.control.CairngormEvent;
22 |
23 | import org.red5.samples.echo.controller.EchoController;
24 |
25 | /**
26 | * @author Thijs Triemstra (info@collab.nl)
27 | */
28 | public class SetupConnectionEvent extends CairngormEvent
29 | {
30 | public function SetupConnectionEvent()
31 | {
32 | super(EchoController.EVENT_SETUP_CONNECTION);
33 | }
34 |
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/events/StartTestsEvent.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.events
20 | {
21 | import com.adobe.cairngorm.control.CairngormEvent;
22 |
23 | import org.red5.samples.echo.controller.EchoController;
24 |
25 | /**
26 | * @author Thijs Triemstra (info@collab.nl)
27 | */
28 | public class StartTestsEvent extends CairngormEvent
29 | {
30 | public function StartTestsEvent()
31 | {
32 | super(EchoController.EVENT_START_TESTS);
33 | }
34 |
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/model/tests/ArrayCollectionTest.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.model.tests
20 | {
21 | import mx.collections.ArrayCollection;
22 |
23 | /**
24 | * @author Thijs Triemstra (info@collab.nl)
25 | */
26 | public class ArrayCollectionTest extends BaseTest
27 | {
28 | public function ArrayCollectionTest()
29 | {
30 | var tmp1: ArrayCollection = new ArrayCollection();
31 | tmp1.addItem("one");
32 | tmp1.addItem(123);
33 | tmp1.addItem(null);
34 | tests.push(tmp1);
35 |
36 | var tmp_2: Array = new Array();
37 | tmp_2.push(tmp1);
38 | tmp_2.push(tmp1);
39 | tests.push(tmp_2);
40 | }
41 |
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/model/tests/ArrayTest.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.model.tests
20 | {
21 | /**
22 | * @author Thijs Triemstra (info@collab.nl)
23 | */
24 | public class ArrayTest extends BaseTest
25 | {
26 | public function ArrayTest()
27 | {
28 | super();
29 |
30 | tests.push(new Array());
31 |
32 | var tmp1: Array = new Array();
33 | tmp1.push(1);
34 | tests.push(tmp1);
35 | tests.push([1, 2]);
36 | tests.push([1, 2, 3]);
37 | tests.push([1, 2, [1, 2]]);
38 |
39 | var tmp2: Array = new Array();
40 | tmp2.push(1);
41 | tmp2[100] = 100;
42 | tests.push(tmp2);
43 |
44 | var tmp3: Array = new Array();
45 | tmp3.push(1);
46 | tmp3["one"] = 1;
47 | tests.push(tmp3);
48 | }
49 |
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/model/tests/BooleanTest.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.model.tests
20 | {
21 | /**
22 | * @author Thijs Triemstra (info@collab.nl)
23 | */
24 | public class BooleanTest extends BaseTest
25 | {
26 | public function BooleanTest()
27 | {
28 | super();
29 |
30 | tests.push(true);
31 | tests.push(false);
32 | }
33 |
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/model/tests/CustomClassTest.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.model.tests
20 | {
21 | import org.red5.samples.echo.vo.EchoClass;
22 |
23 | /**
24 | * @author Thijs Triemstra (info@collab.nl)
25 | */
26 | public class CustomClassTest extends BaseTest
27 | {
28 | public function CustomClassTest()
29 | {
30 | super();
31 |
32 | var tmp1: EchoClass = new EchoClass();
33 | tmp1.attr1 = "one";
34 | tmp1.attr2 = 1;
35 | tests.push(tmp1);
36 |
37 | var tmp2: Array = new Array();
38 | tmp2.push(tmp1);
39 | tmp2.push(tmp1);
40 | tests.push(tmp2);
41 | }
42 |
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/model/tests/DateTest.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.model.tests
20 | {
21 | /**
22 | * @author Thijs Triemstra (info@collab.nl)
23 | */
24 | public class DateTest extends BaseTest
25 | {
26 | public function DateTest()
27 | {
28 | super();
29 |
30 | var now: Date = new Date();
31 | tests.push(now);
32 |
33 | var tmp1: Array = new Array();
34 | tmp1.push(now);
35 | tmp1.push(now);
36 | tests.push(tmp1);
37 | }
38 |
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/model/tests/ExternalizableTest.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.model.tests
20 | {
21 | import org.red5.samples.echo.vo.ExternalizableClass;
22 |
23 | /**
24 | * @author Thijs Triemstra (info@collab.nl)
25 | */
26 | public class ExternalizableTest extends BaseTest
27 | {
28 | public function ExternalizableTest()
29 | {
30 | super();
31 |
32 | var ext: ExternalizableClass = new ExternalizableClass();
33 | tests.push(ext);
34 |
35 | var tmp_1: Array = new Array();
36 | tmp_1.push(ext);
37 | tmp_1.push(ext);
38 | tests.push(tmp_1);
39 | }
40 |
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/model/tests/NullTest.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.model.tests
20 | {
21 | /**
22 | * @author Thijs Triemstra (info@collab.nl)
23 | */
24 | public class NullTest extends BaseTest
25 | {
26 | public function NullTest()
27 | {
28 | tests.push(null);
29 | }
30 |
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/model/tests/ObjectProxyTest.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.model.tests
20 | {
21 | import mx.utils.ObjectProxy;
22 |
23 | /**
24 | * @author Thijs Triemstra (info@collab.nl)
25 | */
26 | public class ObjectProxyTest extends BaseTest
27 | {
28 | public function ObjectProxyTest()
29 | {
30 | super();
31 |
32 | var temp1: ObjectProxy = new ObjectProxy( { a: "foo", b: 5 } );
33 | tests.push(temp1);
34 |
35 | var temp2: Array = new Array();
36 | temp2.push(temp1);
37 | temp2.push(temp1);
38 | tests.push(temp2);
39 | }
40 |
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/model/tests/ObjectTest.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.model.tests
20 | {
21 | /**
22 | * @author Thijs Triemstra (info@collab.nl)
23 | */
24 | public class ObjectTest extends BaseTest
25 | {
26 | public function ObjectTest()
27 | {
28 | super();
29 |
30 | var tmp1: Object = {a: "foo", b: "bar"};
31 | tests.push(tmp1);
32 |
33 | var tmp2: Array = new Array();
34 | tmp2.push(tmp1);
35 | tmp2.push(tmp1);
36 | tests.push(tmp2);
37 | }
38 |
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/model/tests/UndefinedTest.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.model.tests
20 | {
21 | /**
22 | * @author Thijs Triemstra (info@collab.nl)
23 | */
24 | public class UndefinedTest extends BaseTest
25 | {
26 | public function UndefinedTest()
27 | {
28 | super();
29 |
30 | tests.push(undefined);
31 | }
32 |
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/model/tests/UnsupportedTest.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.model.tests
20 | {
21 | import flash.display.BitmapData;
22 |
23 | /**
24 | * @author Thijs Triemstra (info@collab.nl)
25 | */
26 | public class UnsupportedTest extends BaseTest
27 | {
28 | public function UnsupportedTest()
29 | {
30 | super();
31 |
32 | var bmp1:BitmapData = new BitmapData( 80, 80, false, 0xCCCCCC );
33 |
34 | // Draw a blue line in a BitmapData object
35 | for (var h:uint = 0; h < 80; h++)
36 | {
37 | var blue:uint = 0x3232CD;
38 | bmp1.setPixel( h, 40, blue );
39 | }
40 | tests.push(bmp1);
41 |
42 | var tmp1: Array = new Array();
43 | tmp1.push(bmp1);
44 | tmp1.push(bmp1);
45 | tests.push(tmp1);
46 | }
47 |
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/view/CredentialsView.mxml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
22 |
23 |
24 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/vo/EchoClass.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.vo
20 | {
21 | /**
22 | * @author Joachim Bauch ( jojo@struktur.de )
23 | */
24 | public class EchoClass
25 | {
26 | public var attr1: String;
27 | public var attr2: Number;
28 | }
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/vo/RemoteClass.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.vo
20 | {
21 | [RemoteClass(alias="org.red5.demos.echo.RemoteClass")]
22 |
23 | /**
24 | * @author Joachim Bauch (jojo@struktur.de)
25 | */
26 | public class RemoteClass
27 | {
28 | public var attribute1: String;
29 | public var attribute2: Number;
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/vo/TestSelection.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.vo
20 | {
21 | [Bindable]
22 | /**
23 | * @author Thijs Triemstra (info@collab.nl)
24 | */
25 | public class TestSelection
26 | {
27 | public var parent : String;
28 | public var name : String;
29 | public var selected : Boolean;
30 |
31 | /**
32 | * @param parent
33 | * @param name
34 | * @param selected
35 | */
36 | public function TestSelection( parent:String="", name:String="",
37 | selected:Boolean=true)
38 | {
39 | this.parent = parent;
40 | this.name = name;
41 | this.selected = selected;
42 | }
43 |
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/echo/vo/User.as:
--------------------------------------------------------------------------------
1 | /**
2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
3 | *
4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or modify it under the
7 | * terms of the GNU Lesser General Public License as published by the Free Software
8 | * Foundation; either version 2.1 of the License, or (at your option) any later
9 | * version.
10 | *
11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License along
16 | * with this library; if not, write to the Free Software Foundation, Inc.,
17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 | */
19 | package org.red5.samples.echo.vo
20 | {
21 | [Bindable]
22 | /**
23 | * @author Thijs Triemstra (info@collab.nl)
24 | */
25 | public class User
26 | {
27 | public var userid : String;
28 | public var password : String;
29 |
30 | public function User(userid:String="", password:String="")
31 | {
32 | this.userid = userid;
33 | this.password = password;
34 | }
35 |
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/business/Services.mxml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/ChangePresetEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.ChangePresetCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class ChangePresetEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | */
35 | public var index : Number;
36 |
37 | /**
38 | *
39 | * @param index
40 | */
41 | public function ChangePresetEvent( index : Number )
42 | {
43 | super( DashboardController.EVENT_CHANGE_PRESET );
44 | this.index = index;
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/CloseConnectionEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.CloseConnectionCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class CloseConnectionEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | * @return
35 | *
36 | */
37 | public function CloseConnectionEvent()
38 | {
39 | super( DashboardController.EVENT_CLOSE_CONNECTION );
40 | }
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/EnableAudioEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.EnableAudioCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class EnableAudioEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | */
35 | public var enable : Boolean;
36 |
37 | /**
38 | *
39 | * @return
40 | */
41 | public function EnableAudioEvent( enable : Boolean )
42 | {
43 | super( DashboardController.EVENT_ENABLE_AUDIO );
44 | this.enable = enable;
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/EnableVideoEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.EnableVideoCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class EnableVideoEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | */
35 | public var enable : Boolean;
36 |
37 | /**
38 | *
39 | */
40 | public function EnableVideoEvent( enable : Boolean )
41 | {
42 | super( DashboardController.EVENT_ENABLE_VIDEO );
43 | this.enable = enable;
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/PauseStreamEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.PauseStreamCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class PauseStreamEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | * @return
35 | */
36 | public function PauseStreamEvent()
37 | {
38 | super( DashboardController.EVENT_PAUSE_STREAM );
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/RemovePresetsEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.RemovePresetsCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class RemovePresetsEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | * @return
35 | */
36 | public function RemovePresetsEvent()
37 | {
38 | super( DashboardController.EVENT_REMOVE_PRESETS );
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/ResumeStreamEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.ResumeStreamCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class ResumeStreamEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | * @return
35 | */
36 | public function ResumeStreamEvent()
37 | {
38 | super( DashboardController.EVENT_RESUME_STREAM );
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/SavePresetEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.SavePresetCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class SavePresetEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | */
35 | public var newName : String;
36 |
37 | /**
38 | *
39 | */
40 | public function SavePresetEvent( newName : String )
41 | {
42 | super( DashboardController.EVENT_SAVE_PRESET );
43 | this.newName = newName;
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/SetupConnectionEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.SetupConnectionCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class SetupConnectionEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | */
35 | public function SetupConnectionEvent()
36 | {
37 | super( DashboardController.EVENT_SETUP_CONNECTION );
38 | }
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/SetupDevicesEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.SetupDevicesCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class SetupDevicesEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | * @return
35 | */
36 | public function SetupDevicesEvent()
37 | {
38 | super( DashboardController.EVENT_SETUP_DEVICES );
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/SetupStreamsEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.SetupStreamsCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class SetupStreamsEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | */
35 | public function SetupStreamsEvent()
36 | {
37 | super( DashboardController.EVENT_SETUP_STREAMS );
38 | }
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/StopCameraEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.StopCameraCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class StopCameraEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | */
35 | public function StopCameraEvent()
36 | {
37 | super( DashboardController.EVENT_STOP_CAMERA );
38 | }
39 |
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/StopMicrophoneEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.StopMicrophoneCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class StopMicrophoneEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | */
35 | public function StopMicrophoneEvent()
36 | {
37 | super( DashboardController.EVENT_STOP_MICROPHONE );
38 | }
39 |
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/StopStreamEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.StopStreamCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class StopStreamEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | */
35 | public function StopStreamEvent()
36 | {
37 | super( DashboardController.EVENT_STOP_STREAM );
38 | }
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/events/UnpublishStreamEvent.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.events
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEvent;
23 |
24 | import org.red5.samples.publisher.control.DashboardController;
25 |
26 | /**
27 | * @copy org.red5.samples.publisher.command.UnpublishStreamCommand
28 | * @author Thijs Triemstra
29 | */
30 | public class UnpublishStreamEvent extends CairngormEvent
31 | {
32 | /**
33 | *
34 | */
35 | public function UnpublishStreamEvent()
36 | {
37 | super( DashboardController.EVENT_UNPUBLISH_STREAM );
38 | }
39 |
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/LogPod.mxml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
9 |
10 |
11 |
13 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/LogPodClass.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.view
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import mx.containers.Box;
23 | import mx.controls.TextArea;
24 |
25 | import org.red5.samples.publisher.model.*;
26 |
27 | /**
28 | *
29 | * @author Thijs Triemstra
30 | */
31 | public class LogPodClass extends Box
32 | {
33 | /**
34 | *
35 | */
36 | private var model : ModelLocator = ModelLocator.getInstance();
37 |
38 | [Bindable]
39 | /**
40 | *
41 | */
42 | public var logger : Logger = model.logger;
43 |
44 | [Bindable]
45 | /**
46 | *
47 | */
48 | public var main : Main;
49 |
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/MonitorPodClass.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.view
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import com.adobe.cairngorm.control.CairngormEventDispatcher;
23 |
24 | import mx.containers.Box;
25 |
26 | import org.red5.samples.publisher.model.*;
27 |
28 | /**
29 | *
30 | * @author Thijs Triemstra
31 | */
32 | public class MonitorPodClass extends Box
33 | {
34 |
35 | [Bindable]
36 | /**
37 | *
38 | */
39 | public var main : Main;
40 |
41 | [Bindable]
42 | /**
43 | *
44 | */
45 | public var navigation : Navigation;
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/Publisher.mxml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
13 |
14 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/general/SaveConnection.mxml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/control_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/control_play.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/control_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/control_stop.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/error.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/famfamfam.txt:
--------------------------------------------------------------------------------
1 | Silk icon set 1.3
2 |
3 | _________________________________________
4 | Mark James
5 | http://www.famfamfam.com/lab/icons/silk/
6 | _________________________________________
7 |
8 | This work is licensed under a
9 | Creative Commons Attribution 2.5 License.
10 | [ http://creativecommons.org/licenses/by/2.5/ ]
11 |
12 | This means you may use it for any purpose,
13 | and make any changes you like.
14 | All I ask is that you include a link back
15 | to this page in your credits.
16 |
17 | Are you using this icon set? Send me an email
18 | (including a link or picture if available) to
19 | mjames@gmail.com
20 |
21 | Any other questions about this icon set please
22 | contact mjames@gmail.com
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/fms.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/fms.gif
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/monitor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/monitor.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/red5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/red5.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/report.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/report.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/server.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/server_add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server_add.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/server_connect.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server_connect.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/server_error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server_error.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/server_go.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server_go.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/server_key.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server_key.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/server_lightning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server_lightning.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/server_link.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server_link.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/sound.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/sound.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/sound_add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/sound_add.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/sound_delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/sound_delete.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/webcam.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/webcam.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/webcam_add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/webcam_add.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/images/webcam_delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/webcam_delete.png
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/log/LogAppBar.mxml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/log/LogAppBarClass.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.view.log
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import mx.containers.ApplicationControlBar;
23 |
24 | import org.red5.samples.publisher.model.*;
25 |
26 | /**
27 | *
28 | * @author Thijs Triemstra
29 | */
30 | public class LogAppBarClass extends ApplicationControlBar
31 | {
32 | /**
33 | *
34 | */
35 | private var model : ModelLocator = ModelLocator.getInstance();
36 |
37 | [Bindable]
38 | /**
39 | *
40 | */
41 | public var logger : Logger = model.logger;
42 |
43 | [Bindable]
44 | /**
45 | *
46 | */
47 | public var main : Main = model.main;
48 |
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/log/LogDisplay.mxml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/monitor/MonitorAppBar.mxml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/monitor/MonitorDisplay.mxml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
13 |
14 |
15 |
16 |
17 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/monitor/MonitorDisplayClass.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.view.monitor
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import mx.containers.ViewStack;
23 |
24 | import org.red5.samples.publisher.model.Main;
25 |
26 | /**
27 | *
28 | * @author Thijs Triemstra
29 | */
30 | public class MonitorDisplayClass extends ViewStack
31 | {
32 | [Bindable]
33 | /**
34 | *
35 | */
36 | public var main : Main;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/settings/SettingsAppBar.mxml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/settings/SettingsStatusBar.mxml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
10 |
11 |
12 |
14 |
15 |
16 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/settings/SettingsStatusBarClass.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.view.settings
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import mx.containers.ApplicationControlBar;
23 |
24 | import org.red5.samples.publisher.model.*;
25 |
26 | /**
27 | *
28 | * @author Thijs Triemstra
29 | */
30 | public class SettingsStatusBarClass extends ApplicationControlBar
31 | {
32 | [Bindable]
33 | /**
34 | *
35 | */
36 | public var main : Main;
37 |
38 | [Bindable]
39 | /**
40 | *
41 | */
42 | public var navigation : Navigation;
43 | }
44 |
45 | }
46 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/settings/StatusBar.mxml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/classes/org/red5/samples/publisher/view/settings/StatusBarClass.as:
--------------------------------------------------------------------------------
1 | package org.red5.samples.publisher.view.settings
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | import mx.containers.Canvas;
23 |
24 | /**
25 | *
26 | * @author Thijs Triemstra
27 | */
28 | public class StatusBarClass extends Canvas
29 | {
30 | [Bindable]
31 | /**
32 | *
33 | */
34 | public var labelText : String;
35 |
36 | [Bindable]
37 | /**
38 | *
39 | */
40 | public var labelImage : Class;
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/classes/org/red5/utils/Debug.as:
--------------------------------------------------------------------------------
1 | package org.red5.utils
2 | {
3 | /**
4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5
5 | *
6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
7 | *
8 | * This library is free software; you can redistribute it and/or modify it under the
9 | * terms of the GNU Lesser General Public License as published by the Free Software
10 | * Foundation; either version 2.1 of the License, or (at your option) any later
11 | * version.
12 | *
13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public License along
18 | * with this library; if not, write to the Free Software Foundation, Inc.,
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 | */
21 |
22 | /**
23 | *
24 | * @author Martijn van Beek
25 | */
26 | public class Debug
27 | {
28 | public static function dumpObj(obj:Object):void
29 | {
30 | //trace ( "dumpObj: "+obj );
31 | for(var name:String in obj ) {
32 | //trace ( name +" - " + obj[name] + " - "+typeof(obj[name]) );
33 | if ( typeof(obj[name]) == "object" ) {
34 | //trace(" -- ")
35 | dumpObj(obj[name]);
36 | }
37 | }
38 | }
39 |
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/deploy/BallControl.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |