How to Control Font Size in Percentage

font-percentagesTo control fonts in percentage is the easiest method which we can choose while playing with the fluid layouts, or perhaps while working with widgets and web 2.0 elements.

It is recommended while working with layouts that we define a standard font size for html and body. In the beginning there were loose style for fonts. Nobody used to care about styling fonts. Then in the design era of computer age, designers developed and adopted techniques to control different design aspects of websites and usually most popular standard was to choose 11px to 12 px font for HTML. Many years this technique prevailed until web 2.0 arrived and some web architects decides that fonts must be clear and bold. So now designers and developers adopt a technique to display large font sizes. Font size, color, face are also a part of the design. Here is how we can control font by percentage as a unit for font size.

Read the rest of this entry »

Sound Control In Flash – Tutorial and Downloads

We can import any sound of supported format into flash (Shortcut: Ctrl+R). After importing, you can find sound in Library panel and by dragging that at stage it will be added in timeline of movie. Other way is to click at timeline which will give you sounds panel in movie properties panel, if you have imported sounds into your movie. You can select any sound from there and add into your movie. By selecting any sound it further provides some options of Effects and Sync. By effects you can select left or right channel sound or sound fade in, fade out effect. By Sync you can select event, start, stop, stream options for selected sound and loop option or repeat times . Event sound is normal while stream sound is streamed when movie is played, if the movie is paused then stream sound will be paused also. Stream sound option is for synchronizing sound with visual animation where you need sound along with animation effects. If you need a loop sound, and you have a music loop and you want it to be played again and again then select event or play and select repeat and put value of 999 in repeat times. If you select stream sound, you will have to add frames to the sound till it ends and also we do not give repeat times to a streaming sound usually.

Read the rest of this entry »

Transition Between Sections of a Flash Movie

By just looking at the image, I think you will not get the whole idea about the function. You will have to download it to see working example. This is an explanation of how to animate different sections of a movie smoothly. When some button is clicked, the previous animation restores its original state or disappears in a smooth way and after that new movie appears or gains the new position.

Read the rest of this entry »

Load External SWFs With Smooth Transition

In the following example I have taken two external swf movies which are called when buttons are clicked. The idea is to create a smooth transition effect between loading and unloading of flash external movies.

Read the rest of this entry »

Buttons Control In Flash

In Adobe Flash buttons are essential part and play specific role in control and animation of movie. I will explain here about how to animate the button or trigger a smooth animation by movie clip onmouseover of a button and onmouseout. We create an invisible button mostly and give it a target movie clip which is visible part of a button. When someone mouseover or mouseout from button then button trigger some animation into movie clip.

Button has four states; up, over, down, hit.
Go inside the button by double clicking it and there you will find these states. When you place actual object (i.e. rectangle) at hit state, then it will not be visible. That’s how we create an invisible working button by placing its content at just hit state. Download example below for explanation.

Read the rest of this entry »