This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<bundle> | |
<!-- (optional) describes alternate manifests for this product --> | |
<bundleLinks> | |
<link title="High Crown/Curved Bill" xmlURL="/uploads/designer/assets/products/384425_true_fitted_4_caps/384425_fitted_high_crown_curved_bill.xml" /> | |
<link title="High Crown/Flat Bill" xmlURL="/uploads/designer/assets/products/384425_true_fitted_4_caps/384425_fitted_high_crown_flat_bill.xml" /> | |
<link title="Medium Crown/Curved Bill" xmlURL="/uploads/designer/assets/products/384425_true_fitted_4_caps/384425_fitted_medium_crown_curved_bill.xml" /> | |
<link title="Medium Crown/Flat Bill" xmlURL="/uploads/designer/assets/products/384425_true_fitted_4_caps/384425_fitted_medium_crown_flat_bill.xml" /> | |
</bundleLinks> | |
<!-- (optional) overrides defaults for the scene --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static float EaseOutBack(float t, float start, float length) | |
{ | |
float s = 1.70158f; | |
return length*((t=t-1)*t*((s+1)*t + s) + 1) + start; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var localMediaTime = CAAnimation.CurrentMediaTime(); | |
NSObject[] keyframes = TweenBuilder.CreateKeyValues(-295, 0, Easing.EaseOutBounce); | |
var homeIn = new CAKeyFrameAnimation { | |
KeyPath = "position.x", | |
Duration = 1.4, | |
BeginTime = localMediaTime, | |
FillMode = CAFillMode.Forwards, | |
RemovedOnCompletion = false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using MonoTouch.UIKit; | |
namespace | |
{ | |
public static class ScreenResolutionUtil | |
{ | |
public static bool IsTall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace V2DRuntime.Tween | |
{ | |
public delegate float EasingFormula(float t, float start, float length); | |
// easing equations from the ever brilliant Robert Penner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// addEventListener polyfill 1.0 / Eirik Backer / MIT Licence | |
(function(win, doc){ | |
if(win.addEventListener)return; //No need to polyfill | |
function docHijack(p){var old = doc[p];doc[p] = function(v){return addListen(old(v))}} | |
function addEvent(on, fn, self){ | |
return (self = this).attachEvent('on' + on, function(e){ | |
var e = e || win.event; | |
e.preventDefault = e.preventDefault || function(){e.returnValue = false} | |
e.stopPropagation = e.stopPropagation || function(){e.cancelBubble = true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isPepperFlashPlayer: -> | |
plugin = navigator.plugins['Shockwave Flash'] | |
if plugin is undefined #IE | |
false | |
else | |
plugin.filename.toLowerCase().indexOf('pep') > -1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected function onVideoPlayheadUpdate(event:VideoEvent):void | |
{ | |
var progress:Number = videoDisplay.playheadTime / Number(videoDisplay.metadata.duration); | |
for (var i:int = 0; i < _actionCues.length; i++) | |
{ | |
var a:ActionCueVO = ActionCueVO(_actionCues[i]); | |
var begin:Number = TimecodesAS3.timecodeToSeconds(a.begin); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<video id = "L1_V1" title = "LESSON 1" | |
file = "videos/2.f4v" | |
ccFilePath = "assets/xml/cc/2.dfxp.xml" | |
previewImagePath="assets/images/lesson1.png"> | |
<actionCues> | |
<action | |
type="title" | |
title = "PATHOPHYSIOLOGY" | |
begin = "00:00:01.00" | |
end = "00:05:18.10" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { (function() { | |
if (!fw.selection || !fw.selection.length) { | |
return; | |
} | |
var json, filePath, file; | |
json = '{"sprites":['; | |
for(i=0;i < fw.selection.length;i++){ | |
var element = fw.selection[i]; |