~mahara-contributors/mahara-adminlang/adminlang-master

« back to all changes in this revision

Viewing changes to htdocs/artefact/file/blocktype/internalmedia/flowplayer/src/actionscript/org/flowplayer/model/DynamicCuepoint.as

  • Committer: Ruslan Kabalin
  • Date: 2011-08-03 14:54:09 UTC
  • Revision ID: git-v1:a3409b53a971ec3bad8b5d1329298046d9596381
Revert back to master brach.

The adminlang-master was mistakingly based on the mahara 1.3_STABLE. This is
required for easy merge with the master.

Command used:
for i in `git rev-list
f731cf9b2cf72b61ed6a317acab23a30b9046c8a..afb5850ba246f41b624c162e8d8e6e72c534f239`;
do git revert -n $i; done

Change-Id: I9db8553a66facfaca81492cd978f974c6e7b8892

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*    
2
 
 *    Copyright 2008 Anssi Piirainen
3
 
 *
4
 
 *    This file is part of FlowPlayer.
5
 
 *
6
 
 *    FlowPlayer is free software: you can redistribute it and/or modify
7
 
 *    it under the terms of the GNU General Public License as published by
8
 
 *    the Free Software Foundation, either version 3 of the License, or
9
 
 *    (at your option) any later version.
10
 
 *
11
 
 *    FlowPlayer is distributed in the hope that it will be useful,
12
 
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 *    GNU General Public License for more details.
15
 
 *
16
 
 *    You should have received a copy of the GNU General Public License
17
 
 *    along with FlowPlayer.  If not, see <http://www.gnu.org/licenses/>.
18
 
 */
19
 
 
20
 
package org.flowplayer.model {
21
 
        import org.flowplayer.model.Cuepoint;
22
 
        
23
 
        /**
24
 
         * @author api
25
 
         */
26
 
        internal dynamic class DynamicCuepoint extends Cuepoint {
27
 
                public function DynamicCuepoint(time:int, callbackId:String) {
28
 
                        super(time, callbackId);
29
 
                }
30
 
                
31
 
                override protected function onClone(clone:Cuepoint):void {
32
 
                        // copy dynamic properties
33
 
                        for (var prop:String in this) {
34
 
                                clone[prop] = this[prop];
35
 
                        }
36
 
                }
37
 
        }
38
 
}