Permalink
Browse files

initial commit

  • Loading branch information...
bdougherty committed Mar 25, 2011
0 parents commit 860a8fd2a3e1640e83aa0b815bc2bfa0fbab14d1
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?><!--ant-->
+<!--
+ Created by Ryan Hefner on 2011-03-25.
+ Copyright (c) 2010-2011 Vimeo. All rights reserved.
+-->
+<project name="Flash API Example" default="compile" basedir="../../">
+ <description>Build and deploy the Flash API Example swf.</description>
+
+ <property file="ant/properties/build.properties" />
+
+ <!-- Moogaloop Properties -->
+ <property name="swfname" value="flash_api_example.swf" />
+ <property name="link-report" value="link_report.txt" />
+
+ <!-- General Player Properties -->
+ <property name="width" value="640" />
+ <property name="height" value="360" />
+
+ <!-- Targets -->
+ <target name="compile">
+ <exec executable="${mxmlc.sv}">
+ <arg value="-as3=true" />
+ <arg value="-compatibility-version=3.0.0" />
+ <arg value="-source-path" />
+ <arg value="${classroot.dir}" />
+ <arg value="-library-path" />
+ <arg value="${libs.sv.dir}" />
+ <arg line="-swf-version=11" />
+ <arg line="-target-player=${sv_targetplayer}" />
+ <arg line="-default-frame-rate=${framerate}" />
+ <arg line="-default-background-color=${bgcolor}" />
+ <arg value="-default-size" />
+ <arg value="${width}" />
+ <arg value="${height}" />
+ <arg line="-debug=false" />
+ <arg line="-optimize=true" />
+ <arg line="-strict=true" />
+ <arg line="-warnings=false" />
+ <arg line="-show-unused-type-selector-warnings=true" />
+ <arg value="${classroot.dir}/com/vimeo/example/ExampleProject.as" />
+ <arg value="-output" />
+ <arg value="${root.dir}/deploy/${swfname}" />
+ <arg value="-link-report" />
+ <arg value="${reports.dir}/${link-report}" />
+ <arg value="-static-link-runtime-shared-libraries" />
+ </exec>
+ </target>
+</project>
@@ -0,0 +1,28 @@
+#Point this to the location where you installed the Flex SDK
+#SDK Properties
+
+# Flex SDK
+sdkhome.sv.dir = YOUR FLEX SDK PATH
+bin.sv.dir = ${sdkhome.sv.dir}/bin
+libs.sv.dir = ${sdkhome.sv.dir}/frameworks/libs
+flashplayer.sv = ${sdkhome.sv.dir}/runtimes/player/mac/Flash\ Player.app
+mxmlc.sv = ${bin.sv.dir}/mxmlc
+compc.sv = ${bin.sv.dir}/compc
+asdoc.sv = ${bin.sv.dir}/asdoc
+
+# Aplication Settings
+version.num = 1.0.0
+
+#You shouldn't need to change any of these properties unless the structure of the app changes.
+#Directories
+build.dir = build
+root.dir = .
+classroot.dir = ${root.dir}/src
+approot.dir = ${root.dir}/flash
+reports.dir = ${root.dir}/ant/reports
+
+#Project Properties
+framerate = 30
+bgcolor = 0x000000
+targetplayer = 10.0.0
+sv_targetplayer = 10.2.0
@@ -0,0 +1,43 @@
+<report>
+ <scripts>
+ <script name="/Users/ryanhefner/Documents/public_html/flash/flash_api_example/flash_api_example/src/com/vimeo/api/VimeoPlayer.as" mod="1301085490000" size="4123" optimizedsize="3936">
+ <def id="com.vimeo.api:VimeoPlayer" />
+ <pre id="flash.display:Sprite" />
+ <dep id="flash.events:Event" />
+ <dep id="flash.events:MouseEvent" />
+ <dep id="flash.net:URLRequest" />
+ <dep id="flash.system:Security" />
+ <dep id="AS3" />
+ <dep id="flash.display:DisplayObject" />
+ <dep id="flash.utils:Timer" />
+ <dep id="Math" />
+ <dep id="flash.events:TimerEvent" />
+ <dep id="flash.display:Loader" />
+ <dep id="flash.geom:Point" />
+ </script>
+ <script name="/Users/ryanhefner/Documents/public_html/flash/flash_api_example/flash_api_example/src/com/vimeo/example/ExampleProject.as" mod="1301084391000" size="577" optimizedsize="553">
+ <def id="com.vimeo.example:ExampleProject" />
+ <pre id="flash.display:Sprite" />
+ <dep id="flash.display:StageScaleMode" />
+ <dep id="AS3" />
+ <dep id="com.vimeo.api:VimeoPlayer" />
+ <dep id="flash.display:StageAlign" />
+ </script>
+ </scripts>
+ <external-defs>
+ <ext id="flash.display:StageAlign" />
+ <ext id="AS3" />
+ <ext id="flash.display:DisplayObject" />
+ <ext id="flash.utils:Timer" />
+ <ext id="flash.geom:Point" />
+ <ext id="flash.events:MouseEvent" />
+ <ext id="flash.display:StageScaleMode" />
+ <ext id="Math" />
+ <ext id="flash.events:Event" />
+ <ext id="flash.net:URLRequest" />
+ <ext id="flash.events:TimerEvent" />
+ <ext id="flash.display:Sprite" />
+ <ext id="flash.display:Loader" />
+ <ext id="flash.system:Security" />
+ </external-defs>
+</report>
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,38 @@
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<title>Vimeo: Flash API Example</title>
+</head>
+<body>
+<div id="player">
+ <noscript>
+ <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="640" height="360" id="flash_api_example" align="middle">
+ <param name="allowScriptAccess" value="always" />
+ <param name="allowFullScreen" value="true" />
+ <param name="movie" value="flash_api_example.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#000000" />
+ <embed src="flash_api_example.swf" quality="high" bgcolor="#000000" width="640" height="360" name="flash_api_example" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
+ </object>
+ </noscript>
+</div>
+<script type="text/javascript" src="assets/js/swfobject.js"></script>
+<script type="text/javascript" language="javascript">
+ var flashvars = {};
+
+ var params = {
+ bgcolor: "#000000",
+ wmode: "opaque",
+ allowscriptaccess: "always",
+ allowfullscreen: true
+ };
+
+ var attributes = {
+ id: "flash_api_example",
+ name: "flash_api_example"
+ };
+
+ swfobject.embedSWF("flash_api_example.swf", "player", "640", "360", "10.0.0", "assets/swf/expressInstall.swf", flashvars, params, attributes);
+</script>
+</body>
+</html>
Binary file not shown.
No changes.
Oops, something went wrong.

0 comments on commit 860a8fd

Please sign in to comment.