Chapter 8. The Hybrid Approach Part 2: Remote Control
We have already extracted all of our control functionality from our media player, and in this chapter we will focus on creating the bridge between two different Flash applications. Once we create this bridge, we will have the ability to control our media from a remote Flash application. In other words, we will be building a remote control for our media player that can be placed anywhere on the page, separate from the media player. We will achieve this separation by walking through the following steps:
Client-side Flash communication
Flash to JavaScript communication
Creating a JavaScript gateway
Flash and JavaScript synchronization
Using our remote control within Drupal
Client-side Flash communication
In the previous chapters we learned how Flash communicates with Drupal using a client-server communication called web services. This type of communication allowed for our Flash applications to extract Drupal content to be used in our Flash applications...