Posts Tagged ‘flash’
Dynamically Loading an Image
5/3/2010 12:00 AM By Jeff BIf you’re seeking web developer jobs, it’s very important that you stay on top of emerging web development trends. One of the things Flash can do that straight-up HTML cannot (but HTML + JavaScript can) is dynamically load elements. This results in a faster experience for the user. Some of the most common elements, of course, are images.
So, here are two examples for dynamically loading an image, the first in ActionScript 2 (which is rapidly falling by the wayside) and the second using its successor, ActionScript 3 (for Flash 9 and later).
In the case of ActionScript 2, we’ll be using the createEmptymovieClip() and loadMovie() methods:
// ActionScript 2.0
var url:String = "http://www.helpexamples.com/flash/images/image2.jpg";
var movieClip:MovieClip = createEmptyMovieClip("movieClip", 0);
movieClip.loadMovie(url);
As for ActionScript 3, we would just use the Loader class:
//ActionScript 3.0
var url:String = http://www.helpexamples.com/flash/images/image2.jpg;
var urlRequest:URLRequest = new URLRequest(url);
var loader:Loader = new Loader();
loader.load(urlRequest);
addChild(loader);
Of course, one might ask, “Why don’t I just include all those images in my swf when I export it?” Well, you could do that. And end up with a massively bloated swf that takes way too long to download. As a marketable freelance web developer, you’ll want to avoid this, since people’s attention spans tend to be quite short on the internet. Not only that, but bandwidth can become expensive, so sending as few bytes from your server(s) to your visitors is also good for the pocketbook.
What Can I Use Flash to Do?
6/15/2008 1:31 PM By ArtisanThere are a wide variety of applications you can use Flash for besides creating games and streaming video. Freelance Web developer jobs can include using Flash to create enhancements for that streaming media. Does your client want to password-protect a movie or audio stream? Subscriber-only content requires a Flash enhancement capable of accepting a username and password. This is a basic feature of Web 2.0 technology in today's e-commerce world and if you want a high-paying freelance web developer job, knowing how to use Flash for these purposes will serve you well.
There are also Flash applications for e-mail, special effects such as menus with sliders, even fancy text displays. You can learn a variety uses for Flash that give Websites new and exciting functions. There are Flash video loops, video games, and complicated rollover effects you learn and add to your portfolio. Every new Flash skill you learn is another tool in your toolbox that make you much more marketable as a freelance Web designer.
What is Flash?
6/14/2008 1:30 PM By ArtisanFlash is a technology that allows creation of animations, integration of video and other moving images on a Web page. Flash supports streaming video and audio and can be a major enhancement to a Web site when used properly. A freelance web developer who specializes in Flash can earn money using web 2.0 technologies to Flash-enhance a site to offer games, videos, and interactive activities. To work with Flash, freelance Web developers should be familiar with a language called ActionScript.
Web 2.0 technology like Flash is used in popular destinations on the Internet such as YouTube and MySpace; a freelance web developer skilled in Flash could find their skills in demand, especially for start-up companies intending to compete with these more established sites.
Contact Artisan for help finding great designers with loads of Flash knowledge, or great employers who are in need of a Flash expert.








Subscribe by RSS