Re: [Flashcoders] there is a problem plz help

2007-04-24 Thread Sherif Elshazly
Could be irrelevant or could be useful so I'll mention it anyway.

That looks fine to me, but i would create a new variable to hold the value of 
arr.length to test against, it'll be more efficient to access a variable than 
an array's property.
 
var arr:Array = [17,2,3,4,5,6,7,8,9,10,11,12,13,14,15];
var greater:Number = 0;
var loopCount:Number = arr.length;
for(var i:Number = 0; i  loopCount; i++){
greater = Math.max(greater,arr[i]);
}
trace(greater is  + greater + \n);

Sherif

- Original Message 
From: Gilles Roquefeuil [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 24, 2007 11:51:18 AM
Subject: Re: [Flashcoders] there is a problem plz help


Hello,


is this better ?

var arr:Array = [17,2,3,4,5,6,7,8,9,10,11,12,13,14,15];
var greater:Number = 0;
for(var i:Number = 0; i  arr.length; i++){
greater = Math.max(greater,arr[i]);
}
trace(greater is  + greater + \n);

Gilles
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Grabbing cached Bitmaps and using creating new BitmapData objects from

2007-04-23 Thread Sherif Elshazly
In other words.. you want to create a bitmapdata object of a movieclip and 
attach it to an empty movieclip? Are you using AS2 or AS3?

Thanks,

- Original Message 
From: Stephen Matthews [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com Flashcoders@chattyfig.figleaf.com
Sent: Monday, April 23, 2007 2:24:48 PM
Subject: [Flashcoders] Grabbing cached Bitmaps and using creating new 
BitmapData objects from


Hello,

I am trying to use the cachedBitmap data of a movieClip which has  
bitmaps text and graphics in it.

I want to create a new bitmapData object and attach it from the  
cached BitmapData so that I can do things with it at a bitmap level  
leaving the original intact.

I am having a little trouble. This is where you guys come in.

Thanks

Gingerman
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] ISOMETRIC GAME ENGINE

2007-03-15 Thread Sherif Elshazly
Hi there,
I developed an isometric engine, it's currently used on www.faceparty.com chat 
client.

To have a look, you need to log in sherif791:123456 , then click on party 
chat, when the client loads, goto the rooms tab, and then 3D rooms tab, then 
choose one of the realms.. there's different characters, this could be managed 
from settings within the chat client.

I won't be able to share the code, but it could give you an idea on how you 
wish to build your engine.

Sherf

- Original Message 
From: gilles [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 14, 2007 9:26:57 PM
Subject: Re: [Flashcoders] ISOMETRIC GAME ENGINE


Ok it's great , but i have to di it in AS 2 FOR NOW

so anybody got some idea's for an iso engine for large screens in AS2

gilels
Le 14-mars-07 à 19:54, Pedro Taranto a écrit :

 its a nice work, do you pretend to share the as2 code too ??

 --Pedro Taranto


 matt zb escreveu:
 Hi,

 I've been working on an AS3 isometric game engine for a few months  
 now.

 http://www.zenbullets.com/isometric/

 It's not finished, and it's not open source (yet), but may be of  
 interest if
 you are developing along similar lines.


 matt



 gilles wrote:

 Hi all,

 we are currently looking for a tile iso game engine for one of our
 projects.

 Does anybody knows some good engine with the new flash 8  
 enhancement
 even commercial we are interessed.

 Don't hesitate to contact me.

 It doesn't need to be multi-player but we must have the source to
 adapt it to our use.

 PS: maybe pixlib but we didn't find much over the iso game

 BERTRAND Gilles
 B-services sprl
 248, rue des canadiens
 7022 HYON
 BELGIUM


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

BERTRAND Gilles
B-services sprl
248, rue des canadiens
7022 HYON
BELGIUM
PHONE +32 499 529229


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 

Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com