This file contains hidden or 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
| package app | |
| { | |
| import actionlib.common.logging.Logger; | |
| import flash.events.IOErrorEvent; | |
| import flash.filesystem.File; | |
| import flash.media.Sound; | |
| import flash.media.SoundChannel; | |
| import flash.media.SoundTransform; | |
| import flash.net.URLRequest; |
This file contains hidden or 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
| package app.ui | |
| { | |
| import airlib.display.FrameObject; | |
| import app.App; | |
| import starling.display.DisplayObject; | |
| import starling.display.DisplayObjectContainer; | |
| public class SoundButton extends AppButton |
This file contains hidden or 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
| framework_roots = [ | |
| "../flashtml", | |
| "../../flashtml", | |
| "../../../flashtml", | |
| ] | |
| task :up do | |
| update_items = [ | |
| [ "lib", "actionlib", "air/lib/actionlib" ], | |
| [ "lib", "airlib", "air/lib/airlib" ], |
This file contains hidden or 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
| task :up do | |
| update_items = [ | |
| [ "src", "fl", "engine/src/fl" ], | |
| [ "tools", "FlashExporter*.air", "exporter/distrib/*.air" ], | |
| [ "html/js", "pixi", "engine/html/js/pixi" ], | |
| [ "typings", "pixi.js", "engine/typings/pixi.js" ], | |
| ] | |
| src_list = [ | |
| "../flashtml", |
This file contains hidden or 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 ActionLib.Common.Events; | |
| using ActionLib.Display; | |
| using ActionLib.Display.Utils; | |
| using Lightomania.Bundles; | |
| using Microsoft.Xna.Framework; | |
| namespace Lightomania.UserInterface.ScrollBar | |
| { | |
| public class DragController |
This file contains hidden or 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; | |
| namespace ActionLib.Display | |
| { | |
| internal class TextFitAutoScale | |
| { | |
| private readonly TextBase _field; | |
| private bool _defaultValuesSet = false; | |
| private float _defaultFontScale; |
This file contains hidden or 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
| apboyle | |
| Oct 12, 2015 5:26 PM (in response to rrackleff) | |
| The problem seems to be that a script in the page is referring to a non-public hostname idmsauth-stable.corp.apple.com. I was able to workaround this issue by manually modifying the script in Chrome Developer Tools and re-executing the code in the Developer Console. | |
| 1) Open the activation URL in Chrome | |
| 2) Open Chrome Developer Tools (Cmd-Alt-I on OS X, Ctrl-Shift-I on Windows) |
This file contains hidden or 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
| Shader "Flunity/Default" | |
| { | |
| Properties | |
| { | |
| _MainTex ("Particle Texture", 2D) = "white" {} | |
| } | |
| Category | |
| { | |
| Tags |
This file contains hidden or 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
| tell application "System Events" | |
| set _process to first application process whose frontmost is true | |
| tell _process | |
| tell menu 1 of (menu item 1 where its name contains "Recent") of menu "File" of menu bar 1 | |
| set menuitems to name of (menu items where name is not "") | |
| tell _process | |
| set _result to choose from list menuitems | |
| set frontmost to true | |
| end tell | |
| if _result is false then return |
This file contains hidden or 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
| private void UpdateTexture(ref Rect textureRect, ref Vector2 textureSize, TextureFlip flip) | |
| { | |
| var lt = new Vector2(textureRect.x / textureSize.x, textureRect.y / textureSize.y); | |
| var rb = new Vector2(textureRect.xMax / textureSize.x, textureRect.yMax / textureSize.y); | |
| if ((flip & TextureFlip.HORIZONTAL) != 0) | |
| { | |
| var temp = rb.x; | |
| rb.x = lt.x; | |
| lt.x = temp; |