dalis84
June 10th, 2008, 02:44 PM
I have a method that calls a JavaScript func[on to open a simple popup.
Code:
private function onItemClick(e:ListEvent):void {
ExternalInterface.call("Popup", e.item.swf);
}
e.item.swf is a String contained in an XML.
If I trace it prints exactly what I need.
But this doesn't work. When I click the item, anything happens.
If I change the call with:
[b]ExternalInterface.call("Popup", "index.html");
it works correctly.
I think it's a sort of bug. I can't explain otherwise.
Any ideas??
Code:
private function onItemClick(e:ListEvent):void {
ExternalInterface.call("Popup", e.item.swf);
}
e.item.swf is a String contained in an XML.
If I trace it prints exactly what I need.
But this doesn't work. When I click the item, anything happens.
If I change the call with:
[b]ExternalInterface.call("Popup", "index.html");
it works correctly.
I think it's a sort of bug. I can't explain otherwise.
Any ideas??