Weblog


Look Inside Flash


Wonderful Transitions with Swish

For our design studio we require a web site that not just strikes a viewer's eye, but mesmerizes and hypnotizes. We were recommended to use Swish instead of Flash, which is usually applied to achieve interactivity. I was quite suspicious of this software since experimenting is good as long as it is successful. 

The result, I mean the site itself, turned out to be more impressive than we had expected. The greatest effects were achieved by means of various transitions on the web site. The price we paid for the entire package (we ordered a swish template plus customization service from Flashmint - I would never forgive myself failing to complete a web-design course) was quite the same, if we had decided to do it in Flash. Just glance at the following swish template to see what I meant by marvelous "transitions".

Design studio dynamic swish template



POSTED BY Flash Insider AT 5/21/2008 6:38 AM  |  0 COMMENTS  |  POST A COMMENT  |  DIGG IT




Free Flash Preloader Component - simple but featured loading activity indicator.

Free Flash Preloader component provides an easy way to add a nice visual loading indicatior when loading images or external swf files.

You may skin the preloader component and display any flash animation while loading your data.

It is extremely simple to use. Just place an instance of preloader component on the stage:

And set the parameters:



The parameters are:

- skinSwf - linkage identifier of any animation symbol in library you would like to be played while loading the source. That is a skin for your preloader component.

- skinType - when animation movie identifier is set in ’skinSwf’ parameter you may choose whether this animation will be played in ‘progressive’ or ‘cyclic’ mode.

- "progressive" mode plays skinSwf animation depending on the progress of loaded movie - meaning skinSwf animation’s current frame depends on the percentage of loaded source movie. In this mode your flash preloader component will function as a progress bar.

- "cyclic" mode just plays skinSwf animation in a loop while source movie or image is loaded. This mode of preloader tells users that some activity is happening in flash document, but doesn’t inform about its progress and when loading is going to be finished.

- source - the path to the file of image or swf to load. Our flash preloader component takes care of loading the files for you. It’s only needed to specify where this file is located. Moreover, a batch of events got fired to inform you about loading status. We will update the documentation soon

- target - name of target movieclip, which will be replaced with loaded image or swf specified in source attribute filed. If it’s not specified, preloader component creates a target movieclip at the highest depth of _root scope. Loaded source is placed in the coordinates of the preloader.

Download:
flash-preloader-component.zip (6.7 KB, 50 Downloads)
FDWPreloader-sample-sources-fla.zip (39.9 KB, 39 Downloads)




POSTED BY Flash Insider AT 4/17/2008 5:52 AM  |  0 COMMENTS  |  POST A COMMENT  |  DIGG IT




Get a free copy of Flex Builder

For those of you that don't know Adobe is offering a free copy of the Flex Builder. To get this copy you must be a student and you must complete a registration form. You can live anywhere in the world, doesn't matter. The complete information and link to the form you will find here.

Flex Builder is a IDE (integrated development environment) and is used for designing and developing RIAs(rich internet applications).
To build RIAs, Flex uses two languages: ActionScript and MXML. With ActionScript we are habituated and MXML is a markup language (similar with XML), so don't freak out and give it a try.

Here is the registration form and here some applications made with Flex.



POSTED BY Flash Insider AT 4/16/2008 11:12 AM  |  0 COMMENTS  |  POST A COMMENT  |  DIGG IT




How Get Night Club Website And Not Hire a Designer?

Recently had a chat with my friend who is a night club owner. Let call him Jim. So, Jim is a night club owner who has just started a website and proudly showed it to me. Created by his familiar website designer, this night club site was well-structured and looked rather stylish with no excessive elements or graphics. With the naked eye nobody will guess this website was made from a flash template, but I did somehow. Sure, I didn't reveal this small secret to Jim not to make him loose admiration. To confirm my wild guess, I went home and looked up "flash templates" in Google. It turned out there are lots of companies which provide these products. But the leader in an industry occurs Flash Mint which prices varies from $47 to $199 per template. I went further and started browsing Night Club Flash Templates. To my pleasure, I found a flash template used for Jim's website. Here it is:


Live Demo at Flash Mint

Have to say that the guys from Flash Mint sweat their guts out to stay at the cutting edge, follow web design trends and make their flash templates collection diverse. Just in Night Club Category I counted more than 25 web and flash templates. Here are those I like most:


Strip Club Flash Template


Rythm Flash Template


Red Circles Flash Template


Vivid Club Flash Template

Agree they are worthy to be used for your night club website? And it seems that website and flash templates are excluding custom website design from the market due to their affordable prices.

Blogs Recommended to Read:

Designy

Designic



POSTED BY Flash Insider AT 4/16/2008 10:48 AM  |  0 COMMENTS  |  POST A COMMENT  |  DIGG IT




5 Flash Tips: onLoad Event Handler Not Working With loadMovie?

Tip #1: Neat Fix - onLoad Bug
I have heard so many people moan on the many community forums and mailing lists about the onLoad event handler not working with loadMovie and although I have already posted a fix for the problem (www.actionscripts.org/forums/showthread.php3?threadid=13830), I found this very small and functional fix that does the same thing, a while ago on the Flashcoders Mailing List: http://chattyfig.figleaf.com/mailman/htdig/ flashcoders/2002-October/049415.html and so if you see the question, forward people to http://chattyfig.figleaf.com/apache2-default/.

Tip #2: Bug - Sound.loadSound & GetRight
If you have GetRight (www.download.com/GetRight/3000-2071_4-10005533.html) installed on your computer, a download management utility, and you view a Flash movie that attempts to load an mp3 sound file into the Flash Player dynamically using the Sound.loadSound method, GetRight stops the loading of the mp3 file and asks you to choose a location to save the mp3 file on your local computer; whether you choose to download the file or not, Flash still does not load the file into the player, which raises an issue.

GetRight is one of the most, if not the most popular download utility and this is the default behaviour of the program, of course these settings can be changed, by removing the hook for mp3 files but Flash alone cannot do this automatically for you, this is a manual process that viewers of your site will have follow if they want to listen to dynamically loaded sounds on your site…

To fix the problem, I assume that by changing the file extension of your mp3 files to something which is not registered as a download hook in GetRight will do the trick, but of course, if GetRight actually checks the MIME -type of the file instead of using the files extension, then this will not solve the problem. Changing the mime-type is not only a complex process for novices, it will not solve the problem, because the Flash Player will not play the file if its MIME-type is not set to type mp3.

Tip #3: Stage.showMenu
It is all in the name, Stage.showMenu is a Boolean property of the Stage object that defines whether to display the menu or not, when the user right-clicks on your Flash movie.

A boolean value is either true or false, 0 or 1, on or off, the Stage.showMenu value can either be true or false:

true - Show the menu on right-click
false - Down show the menu on right-click

Please bear in mind, that this isn not the answer to all our prayers, when you turn the right-click menu off, the ‘About Flash 6 Player’ and ‘Settings’ options are still displayed, so no, you cant ‘fully’ remove the right-click menu. The actionscript:

//turn off the right-click menu
Stage.showMenu=false;

Tip #4: System.security.allowDomain
This undocumented method grants permission for the specified domain(s) to access objects and variables in the Flash movie that calls the allowDomain command. This property had to be implemented because of the changes made to the Security Sandbox in the Flash 6 Player…

I have two movies, ‘a.swf’ and ‘b.swf’, ‘a.swf’ is located on www.flashguru.co.uk server and ‘b.swf’ is located on www.macromedia.com server, for ‘a.swf’ to be able to access the contents of ‘b.swf’, ‘b.swf’ has to make a call to the allowDomain command as follows:

System.security.allowDomain(”http://www.flashguru.co.uk”);

The domain can be formatted in numerous ways, the same different formats that the loadVariables, loadVariablesNum, xml.load and loadvars.load methods accept: http://www.domain.com

http://domain.com
domain.com
http://IpAddress

You can pass multiple domains to the method as arguments. This method has been documented in the Macromedia Flash MX ActionScript Dictionary Errata (www.macromedia.com/support/flash/documentation/ flash_mx_errata/flash_mx_errata03.html).

Tip #5: Test Player - System Keys
By default, in the local test player(Control > Test Movie), if you try and press the enter key, to test some code that uses it, your code will not work because the player over-rides the key press as a keyboard shortcut to pause and play the movie, the same goes for the tab key and other important system keys, such as Ctrl, Shift etc… So if you want to test your tabIndexes in the test player, so you can use trace and the debugger, simply select Disable Keyboard Shortcuts from the Control menu (Control > Disable Keyboard Shortcuts) and your code will now recieve the key presses. Saves me a lot of faffing around! Think this is something else I was slow on, these little fine details just fly over my head.



POSTED BY Flash Insider AT 4/16/2008 10:19 AM  |  0 COMMENTS  |  POST A COMMENT  |  DIGG IT





MY PROFILE
Name: Flash Insider
Location:


RECENT POSTS
Wonderful Transitions with Swish
Free Flash Preloader Component - simple but featured loading activity indicator.
Get a free copy of Flex Builder
How Get Night Club Website And Not Hire a Designer?
5 Flash Tips: onLoad Event Handler Not Working With loadMovie?

ARCHIVES
May 01, 2008
April 01, 2008