[Flashcoders] Invitation to connect on LinkedIn

2009-10-13 Thread Carmine Casciato
LinkedIn


Carmine Casciato souhaite se connecter à vous sur LinkedIn :
--

Marc,

I'd like to add you to my professional network on LinkedIn.

- Carmine

Accepter l'invitation de Carmine Casciato
http://www.linkedin.com/e/XEzBlT6odM8buZtuxRkFg2aRojmbrRCwd4dkwunRTj8bdkAw2T/blk/I1503436909_2/pmpxnSRJrSdvj4R5fnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_cBYVc3AScPgPc3kNiiYUq7BdkORErOYMcz8PcjoRejsLrCBxbOYWrSlI/EML_comm_afe/

Voir l'invitation de Carmine Casciato
http://www.linkedin.com/e/XEzBlT6odM8buZtuxRkFg2aRojmbrRCwd4dkwunRTj8bdkAw2T/blk/I1503436909_2/39vej0VdzcQcP0RckALqnpPbOYWrSlI/svi/

--

Quel est l' intérêt de faire partie du réseau de Carmine Casciato ?

Vous avez une question ? Le réseau de Carmine Casciato a probablement une 
réponse :
La rubrique Réponses de LinkedIn vous permet de vous informer auprès de Carmine 
Casciato et de votre réseau. Obtenez l'information que vous recherchez auprès 
de professionnels expérimentés. 

http://www.linkedin.com/e/ash/inv19_ayn/

 
--
(c) 2009, LinkedIn Corporation

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Compare two date ( how many days left )

2009-10-13 Thread Eric E. Dolecki
public static function getDaysBetweenDates(date1:Date,date2:Date):int { var
one_day:Number = 1000 * 60 * 60 * 24 var date1_ms:Number = date1.getTime();
var date2_ms:Number = date2.getTime(); var difference_ms:Number =
Math.abs(date1_ms - date2_ms) return Math.round(difference_ms/one_day); }

On Tue, Oct 13, 2009 at 12:48 PM, ACE Flash  wrote:

> Hi there, I am using the date class in flash as3, I was wondering how to
> compare two date and return how may days left.
>
>
> for instance: my target date is 10/18/2009(mm/dd/), I would like to
> compare with the current date 10/13/2009, the script returns 5.
>
> something like
>
> var localDate:Date = new Date();
> var day:Number = localDate.getDay();
> var month:Number = localDate.getMonth();
> var year:Number = localDate.getFullYear();
>
>
> var currentDate:Date = new Date ( year, month , day )
> var targetDate:Date = new Date ( 2009 , 10 ,18 );
>
>
> trace(currentDate - targetDate)
>
>
> Thank You
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Compare two date ( how many days left )

2009-10-13 Thread ACE Flash
Hi there, I am using the date class in flash as3, I was wondering how to
compare two date and return how may days left.


for instance: my target date is 10/18/2009(mm/dd/), I would like to
compare with the current date 10/13/2009, the script returns 5.

something like

var localDate:Date = new Date();
var day:Number = localDate.getDay();
var month:Number = localDate.getMonth();
var year:Number = localDate.getFullYear();


var currentDate:Date = new Date ( year, month , day )
var targetDate:Date = new Date ( 2009 , 10 ,18 );


trace(currentDate - targetDate)


Thank You
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] totally lost figuring out AS3 JSON Class

2009-10-13 Thread David Hunter

I just started using JSON and haven't had any problems. found a tutorial to get 
me started(not sure where though) and i have it working in a project. here is 
the script for importing the class and decoding the data:
import com.adobe.serialization.json.JSON;
var JSONData:Array = new Array();


var bURL:String = "yourDataFile.json";
var bReq:URLRequest = new URLRequest(bURL);
var bLoader:URLLoader = new URLLoader(bReq);


bLoader.addEventListener(Event.COMPLETE, JSONLoaded);
bLoader.addEventListener(IOErrorEvent.IO_ERROR, JSONFailed);


function JSONLoaded(evt:Event):void {
trace("json loaded");
JSONData = JSON.decode(bLoader.data);
//now do something with JSONData
}


function JSONFailed(evt:Event):void {
trace("json failed");
}
hope it helps.
david
> Date: Mon, 12 Oct 2009 22:38:28 -0500
> From: and...@learningware.com
> To: flashcoders@chattyfig.figleaf.com
> Subject: Re: [Flashcoders] totally lost figuring out AS3 JSON Class
> 
> Thanks Muzak.  Yeah, I got the JSON library from the same place.
> 
> Muzak wrote:
> > AFAIK, there are no Flex specific classes in the AS3CoreLib library, 
> > it's an ActionScript 3 library (hence the name).
> > But yes, you have to make sure it's in the class path to be able to 
> > use it, just like any other classes.
> > You can use the .as source files (com folder) or the .swc, whichever 
> > you prefer.
> >
> > Did you get the library from googlecode?
> > http://code.google.com/p/as3corelib/downloads/list
> >
> >
> >
> > - Original Message - From: "Andrew Sinning" 
> > 
> > To: "Flash Coders List" 
> > Sent: Tuesday, October 13, 2009 2:02 AM
> > Subject: Re: [Flashcoders] totally lost figuring out AS3 JSON Class
> >
> >
> >> I don't have com.adobe.serialization.json in my install of Flash.  
> >> So, I just move the com folder from the as3corelib into my global 
> >> classpath and then I can use any of the Flex classes?
> >>
> >> Muzak wrote:
> >>> It's AS3, so not just Flex specific.
> >>>
> >>> There's an example here:
> >>> http://code.google.com/p/as3corelib/source/browse/trunk/examples/JSONExample/JSONExample.mxml
> >>>  
> >>>
> >>>
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
_
Learn how to add other email accounts to Hotmail in 3 easy steps.
http://clk.atdmt.com/UKM/go/167688463/direct/01/___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders