Topic: TypeError: Error #1010:

Hi,
From time to time, while browsing the gallery i get:
TypeError: Error #1010: Zapytanie szukania nie zostało zdefiniowane i nie zawiera żadnych właściwości.
    at com.airtight.simpleviewer.display.image::ImageArea/onTransitionComplete()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.airtight.simpleviewer.display.image::TransitionManager/cleanUp()
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at com.greensock::TweenLite/complete()
    at com.greensock::TweenLite/renderTime()
    at com.greensock.core::SimpleTimeline/renderTime()
    at com.greensock::TweenLite$/updateAll()

What can be the reason for that error?

Re: TypeError: Error #1010:

Hi,

Can you provide a URL so we can take a look?

Felix Turner
SimpleViewer Support Team.

Re: TypeError: Error #1010:

Yes, of course:
http://www.galeria.skijumping.pl/simple/compact.html

It happens only in Firefox, when you click on one of the last three thumbnails.  I'm using latest veresion 3.5.6 for Windows. Maybe it is something specific for my pc, but I doubt it.

Thanks in advance for any help.

Re: TypeError: Error #1010:

I updated the Adobe flash Player to the newest version and the problem seems to be gone. Still I would feel better if it doesnt crash on older versions. The version I was testing was:
10,0,2,54

Re: TypeError: Error #1010:

Firefox 3.5.6/Linux has no issues.

Viewing the source of you page it looks like you are missing some tags.

You are missing the following at the top of your page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

your page:

        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
        <script type="text/javascript">
            var flashvars = {};
            flashvars.galleryURL = "ostatnie/1070.xml";
            var params = {};            
            params.allowfullscreen = true;
            params.allowscriptaccess = "always";
            params.bgcolor = "FFFFFF";
            swfobject.embedSWF("simpleviewer.swf", "flashContent", "650", "670", "9.0.124", false, flashvars, params);
        </script>
                
    </head><body><div id="flashContent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://get.adobe.com/flashplayer/">Get Flash</a></div></body>
</html>
Mike Richards
SimpleViewer Support Team.

Re: TypeError: Error #1010:

Hi,

you have found a bug: when 'imagePreloading' is set to NONE an error #1010 may appear on image transition. This will be fixed in the next version.

In the meantime, the workaround is to set 'imagePreloading' to 'PAGE'.

Felix Turner
SimpleViewer Support Team.

Re: TypeError: Error #1010:

This issue has been fixed in SimpleViewer 2.0.2.

Felix Turner
SimpleViewer Support Team.