Website Designers and Webmasters

Dedicated to all the tasks Webmasters, Website Developers and Website Designers find themselves facing.

By: Ashton Sanders

Free FLV Editor – Not Trial Software!

Nov 12 2009

I have looked through the interwebs for many an FLV video editor. There are many to select from on CNET and for any search on Google. I have downloaded and tried many of these. Even with them being trial software, I was not impressed. In a sentence, I’ve had horrible luck trying to find a good FLV editor.

I’m not totally surprised since most people don’t do a lot of FLV editing. Most people who work with videos create and edit videos in another format (MPEG, AVI, etc.) and then use a FLV converter to turn the file into a Flash Video. If an edit needed to be done to the video, it would be done in the original format and re-exported into Flash Video.

This brings me to my point: I have found a pretty cool FLV editor that is not trial software. You can clip the timeline very easily and edit the MetaData for the Flash Videos that you edit. It is built in Adobe Air.

Here’s the link to the FLV editor build by RichApps.

Ashton Sanders

By: Ashton Sanders

Flash Random Scene ActionScript

Mar 9 2008

Filed under: Flash ActionScript

I recently created a Flash Animation that would randomly play one of three different Flash scenes. Then after each scene, it would go back to the beginning and randomly choose another scene to play. This was all programmed in ActionScript in Flash.

I have a feeling that even though this code is very simple, it will save a little bit of time if I have it stored here for the future.

// First Choose a random number
//from 0 to the number of scenes
num = random(3);

//Depending on which random number
//was chosen, go to a flash scene
switch (num)
case 0:
gotoAndPlay(“scenename”, 1);
case 1:
gotoAndPlay(“scenename1”, 1);
case 2:
gotoAndPlay(“scenename2″, 1);
trace ( ” no case tested true ” )

That’s it!
Ashton Sanders

(P.S. If this was useful for you, please leave a comment! ;))

By: Ashton Sanders

ActionScript – Loading Screen – Part 3

May 8 2007

The third part of this ActionScript Loading Bar Tutorial will be putting together everything we have learned so far in this tutorial and making it work.

At the end of the ActionScript – Loading Screen – Part 2, we had put together a simple piece of code that will shrink the size of our loading bar to the same percentage that our movie has been loaded so far. (ie. If the movie is 45% loaded, the loading bar will be 45% wide.)

Now if you plug that into a movie, it will check our piece of code once, but not again, here is what you would do to have it check the code every frame.

On the first frame, of our movie, we put this code:

percent = (_root.getBytesLoaded()/_root.getBytesTotal())*100;
_root.loader._xscale = percent;

On the second frame of our movie we put this code:

if(percent < 100){
gotoAndPlay(1); //go to frame one again
}else {

To summarize that if statement: If the movie isn’t done loading, go back to frame one and start over. This will run the code we placed on frame one, and update the width of our loading bar. Otherwise (else), the movie has completed loading, and it is time to play! (Yes, the play(); is redundant, because that’s what the movie would do automatically.

Then all you have to do is set up your movie to play in the next scene, and WALA! you have one beautiful Loading Bar!

-Let me know if this helped you,
-Ashton Sanders

By: Ashton Sanders

ActionScript – Loading Screen – Part 2

May 7 2007

The second part of this ActionScript Loading Bar Tutorial will be discussing that ratio between the bytes loaded so far and the total size of the movie in bytes.

*Click Here for Part 1 of the ActionScript Loading Screen*

ActionScript Theory

The theory behind this is very simple: If you take the amount of bytes that has already been loaded in your move, and divide it by the total size of your movie, you will end up with the percent of your move that is loaded.

ActionScript Code

We will be using two ActionScript Commands:

//How many Bytes have been loaded so far.

//And the total bytes in the movie

Using the formula above, we come out with


This will give us a decimal like .4, which means 40%. so we are going to multiply it by 100 to get the correct number:


Great, now lets apply this to what we discussed in Action Script – Loading Bar – Part 1. We are going to assign this percentage to the _xscale (or width) of the loading bar (_root.loader).

_root.loader._xscale =

Great! Now we have the function for setting the width of the load bar. When the movie first starts loading, and there is only 1 byte loaded out of 4,000 bytes, the loading bar will be almost completely invisible, then as the number of bytes increases, the width of the bar will increase until 4,000 out of 4,000 bytes have been loaded and the loading bar is back to its normal width.

Last Step

We only have one step left to finish our loading bar, which you can view in Part 3 of this ActionScript Loading bar Tutorial.

Click to view all of the ActionScript Loading bar Tutorials on one page.

-Continue to ActionScript Tutorial Part 3
-Ashton Sanders

By: Ashton Sanders

ActionScript – Loading Screen – Part 1

May 5 2007

Here is a Loading Bar I developed using the ratio of Loaded bytes to total bytes.

ActionScript _xscale

This script uses three main elements. The first one we will discuss is: “_xscale”

//This is used to specify the
//width of an symbol (ie. movieClip)
_root.movieClip._xscale = *number between 0 and 100*

To go into more detail into that last element, if your movie clip is named “loaderbar” and you made it to be at its full length (about 200 pixels lets say), you could type:

_root.loaderbar._xscale = 50;
//That would squeeze it to
//100 pixels (50%)

This is what we will be using to slowly move the bar across the screen as the file is loaded.

Here is a Flash Loading Bar to demonstrate the _xscale Property.

This is continued in ActionScript Loading Screen Part 2
-Ashton Sanders

Older Posts »

Where Am I?

You have found the semi-coherent ramblings of Ashton Sanders: a website designer, developer and webmaster. This is primarily Ashton's place to save notes about techniques and things that he learns in his never-ending conquest of the internet. Hopefully it's coherent enough to be useful to you too.


Enter your email to get automatic emails whenever Ashton posts on the blog.


Tags and Categories


Blog Roll