Re: [Flashcoders] How can we sum to dates???

2007-06-16 Thread eka
Hello :) if you have 2 minutes : 1 - install VEGAS my opensource framework and this extensions : - page project : http://code.google.com/p/vegas/ - install VEGAS : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN 2 - Use the Calendar and the Time class in the asgard package :

Re: [Flashcoders] How can we sum to dates???

2007-06-16 Thread eka
Hello :) i have update my SVN repository and add a new feature in the static add method of the Calendar class : import asgard.date.Calendar ; var begin:Calendar = new Calendar( 2007, 5 , 14, 11, 30, 0 ) ; var duration:Number = 50 ; var end:Calendar = Calendar.add( begin, Calendar.MINUTE , 50

Re: [Flashcoders] How can we sum to dates???

2007-06-16 Thread jtgxbass
Just use flash's Date class and work with milliseconds... var startDate = new Date(2007,0,14,11,30,0,0); var duration = 50 * 60 * 1000; // in milliseconds var endDate = new Date(startDate.getTime() + duration); On 6/16/07, eka [EMAIL PROTECTED] wrote: Hello :) i have update my SVN

Re: [Flashcoders] Repost: Movie Explorer question

2007-06-16 Thread Muzak
Only stage assets. So just drop everything in the Lib in a keyframe on stage. - Original Message - From: Jonathan Berry [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Saturday, June 16, 2007 2:51 AM Subject: [Flashcoders] Repost: Movie Explorer

[Flashcoders] Mathematics specialist - trigonometry

2007-06-16 Thread Jiri Heitlager | dadata.org
Hello list, I have a client that wants something like this: http://www.wdcs.co.uk/media/flash/whalebanner/content_pub_en.html Basically a huge image is split into tiles, and each load a tileImage. The user can drag a navigator (small view in ratio) over the image. It can occur that the tiles

[Flashcoders] Grid - getting neighbouring positions

2007-06-16 Thread Jiri Heitlager | dadata.org
[0,0] [1,0] [2,0] [3,0] [4,0] [0,1] [1,1] [2,1] [3,1] [4,1] [0,2] [1,2] [2,2] [3,2] [4,2] [0,3] [1,3] [2,3] [3,3] [4,3] [0,4] [1,4] [2,4] [3,4] [4,4] I have the following grid and would like to find the neighbouring positions of a certain point, going in a radius from in to out, covering all

[Flashcoders] Grid / Math - getting neighbouring positions

2007-06-16 Thread Jiri Heitlager | dadata.org
Hello list, I have the following grid and would like to find the neighbouring positions of a certain point, going in a radius from in to out, covering all the positions. [0,0] [1,0] [2,0] [3,0] [4,0] [0,1] [1,1] [2,1] [3,1] [4,1] [0,2] [1,2] [2,2] [3,2] [4,2] [0,3] [1,3] [2,3] [3,3] [4,3]

Re: [Flashcoders] Grid / Math - getting neighbouring positions

2007-06-16 Thread Ron Wheeler
It depends how you define the rings. It is by distance or by connectedness? Is 0,0 in the second ring with 1.0 and 0,1? What is the purpose of knowing this? Ron Jiri Heitlager | dadata.org wrote: Hello list, I have the following grid and would like to find the neighbouring positions of a

RE: [Flashcoders] Grid / Math - getting neighbouring positions

2007-06-16 Thread Merrill, Jason
This requires you to re-do your grid, but it's one way to handle it without complex math. It seems a simple way would be to make each row of the grid an array (the entire thing can be an array as well, but make each row it's own array). You could do some object mix-in to ease syntax and allow for

Re: [Flashcoders] attachMovie from library - fails to work with preloader

2007-06-16 Thread John VanHorn
you must force those movieclips to load before you use have access to them. what i usually do is to set the export frame for classes to 2, and then go through the library and uncheck 'export in first frame' for all exported Mc's. then, on frame 2, make a single key frame and place an instance of

Re: [Flashcoders] Grid / Math - getting neighbouring positions

2007-06-16 Thread Jiri Heitlager | dadata.org
The ring is defined by distance not by connectedness. It is used for the following. A big image will be split into tiles of 100x100 pixels, that are loaded from a server. The total image made of these tiles are loaded in a movieclip so that the image is rebuilded. The image is masked by a

Re: [Flashcoders] Grid / Math - getting neighbouring positions

2007-06-16 Thread Jiri Heitlager | dadata.org
That is a nice solution, but it leaves me with the problem that starting from one point (3,2) it only produces a set of points of ring directly around the selected point. I am looking for a solution to get _all_ the points, from a certain point and the move in a ring towerds the outside of a

[Flashcoders] Estimating the time required for a project

2007-06-16 Thread James Deakin
I'm looking to improve the accuracy of the estimations of time required which I give to my project managers. Does anyone have any good advice? Please note that I am far from a newbie as I have been programming actionScript ever since it first came out (with that nasty slash syntax). This is one

Re: [Flashcoders] Repost: Movie Explorer question

2007-06-16 Thread Jonathan Berry
Thanks Muzak. Has this changed at all in CS3? On 6/16/07, Muzak [EMAIL PROTECTED] wrote: Only stage assets. So just drop everything in the Lib in a keyframe on stage. - Original Message - From: Jonathan Berry [EMAIL PROTECTED] To: Flashcoders mailing list

Re: [Flashcoders] webcam video capture

2007-06-16 Thread [p e r c e p t i c o n]
thanks Bob and Jim! p On 6/15/07, Bob Wohl [EMAIL PROTECTED] wrote: anywhere outside that camera object (other than bitmap class like jim just posted) On 6/15/07, Bob Wohl [EMAIL PROTECTED] wrote: yes and no. You can do a camera.get but that will basicaly create a connection to your

Re: [Flashcoders] Estimating the time required for a project

2007-06-16 Thread Hans Wichman
Hi, well one advice is to start recording your current measures and check afterwards how close you were. Record things you forget that made your estimates go wrong, records the factor realhours vs estimate. Assume that when you think you know everything, you only know about 40% of whats going to

Re: [Flashcoders] Repost: Movie Explorer question

2007-06-16 Thread Muzak
nope - Original Message - From: Jonathan Berry [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Saturday, June 16, 2007 8:59 PM Subject: Re: [Flashcoders] Repost: Movie Explorer question Thanks Muzak. Has this changed at all in CS3? On 6/16/07, Muzak [EMAIL PROTECTED]

[Flashcoders] help with a thread in cs3

2007-06-16 Thread Gustavo Duenas
hi coders I have this code and I'd like to have the loader to some new size but thing are not going as expected, the code is: package { import flash.display.Sprite; import flash.display.*; import flash.events.*; import flash.accessibility.*; import

RE: [Flashcoders] help with a thread in cs3

2007-06-16 Thread David Ngo
You need to add an event listener for when the image load is complete. package { import flash.display*; import flash.events.*; import flash.net.*; import flash.geom.*; public class WholeImage extends Sprite { private var

[Flashcoders] doing components or buttons in as project

2007-06-16 Thread Gustavo Duenas
hi how could I do a button for an as project in flex, that mean I have to do this buttons in flash cs3 an then saves it as .swf an then how can I import into the as project? I don't know If can explain myself clearly but outlines this most i'd like to do. regards Gustavo