Commit 3941cf78 authored by Adrian Hungate's avatar Adrian Hungate

Migration to gitlab

parents
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="false"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_DISABLED_BUILDER" value="org.eclipse.xtext.ui.shared.xtextBuilder"/>
<mapAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
</launchConfiguration>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>tlspuplayer</name>
<comment></comment>
<projects>
<project>tlspucomponents</project>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/org.eclipse.xtext.ui.shared.xtextBuilder (2).launch</value>
</dictionary>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.axdt.as3.imp.nature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<project name="tlspuplayer" default="all" basedir=".">
<description>
Build TLSPU Video Player
</description>
<property environment="env"/>
<property name="FLEX_HOME" location="${env.FLEX_HOME}" />
<property name="SRC_DIR" location="src" />
<property name="OUT_DIR" location="bin" />
<property name="TLSPUPLAYER.SWF" location="${OUT_DIR}/tlspuplayer.swf" />
<property name="HHPLAYER.SWF" location="${OUT_DIR}/happyhedgehogplayer.swf" />
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
<target name="all" depends="tlspuplayer,hhplayer" />
<target name="clean">
<delete>
<fileset dir="${OUT_DIR}" includes="*" />
</delete>
</target>
<macrodef name="swf">
<attribute name="source" />
<attribute name="target" />
<sequential>
<mkdir dir="${OUT_DIR}" />
<mxmlc
output="@{target}"
actionscript-file-encoding="UTF-8"
keep-generated-actionscript="false"
static-link-runtime-shared-libraries="true"
incremental="false"
optimize="false"
target-player="10.2.0"
file="@{source}"
>
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="lib" />
</compiler.library-path>
<compiler.include-libraries dir="../tlspucomponents/bin" append="true">
<include name="tlspucomponents.swc" />
</compiler.include-libraries>
</mxmlc>
</sequential>
</macrodef>
<target name="tlspuplayer">
<swf source="${SRC_DIR}/tlspuplayer.as" target="${TLSPUPLAYER.SWF}" />
</target>
<target name="hhplayer">
<swf source="${SRC_DIR}/happyhedgehogplayer.as" target="${HHPLAYER.SWF}" />
</target>
</project>
\ No newline at end of file
This diff is collapsed.
/**
* TLSPU Video Player
* Copyright (c) 2011 Adrian Hungate
*
* @author Adrian Hungate
*/
package com.tlspu.video {
public class PlayerState {
/** Identifier for the stopped state. **/
public static const STOPPED:String = "Stopped";
/** Identifier for the buffering state. **/
public static const BUFFERING:String = "Buffering";
/** Identifier for the playing state. **/
public static const PLAYING:String = "Playing";
/** Identifier for the paused state. **/
public static const PAUSED:String = "Paused";
}
}
/**
* TLSPU Video Player
* Copyright (c) 2011 Adrian Hungate
*
* @author Adrian Hungate
*/
package {
import com.tlspu.components.logging.Console;
import com.tlspu.video.BasePlayer;
[SWF(width="640", height="360", frameRate="30", backgroundColor="#000000")]
public class happyhedgehogplayer extends BasePlayer {
/** The logo **/
[Embed (source="/assets/hh_banner.png")]
public static var ICON_BANNER2:Class;
public function happyhedgehogplayer():void {
BasePlayer.ICON_BANNER = happyhedgehogplayer.ICON_BANNER2;
super();
}
}
}
/**
* TLSPU Video Player
* Copyright (c) 2011 Adrian Hungate
*
* @author Adrian Hungate
*/
package {
import com.tlspu.components.logging.Console;
import com.tlspu.video.BasePlayer;
[SWF(width="640", height="360", frameRate="30", backgroundColor="#000000")]
public class tlspuplayer extends BasePlayer {
/** The logo **/
[Embed (source="/assets/tlspu.png")]
public static var ICON_LOGO2:Class;
public function tlspuplayer():void {
BasePlayer.ICON_LOGO = tlspuplayer.ICON_LOGO2;
super();
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment