Re: [FlashCoders] AS3 TextFields with filters - game performance?

2007-09-15 Thread Dimitrios Bendilas
n Sep 13, 2007, at 9:52 AM, Dimitrios Bendilas wrote: My major concern is performance, because of the use of filters. By the way, I want to use the filters so that I won't have to make a new Raster Font Engine in Flash (I've already done one for AS2.0) First thought for performance

Re: [FlashCoders] AS3 TextFields with filters - game performance?

2007-09-14 Thread Dimitrios Bendilas
Hi James and Erik, I too was thinking that since a textfield will use cacheAsBitmap whenever filters are applied, there will be no performance issues. They won't change often, as James says. I think I'll go with it and there will be no problem. It just sounded too good to be true :) Thanks for

[FlashCoders] AS3 TextFields with filters - game performance?

2007-09-13 Thread Dimitrios Bendilas
Hello, I was wondering if any of you have any feedback to share concerning the extensive use of textfields with filters in games made with Flash 9 and ActionScript 3. We are developing a desktop "casual" game, let's say of the scale of Diner Dash (http://www.playfirst.com/game/dinerdashfloonthe

Re: [Flashcoders] AS3 Dynamic class reference

2007-08-27 Thread Dimitrios Bendilas
de the easing class, so you could include this : import fl.motion.easing.SomeClass; private const _someClass:SomeClass; ... and repeat for each possible easing class -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Bendilas Sent: 27 August 20

[Flashcoders] AS3 Dynamic class reference

2007-08-27 Thread Dimitrios Bendilas
Hello, I need to dynamically get a reference of a Class and I'm not able to do so. I think an example will illustrate my point better: package com.zefxis.solarwind2.animations { import fl.motion.easing.*;

Re: [Flashcoders] AS3 Events, Delegates and passing parameters

2007-08-27 Thread Dimitrios Bendilas
;Muzak" <[EMAIL PROTECTED]> To: Sent: Saturday, August 25, 2007 1:56 AM Subject: Re: [Flashcoders] AS3 Events, Delegates and passing parameters Create a custom class, extending Loader, that has an .id property. regards, Muzak - Original Message - From: "Dimitrios Be

[Flashcoders] AS3 Events, Delegates and passing parameters

2007-08-24 Thread Dimitrios Bendilas
e, (which is not the cleanest thing to do as I understand), and that the new Event model in AS3 provides all the tools I need. Am I right? Thank you, Dimitrios - Dimitrios Bendilas Game Designer/Lead Developer Total Eclipse Games www.totaleclipsegames.com

Re: [FlashCoders] Delegates and performance

2006-10-22 Thread Dimitrios Bendilas
Yeah, I know that Steven. Unofrtunately I'm still using the IDE for some complex sprite animations, eventhough I know I shouldn't. The IDE compile time really sucks. I hope I'll start using MTASC soon. Thanks, Dimitrios - Original Message - From: "Steven Sacks | BLITZ" <[EMAIL PROTE

Re: [FlashCoders] Delegates and performance

2006-10-20 Thread Dimitrios Bendilas
Thanks for poitning that out Tony. I mostly do games with Flash and haven't used MTASC, so I didn't know it does not compile. Dimitrios - Original Message - From: "Anthony Lee" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Friday, October 20, 2006 9:08 AM Subject: Re: [F

[FlashCoders] Delegates and performance

2006-10-16 Thread Dimitrios Bendilas
Hello everyone, I had a really big issue recently, when I realized that the performance of a large-scale game I built in Flash dropping substantially after 1/2 hour of gameplay, to the point where the game became wy too slow to play. After exhausting tests I found out that this was caused b

Re: [Flashcoders] Right-MouseClick

2006-09-22 Thread Dimitrios Bendilas
I'm using FireFox 1.5.0.7 and get the context menu on my site which uses wmode=transparent. James O'Reilly http://www.jamesor.com Dimitrios Bendilas wrote: Ok sorry, that's what happens on FireFox, at least the ver. 1.5.0.7 that I'm running here. So I guess it

Re: [Flashcoders] Right-MouseClick

2006-09-22 Thread Dimitrios Bendilas
iling list" Sent: Friday, September 22, 2006 6:05 PM Subject: Re: [Flashcoders] Right-MouseClick >Setting wmode as transparent makes the context menu not show up in a browser. Are you sure about that? Sounds more like bug than feature! Scott On 9/22/06, Dimitrios Bendilas <[EM

Re: [Flashcoders] Right-MouseClick

2006-09-22 Thread Dimitrios Bendilas
Hi Mike, Key.isDown(2) --> right mouse button Key.isDown(4) --> middle mouse button Setting wmode as transparent makes the context menu not show up in a browser. Dimitrios - Original Message - From: "Meinte van't Kruis" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Fri

Re: [FlashCoders] XRay _global tree

2006-09-07 Thread Dimitrios Bendilas
x27;ll do some tests with th efiles you posted, thanks! On 9/6/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: Hi John, I'm using connector 1.6.1 and the 1.2.5 interface. I just made a really simple example for you to test. It doesn't have any classes, so no _global.com, but I&#x

Re: [FlashCoders] XRay _global tree

2006-09-06 Thread Dimitrios Bendilas
let me know: 1. what version of the interface you're using (are you using the latest Flex version?) 2. what version of connector Is it possible to get a copy of your files for testing? I'll sign whatever NDA you've got Thanks, jpg On 9/5/06, Dimitrios Bendilas <[EMAIL P

[FlashCoders] XRay _global tree

2006-09-05 Thread Dimitrios Bendilas
Hello, I've just downloaded the latest version of Xray. Why can't I take a snapshot of _global.com for example? When I type _global.com and then press the snapshot button, it reverts to _level0. Same thing happens with everything else, like _global.com.zefxis.solarwind.applications.ActionManager.

Re: [Flashcoders] RE: Images stay on memory forever?

2006-09-05 Thread Dimitrios Bendilas
Hi Dave, I had already replied you a few days ago, but I think the message went under a "digest" title, so you must have missed it. So again, thanks! I downloaded your example and played around with it. I don't know for flash 4, but with flash 8 it was the fact that the images were loaded and

Re: [Flashcoders] RE: Flashcoders Digest, Vol 20, Issue 2

2006-09-01 Thread Dimitrios Bendilas
Hey Dave, Downloading now. Thanks! Will check and get back to you. Best regards, Dimitrios - Original Message - From: "dave matthews" <[EMAIL PROTECTED]> To: Sent: Friday, September 01, 2006 8:51 PM Subject: [Flashcoders] RE: Flashcoders Digest, Vol 20, Issue 2 no prob Dimitri

Re: [Flashcoders] RE: Images stay on memory forever?

2006-09-01 Thread Dimitrios Bendilas
rs mailing list'" Sent: Friday, September 01, 2006 5:55 PM Subject: RE: [Flashcoders] RE: Images stay on memory forever? Here's a nbie suggestion, but can you not use 'delete'? -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Be

Re: [Flashcoders] RE: Images stay on memory forever?

2006-09-01 Thread Dimitrios Bendilas
have no way to create truly empty keyframes on dynamic timelines... i think... :) we'll get it working, Dave Matthews -- Message: 8 Date: Fri, 1 Sep 2006 11:25:13 +0300 From: "Dimitrios Bendilas" <[EMAIL PROTECTED]> Subject: Re: [Flashcoders]

Re: [Flashcoders] RE: Images stay on memory forever?

2006-09-01 Thread Dimitrios Bendilas
to me, making something invisble in flash doesnt mean it will unload the content from memory, in fact it doesnt necessarily mean it wont get rendered. Im not sure if this is still the case in fp8 but i know that in previous versions i would also move a clip to -100

Re: [FlashCoders] Images stay on memory forever?

2006-08-31 Thread Dimitrios Bendilas
at happens. might not be immediate. could take a few minutes. On 8/31/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: Of course I'm swapping depths before I remove it. I see it removed, but the memory doesn't free Dimitrios - Original Message - From: "Steven

Re: [FlashCoders] Images stay on memory forever?

2006-08-31 Thread Dimitrios Bendilas
e a movieclip, you need to create or attach it first. if you're using the IDE to place the mcs, you can't use removeMovieClip(). if a mc is not on stage, is invisible, it will still be rendered by the player. Thats the way it works, whether it makes sense to you or not. On 8/31/06

Re: [FlashCoders] Images stay on memory forever?

2006-08-31 Thread Dimitrios Bendilas
Hi Steven, Thanks for the information. I've read this great article before, I'll read it once more to refresh my memory. My mistake, I forgot to mention that I have the same issue even if I remove the movieclip with removeMovieClip(), or move it to negative coords, outside the visible stage area

Re: [FlashCoders] Images stay on memory forever?

2006-08-31 Thread Dimitrios Bendilas
gement strategy that doesnt require it to immediately return the memory its allocated. Dimitrios Bendilas wrote: Hi Martin, Ok, but the memory doesn't even free if I remove the movie clip with .removeMovieClip() And I tried moving it out of the stage as well... Dimitrios _

Re: [FlashCoders] Images stay on memory forever?

2006-08-31 Thread Dimitrios Bendilas
is still the case in fp8 but i know that in previous versions i would also move a clip to -1,-1 to stop the renderer from including it. martin Dimitrios Bendilas wrote: Sorry for posting again, Anyone got any idea? ___ Flashcoders@chatt

Re: [FlashCoders] Images stay on memory forever?

2006-08-31 Thread Dimitrios Bendilas
a try and tell me I'm not crazy? Thanks! Dimitrios - Original Message - From: "Dimitrios Bendilas" <[EMAIL PROTECTED]> To: Sent: Thursday, August 31, 2006 12:26 PM Subject: [FlashCoders] Images stay on memory forever? Hello, While doind some tests, I ran into s

[FlashCoders] Images stay on memory forever?

2006-08-31 Thread Dimitrios Bendilas
;s Flash 8 and the movieclips are not bitmap cached. Any thoughts? Thanks, Dimitrios Bendilas ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you

Re: [FlashCoders] Local storage warning

2006-08-29 Thread Dimitrios Bendilas
up to 100K to the local storage. 4. The solution that applied in my case was to divide that file into smaller ones, each one less being than 10K. Kind regards, Dimitrios - Original Message - From: "Dimitrios Bendilas" <[EMAIL PROTECTED]> To: "Flashcoders mai

Re: [FlashCoders] Local storage warning

2006-08-25 Thread Dimitrios Bendilas
;click' the Allow button. This worked great for a kiosk with an automated startup procedure. I don't know if this will be of any help, but I thought I'd post it anyway. Dimitrios Bendilas wrote: Hello, I have this very very urgent issue! Users of an application I m

Re: [FlashCoders] Local storage warning

2006-08-24 Thread Dimitrios Bendilas
domain - and then won't be seen again. I think that is the point of your initial post, right? I can't remember if comes up as a default the 1st time or not, but I think it does just for security reasons. -e.d. On 8/24/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: Hi Mike

[FlashCoders] Local storage warning

2006-08-24 Thread Dimitrios Bendilas
Hello, I have this very very urgent issue! Users of an application I made with Flash 8 & Zinc get this warning screen: http://www.zefxis.gr/files/warning.jpg when they first run the executable. I know this is because my app saves some files on the hard drive. The question is, is there any way t

Re: [FlashCoders] Local storage warning

2006-08-24 Thread Dimitrios Bendilas
ng you can store up to i think 100k without popping a warning on the default config.. more than that you have to ask permission.. you can query their setting to make it a "little" more user friendly. mike On Aug 24, 2006, at 4:24 PM, Dimitrios Bendilas wrote: Hello, I have this

[FlashCoders] Flash Player Settings

2006-07-24 Thread Dimitrios Bendilas
project. So it really beats me why this is happening. When does this panel appear? I thought it was only with SharedObjects. How can I make sure it doens't appear? Thanks, Dimitrios Dimitrios Bendilas Game Designer/Lead Developer Total Eclipse Games www.totaleclipsegames.com B

Re: [FlashCoders] Memory builds up

2006-07-20 Thread Dimitrios Bendilas
rd Visscher" <[EMAIL PROTECTED]> To: "'Flashcoders mailing list'" Sent: Thursday, July 20, 2006 12:42 PM Subject: RE: [FlashCoders] Memory builds up I tried your example, but i see no alarming memory build up. I can confirm this, no speedy memory increase, only 500

[FlashCoders] Memory builds up

2006-07-20 Thread Dimitrios Bendilas
Hello, I have a few very simple lines of code on _root, frame 1 (it's the only frame in the main timeline): -- var ballID:Number = 0; _root.onEnterFrame = createBall; function createBall():Void { var mc:MovieClip = _root.attachMovie("ball", "ball" + ballID, 100

Re: [FlashCoders] Flash player NSIS installation

2006-06-08 Thread Dimitrios Bendilas
Before using $(^Name), please download and install the latest version at http://www.adobe.com"; flash_installed: FunctionEnd Good luck! -mL knowledge.lapasa.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dimitrios Bendilas Sent: Thursday, June 08, 2

Re: [FlashCoders] Flash player NSIS installation

2006-06-08 Thread Dimitrios Bendilas
ers mailing list" Sent: Monday, June 05, 2006 9:41 PM Subject: Re: [FlashCoders] Flash player NSIS installation Dimitrios Bendilas wrote: I need to create an installer for flash player 8. Is there a tutorial or a full script for this? It has to be NSIS installer. Your note doesn't s

[FlashCoders] Flash player NSIS installation

2006-06-02 Thread Dimitrios Bendilas
Hello all, I need to create an installer for flash player 8. Is there a tutorial or a full script for this? It has to be NSIS installer. Unfortunately I have no experience with NSIS or installers in general and I am lost. Thanks! Dimitrios ___ Flashco

Re: [FlashCoders] Tricky(?) Flash Version detection

2006-05-08 Thread Dimitrios Bendilas
ky(?) Flash Version detection Lol, that's a damn good point ;-) One day I'll learn to think before I reply. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Bendilas Sent: 08 May 2006 11:13 To: Flashcoders mailing list Subject: Re:

Re: [FlashCoders] Tricky(?) Flash Version detection

2006-05-08 Thread Dimitrios Bendilas
t: Monday, May 08, 2006 1:15 PM Subject: RE: [FlashCoders] Tricky(?) Flash Version detection Doesn't Flash 8 now have a flash player check function in its api? I recall seeing that somewhere. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

[FlashCoders] Tricky(?) Flash Version detection

2006-05-08 Thread Dimitrios Bendilas
ion or no flash at all, I would like to take him to the macromedia website to download. It seems to me that I have to write a script in Zinc, to check for the flash player version. Is that so? Or it there anything else I can do? Thanks! Dim

Re: [Flashcoders] Focus Highlight with Components

2006-05-05 Thread Dimitrios Bendilas
John, I get rid of the green halo border with this: _root._focusrect = _global.useFocusRect = false; It has effect on every element on the flash movie. I hope this will help you. Regards, Dimitrios Bendilas - Original Message - From: "John Giotta" <[EMAIL PR

Re: [FlashCoders] Build Flash8 installer

2006-05-05 Thread Dimitrios Bendilas
Thank you guys. Dimitrios Bendilas - Original Message - From: "John Dowdell" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Thursday, May 04, 2006 9:46 PM Subject: Re: [FlashCoders] Build Flash8 installer Dimitrios Bendilas wrote: I need to d

[FlashCoders] Build Flash8 installer

2006-05-03 Thread Dimitrios Bendilas
Hello all, Hope this is not very off-topic. How can I create an installer of Flash 8 Player for Internet Explorer? I need to distribute the Player along with an application I have built and I could use some guidelines/tutorial etc. Thank you, Dimitrios Bendilas

Re: [Flashcoders] setInterval intervalID type?

2006-04-19 Thread Dimitrios Bendilas
It's a Number Regards, Dimitrios Bendilas - Original Message - From: "Merrill, Jason" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, April 19, 2006 7:08 PM Subject: [Flashcoders] setInterval intervalID type? May be a dumb quest

Re: [Flashcoders] XMLSocket hosting

2006-04-13 Thread Dimitrios Bendilas
Jester, I second that for flashtampa. I have been working with them for a couple of years with ElectroServer and they've been doing a fine job. Regards, Dimitrios Bendilas www.totaleclipsegames.com - Original Message - From: "Jobe Makar" <[EMAIL PROTECTED]> To:

Re: [Flashcoders] Question on removeMovieClip

2006-04-08 Thread Dimitrios Bendilas
find yourself spending hours to debug some code because you forgot that some movieclips have negative depth. You've got so many positive number to use as depths that it's totally unneccessary to use negative values. Regards, Dimitrios Bendilas - Original Message - From:

Re: [FlashCoders] BitmapData.dispose()

2006-03-24 Thread Dimitrios Bendilas
The bitmap could then be attached on a movieclip. If you do that with dozens of bitmaps it's a pain to keep track of all of them in seperate variables. Anyway, Thanks a lot! Regards, Dimitrios Bendilas - Original Message - From: "André Nachtigall Tessmann" <[EMAIL P

[FlashCoders] BitmapData.dispose()

2006-03-24 Thread Dimitrios Bendilas
Hello, Quick question. private function createBitmap():Void { var bitmap:BitmapData = new Bitmap(200, 200, false, 0xFF); clip.attachBitmap(bitmap, 0); } If I never execute .dispose() on the bitmap, does it remain in memory? It seems logical to me that it remains there only until the

Re: [Flashcoders] Multiuser - which backend?

2006-03-22 Thread Dimitrios Bendilas
t have any problems with it. I hope this helps! Regards, Dimitrios Bendilas - Original Message - From: "Ian Thomas" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 22, 2006 7:33 PM Subject: [Flashcoders] Multiuser - which backen

Re: [FlashCoders] remove BitmapData

2006-03-17 Thread Dimitrios Bendilas
nyways, and as of now, if you do not call dispose() and just remove MovieClips with bitmapData attached, the bitmapData, as I know it, will remain in memory. M. On 3/15/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: Thank you Johannes. But what if I need to remove bitmaps only at

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Dimitrios Bendilas
t" Sent: Wednesday, March 15, 2006 9:46 PM Subject: Re: [FlashCoders] remove BitmapData for (var e in clip) { if(clip[e] instanceof BitmapDAta) { clip[e].dispose(); } } i think that could work. On 3/15/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: "check if the obj

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Dimitrios Bendilas
reomvemoveiclip so you know when you remove a movieclip it will be sorted. On 3/15/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: So that means I have to keep a reference of the BitmapData obj. What if I have dozens of bitmaps I attach on a movieclip and I don't want to keep references

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Dimitrios Bendilas
al Message - From: "Ryan Matsikas" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 15, 2006 7:20 PM Subject: Re: [FlashCoders] remove BitmapData bmpdata.dispose() On 3/15/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: Hello e

[FlashCoders] remove BitmapData

2006-03-15 Thread Dimitrios Bendilas
Hello everyone, How can I remove a bitmap that I have attached on a movieclip at a certain depth? The only approach I was able to find was to attach another bitmap 1x1 transparent at the same depth, but I think this is a pretty stupid approach... Am I missing something? Thanks, Dimitrios _

Re: [FlashCoders] scrollRect

2006-02-23 Thread Dimitrios Bendilas
rmance? Thanks! Dimitrios - Original Message - From: "JesterXL" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, February 15, 2006 3:53 AM Subject: Re: [FlashCoders] scrollRect I oringally wrote this in Flash 8, and ported to Flash 8.5.

Re: [FlashCoders] scrollRect

2006-02-16 Thread Dimitrios Bendilas
nd ported to Flash 8.5. There is no reason it couldn't go back. http://www.jessewarden.com/archives/2006/01/diesel_battlefi.html - Original Message - From: "Dimitrios Bendilas" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 14, 2006 4:55 PM Subject: [FlashCoders] scroll

[FlashCoders] scrollRect

2006-02-14 Thread Dimitrios Bendilas
Hi all, I'm trying to make a very basic prototype to test parallax movement with Flash 8. Is movieclip.scrollRect what I should be using? I tried this: var bg:MovieClip = _root.attachMovie("bg", "bg", 2); var y:Number = 0; _root.onEnterFrame = function():Void { bg.scrollRect = {x:0, y:y--, wid

Re: [FlashCoders] textfield swapDepths

2006-02-10 Thread Dimitrios Bendilas
Right, this is not what I'm trying to achieve. The issue is only for textfields, not movieclips. I finally managed to find a workaround that works. I used the TextField.prototype.swapDepths = MovieClip.prototype.swapDepths; approach and it worked great! Thanks everyone for the suggestions and di

Re: [FlashCoders] textfield swapDepths

2006-02-09 Thread Dimitrios Bendilas
gt; To: "Flashcoders mailing list" Sent: Thursday, February 09, 2006 8:28 PM Subject: RE: [FlashCoders] textfield swapDepths Why in the first place you want to use negative depth? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Be

Re: [FlashCoders] textfield swapDepths

2006-02-09 Thread Dimitrios Bendilas
Hey, Thanks everyone for your suggestions. Tom, in order to remove the textfield, as you say, you will have to swapDepths() first, which unfortunately doesn't work on TextFields. That's why I started this thread in the first place. I just found this suggestion in a forum: TextField.prototype.sw

Re: [FlashCoders] textfield swapDepths

2006-02-09 Thread Dimitrios Bendilas
Hi Sarah, Thanks for your answer. Unfortunately this is not an option. So, I thought I'd create a dynamic textfield in the depth I want, copy all properties from the original textfield to the new one and set .text = "" for the original textfield (unfortunately removeMovieClip doesn't work eit

[FlashCoders] textfield swapDepths

2006-02-09 Thread Dimitrios Bendilas
Hello everyone, I'm using .swapDepths() on a textfield on the stage, that was not created dynamically, but was placed there from iside the Flash IDE. It's depth doesn't change and it remains negative. Is this how it should work? Thanks, Dimitrios ___

Re: [Flashcoders] Q:creating a 'snappable' class

2006-02-03 Thread Dimitrios Bendilas
hotspots to see if you are near one. One thing that might be of help though is Grand Skinner's Proximity class. It might be able to save you lots of calculations, since you could only check for hotspots that are near a specified area. You might want to check that out. Just a thought...

Re: [FlashCoders] wave generator example

2006-02-02 Thread Dimitrios Bendilas
Yes! That's the one! Thanks Jim! Dimitrios - Original Message - From: "Jim Armstrong" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Thursday, February 02, 2006 8:01 PM Subject: Re: [FlashCoders] wave generator example Dimitrios Bendilas

[FlashCoders] wave generator example

2006-02-02 Thread Dimitrios Bendilas
Hello everyone, There was a tutorial/article about a wave generator engine in ActionScript, that produced pretty complex waves and had a boat which you could move ON the waves using the left and right arrow buttons. It was a very nice example and I think it was made by someone in this list. I ca

Re: [FlashCoders] RadioButton group

2006-01-31 Thread Dimitrios Bendilas
Nevermind, I found it. It's radioButtonGroupName.selection. Dimitrios - Original Message - From: "Dimitrios Bendilas" <[EMAIL PROTECTED]> To: Sent: Monday, January 30, 2006 9:41 PM Subject: [FlashCoders] RadioButton group Hello all, Sorry for bothering you

[FlashCoders] RadioButton group

2006-01-30 Thread Dimitrios Bendilas
Hello all, Sorry for bothering you with this very basic question, but I need this very quickly and I can't remember how to do this. I have a single group of radio buttons on stage. How can I see which one is selected? Do I have to create a listener and save the changes on a variable? Thanks! Dim

Re: [Flashcoders] Deleting a KeyListener

2006-01-29 Thread Dimitrios Bendilas
Hi Stephen, A reference to the listener is stored inside the Key class. So you have to remove it with Key.removeListener(keyForm); Regards, Dimitrios Bendilas www.total-eclipse.gr - Original Message - From: "Stephen Hueners" <[EMAIL PROTECTED]> To: "'Flashc

Re: [Flashcoders] getting the name of an object

2006-01-23 Thread Dimitrios Bendilas
That's right. "_name" is a property of a movieclip object which is set the time you create and instance of a movieclip. When creating a generic object, it doens't have a _name or name property, unless you give it one. So, you could do this: var fooObj:Object = new Object(); fooObj.name = "..

Re: [Flashcoders] expanding a second array given values of the firstarray

2006-01-19 Thread Dimitrios Bendilas
Hi there, Try this a = [2,1,5,1,3]; var l:Number = a.length; var i:Number = -1; var b:Array = []; var sum:Number = 0; while (++i < l) { sum += a[i]; trace(sum); var tmp:Array = []; var n:Number = a[i]; while (--n >= 0) { tmp [n] = sum; } b = b.concat(tmp); } trace(b); Regards, Dim

Re: [Flashcoders] adding whitespace back into xml

2006-01-09 Thread Dimitrios Bendilas
Hi there Jobe, Try this. It works great for me. class util.XMLFormat { public static function formatXML(p_xml:XMLNode, p_tab:String):String { p_tab = (p_tab == undefined) ? "\t" : p_tab; var str:String = new String(); var nodeValue:String = p_xml.nodeValue; var nodeName:String = p_xml.nodeN

Re: [Flashcoders] Keypoints in a .mp3

2006-01-04 Thread Dimitrios Bendilas
); s.start(); _root.onEnterFrame = function() { // check s.position and act accordingly } Regards, Dimitrios Bendilas - Original Message - From: "Marcelo Wolfgang" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, January 04, 2006 3:17 PM Subjec

Re: [Flashcoders] execute a string as actionscript in MX

2005-12-31 Thread Dimitrios Bendilas
Hi there, try this: function sayHi():Void { trace("Hi!"); } str = "sayHi"; this[str](); Also have a look at the Function.apply method in Flash help Regards, Dimitrios - Original Message - From: "BOYD SPEER" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Saturday, Decembe

Re: [FlashCoders] game slowing down - eventListener

2005-12-22 Thread Dimitrios Bendilas
The _global thing was Hans Wichman's idea. Just making sure he gets the credit! ;-) Dimitrios - Original Message - From: "John Grden" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Thursday, December 22, 2005 7:49 PM Subject: Re: [FlashCoders] game slowing down - eventList

Re: [FlashCoders] game slowing down - eventListener

2005-12-22 Thread Dimitrios Bendilas
CTED]> To: "Flashcoders mailing list" Sent: Thursday, December 22, 2005 6:15 PM Subject: Re: [FlashCoders] game slowing down - eventListener Did you make any headway? On 12/22/05, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: John, thanks a lot for all the help! ___

Re: [FlashCoders] game slowing down - eventListener

2005-12-21 Thread Dimitrios Bendilas
one thing you might do is make it a public var for now and see if it shows up where you think it should. That might be one reason you can't see it ;) On 12/21/05, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: At the timeline of my .fla file all I have is: import com.zefxis.games

Re: [FlashCoders] game slowing down - eventListener

2005-12-21 Thread Dimitrios Bendilas
ting created. I have a enumerator class that has a process timer on it. This would trace out the time in milliseconds from the beginning of a process to the end of it. I was going to release this class but I found some problems with it. I'll make another attempt and try and post it in the

Re: [FlashCoders] game slowing down - eventListener

2005-12-21 Thread Dimitrios Bendilas
game object. greetz Hans At 06:16 PM 12/21/2005, Dimitrios Bendilas wrote: At the timeline of my .fla file all I have is: import com.zefxis.games.myGame.Application; Application.main(_root) Structure outlines of Application class: class com.zefxis.games.gameName.Application { ... ... priv

Re: [FlashCoders] game slowing down - eventListener

2005-12-21 Thread Dimitrios Bendilas
27;re only going to see the class definitions (functions/props), unless it's a static class. So, I would stick with _level0, and try to type in the path as deep as you can recal to start the snapshot, if that makes sense. Does that all make sense? On 12/21/05, Dimitrios Bendilas <[EMAIL PR

Re: [FlashCoders] game slowing down - eventListener

2005-12-21 Thread Dimitrios Bendilas
doing the above. If you have it online, do you mind if I try and look through it with Xray? Let me know, Thanks, John On 12/21/05, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: Hello again, I've been doing test all this time but I still haven't found what I'm looking fo

Re: [FlashCoders] game slowing down - eventListener

2005-12-21 Thread Dimitrios Bendilas
he trace window and start checkingyour objects and props from there. Make sense? Let me know if you other questions. With xray, there's usually 3-4 ways to get an an object and mess with it ;) On 12/17/05, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: > > Hello John, > >

Re: [FlashCoders] game slowing down - eventListener

2005-12-17 Thread Dimitrios Bendilas
Hello John, Sorry for the late reply, I wanted to run some tests before answering back. I'm aware of the way the garbage collector works (even though I'm a little confused with object parameters stored in the inline functions inside Delegates, if they get garbage collected after all or not). Th

Re: [FlashCoders] game slowing down - eventListener

2005-12-15 Thread Dimitrios Bendilas
Anyone else has anything to suggest? Has anyone experienced memory build up with the use of Delegates or Proxy (with parameter support)? Thank you Dimitrios - Original Message - From: "Cedric Muller" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Thursday, December 15, 200

Re: [FlashCoders] game slowing down - eventListener

2005-12-15 Thread Dimitrios Bendilas
s are not garbage-collected because of the Delegates. I think this has been discussed before, but I can't recall a definate answer if this is a problem and what is a possible solution. The framework is not open source and it's not a commercial product (at least not yet). If

Re: [FlashCoders] game slowing down - eventListener

2005-12-15 Thread Dimitrios Bendilas
tes. I think this has been discussed before, but I can't recall a definate answer if this is a problem and what is a possible solution. The framework is not open source and it's not a commercial product (at least not yet). If you like, you can see a game I built with it at http://www.total-e

Re: [FlashCoders] game slowing down - eventListener

2005-12-15 Thread Dimitrios Bendilas
mercial product (at least not yet). If you like, you can see a game I built with it at http://www.total-eclipse.gr/academy-of-magic-word-spells/ Dimitrios Bendilas - Original Message - From: "Hans Wichman" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sen

[FlashCoders] game slowing down - eventListener

2005-12-15 Thread Dimitrios Bendilas
Hello everyone, I have built a big, complex framework for creating 2D games in Flash. I have developed 2 large projects based on it and I'm experiencing a slow down as the game progresses. A while after you begin playing, things start to slow down and in 20-30 minutes the game is no more fun to p

Re: [Flashcoders] Screen Capture with Flash

2005-12-02 Thread Dimitrios Bendilas
Hi, You can do this if you use a wrapper to make a projector (exe) file out of your .swf file. I use Zinc and I think it's absolutely great! www.multidmedia.com There are other products available but I haven't tried them. SWF studio pro is one of them I think Regards, Dimitrios - Origin

Re: [Flashcoders] lil OOP question

2005-11-30 Thread Dimitrios Bendilas
n so this is what I expected and doesnt make any problem. Thankyou for response. 2005/11/30, Dimitrios Bendilas <[EMAIL PROTECTED]>: Hi Janis, As far as I can see from the class declaration, this is not a dynamic class. So, why would you want to check if a property is "declared"

Re: [Flashcoders] lil OOP question

2005-11-30 Thread Dimitrios Bendilas
Hi Janis, As far as I can see from the class declaration, this is not a dynamic class. So, why would you want to check if a property is "declared"? You are the one who sets the declared variables inside the class. Is there something I'm not getting? Dimitrios - Original Message - Fro

Re: [Flashcoders] Movie seems to unload?

2005-11-18 Thread Dimitrios Bendilas
e same results when I try to access is directly. See for your selves: http://www.theasis.com.gr/Preview/theasis3.swf Regards -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Bendilas Sent: Friday, November 18, 2005 3:40 PM To: Flashcoders maili

Re: [Flashcoders] Movie seems to unload?

2005-11-18 Thread Dimitrios Bendilas
Hey Stathi, Is it only 1 SWF? Or are you loading any other swf from inside the main one? Dimitrios - Original Message - From: "Kaloudis Stathis" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Friday, November 18, 2005 3:31 PM Subject: RE: [Flashcoders] Movie seems to unload

Re: [Flashcoders] Math.random()

2005-11-17 Thread Dimitrios Bendilas
ient was happy with; as essentially your client would be giving away stuff for free. If it is pay to play, you need to check it all out with the lawyers, I'm afraid. Hope that's helpful, Ian On 11/17/05, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: Hello, I have built a Backg

Re: [Flashcoders] Math.random()

2005-11-17 Thread Dimitrios Bendilas
Everyone who replied, thank you very much! I guess I'll replace Math.random() with something more sophisticated. The page you suggested Jim looks quite promising. Thanks again guys! Regards, Dimitrios - Original Message - From: "Jim Armstrong" <[EMAIL PROTECTED]> To: "Flashcoders ma

[Flashcoders] Math.random()

2005-11-17 Thread Dimitrios Bendilas
Hello, I have built a Backgammon game in Flash for a client. He is starting to ask questions about the randomness of the dice, because a registered member of the game said he's recorded the stats of about 100 backgammon games and found that the numbers generated are not so random. (I haven't seen

[FlashCoders] Movieclip stops with no apparent reason

2005-10-27 Thread Dimitrios Bendilas
Hello everyone, I've got a movieclip, a sprite for a game. The movieclip contains several labeled frames, such as "LowKick", "Stand", "HighKick" etc. In each frame there is a movieclip, consisting of the frames for that particular move. It also contains several labeled frames, such as "Start",