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 nl.application.view.components.battlepage { | |
import nl.application.model.vo.BattleData; | |
import nl.debit.flash.swf.SWF; | |
import nl.debit.flash.swf.events.SWFEvent; | |
import nl.debit.flash.video.FLV; | |
import nl.debit.flash.video.events.VideoEvent; | |
import flash.display.Loader; | |
import flash.display.LoaderInfo; | |
import flash.display.MovieClip; |
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 nl.application.view.components.ui { | |
import flash.display.DisplayObject; | |
import flash.events.Event; | |
import flash.events.KeyboardEvent; | |
import flash.system.System; | |
import flash.ui.Keyboard; | |
/** | |
* @author Jankees van Woezik | Base42.nl | |
*/ |
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
private function getWinner():String { | |
var to:String = String(_battleData.strategy_to[_currentVideoNumber]).charAt(0); | |
var from:String = String(_battleData.strategy_from[_currentVideoNumber]).charAt(0); | |
var result:String = ""; | |
if(from == "r") from = "l"; | |
if(from == "l") from = "r"; | |
if(_currentVideoNumber + 1 < 4) { |
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
<?php | |
class NewsImage extends AppModel { | |
var $name = 'NewsImage'; | |
var $belongsTo = array( | |
'News' => array( | |
'className' => 'News', | |
'foreignKey' => 'news_id', | |
'conditions' => '', | |
'fields' => '', |
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
<?php | |
class PhotoAlbumImage extends AppModel { | |
var $name = 'PhotoAlbumImage'; | |
//The Associations below have been created with all possible keys, those that are not needed can be removed | |
var $belongsTo = array( | |
'PhotoAlbum' => array( | |
'className' => 'PhotoAlbum', | |
'foreignKey' => 'photo_album_id', | |
'conditions' => '', |
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
<?php | |
class PhotoAlbum extends AppModel { | |
var $name = 'PhotoAlbum'; | |
var $displayField = 'title'; | |
//The Associations below have been created with all possible keys, those that are not needed can be removed | |
var $hasMany = array( | |
'PhotoAlbumImage' => array( | |
'className' => 'PhotoAlbumImage', | |
'foreignKey' => 'photo_album_id', |
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 nl.gemeentedeurne.model.utils { | |
import inlet42.util.Random; | |
import com.google.maps.LatLng; | |
/** | |
* @author Jankees van Woezik / Base42.nl | |
*/ | |
public class PointParser { | |
private static const SHAPE_DELIMITER : String = "||"; |
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"?> | |
<project name="Create version file" default="Create version.as file" basedir="../../"> | |
<target name="Create version.as file"> | |
<tstamp> | |
<format property="TODAY" pattern="dd/MM/yyyy - HH:mm" locale="en,UK" /> | |
</tstamp> | |
<echo file="flash/source/Version.as">package { | |
import flash.display.Sprite; | |
import flash.ui.ContextMenu; | |
import flash.ui.ContextMenuItem; |
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
// | |
// UISwipableTableCell.m | |
// GameKings | |
// | |
// Created by Jankees van Woezik on 2-8-10. | |
// Copyright 2010 Base 42. All rights reserved. | |
// | |
#import "UISwipableTableViewCell.h" |
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
<?php | |
add_action('init', 'portfolio_init'); | |
/** | |
* Initialize simple-portfolio plugin | |
*/ | |
function portfolio_init() { | |
$custom_slug = get_option('slug') != '' ? get_option('slug') : 'portfolio'; | |
$args = array( |
OlderNewer