Hi,

You are correct.
I think the question was asked differently.
He means to say how much memory the compiler takes to create a
movieclip.

Thanks

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cedric
Muller
Sent: Wednesday, June 20, 2007 6:06 PM
To: [email protected]
Subject: Re: [Flashcoders] Memory Usage in Flash

empty SWF file: 34 bytes
empty movieClip (SWF): (57 bytes - 34)  23 bytes
empty movieClip with 'id = 2;' put in its timeline code: 75 bytes

so, that *would* mean:
the base SWF file takes 34 bytes
an empty MovieClip costs: (57 - 34) 23 bytes
assigning 'id = 2'; to an empty MovieClip's timeline adds: (75 - 57)  
18 bytes
if you don't assign a value to id, id would take 2bytes less,  
meaning: 16 bytes

ok, ok,
I am always wrong, but maybe you can get something out of it

Cedric

>> Hi to all the Flashcoders,
>>
>> I have a question.
>> How much memory does a movieclip takes at run time?
>>
>> For example          If I m creating a movieclip with  
>> createEmptyMovieClip, How much
>> memory it will take?
>>
>> And one more thing related to this
>>
>> If I m assigning one property to the movieclip
>> like
>> My_mc.id = 2
>> How much memory this "id" property will take?
>>
>> Regards
>> Sumeet Kumar

_______________________________________________
[email protected]
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
_______________________________________________
[email protected]
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

Reply via email to