Skip to content

Instantly share code, notes, and snippets.

@matthua
matthua / AS3ScrollingList.as
Created May 8, 2013 18:19
ActionScript 3 (AS3) Scrolling List for Android and iOS mobile devices.
/**
* @author Michael Ritchie
* @blog http://www.thanksmister.com
* @twitter Thanksmister
* Copyright (c) 2010
*
* This is a Flash application to test the TouchList component.
* */
package
{
@matthua
matthua / index.html
Created May 5, 2013 11:27
360 panoramic
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>360 panoramic</title>
<!-- Start wpplusonethis -->
<script type="text/javascript" src="plusone.js"></script>
<!-- End Of wpplusonethis -->
</head>
<body>
_/ _/ _/_/_/ _/_/_/_/ _/_/_/ _/_/ _/ _/ _/_/_/_/
_/ _/ _/ _/ _/ _/ _/ _/ _/_/ _/_/ _/
_/ _/ _/ _/_/_/ _/_/_/ _/_/_/_/ _/ _/ _/ _/_/_/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/_/ _/_/_/ _/ _/ _/ _/ _/ _/ _/ _/_/_/_/
@matthua
matthua / main.html
Created April 21, 2013 08:29
github ribbons
<a href="https://github.com/sindresorhus/bower-components"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
@matthua
matthua / example1.as
Created April 12, 2013 10:27
Externally hosting secondary swf files (iOS)
package
{
import flash.display.Loader;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.IOErrorEvent;
import flash.net.URLRequest;
import flash.system.ApplicationDomain;
import flash.system.LoaderContext;
@matthua
matthua / example.as
Last active December 16, 2015 03:39
Flash AIR SKD 3.7适用
import flash.system.*;
var aLoader:Loader = new Loader();
var url:URLRequest = new URLRequest("swfs/SecondarySwf.swf");
var loaderContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
aLoader.load(url, loaderContext); // 加载 SWF 文件
@matthua
matthua / index.html
Created April 11, 2013 17:06
Slide In (as you scroll down) Boxes
<section>
<div class="module"></div>
<div class="module"></div>
<div class="module"></div>
<div class="module"></div>
<div class="module"></div>
<div class="module"></div>
<div class="module"></div>
<div class="module"></div>
@matthua
matthua / index.html
Last active December 16, 2015 02:19
Simple Responsive demo
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Responsive interactie ontwerp</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width"/>
<link href="style.css" rel="stylesheet" type="text/css" />
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Full Page Slider</title>
<style type="text/css">
html {
min-width: 800px;
}
#full-slider-wrapper {