Archive for Tutorials

Writing A Musical Loop in ActionScript 3.0

musicloop Sorry for the late posting, I’ve been buzy with my new IPOD lately :3. Today’s tutorial shows how to construct a musical loop in Action Script 3.0. There’s also a mute and un-mute button just in case many of you wondering how to do it.

Completing this tutorial you can some of you presentation animators (those that requires Action Script sound control on presentation loop) can resume your project without much worrying.

Is still almost the same as AS 2.0. The syntax may change a little bit. You can do much more now, they upgraded these sound object stuff.

Here take a look at the sample and scripted code below.

  Read the rest of this entry »

My Ipod Touch 1.1.4 JailBreak Experience

ipod-touch-image

Jailbreaking Ipod Touch is save nowadays, and you could always restore it back with iTunes. However, once you are jailbreaking it, you might want to do some research prior to that before actually doing it.

Look for,

  • Latest Jailbreak software such as ILiberty, Ziphone (during my time I was using Ziphone 3.0)
  • Make sure your Wifi is available at that time.
  • Get some FTP software (optional) or download Iphone Browser to connect to your Touch via cable. (You need this to transfer other files format to Touch other than ITunes). Touch does not have disk mode so, yeah it will not appear mounted as a USB drive in explorer.

Ok, looks like if you got all the above, you are all set to go. For Ipod Touch users, best to upgrade it to 1.1.4 firmware via iTunes.

ziphone

 

Read the rest of this entry »

AS3: Scripting OnClick Play Sound

This is the most common scripting found for playing sound in ActionScript 3.0. In ActionScript 3.0 they have this Sound Channel which represent a sound object, with it you can have a MUCH BETTER sound control in Flash.

Today’s tutorial in we going to create a simple movieClip , attach an click event listener on it and it triggers the function to play a sound object from the library.

 

Read the rest of this entry »

Drag & Drop and Import Library MovieClip in DocumentClass

This post is the extension of the previous one here on how to add Event Listener to control buttons, and MovieClips when there is interaction.

Like previous of the post, we are going to create a flash sample on how to drag and drop on a newly created MovieClip and how to import an existing MovieClip from the library.

Drag and Drop EventListener for MovieClip and Sprite

Read the rest of this entry »

ActionScript 3.0 : Buttons and Drag & Drop

event_trigger In ActionScript 3.0, buttons and interactive movieclip stuff is scripted differently. To understand in depth about how ActionScript 3.0 works for interactivity see the diagram beside.

Diagram besides show, a pin with a tag attached to it. In Action Script 3.0, all events such as mouse clicks, mouse move, mouse over, keyboard inputs, even movieclip’s frame movement is controlled using event listeners. You can attached this event listeners to any movieClip, components, stage or sprites to add interactivity features to it. Just like how the pin works…just attach the pin to the object.

Each event listeners has a trigger function. Trigger function is a script which triggers because of the specific event for example, a mouse click. This means if you attached an event listener for mouse click on a button, the trigger function itself will be the script for the button. This is how you make button scripts in Action Script 3.0. Similar to our old on(Press) function.

Read the rest of this entry »

Page 5 of 6« First...23456