Re: [Flashcoders] Couple questions re Zinc and Access

2007-07-28 Thread vipin chandran
Dave, Try the flat file DB called SQLite. There is an open source dll (mac version also) which connects Zinc to SQLIte DB. This is very simple and you dont need to worry about ODBC and stuffs... The SQLite is capable of handling almost all the SQL queries also. -Vipin On 7/26/07, Dave Burnett <[E

RE: [Flashcoders] Q:optimizing a Calendar app

2007-07-28 Thread David Ngo
Using getTime() isn't ideal since that's creating a timestamp based on milliseconds, which would be unique. The first option is probably the safer bet to be able to index things by a specific date (as opposed to a time). If you're using AS3, then I'd say use a Dictionary object (same as a hash, exc

Re: [Flashcoders] Q:optimizing a Calendar app

2007-07-28 Thread Steven Sacks
That is a very expensive way to do it. You should, instead, make a hash and the keys would be the date, and the values would be an array of appointments for that date. events = {}; events[month + "/" + day + "/" + year] = []; events[month + "/" + day + "/" + year].push(appointment); Then each

[Flashcoders] Q:optimizing a Calendar app

2007-07-28 Thread moveup
Hi I have a simple Calendar class which creates a new month display when the application first loads and each time the user changes the month. I need to add appointments on specific days for each month. I have an appointment array, which contains a list of date strings in the format 'month/day/y

Re: [Flashcoders] Q:Refactoring, private and static variables in AS2

2007-07-28 Thread Muzak
- Original Message - From: <[EMAIL PROTECTED]> To: "flashcoders" Sent: Saturday, July 28, 2007 9:50 PM Subject: [Flashcoders] Q:Refactoring, private and static variables in AS2 > Hi > I need a refresher in when to declare Private as well as Static variables > when extending another cl

Re: [Flashcoders] TextField Var property missing in CS3

2007-07-28 Thread R�kos Attila
There is no direct equivalent of this property in AS3 - but in fact it is not necessary at all, it was obsolete since Flash 6 in favour of the TextField class' text property. Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:[EMAIL PROTECTED] <[EMA

[Flashcoders] TextField Var property missing in CS3

2007-07-28 Thread mitch
I found the var property of the TextField to be very useful. Is there an equivalent in CS3? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brough

[Flashcoders] Q:Refactoring, private and static variables in AS2

2007-07-28 Thread moveup
Hi I need a refresher in when to declare Private as well as Static variables when extending another class (in AS2). ie if you have private variables declared in the Super class, is it necessary to (re) declare them in the sub class? What about static variables? Are there a 'best practices' to

Re: [Flashcoders] Flash Debugger's not up to it.

2007-07-28 Thread John McCormack
> variables A and B. How is the debugger going to populate a tree view of > the parent object if it does NOT call that getter? Got it. However, to display a variable I would have expected the debugger to just read the memory. > In my view, it's a self-evidently poor programming practice to write

Re: [Flashcoders] [FP8, AS2] Rules of thumb: Coding tips?

2007-07-28 Thread Micky Hulse
Pedro Taranto wrote: if you want to return diferent types in one function you dont specify any return data type Ah, sounds good to me. I was not sure if it was bad practice to not specify a type. if you wanna use an auxiliary 'object' to use as a reference to another, try to use the same da

Re: [Flashcoders] [FP8, AS2] Rules of thumb: Coding tips?

2007-07-28 Thread Micky Hulse
eric e. dolecki wrote: the compiler will point this out for you. I see now. :) Thanks Eric, you have been very helpful. I really appreciate it. Have a great day/night. Cheers, Micky -- Wishlists: Switch: BCC?: