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
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
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.
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
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],
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
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
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
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
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
10 matches
Mail list logo