.indexOf is not a function :(
Hi there,
im struggeling with this simple task:
var myAlphas = image.clippingPath.alphaChannelPathNames;
var AlphaIndex = myAlphas.indexOf("our_default");
…because even this example doesnt work:
var fruits = ["Banana", "Orange", "Apple", "Mango"];
var a = fruits.indexOf("Apple");
alert(a);
from JavaScript Array indexOf() Method
All I get is 
and since Im more of a designer than a scripter, i cant solve that by myslef. Someone to the rescue?
