RE: [Flashcoders] A Question that I've been asking for years!!

2008-08-26 Thread Cor
An interface is used to control that the classes who extends the interface mandatory have at least the same methods and properties. So when you work in a team of programmers/developers everyone using/extending this class MUST confirm all these methods and properties. HTH Cor ;-)

Re: [Flashcoders] A Question that I've been asking for years!!

2008-08-26 Thread Claus Wahlers
An example is worth a thousand words. public interface IBounce { function bounce():void; } public class Balls implements IBounce { public function bounce():void { } } public class Boobs implements IBounce { public function bounce():void { } } var balls:Balls = new Balls(); var

RE: [Flashcoders] A Question that I've been asking for years!!

2008-08-26 Thread Cor
Very good, Claus, Do you have a visual of this... LOL Regards Cor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Claus Wahlers Sent: dinsdag 26 augustus 2008 9:42 To: Flash Coders List Subject: Re: [Flashcoders] A Question that I've been asking for

Re: [Flashcoders] TweenMax help needed

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
man - that would be sweet - i'll send it now a On Tue, Aug 26, 2008 at 3:10 AM, Jack Doyle [EMAIL PROTECTED] wrote: Absolutely not - I've never heard of (or experienced) any problems with intervals and TweenMax. I can't imagine anything TweenMax-related that would cause the problems you

[Flashcoders] OT: List of all uk towns and cities with their longitude and latitudes

2008-08-26 Thread Paul Steven
I am creating a UK based estate agent site and would like to implement a proximity search function. i.e the user would type in the area that they are looking for a house as well as a search radius and the site would display a list of all matching houses for sale in this area. I am assuming I

[Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
hi guys i'm speccing an xml file for a server side dev that needs to return a target date and time and i wanted to make sure i wasn't doing anything stupid what would a php dev be expecting to use for time / date and how would that be supplied in an xml file? And what would the best way of

RE: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread Cor
In PHP you can do whatever you want: see http://nl.php.net/date I think it can also depend on your server. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of allandt bik-elliott (thefieldcomic.com) Sent: dinsdag 26 augustus 2008 11:48 To: Flash Coders List

Re: [Flashcoders] OT: List of all uk towns and cities with their longitude and latitudes

2008-08-26 Thread Pedro Kostelec
Hm, all i found with google is that http://www.thesite.co.uk/ http://www.british-towns.net/england.asp Websites that may use such a thing that you need. Perhpas contacting their owner you may get more information where they got their lists. ** *Pedro D. Kostelec* [EMAIL PROTECTED] On Tue,

Re: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread Kenneth Kawamoto
If so I'd ask my PHP coder to generate formatted string so that I need to code less ;) e.g. var xml:XML = data date=Tue Aug 26 12:00:00 GMT 2008 / var targetDate:Date = new Date([EMAIL PROTECTED]()); ...a lot less code than yours! Kenneth Kawamoto http://www.materiaprima.co.uk/ Cor wrote:

RE: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread Cor
Yes, but still it is depending of the localtime. Trace(targetDate); gives me in the Netherlands: Tue Aug 26 12:00:00 GMT+0200 2008 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: dinsdag 26 augustus 2008 12:22 To: Flash Coders

Re: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread Kenneth Kawamoto
Isn't that always the case no matter how you construct the date object? Kenneth Kawamoto http://www.materiaprima.co.uk/ Cor wrote: Yes, but still it is depending of the localtime. Trace(targetDate); gives me in the Netherlands: Tue Aug 26 12:00:00 GMT+0200 2008 -Original Message-

Re: [Flashcoders] A Question that I've been asking for years!!

2008-08-26 Thread Hans Wichman
Hi, interfaces are pretty simple in reality and they are everywhere. Imagine every wall outlet looked different, and not only different, but that in order to use them, you had to remove the outlet first, take a look at the wiring and then bolt it back on with you finally knowing how to use it.

RE: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread Cor
Mmmm, I don't know?? Somebody out there who does??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: dinsdag 26 augustus 2008 12:43 To: 'Flash Coders List' Subject: Re: [Flashcoders] is there a recognised date format for xml? Isn't

Re: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
hmm - this is actually an as2 class so i wouldn't be able to use toXMLString() - is there anything similar i can use, do you think? a On Tue, Aug 26, 2008 at 11:28 AM, Cor [EMAIL PROTECTED] wrote: Yes, but still it is depending of the localtime. Trace(targetDate); gives me in the

Re: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
this also needs to be used in a countdown - so i could maybe get the server to give it's current time and the target time and countdown between the 2? a On Tue, Aug 26, 2008 at 11:43 AM, Kenneth Kawamoto [EMAIL PROTECTED] wrote: Isn't that always the case no matter how you construct the date

RE: [Flashcoders] A Question that I've been asking for years!!

2008-08-26 Thread Cor
Nice explaination Hans, BTW to use my dutch MP3-player there is an adapter (interface) for every country. But maybe it would be better if the Dutch took over the world LOL Cor Yeah... Dutch!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans

Re: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
yes it's local On Tue, Aug 26, 2008 at 11:46 AM, Cor [EMAIL PROTECTED] wrote: Mmmm, I don't know?? Somebody out there who does??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: dinsdag 26 augustus 2008 12:43 To: 'Flash

RE: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread Cor
So what if a user (from another continent) starts your app. The difference will be greater or even before the server time. So you would get a negative value??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of allandt bik-elliott (thefieldcomic.com) Sent:

Re: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
The app is designed for people only in the uk - it will show the current time and the amount of time remaining until the countdown is finished so it will probably be worth giving the time based on the server time and setting the time in flash based on that the original question was about the best

Re: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread Hans Wichman
Hi, isnt milliseconds since 1970 easier? Something like: date value=103810313 / new Date ().setTime(103810313)) greetz JC On Tue, Aug 26, 2008 at 1:33 PM, allandt bik-elliott (thefieldcomic.com) [EMAIL PROTECTED] wrote: The app is designed for people only in the uk - it will show the current

Re: [Flashcoders] OT: List of all uk towns and cities with their longitude and latitudes

2008-08-26 Thread Andrei Thomaz
this can be interesting for you: http://www.maxmind.com/app/ip-location best, andrei On Tue, Aug 26, 2008 at 7:07 AM, Pedro Kostelec [EMAIL PROTECTED] wrote: Hm, all i found with google is that http://www.thesite.co.uk/ http://www.british-towns.net/england.asp Websites that may use such

Re: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
would that be the same as the php time() method? because that would be super On Tue, Aug 26, 2008 at 1:27 PM, Hans Wichman [EMAIL PROTECTED] wrote: Hi, isnt milliseconds since 1970 easier? Something like: date value=103810313 / new Date ().setTime(103810313)) greetz JC On Tue, Aug

Re: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread Ashim D'Silva
If it's specifically for a countdown, you can just ask your php guy to give you the number of seconds to the deadline (or milliseconds if you need it). Then just divide it up however you want. Make the class nice and clean and unrestricted. 2008/8/26 Hans Wichman [EMAIL PROTECTED] Hi, isnt

Re: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread Hans Wichman
PHP: Description int time ( void ) Returns the current time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT). FLASH: setTime (Date.setTime method) public setTime(millisecond:Number) : Number Sets the date for the specified Date object in milliseconds since

Re: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread Mark Walters
This is a good format to follow for date and time in XML: http://www.w3.org/TR/NOTE-datetime . Eg: Year: (eg 1997) Year and month: -MM (eg 1997-07) Complete date: -MM-DD (eg 1997-07-16) Complete date plus hours and minutes: -MM-DDThh:mmTZD (eg

Re: [SOLVED] [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
that's great thanks for all your help guys because i'm using as2, i've decided to go with the Date.getTime()/Date.setTime() and get the serverside devs to spit out the number in milliseconds using time() (possibly *1000) as i can pass that straight to the Date object and let that work everything

RE: [Flashcoders] OT: List of all uk towns and cities with their longitude and latitudes

2008-08-26 Thread Paul Steven
Thanks Andrei and Pedro - I will check out those links. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrei Thomaz Sent: 26 August 2008 13:51 To: Flash Coders List Subject: Re: [Flashcoders] OT: List of all uk towns and cities with their longitude

[Flashcoders] Embeding JSFL into SWC file, is it possible?

2008-08-26 Thread Helmut Granda
Is it possible to call a JSFL from a SWC file? I tried ExternalInterface just for chucks and giggles but of course it didnt work... is it even possible? -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] OT: List of all uk towns and cities with their longitude and latitudes

2008-08-26 Thread Glen Pike
Hi, Have a look at some of the Post Office Address Products: http://postcode.royalmail.com/portal/rm/jump1?catId=400120mediaId=400084 http://postcode.royalmail.com/portal/rm/jump1?catId=400120mediaId=400084 The Post Town Gazetter looks promising. You may be able to hook into the

[Flashcoders] Re: Embeding JSFL into SWC file, is it possible?

2008-08-26 Thread Helmut Granda
Still cant do it, but I was able to access the document name with DescribeType... :) On Tue, Aug 26, 2008 at 2:00 PM, Helmut Granda [EMAIL PROTECTED]wrote: Is it possible to call a JSFL from a SWC file? I tried ExternalInterface just for chucks and giggles but of course it didnt work... is it

Re: [Flashcoders] Embeding JSFL into SWC file, is it possible?

2008-08-26 Thread Keith
If you got actionscript that runs JSFL commands it should work if the SWF is ran in a JSFL runnable environment, windowSWF or XUL Panel MMExecute('alert(JSFL says: Hello);'); -- Keith H -- www.keith-hair.net Helmut Granda wrote: Is it possible to call a JSFL from a SWC file? I tried

[Flashcoders] Flash apps via bluetooth

2008-08-26 Thread Glen Pike
Hi, I am working on a project with a control interface that has a little brother for Pocket PC, but I was wondering if it is possible to develop another version for mobiles that can be downloaded via bluetooth. The idea is that the mobile interface could be used to control a system in

[Flashcoders] GC-ing a SharedObject

2008-08-26 Thread Dave Segal
I have a large scale project I am working on that needs to be loaded and unload so of course I am running into the dreaded AS3 garbage collection mess. I've tracked down the problem to a local SharedObject of a particular class. The destructor of said class closes the SharedObject (even though

RE: [Flashcoders] Flash apps via bluetooth

2008-08-26 Thread Merrill, Jason
It should be possible by using something like perhaps a .dll and a Flash wrapper - in theory. For example, the WiiFlash server allows a Wiimote to communicate to a Bluetooth dongle and on to the Flash file. We built some Flash games that are controlled with a Wiimote and a Bluetooth dongle using

[Flashcoders] Access MainTimeline reference from within a component

2008-08-26 Thread Helmut Granda
Is it possible to access the MainTimeline from within a component? So far I havent been able to access it trying different methods. Most times I get the same result: trace(parent); trace(root); trace(this.parent); trace(this); trace(this.parent.parent); [object LivePreviewParent] [object

Re: [Flashcoders] Access MainTimeline reference from within a component

2008-08-26 Thread poste9
have u tried this.root ? 2008/8/27 Helmut Granda [EMAIL PROTECTED] Is it possible to access the MainTimeline from within a component? So far I havent been able to access it trying different methods. Most times I get the same result: trace(parent); trace(root); trace(this.parent);

[Flashcoders] [JOB] Senior AS2 Developer - Telecommute | 80-110k

2008-08-26 Thread Beau Gould
This is for a FULL TIME, salaried, 100% telecommute position. Applicants from any location are encouraged to apply, however, please be a US Citizen or Green Card holder and able to work during Eastern Standard Time (EST). Salary range is 80-110k; perhaps more for the right individual. Full company