RE: [Flashcoders] IPAD App code optimization

2013-01-14 Thread Sumeet Kumar
Regarding this point:

- use a profiler to see what your app is doing with respect to object
creation/memory
[can someone suggest a profiler to use with CS6...i have searched but not
able to find one]

Regards
Sumeet Kumar


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Sumeet Kumar
Sent: Monday, January 14, 2013 12:32 PM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] IPAD App code optimization

Thanks Hans and Deepanjan for your guidancei will try these methods and
then post where I reached.

Thanks again.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Hans Wichman
Sent: Friday, January 11, 2013 7:40 PM
To: Flash Coders List
Subject: Re: [Flashcoders] IPAD App code optimization

Hi Sumeet,

some stuff is much more important than other stuff:
- DRY - don't repeat yourself: cache calculations (sinus tables, array
lengths, radian conversion etc)
- Create as few objects as possible, eg use ObjectPooling
- try to stay away from movieclips and sprites, use bitmaps and spritesheets
whereever possible
- if rendering performance is your bottleneck, starling might help
- only cacheAsBitmap / Matrix if you know what you are doing
- only optimize if required, is your app running slow? If so, when?
- use a framecounter (eg mr doobs stats) to see where the framerate drops
are
- use a profiler to see what your app is doing with respect to object
creation/memory
- dispose bitmapdatas if you no longer use them and can't reuse them
- etc etc

hth
JC


On 11-1-2013 11:57, Sumeet Kumar wrote:
 Hi All,

   

 I am creating a very basic IPAD app. Adobe says we need to build the 
 app with code optimization. I have completed development of the app.

   

 For code optimization,  I am removing listeners, using sprites instead 
 of movieclip, clearing Timers etc...what else I can do to optimize my
code..or
 What do adobe really mean by code optimization.

   

 Can anyone please guide me in this regard.

   

 Regards

 Sumeet Kumar

   

   

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] IPAD App code optimization

2013-01-14 Thread Hans Wichman

Sumeet, check these out:

https://itunes.apple.com/us/app/adobe-scout/id562450748?mt=8
http://www.adobe.com/devnet/flashruntimes/articles/adobe-scout-getting-started.html

hth
jc


On 14-1-2013 8:02, Sumeet Kumar wrote:

Thanks Hans and Deepanjan for your guidancei will try these methods and
then post where I reached.

Thanks again.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Hans Wichman
Sent: Friday, January 11, 2013 7:40 PM
To: Flash Coders List
Subject: Re: [Flashcoders] IPAD App code optimization

Hi Sumeet,

some stuff is much more important than other stuff:
- DRY - don't repeat yourself: cache calculations (sinus tables, array
lengths, radian conversion etc)
- Create as few objects as possible, eg use ObjectPooling
- try to stay away from movieclips and sprites, use bitmaps and spritesheets
whereever possible
- if rendering performance is your bottleneck, starling might help
- only cacheAsBitmap / Matrix if you know what you are doing
- only optimize if required, is your app running slow? If so, when?
- use a framecounter (eg mr doobs stats) to see where the framerate drops
are
- use a profiler to see what your app is doing with respect to object
creation/memory
- dispose bitmapdatas if you no longer use them and can't reuse them
- etc etc

hth
JC


On 11-1-2013 11:57, Sumeet Kumar wrote:

Hi All,

   


I am creating a very basic IPAD app. Adobe says we need to build the app
with code optimization. I have completed development of the app.

   


For code optimization,  I am removing listeners, using sprites instead of
movieclip, clearing Timers etc...what else I can do to optimize my

code..or

What do adobe really mean by code optimization.

   


Can anyone please guide me in this regard.

   


Regards

Sumeet Kumar

   

   


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] IPAD App code optimization

2013-01-14 Thread Beatrix Krümmer-Frau

Hi Sumeet,

you can use the FlashBuilder, FlashDevelop or FDT Profiler.
In the past I used theMiner: http://jacksondunstan.com/articles/1763
Actually I like to work with Monocle, as it is best to check performance 
on Stage3D...

http://blogs.adobe.com/mallika/2012/10/introducing-project-monocle.html
There is a great video for a first look from Thibault Imbert:
http://vimeo.com/46917940#

All the best from

*Beatrix Kruemmer-Frau*
Director Codergang.com
Master of Arts in Designer | Developer | CEH-LPIG

www.codergang.com | @ASHero_org | @birikini

Am 14.01.2013 12:52, schrieb Sumeet Kumar:

Regarding this point:

- use a profiler to see what your app is doing with respect to object
creation/memory
[can someone suggest a profiler to use with CS6...i have searched but not
able to find one]

Regards
Sumeet Kumar


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Sumeet Kumar
Sent: Monday, January 14, 2013 12:32 PM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] IPAD App code optimization

Thanks Hans and Deepanjan for your guidancei will try these methods and
then post where I reached.

Thanks again.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Hans Wichman
Sent: Friday, January 11, 2013 7:40 PM
To: Flash Coders List
Subject: Re: [Flashcoders] IPAD App code optimization

Hi Sumeet,

some stuff is much more important than other stuff:
- DRY - don't repeat yourself: cache calculations (sinus tables, array
lengths, radian conversion etc)
- Create as few objects as possible, eg use ObjectPooling
- try to stay away from movieclips and sprites, use bitmaps and spritesheets
whereever possible
- if rendering performance is your bottleneck, starling might help
- only cacheAsBitmap / Matrix if you know what you are doing
- only optimize if required, is your app running slow? If so, when?
- use a framecounter (eg mr doobs stats) to see where the framerate drops
are
- use a profiler to see what your app is doing with respect to object
creation/memory
- dispose bitmapdatas if you no longer use them and can't reuse them
- etc etc

hth
JC


On 11-1-2013 11:57, Sumeet Kumar wrote:

Hi All,

   


I am creating a very basic IPAD app. Adobe says we need to build the
app with code optimization. I have completed development of the app.

   


For code optimization,  I am removing listeners, using sprites instead
of movieclip, clearing Timers etc...what else I can do to optimize my

code..or

What do adobe really mean by code optimization.

   


Can anyone please guide me in this regard.

   


Regards

Sumeet Kumar

   

   


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] IPAD App code optimization

2013-01-14 Thread Beatrix Krümmer-Frau
yeeah, cool, its also included in the game dev tools bundle for free on 
adobe cloud, found it!


Am 14.01.2013 14:15, schrieb Hans Wichman:

ps monocle is now called scout...

On 14-1-2013 13:42, Beatrix Krümmer-Frau wrote:

Hi Sumeet,

you can use the FlashBuilder, FlashDevelop or FDT Profiler.
In the past I used theMiner: http://jacksondunstan.com/articles/1763
Actually I like to work with Monocle, as it is best to check 
performance on Stage3D...

http://blogs.adobe.com/mallika/2012/10/introducing-project-monocle.html
There is a great video for a first look from Thibault Imbert:
http://vimeo.com/46917940#

All the best from

*Beatrix Kruemmer-Frau*
Director Codergang.com
Master of Arts in Designer | Developer | CEH-LPIG

www.codergang.com | @ASHero_org | @birikini

Am 14.01.2013 12:52, schrieb Sumeet Kumar:

Regarding this point:

- use a profiler to see what your app is doing with respect to object
creation/memory
[can someone suggest a profiler to use with CS6...i have searched 
but not

able to find one]

Regards
Sumeet Kumar


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of 
Sumeet Kumar

Sent: Monday, January 14, 2013 12:32 PM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] IPAD App code optimization

Thanks Hans and Deepanjan for your guidancei will try these 
methods and

then post where I reached.

Thanks again.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Hans 
Wichman

Sent: Friday, January 11, 2013 7:40 PM
To: Flash Coders List
Subject: Re: [Flashcoders] IPAD App code optimization

Hi Sumeet,

some stuff is much more important than other stuff:
- DRY - don't repeat yourself: cache calculations (sinus tables, array
lengths, radian conversion etc)
- Create as few objects as possible, eg use ObjectPooling
- try to stay away from movieclips and sprites, use bitmaps and 
spritesheets

whereever possible
- if rendering performance is your bottleneck, starling might help
- only cacheAsBitmap / Matrix if you know what you are doing
- only optimize if required, is your app running slow? If so, when?
- use a framecounter (eg mr doobs stats) to see where the framerate 
drops

are
- use a profiler to see what your app is doing with respect to object
creation/memory
- dispose bitmapdatas if you no longer use them and can't reuse them
- etc etc

hth
JC


On 11-1-2013 11:57, Sumeet Kumar wrote:

Hi All,


I am creating a very basic IPAD app. Adobe says we need to build the
app with code optimization. I have completed development of the app.


For code optimization,  I am removing listeners, using sprites instead
of movieclip, clearing Timers etc...what else I can do to optimize my

code..or

What do adobe really mean by code optimization.


Can anyone please guide me in this regard.


Regards

Sumeet Kumar



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] IPAD App code optimization

2013-01-14 Thread Hans Wichman

ps monocle is now called scout...

On 14-1-2013 13:42, Beatrix Krümmer-Frau wrote:

Hi Sumeet,

you can use the FlashBuilder, FlashDevelop or FDT Profiler.
In the past I used theMiner: http://jacksondunstan.com/articles/1763
Actually I like to work with Monocle, as it is best to check 
performance on Stage3D...

http://blogs.adobe.com/mallika/2012/10/introducing-project-monocle.html
There is a great video for a first look from Thibault Imbert:
http://vimeo.com/46917940#

All the best from

*Beatrix Kruemmer-Frau*
Director Codergang.com
Master of Arts in Designer | Developer | CEH-LPIG

www.codergang.com | @ASHero_org | @birikini

Am 14.01.2013 12:52, schrieb Sumeet Kumar:

Regarding this point:

- use a profiler to see what your app is doing with respect to object
creation/memory
[can someone suggest a profiler to use with CS6...i have searched but 
not

able to find one]

Regards
Sumeet Kumar


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of 
Sumeet Kumar

Sent: Monday, January 14, 2013 12:32 PM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] IPAD App code optimization

Thanks Hans and Deepanjan for your guidancei will try these 
methods and

then post where I reached.

Thanks again.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Hans 
Wichman

Sent: Friday, January 11, 2013 7:40 PM
To: Flash Coders List
Subject: Re: [Flashcoders] IPAD App code optimization

Hi Sumeet,

some stuff is much more important than other stuff:
- DRY - don't repeat yourself: cache calculations (sinus tables, array
lengths, radian conversion etc)
- Create as few objects as possible, eg use ObjectPooling
- try to stay away from movieclips and sprites, use bitmaps and 
spritesheets

whereever possible
- if rendering performance is your bottleneck, starling might help
- only cacheAsBitmap / Matrix if you know what you are doing
- only optimize if required, is your app running slow? If so, when?
- use a framecounter (eg mr doobs stats) to see where the framerate 
drops

are
- use a profiler to see what your app is doing with respect to object
creation/memory
- dispose bitmapdatas if you no longer use them and can't reuse them
- etc etc

hth
JC


On 11-1-2013 11:57, Sumeet Kumar wrote:

Hi All,


I am creating a very basic IPAD app. Adobe says we need to build the
app with code optimization. I have completed development of the app.


For code optimization,  I am removing listeners, using sprites instead
of movieclip, clearing Timers etc...what else I can do to optimize my

code..or

What do adobe really mean by code optimization.


Can anyone please guide me in this regard.


Regards

Sumeet Kumar



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] IPAD App code optimization

2013-01-13 Thread Sumeet Kumar
Thanks Hans and Deepanjan for your guidancei will try these methods and
then post where I reached.

Thanks again.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Hans Wichman
Sent: Friday, January 11, 2013 7:40 PM
To: Flash Coders List
Subject: Re: [Flashcoders] IPAD App code optimization

Hi Sumeet,

some stuff is much more important than other stuff:
- DRY - don't repeat yourself: cache calculations (sinus tables, array
lengths, radian conversion etc)
- Create as few objects as possible, eg use ObjectPooling
- try to stay away from movieclips and sprites, use bitmaps and spritesheets
whereever possible
- if rendering performance is your bottleneck, starling might help
- only cacheAsBitmap / Matrix if you know what you are doing
- only optimize if required, is your app running slow? If so, when?
- use a framecounter (eg mr doobs stats) to see where the framerate drops
are
- use a profiler to see what your app is doing with respect to object
creation/memory
- dispose bitmapdatas if you no longer use them and can't reuse them
- etc etc

hth
JC


On 11-1-2013 11:57, Sumeet Kumar wrote:
 Hi All,

   

 I am creating a very basic IPAD app. Adobe says we need to build the app
 with code optimization. I have completed development of the app.

   

 For code optimization,  I am removing listeners, using sprites instead of
 movieclip, clearing Timers etc...what else I can do to optimize my
code..or
 What do adobe really mean by code optimization.

   

 Can anyone please guide me in this regard.

   

 Regards

 Sumeet Kumar

   

   

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] IPAD App code optimization

2013-01-11 Thread Sumeet Kumar
Hi All,

 

I am creating a very basic IPAD app. Adobe says we need to build the app
with code optimization. I have completed development of the app. 

 

For code optimization,  I am removing listeners, using sprites instead of
movieclip, clearing Timers etc...what else I can do to optimize my code..or
What do adobe really mean by code optimization.

 

Can anyone please guide me in this regard.

 

Regards

Sumeet Kumar

 

 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] IPAD App code optimization

2013-01-11 Thread Deepanjan Das
Have a look at all possible ways of optimization:

https://deepanjandas.wordpress.com/category/code-optimization/

Best
Deepanjan Das


On Fri, Jan 11, 2013 at 4:27 PM, Sumeet Kumar sume...@sebiz.net wrote:

 Hi All,



 I am creating a very basic IPAD app. Adobe says we need to build the app
 with code optimization. I have completed development of the app.



 For code optimization,  I am removing listeners, using sprites instead of
 movieclip, clearing Timers etc...what else I can do to optimize my code..or
 What do adobe really mean by code optimization.



 Can anyone please guide me in this regard.



 Regards

 Sumeet Kumar





 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
Greetings!
Hope this message of mine finds you in best of health and spirits.

..
Warm Regards
Deepanjan Das
+91.9836582808
Techie-Experts India
|| Om Manasamarthadata Shri Aniruddhaya Namah
||http://www.manasamarthyadata.com/
*Think of the environment before printing this email
__
*
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] IPAD App code optimization

2013-01-11 Thread Hans Wichman

Hi Sumeet,

some stuff is much more important than other stuff:
- DRY - don't repeat yourself: cache calculations (sinus tables, array 
lengths, radian conversion etc)

- Create as few objects as possible, eg use ObjectPooling
- try to stay away from movieclips and sprites, use bitmaps and 
spritesheets whereever possible

- if rendering performance is your bottleneck, starling might help
- only cacheAsBitmap / Matrix if you know what you are doing
- only optimize if required, is your app running slow? If so, when?
- use a framecounter (eg mr doobs stats) to see where the framerate 
drops are
- use a profiler to see what your app is doing with respect to object 
creation/memory

- dispose bitmapdatas if you no longer use them and can't reuse them
- etc etc

hth
JC


On 11-1-2013 11:57, Sumeet Kumar wrote:

Hi All,

  


I am creating a very basic IPAD app. Adobe says we need to build the app
with code optimization. I have completed development of the app.

  


For code optimization,  I am removing listeners, using sprites instead of
movieclip, clearing Timers etc...what else I can do to optimize my code..or
What do adobe really mean by code optimization.

  


Can anyone please guide me in this regard.

  


Regards

Sumeet Kumar

  

  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders