-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Flash with Drupal
Before we begin this section, we will first need to copy all the files used for Chapter 6 and create a new folder to hold all of our changes made for this chapter. Once we are done doing this, our first task will be to change the architecture of our current MediaPlayer so that it will support the separation between the media and control bar functionality. In order to do this, we will need to create an abstraction between the media and controls so that their functionality may be within the same Flash application or in two separate Flash applications connected together with a JavaScript gateway. By performing this abstraction we will understand the importance and benefits of object-oriented practices which allows this type of abstraction. To start, we will first extract all of the play and pause button functionality into a new class that we will call ControlBar. The main purpose of this class will be to hold all the user interaction for the media player...
Change the font size
Change margin width
Change background colour