Building a Name Generator with Flash and Actionscript 3.0

Written by: embersyc on Saturday, October 17 2009 at 00:45 AM
Rating: None


Okay I'm sure you've seen this type of thing before online, its a really simple program to write and you can learn some of the basics of Actionscript 3.0 and Flash in just a few minutes by building this simple application that will bring traffic to your site. When you're done with this brief tutorial you'll be able to customize your own name generator to make any kind of names you want. Click the button above to test it out, if you don't like the name you get you can click it as many times as you'd like.

Software Required: Adobe Flash CS3 or CS4
Difficulty: Easy
Time: 15-30 minutes
You will learn about:

* Creating Buttons
* Dynamic Text
* Instances
* Variables
* Arrays
* Functions
* Event Listeners
* Generating Random Numbers
* Rounding Numbers

Begin by creating a new document, select Flash File (Actionscript 3.0) from the list.

http://carport19.com/images/screen1.jpg

Immediately after creating your document you can set your document size and frame rate(unimportant for this excersize) in the properties inspector

Read Article


Writing and Saving XML in PHP5

Written by: embersyc on Monday, October 05 2009 at 00:08 AM
Rating: None

In this tutorial, we will be using PHP5 to write and save an XML file. Our completed XML will look like this:

Code:

<?xml version="1.0" encoding="UTF-8"?>
<news>
  <story image="image.jpg">
    <headline>This is a headline.</headline>
    <htmltext><![CDATA[<b>This text is rendered as <i><u>HTML.</i></u></b>]]></htmltext>
  </story>
</news>


First we will declare some variables to store our information, obviously in your application this data can come from a database, a form, or some other location, but for this tutorial I am just going to directly declare them.

Code:

$image_path = "image.jpg";
$headline_text = "This is a headline.";
$html_text = "<b>This text is rendered as <i><u>HTML.</i></u></b>";


When working with XML in PHP we use the DOMDocument class, so the very first thing we must do to work with XML is create an instance of this class for our XML

Read Article


Coen Brother's A Serious Man Trailer

Written by: Trailerking on Thursday, October 01 2009 at 19:59 PM
Rating: None


A Serious Man on IMDB

Another new movie from the Coen Brothers, these guys are on a serious roll. A dark comedy about a miserable jewish guy in 60s. I'm sure there will be some good characters in this one.

Read Article


Desktopography Wallpaper Exhibition

Written by: embersyc on Monday, September 21 2009 at 01:24 AM
Rating: None
User Image

Desktopography Homepage

Every year Desktopography releases a new collection of interesting wallpapers. There are five years worth of designs for you to check out and put on your monitor.

Read Article


Page 1 of 2: 1 | 2 |
Welcome to A93X

We support and aim to facilitate the open sharing of information. Join the revolution. If you have a passion for writing, sign up and share your knowledge, share your mind.

It’s completely free so why hesitate?

Sign Up

Site News
A93X.com is now live.
Written by: A93X.com

Hello everybody,

How often do you have the opportunity to be around at the beginning of something great? For now A93X is a simple site where you can write articles, have your own url http://www.a93x.com/yourname, and connect with other authors. Over the coming months and years we will be adding new features and constantly striving to improve the A93X experience.

Right now we need contributors. Sign up today and get writing! Its totally free! Rate others articles and participate in the discussion. Be sure and let all your friends know we are here.

Thanks for visiting!