Re: [Flashcoders] ISOMETRIC GAME ENGINE

2007-03-14 Thread Pedro Taranto
well, sandy is just an API to work with 3D in flash and pixlib is not a game engine, it is a generic as2 framework with a lot of classes and design patterns that you can use to develop your own isometric engine --Pedro Taranto Anggie Bratadinata escreveu: have you tried www.flashsandy.org ?

Re: [Flashcoders] Order of events for function call

2007-03-14 Thread Paul Andrews
I believe you, but it's not a good way to build your project. As your project gets more complicated it'll suddenly stop working as you expected. What happens if you change the order? Much better to have a single independent enterframe handler where the order is important, there you can execute

RE: [Flashcoders] Order of events for function call

2007-03-14 Thread Paul Steven
Thanks Paul Basically it is a collapse style game - where when the user clicks on a ball that has 2 similar balls adjacent, all 3 balls disappear and the other surrounding balls will move to fill any spaces created from the removed balls. Here is the basic approach I am taking: I have a 2 dimens

Re: [Flashcoders] correct way to set onRease of an arbitrary button

2007-03-14 Thread Mauricio Furtado Massaia
Andrew, try this : function GiveAnswer( id:Number ):Void { trace( "answer id: " + id ); } for( var aNum = 1 ; aNum <= 5 ; aNum++ ) { var answerButton = questionInterface["button_"+aNum]; answerButton.id = aNum; answerButton.onRelease = function(){GiveAnswer(this.id); } } i hope it

RE: [Flashcoders] is flash still alive?

2007-03-14 Thread Karina Steffens
And yet you manage to find time to perform more miracles - Papervision3D looks amazing...! ;) > -Original Message- > From: John Grden [mailto:[EMAIL PROTECTED] > Sent: 13 March 2007 15:28 > To: flashcoders@chattyfig.figleaf.com > Subject: Re: [Flashcoders] is flash still alive? > > LOL

Re: [Flashcoders] Order of events for function call

2007-03-14 Thread Johannes Nel
i understand that its a example, but using an enterframe beacon rather than multiple enterframe handlers is better and might make this kind of thing much easier to manage On 3/14/07, Paul Steven <[EMAIL PROTECTED]> wrote: This may be really basic but I can't understand. The following is a simp

Re: [Flashcoders] Order of events for function call

2007-03-14 Thread Mauricio Furtado Massaia
Paul, I dont know why it happens but if u change the order of the attach the object1.onEnterFrame will work first : object2 = attachMovie("ball_mc","ball_mc2",2); object1 = attachMovie("ball_mc","ball_mc",1); object1.onEnterFrame = function() { trace ("Object1 enter frame"); } object2.

Re: [Flashcoders] Order of events for function call

2007-03-14 Thread nox
you can solve it with reverse ordering: ... object2 = attachMovie("ball_mc","ball_mc2",2); object1 = attachMovie("ball_mc","ball_mc",1); ... - Original Message - From: "Paul Steven" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 14, 2007 11:53 Subject: [Flashcoders] Order of even

[Flashcoders] page scrolling problem

2007-03-14 Thread Kerem İŞERİ
Hi everyone, I have finished a flash website which dynamically changes it's height by the help of small javascript. the idea was to resize the height by the content's height and to use only browsers scrollbar. you can check the demo version on http://demo.trafo.com.tr/drbackup . now the pr

Re: [Flashcoders] Order of events for function call

2007-03-14 Thread Paul Andrews
It doesn't really matter which you assign first, it's all determined by the order in which flash decides to call the functions which has no relationship to the assignment order. I suspect you would be better advised to use an independent enterframe function that is not attached to the objects fo

[Flashcoders] Order of events for function call

2007-03-14 Thread Paul Steven
This may be really basic but I can't understand. The following is a simplified version of what I am trying to achieve. Basically I am attaching an onEnterFrame function to 2 objects, say object1 and object2. I am attaching it to object1 first however it is calling the onEnterFrame function for o

[Flashcoders] Make a connection between a TextField and an array

2007-03-14 Thread Johan Nyberg
Anyone know how to make a connection between a TextField and an array with the variable property when creating TextFields dynamically? Now I'm doing a work around where I create a variables on the fly, fill it with values from the array (winnerPercentPayout), and then connect the variable with

Re: [Flashcoders] flash.media.Camera.setMode Freeze SWF

2007-03-14 Thread Dennis - I Sioux
Hey Luciano, Actually the .names only returns an array with cam's.. flash makes that array at the start of the swf. But like Anthony Lee said.. setMode is a method to give the preffered size and framerate you want to grab the video. Although the result might differ a bit because it will be co

[Flashcoders] :: numbers as exponents ::

2007-03-14 Thread Arindam Dhar
trace( 0.45); // traces 0.45 trace( 0.045); // traces 4.5e-6 Looks like flash give exponential values if there are more than four zeroes after decimal. Anyone has any solution where I will get 0.045 from flash, instead of 4.5e-6. Thanks, Arindam

RE: [Flashcoders] ISOMETRIC GAME ENGINE

2007-03-14 Thread Allent99
Please unsubscribe me, you are flooding my email box. I did the unsubscribe but its not working. Please send me email when you have the problem fixed. Cmiuc "Do not worry about your difficulties in mathematics; I can assure you mine are still greater" -Albert Einstein -Original Message

<    1   2