RE: [Flashcoders] Copy Constructor

2006-11-04 Thread Paul Steven
Couldn't quite figure out your code Mike so have just rewritten the copy function based on what you said: public function copy(state:Connect4State):Void { board = new Array(); for (var i:Number = 0; i state.board.length; i++) { board[i] =

Re: [Flashcoders] [ot-ish] Screen recording software for Windows?

2006-11-04 Thread Julien Vignali
There's also VH Screen Capture Driver from Vladimir Hmelyoff's Software Lab. It's a directshow filter that is compatible with any capture software (such as VirtualDub, iuVCR, AMCap, VideoGhost...), and it's free for private use! Main features: * multimonitor support * great

Re: [Flashcoders] HTML display component for Flash?

2006-11-04 Thread eka
Hello :) if you wait the end of this year you can use HTML in a SWF with apollo : http://labs.adobe.com/wiki/index.php/Apollo More information in this videos : http://video.google.com/videoplay?docid=1551903488172905143 http://www.mediabox.fr/adobe_max_2006_01.html ( cuePoint about apollo at

Re: [Flashcoders] HTML display component for Flash?

2006-11-04 Thread vipin chandran
Sorry I can't wait that long. This is an emergency situation for me. I don't have time to code a parser by myself. If anybody can share your experience with me, that will be great!!! Thanks in advance Regards, Vipin On 11/4/06, eka [EMAIL PROTECTED] wrote: Hello :) if you wait the end of

Re: [Flashcoders] HTML display component for Flash?

2006-11-04 Thread Joseph Balderson
You might want to check out Deng: http://osflash.org/deng/ __ Joseph Balderson, Flash Platform Developer http://www.joeflash.ca | 416-768-0987 Writing partner, Community MX | http://www.communitymx.com Consultant, New Toronto Group |

[Flashcoders] OOP advice for game

2006-11-04 Thread Paul Steven
Hi there I am making a rugby game in Flash 8 and am trying to get to grips with AS2 and OOP structuring of the code. The game will include a wind element i.e a wind speed and a wind direction (angle) I have the following elements in the game that will be affected by the wind properties:

Re: [Flashcoders] OOP advice for game

2006-11-04 Thread James Marsden
Hey, Most of what you've written here sounds good. You definitely have the ideas right. A couple of the questions you're asking that can only really be answered in context of your game further down the line. One of the best things about OOP dev is that you can always keep tweaking the

Re: [Flashcoders] OOP advice for game

2006-11-04 Thread Muzak
Or would it be better to have the balloon object to have its own wind speed and wind direction property which is updated only when the weather manager makes a change to the wind speed and direction? This is the way to go. The weather manager should dispatch an event each time it changes.

RE: [Flashcoders] OOP advice for game

2006-11-04 Thread Paul Steven
Thanks James and Muzak You have been most helpful. I have now found a nice chapter on Observer patterns in an AS2 book. Cheers Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: 04 November 2006 16:25 To: Flashcoders mailing list Subject:

Re: [Flashcoders] OOP advice for game

2006-11-04 Thread Weyert de Boer
Yeah, I made a little game myself and use the classes FoodPiece, Snake, and GameWorld and SnakeGame. Meaning that SnakeGame handles all the stuff such as start/stop game, score counting. The GameWorld is responsible for all the drawing, and calling the update method of the Snake instance,

[Flashcoders] Q:Flash frameworks, Caringorn vs ARP vs PixLib vs GuggaFF

2006-11-04 Thread moveup
Hi I'm new to the world of Flash frameworks. As I see it the primary advantage for adopting a framework is in a shrared group setting, all developers working on a project can speak the same language. Are there other advantages? Which one is 'best'? Right now I'm getting up to speed with

Re: [Flashcoders] HTML display component for Flash?

2006-11-04 Thread Alain Rousseau
Wich is the one he is using right now ... ;) Joseph Balderson wrote: You might want to check out Deng: http://osflash.org/deng/ __ Joseph Balderson, Flash Platform Developer http://www.joeflash.ca | 416-768-0987 Writing partner,

[Flashcoders] loading external movie, then attachMovie items of IT's library?

2006-11-04 Thread grimmwerks
Is it possible to load in an external swf using loadMovie into a main movie, and then creating new movies on the fly using attachMovie with ids of the loaded movie? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

Re: [Flashcoders] HTML display component for Flash?

2006-11-04 Thread Claus Wahlers
I got one, which is Deng. But it takes a lot of time to render my content. I'm working on a AS3 version of DENG which should be 'a little' faster. However unfortunately it's gonna take a while yet to finish as i can only work on it in my free time. If more people are interested in an AS3

Re: [Flashcoders] loading external movie, then attachMovie items of IT's library?

2006-11-04 Thread Yehia Shouman
in Flash 9 with actionscript 3, yes. but with flash 8 I doubt that, anybody ? On 11/4/06, grimmwerks [EMAIL PROTECTED] wrote: Is it possible to load in an external swf using loadMovie into a main movie, and then creating new movies on the fly using attachMovie with ids of the loaded movie?

Re: [Flashcoders] Shared fonts, linkage and Arabic

2006-11-04 Thread Michael Williamson
Hey Danny, I'm having problems with this as well. It should be so simple but I have not yet found a solution. If you're on a PC (as I am) this link has some helpful info and a proposed solution for this exact problem but: http://www.quasimondo.com/archives/000211.php Unfortuantly the solution

Re: Re: [Flashcoders] loading external movie, then attachMovie items of IT's library?

2006-11-04 Thread Jolyon Russ
Not so much with loadMovie, I don't think. However if you use swfmill to inject the swf at compile time you can then use attachMovie on it and any subsequent clips within it. The above assumes you're using eclipse with MTASC and swfmill :-| If you're not head on over to osflash.org. Jolyon

Re: Re: [Flashcoders] math for getting textField's line number? ie height/(font.size+font.leading) ??

2006-11-04 Thread Jolyon Russ
Flash/CSS/Photoshop/et al accept negative values for leading and kerning. 0 is your baseline negative pulls tighter positive pushes looser. On 11/3/06, Ray Chuan [EMAIL PROTECTED] wrote: Hi, are you sure negative leadings are allowed? I've tried and don't see any difference. I'm guessing

Re: [Flashcoders] loading external movie, then attachMovie items of IT's library?

2006-11-04 Thread Joseph Balderson
You could not treat the entire loaded SWF as a library asset to be instantiated via attachMovie, but you could do one of two things: 1. You could use duplicateMovieClip. This has the virtue of cloning the entire root timeline of the loaded swf, but you are limited in your instantiating

Re: [Flashcoders] loading external movie, then attachMovie items of IT's library?

2006-11-04 Thread Joseph Balderson
You could not treat the entire loaded SWF as a library asset to be instantiated via attachMovie, but you could do one of two things: 1. You could use duplicateMovieClip. This has the virtue of cloning the entire root timeline of the loaded swf, but you are limited in your instantiating