[Flashcoders] MC Tween Problem - Urgent

2006-12-15 Thread Berkay Unal
Hi Coders, I have a strange problem. When i try to use an Array prototype with a MC Tween (http://hosted.zeh.com.br/mctween/) , the callback of the MC Tween prototype do not work. Did anyone experienced this problem. If so please help Here is a the array prototype i've used

Re: [Flashcoders] MC Tween Problem - Urgent

2006-12-15 Thread Zeh Fernando
Hi Coders, I have a strange problem. When i try to use an Array prototype with a MC Tween (http://hosted.zeh.com.br/mctween/) , the callback of the MC Tween prototype do not work. Berkay, One problem might be the fact that you're adding a prototype but not hiding it for..in loops. This can

Re: [Flashcoders] MC Tween Problem - Urgent

2006-12-15 Thread Berkay Unal
Hi Zeh, Thank you for this quick reply.The proto rocks On 12/15/06, Zeh Fernando [EMAIL PROTECTED] wrote: Hi Coders, I have a strange problem. When i try to use an Array prototype with a MC Tween (http://hosted.zeh.com.br/mctween/) , the callback of the MC Tween prototype do not work.

Re: [Flashcoders] MC Tween Problem - Urgent

2006-12-15 Thread Zeh Fernando
Try doing this right after your prototype is created: ASSetPropFlags(Array, in_array, 1, 0); Oops, a little mistake - it's... ASSetPropFlags(Array.prototype, in_array, 1, 0); ...instead since you're adding something to the prototype, not to the 'static' class. Zeh

Re: [Flashcoders] MC Tween Problem - Urgent

2006-12-15 Thread Iv
Hello Berkay, do not use Array.prototype. you can change this code very quick: function inArray (array:Array, what:Object):Boolean { for( var a = 0; a this.length; a++ ) { if( this[a] == what ) { return true; }else if(this[a] instanceof Array) { return inArray(this[a],

Re: [Flashcoders] MC Tween Problem - Urgent

2006-12-15 Thread Berkay Unal
Thanks Dembicki its resolved by adding a ASSetPropFlags(Array.prototype, inArray, 1, 0); code line after the declaration of the prototype Thanks On 12/15/06, Iv [EMAIL PROTECTED] wrote: Hello Berkay, do not use Array.prototype. you can change this code very quick: function inArray

Re[2]: [Flashcoders] MC Tween Problem - Urgent

2006-12-15 Thread Iv
Hello Berkay, - this solution is step to next problems only. BU its resolved by adding a ASSetPropFlags(Array.prototype, inArray, 1, 0); BU code line after the declaration of the prototype -- Ivan Dembicki __ [EMAIL

[Flashcoders] MC Tween

2006-04-28 Thread Adrian Lynch
I'm using MC Tween on some navigation blocks. Three blocks on top of each other, they start out equal in side, when you click on one, it opens up and the others close up. This involves tweening the clip's height and y coord. It works great for basic MCs(see the good link below), but when I change

Re: [Flashcoders] MC Tween

2006-04-28 Thread Zeh Fernando
I'm using MC Tween on some navigation blocks. Three blocks on top of each other, they start out equal in side, when you click on one, it opens up and the others close up. This involves tweening the clip's height and y coord. It works great for basic MCs(see the good link below), but when I

RE: [Flashcoders] MC Tween

2006-04-28 Thread Adrian Lynch
Of Zeh Fernando Sent: 28 April 2006 11:51 To: Flashcoders mailing list Subject: Re: [Flashcoders] MC Tween I'm using MC Tween on some navigation blocks. Three blocks on top of each other, they start out equal in side, when you click on one, it opens up and the others close up. This involves