Posts Tagged AS3
Free AS3 Date chooser/Date Picker Component v4
Posted by admin in ActionScript 3, FLASH on March 6, 2010
PROJECT UNDER MAINTENANCE
Hi all,
New Version of AS3 Date Chooser Released.
you can customize lot more things in it,
- Import Date Chooser class and event class
- Customize calendar icon dynamically.
- Dynamic Date Chooser construction
- Set calendar icon
- Set Week Start on Monday or Sunday
- Set Month Names
- Set Date Format
- Set system font
- Set embed font
- Add Date Chooser to stage
- Date Chooser Event
- everything id dynamic :) you can simply change anything from code.
import nid.utils.dateChooser.DateChooser; import nid.events.calendarEvent;
[Embed(source = "../asset/20x20_light_blue.png")]
private var icon:Class;
var dateChooser:DateChooser = new DateChooser();
dateChooser.icon = new icon();
dateChooser.WeekStart = "sunday";
dateChooser.Months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
dateChooser.dateFormat = "D/M/Y"; //D,M,Y all combinations are valid
dateChooser.font = "Tahoma";
[Embed(source = "../asset/tahoma.ttf", fontWeight= "normal", fontFamily = "Tahoma")]
protected static var Tahoma:Class;
[Embed(source = "../asset/tahomaBold.ttf", fontWeight= "bold", fontFamily = "Tahoma")]
protected static var TahomaBold:Class;
dateChooser.embedFonts = true;
dateChooser.font = "Tahoma";
addChild(dateChooser);
dateChooser.addEventListener(calendarEvent.CHANGE, getdate);
private function getdate(e:calendarEvent):void {
trace("Date:" + e.selectedDate);
}
i’m behind the documentation of this open source project
stay tuned and enjoy

DOWNLOAD SOURCE FILE: AS3-Date-Chooser-v4 (602)
DOWNLOAD SWC FILE : AS3-DateChooser-SWC file (383)
DOWNLOAD EXAMPLE FILE : AS3-DateChooser-example (447)
GOOGLE PROJECT PAGE : HERE
Public,Private,Protected Functions in AS3
Posted by admin in ActionScript 3 on July 18, 2009
Hi all in this tutorial you can understand difference between public , private and protected function in AS3, in AS3 only public functions can call from external swf files
How to Make a Efficient Flash AS3 SWF content Loader[Preloader]
Posted by admin in ActionScript 3 on July 3, 2009
Very efficient Loader Coding Tutorial
the code using here is very clean , simple and error less . you can load external swf file and call function in that swf file











































