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
/** | |
* @author Michael Ritchie | |
* @blog http://www.thanksmister.com | |
* @twitter Thanksmister | |
* Copyright (c) 2010 | |
* | |
* This is a AS3 application to test the TouchList component. | |
* */ | |
package | |
{ |
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"?> | |
<ListView | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_height="fill_parent" | |
android:layout_width="fill_parent" | |
android:cacheColorHint="#00000000" | |
android:fadingEdge="none"/> |
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 static function scaleImage(bitmapData:BitmapData, width:Number, height:Number):BitmapData | |
{ | |
// Calculate the scaled size. | |
var scale:Number; | |
var scaledWidth:Number; | |
var scaledHeight:Number; | |
scale = Math.min(width/(bitmapData.width as Number), height/(bitmapData.height as Number)) | |
scaledHeight = bitmapData.height * scale; |
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
package | |
{ | |
public class TimeZoneUtil | |
{ | |
import com.adobe.utils.DateUtil; | |
/** | |
* List of timezone abbreviations and matching GMT times. | |
* Modified form original code at: | |
* http://blog.flexexamples.com/2009/07/27/parsing-dates-with-timezones-in-flex/ |
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"?> | |
<!-- | |
Michael Ritchie | |
[email protected] | |
Copyright 2011 ThanksMister LLC | |
--> | |
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx"> |
OlderNewer