Boolean Switch - MySQL / PHP / AJAX

  • Tumult Hype - January 2, 2018

This HYPE project contains a simple Boolean Switch that changes a MySQL database entry via PHP using jQuery Ajax calls and then updates HYPE accordingly.

This guide is designed for those who are already familiar with PHP and MySQL Databases.

If you are frustrated that there always seems to be a slight delay on opening the dock when you try to activate it then try this terminal hack to speed things up.

Facebook Cover Photo Dimension Options

  • Facebook - July 18, 2017

If you have already googled 'facebook cover dimensions' you will probaly have been informed to design your cover photo to 851 x 315 pixels.

STOP THIS NOW

As the majority facebook users now use their mobile devices to view facebook, it makes sense for you to design your cover photo to fit mobile devices. Instead of having the sides of your cover photo cut off on mobile, it would be better to design the cover photo to have the top and bottom cut off on Desktop instead.

Tumult Hype - Rich Media - Video Billboard

  • Tumult Hype - May 3, 2017

Here are a couple of starter templates for building a Rich Media Video Billboard with custom video controls using Tumult Hype.

Mac OSX Terminal Hack - Add Spaces in the dock

  • Mac Terminal - November 24, 2016

If you have a dock with way too many applications in it, it would be great to add spacers so that they could be organised. Since apple has no default way of doing this, a simple terminal hack is already built into your Mac so that your Dock could be organized in seconds.

Dynamically named variables

  • PHP - November 17, 2016

Sometimes you just need your variable be be named dynamicly, from an existing variable that changes its vlaue or a value from a database or an array.

Well it could'nt be simpler:

${"StaticName_".$myVariable}

 

Dynamically Load External JS File

  • Javascript - June 3, 2016

There are times when you may need to load an external Javascript library dynamicaly and not via a static <script> tag such as:

<script type="text/javascript" src="http://yoursite.com/external.js"></script>

The following js code snippet can be added to an existing function to be loaded when needed...

Flashtalking Tumult Hype Build Guide

  • Tumult Hype - June 2, 2016

Here is a quick guide to getting started building a Flashtalking Video Ad in Tumult Hype.

Edge Animate CDN Runtimes

  • Adobe Edge Animate - May 20, 2016

All the common runtime libraries of your ads when created by Edge Animate are hosted and served from a shared location, this increases their chances of being cached on the end users browser and ensurs that publishers do not include them in ad size calculations.

This snippet lists the links to the location of both Sizmek and Flashtalking HTML5 shared libraries.

Tumult Hype CDN Runtimes

  • Tumult Hype - May 20, 2016

All the common runtime libraries of your ads when created by Tumult Hype are hosted and served from a shared location, this increases their chances of being cached on the end users browser and ensurs that publishers do not include them in ad size calculations.

This snippet lists the links to the location of both Sizmek and Flashtalking HTML5 shared libraries.

Basic Greensock Animation 01 - Fade/Zoom Symbol

  • Adobe Edge Animate - May 19, 2016

Learn how to integrate basic Greensock animation into your Edge Animate Project. In this example, on mouse click we simply animate a circle up and down while changing the opacity:

Show Formatted Date

  • Javascript - May 18, 2016

This snippet allows you to display the current date in numbers on your webpage.

Edge Animate Element CSS Value

  • Adobe Edge Animate - May 15, 2016

A simple was to change the CSS properties of a element or symbol in Edge Animate.

3D Card Flip

  • Adobe Edge Animate - May 2, 2016

Simulate an object spinning from front to back, this example show playing card being flipped over.

Video - Play Pause Hold Play Again

  • Adobe Edge Animate - April 21, 2016

This small piace of code lets you pause a video file after a set period time for a set amount of time, the video will then continue to play automaticy then loop.

Global Function

  • Adobe Edge Animate - April 19, 2016

A good place for your global functions would be to store them inside document.compositionReady

This small snippet shows you how to set up a global function and how to access it from anywhere.

Random Team Generator?

  • Adobe Edge Animate - April 19, 2016

This code snippet lets you specify 4 different teams, then randomly generate 2 matches as if it where a semi-final draw. By clicking a button the draw can be made over and over again.

Using x2 retina images in Edge Animate

  • Adobe Edge Animate - March 30, 2016

A simple hack to make the browser automatically select retina or non retina images in an AE project.

Global Variables

  • Adobe Edge Animate - March 1, 2016

If you have ever needed to access a variable from within a symbol and in addition change its value, then you need to make your variables global.

A 'global variable' is a variable that it can accessed and reset throughout your project from within any symbol at any level in your project.