AS3 Delay — A Static Delay Class in AS3

Hi,

as3 Delay is Delay class for call meth­ods after some delay with argu­ments . this is a sta­tic function

check it out and enjoy Smile

This movie requires Flash Player 9

addDe­lay

static public function addDelay(scope:Function, delay:Number, ...args):void

Syn­tax

import nid.utils.Delay;

Delay.addDelay(function():void{trace('this is delay test1');},2500);
Delay.addDelay(myTest,500,'arg1_data','arg1_data','arg1_data');
Delay.addDelay(myTest2,1500,'arg1_String');

function myTest(arg1:String,arg2:String,arg3:String):void{
trace(arg1,arg2,arg3);
trace('this is delay test2');
}

function myTest2(arg1:String):void{
trace(arg1);
trace('this is delay test3');
Delay.reset();
}

Down­load SWC as3Delay SWC (2)

Down­load Source as3Delay Source (3)

Google project page http://code.google.com/p/as3delay/

Bookmark and Share
VN:F [1.9.3_1094]
Rat­ing: 0.0/5 (0 votes cast)
VN:F [1.9.3_1094]
Rat­ing: 0 (from 0 votes)

No Comments

Setup SWC in Flash IDE

Hi all,

steps for include swc files in flash IDE projects for beginners

Step:1

open flash ide then nav­i­gate to Edit>Preference (Ctrl+U)

step1

Read the rest of this entry »

Bookmark and Share
VN:F [1.9.3_1094]
Rat­ing: 0.0/5 (0 votes cast)
VN:F [1.9.3_1094]
Rat­ing: 0 (from 0 votes)

No Comments

Free AS3 Date chooser/Date Picker Component v4

PROJECT UNDER MAINTENANCE

Hi all,

New Ver­sion of AS3 Date Chooser Released.

This movie requires Flash Player 9

you can cus­tomize lot more things in it,

  1. Import Date Chooser class and event class
  2. import nid.utils.dateChooser.DateChooser;
    import nid.events.calendarEvent;
  3. Cus­tomize cal­en­dar icon dynamically.
  4. [Embed(source = "../asset/20x20_light_blue.png")]
         private var icon:Class;
  5. Dynamic Date Chooser construction
  6. var dateChooser:DateChooser = new DateChooser();
  7. Set cal­en­dar icon
  8. dateChooser.icon = new icon();
  9. Set Week Start on Mon­day or Sunday
  10. dateChooser.WeekStart = "sunday";
  11. Set Month Names
  12. dateChooser.Months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
  13. Set Date Format
  14. dateChooser.dateFormat = "D/M/Y"; //D,M,Y all combinations are valid
  15. Set sys­tem font
  16. dateChooser.font = "Tahoma";
  17. Set embed font
  18. [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";
  19. Add Date Chooser to stage
  20. addChild(dateChooser);
  21. Date Chooser Event
  22. dateChooser.addEventListener(calendarEvent.CHANGE, getdate);
    private function getdate(e:calendarEvent):void {
    	trace("Date:" + e.selectedDate);
    }
  23. every­thing id dynamic :) you can sim­ply change any­thing from code.

i’m behind the doc­u­men­ta­tion 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

Bookmark and Share
VN:F [1.9.3_1094]
Rat­ing: 5.0/5 (1 vote cast)
VN:F [1.9.3_1094]
Rat­ing: +1 (from 1 vote)

, , , ,

25 Comments

New Floor planner in town

Check out Autodesk’s Project Drag­on­fly, a slick, web-based app that makes cre­at­ing in two and three dimen­sions a breeze.

There’s not much of a learn­ing curve involved — click, drag, rotate, resize — it’s all very intu­itive. If you’ve played The Sims at all, you’ll be right at home with Drag­on­fly. No, it’s not a commercial-strength app like Auto­Cad, but it’s at least as good as any of the boxed “3D home designer” pro­grams I’ve played around with in the past.

Drag­on­fly makes arrang­ing things easy by snap­ping to a grid and dis­play­ing guides to let you know when you’re lined up with other objects in the room. To help align walls, doors, or win­dows, mea­sure­ments are dis­played when you add or mod­ify an item.

There are loads of archi­tec­tural and design ele­ments to choose from, all cat­e­go­rized and fully search­able. Reg­is­ter for an account and you’ll be able to save your designs and export them to JPG or DWG (you know, in case you want to ship it off to your archi­tect or engineer).

While it’s easy to use, Drag­on­fly is sur­pris­ingly pow­er­ful. It would be even bet­ter with some land­scape design fea­tures, but who knows — per­haps that’s some­thing AutoDesk will add in the future.

Bookmark and Share
VN:F [1.9.3_1094]
Rat­ing: 1.5/5 (1 vote cast)
VN:F [1.9.3_1094]
Rat­ing: 0 (from 0 votes)

No Comments

Free AS3 Yahoo Weather Application

Hi all,
Let me intro­duce My New  project Yahoo Weather appli­ca­tion

This movie requires Flash Player 9

Source File — yahoo-weather (63)

Bookmark and Share
VN:F [1.9.3_1094]
Rat­ing: 0.0/5 (0 votes cast)
VN:F [1.9.3_1094]
Rat­ing: 0 (from 0 votes)

No Comments