
ryando- —
- Unknown
ryando is currently Browsing Computerlove
Full Name:
Born:
December 31, 1969Job:
NoneWebsite
NoneStatus:
UnknownSeptember 16, 2007 Last login on:
May 19, 2008
Blog
|
4 posts | Alert me on update |
Get RSS
May 19th, 2008
Free Flash Source Code
New design and source code, just my way of trying to give something back to the open source community: www.flashsourcecode.com
October 1st, 2007
Flash source code: Actionscript 3 preloader
Just added an AS 3 preloader.

You can download it here.
Flash Source Code
Comments (1)
September 24th, 2007
Just added some new Flash source code
I found a quick and easy way to make a parallax scroller in Flash.
What is parallax?
This effect is noticeable in a car and you are looking out the window. Things that are close to the car as you drive by move faster, while things in the background move slower.
This effect is easily accomplished while using Flash. I just added an example in the source code section.
The code can be as simple as this:
(I have two movie clips on the stage named “top” and “bottom.”)
position = 0;
function move_stuff(position){
var tween_handler:Tween = new Tween(bottom, “_x”, Regular.easeOut, bottom._x, position, 5, true)
var tween_handler:Tween = new Tween(top, “_x”, Regular.easeOut, top._x, position*.4, 5, true);
}
All that I am doing is moving objects on the stage relative to each other and placing one relative to the other by a smaller percentage.
Now place some buttons and call a location you want to move to by using this code:
on(release){
move_stuff(-1000);
}
It is that simple, you can download the code here.Flash Source Code

Comments (1)
September 16th, 2007
Open Source Flash Source Code
I have created a site to share some Flash Scripts with the public. Feel free to make suggestions for the site and new code snippets. FlashSourceCode.com

Add a Comment