Pool CP 7 Question javascript HTML5 version error

I use CP7 and publish on HTML5. I have a number of gliding random quiz using a number of question pools.

The project publishes very well, but when I try to display the project in the browser I get the following Javascript error.

SyntaxError: ILLEGAL of unexpected token to eval (native) to b (.../publish/3-theory/3-theory-r1/assets/js/CPXHRLoader.js:36:374) to XMLHttpRequest. < anonymous > (.../publish/3-theory/3-theory-r1/assets/js/CPXHRLoader.js:37:45) CPXHRLoader.js:36

  1. Eception TypeError: Cannot read property "pqs" of undefined VM16920:971
    1. cp. PoolManager.loadPoolDataIntoModelVM16920:971
    2. cp. PoolManager.loadPoolsVM16920:970
    3. cp. CPPreInitVM16920:662
    4. cp. ContinueCPInitVM16920:1562
    5. cp. DoCPInitVM16920:1561
    6. cpInit (index): 17
    7. initializeCP (index): 25
    8. (index): 59
    9. (anonymous function) (index): 71
    10. b CPXHRLoader.js:37
    11. CPXHRLoader.js:37

      If I hide all the question slides project charge very well.

      I used a .gift format to load in questions and error, it seems that there could be some funny character or something, if I checked this and can not see anything unusual.

      Any idea?

      After a day of tinkering, recreate the whole project in a new file and other unnecessary effort I found the problem looking at the JavaScript code when running. Objects of the question pool did exist at all and that is why it failed.

      The problem... is because I named the pools of matter starting by a number rather than a letter.

      1_xxxx

      2_yyyy

      3_zzzz

      Unfortunately the warning message from Adobe on the naming conventions does not not for this.

      Re-appointed to help

      a_xxx

      b_yyy

      c_zzzz

      and everything works fine.

      In any case, hope this helps someone if they always fall into the same problem.

    12. Tags: Adobe Captivate

      Similar Questions

      • I said that someone else is using my email address, and my secret question has been changed: error 0x800488FE.

        They say that someone is using my email address and my secret question has been changed. error 0x800488FE

        original title: MY EMAIL ADDRESS IS BLOCKED ERROR 0X800488FE

        Hello

        Who is your provider of mail service?

        If you use the Hotmail account then the question you posted would be better suited in Windows Live Solution Center. I suggest you to send your application in the Windows Live Solution Center for better support.

      • Dat2.data version error

        I get the dat2.data Version error when I try to print, or even to open Microsoft Word 2007.  It started when I loaded the new epson drivers on my computer.  I tried to uninstall the epson SW but it won't let me, it times out.

        Hi Tom Callaghan,.

        Welcome to the Microsoft Answers community.

        Do you have which version of the driver installed?

        You can install the old driver version and check.

        I suggest to start your computer in clean boot mode, and then uninstall the printer driver and restart your computer. Reinstall the printer drivers.
         
        Method 1: Steps to uninstall and reinstall the printer driver.
        1. click on the Start button and select Control Panel.
        2. click on programs.
        3. click on programs and features.
        4. now uninstall the printer drivers.
        5 restart your computer. This will automatically install the appropriate drivers for it.

        You can also download the driver for it from the manufacturer's Web site.
        http://www.Epson.com/cgi-bin/store/support/SupportIndex.jsp?OID=-10222&infoType=overview
         
        Method 2: Steps to start in clean boot mode:

        1. click on start, type msconfig in the search box and press ENTER.
        If you are prompted for an administrator password or a confirmation, type the password, or click on continue.
        2. in the general tab, click Selective startup.
        3. under Selective startup, clear the check box load startup items.
        4. click on the Services tab, select the hide all Microsoft Services check box, and then click Disable all.
        5. click on OK.
        6. When you are prompted, click on restart.

        http://support.microsoft.com/kb/331796 . In addition, see the section on how to restore your computer to a Normal startup mode.
        If the methods above does not solve your problem, and then run system restore.

        Method 3: System Restore will take your computer state permeable when it did not face such a problem, this can be done by selecting the correct restore point.

        To restore the operating system to an earlier point in time, follow these steps:

        1. Click Start, type system restore in the search box, and then click System Restore in the list programs.

        If you are prompted for an administrator password or a confirmation, type your password or click on continue.

        2. in the System Restore dialog box, click on choose a different restore point and then click Next.
        3. in the list of restore points, click a restore point created before you started having the problem, and then click Next.
        4. click on finish.

        For more information, visit the links below:
        http://support.Microsoft.com/kb/936212/
        http://support.Microsoft.com/kb/826862

        Hope this information is useful.
        Let me know if it worked.
         
        Thank you, and in what concerns:
        Umesh P - Microsoft Support

      • Newbie question - javascript - php HTML5 and HTTPS w

        Hi all

        Newbie question...

        I'm having a problem with browsers, mac and javascript...

        simple story:

        1. If I put the test on site NO SSL folder - everything works ok

        2 but if I put the same test on HTTPS site folder - MAC SAFARI gets / data displays ok but firefox MAC and Chrome don't receive data

        Q: why not? How do I fix this so work all browsers?

        ---

        CONFIGURE LIKE THIS...

        Page1.html

        Gets the data with this line...

        What was...

        $.get ('getdata.php', function (data, status) {})

        ... etc.

        also tried this (absolute ref)...

        $.get ('https://mysite.com/getdata.php', function (data, status) {})

        ... etc.

        and displays the data on the same page page1.html

        Safari for MAC = works but firefox and chrome do not display data HTTPS site but all work 3 over HTTPS no alternate test site. (using only this local demand = $.get ('getdata.php', function (data, status) {}))

        BTW: if I manually go to getdata.php he gets php data and display the data in json package very well

        Q: How can I test / solve this problem, so all 3 browsers work on HTTPS site?

        Curious to know why MAC SAFARI OS 10.10.4 was an error?

        There are differences in the way different browsers support SSL.

      • HTML5 Version of Grooveshark on my tablet is not playing music. Is there a fix I can try?

        I fell on the HTML5 of Grooveshark version via the attached link.
        This site, it works very well on the stock android browser, but when I try to play music via Firefox beta app it won't play music at all.
        I am able to navigate freely, but there seems to be a problem with streaming music.
        I tried to remedy this through false, but this does not seem to help.
        Also, I found no other sites that deal with this issue, so I decided to submit the question here
        I was wondering if there are any potential difficulty in that I can apply?

        Grooveshark provides that patented audio formats (mp3 or AAC). For now, Firefox support audio OGG (Theora) and WAV.

      • It requires libjpps.so BB Z10 on boot soft version error

        Hello

        I made the version of my application

        Build - version-k past WebWorks

        Then I installed the app on the phone through Chorme Extension (BB10/Playbook App Manager) and when the app is launched it is a popup javascrpit said

        Need error cannot find /urs/lib/webplatform/plugins/jnext/libjpps.so library is not found

        Don't know why this happens, if I run the tge app in the phone with commnad "webworks run" this error does not appear.

        Both worse, these .so files weren't there because I sent the source via SVN and SVN code was ignoring the .so files. Once I added these files in svn, they were available to build and the error disappeared. For refrence to ignore files in SVN http://stackoverflow.com/questions/2394363/svn-wont-import-a-library

      • Activation of Win. 7 home Premium Upgrade version, error 0xC004F061

        So my computer had a lot of questions, and I decided to do an installation scratch because most of my Windows features was dead; Windows repair did not work, backup was broken and updater has problems, not to mention the entire system would break several times a day. Painful stuff. I think I finally got the question down so that there is a mistake in my SSD, so I did a zeros on it, threw it and bought a new one.

        After having to reinstall it using my disc to upgrade to Windows 7 Home Premium x 64, I tried to activate my new installation - as would any rational user. The thing is, I get the error 0xC004F061 with the description "The Software Licensing Service determined that the specific product can be used only for the upgrade, not own facilities." until I do? This has been upgraded to Windows 7 from Windows XP more than two years ago, and I don't want to just remove, install XP and then update to Windows 7 new; This is ridiculous. I think that I could even make a reinstallation of Windows with these discs without problem before mid-term, but I don't remember exactly.

        In fact, my problem is the following:
        -My computer died and needed an installation from scratch on a brand new SSD.
        -Only a copy of Windows 7 I have is this version upgrade.
        -Windows refuses to activate my version of upgrade.
        -What to do?

        Kind regards
        -Richard

        Try Method 3 in this article.

        http://winsupersite.com/article/Windows-7/clean-install-Windows-7-with-upgrade-media-128512

        Good luck.

      • Animate CC HTML5 Timer Error: ' Eception TypeError: cannot set property 'text' undefined '.

        Guys, I'm stuck for the third day and wonder if anyone can give me an idea what I am doing wrong. I am creating a simple timer in mode CC animate HTML5 Canvas. I found a script javascript timer job and I'm trying to fit my needs.

        I keep getting the error "Eception TypeError: cannot set the property 'text' undefined ' in the Console. For some reason I can't update dynamic text with variable of time. I've highlighted the offensive line in my code Action below.


        Here's all the code of the Action that I have in my file:

        -------------------------------------------------

        var time = 0;

        running of var = 0;

        This.btn_startPause.addEventListener ("click", startPause.bind (this));

        This.btn_reset.addEventListener ("click", reset.bind (this));

        function startPause() {}

        If (running == 0) {}

        running = 1;

        Increment();

        this.startPause.text = "Pause";

        } else {}

        running = 0;

        this.startPause.text = "resume";

        }

        }

        function reset() {}

        running = 0;

        time = 0;

        this.startPause.text = "Start";

        this.timeDisplay.text = "00:00";

        }

        function increment() {}

        If (running == 1) {}

        setTimeout (function () {}

        time ++;

        var minutes = Math.floor (time/10/60);

        var s = Math.floor (time/10% 60);

        If (mn < 10) {}

        min = "0" + min;

        }

        If {(dry < 10)

        seconds = '0' + dry;

        }

        Console.log (min + ":" + seconds);

        this.timeDisplay.text = minutes + ":" + seconds;

        Increment();

        (}, 100);

        }

        }

        -------------------------------------------------

        I downloaded all my files online, so you can see the error by yourself: HTML file; FLA file; and the original file working I am using.


        Can someone point me in the right direction? (I know, it's somewhere in the area of RTFM (Read The friendly Manual))

        Thank you!

        As suggested above, the problem is caused by an incorrect reference to 'this' itself.

        'This' store on the main timeline as a different variable and use this variable for other functions instead of 'this', or

        Replace this.timeDisplay.text by exportRoot.timeDisplay.text

      • Update label a field when running: HTML5 version, nothing happens!

        Work with the AEM AEM 6.1 JEE Forms / Designer Forms.

        In the PDF version of the form, sometimes I need to change a field label (when running). If the XDP is rendered as HTML5, nothing happens... the new set of etiquette but not displayed.

        No idea how I can make the change is reflected in the user interface?

        I found the answer, as can be read in: LiveCycle help / frequently asked Questions (FAQ) > Scripting

        "XFA draw an element-specific scripts for example change the text to draw (or the text of the legend in the case of fields) are not supported."

      • I have a few questions about HTML5 Canvas that needs answer

        I intend to start developing games using Flash Pro CC soon and recently discovered on the feature of HTML5 Canvas. It's quite new to m, so I was curious to know certain things.

        1. What is the HTML5 Canvas and is commonly used to make games?

        2 should. what kind of code I use? (from my understanding, he uses Javascript)

        3 can be used to create complex games, let's say something like a Tower Defense, shooting or even multiplayer?

        4. the good tutorials on using the HTML5 Canvas game development? (preferably written)

        Thank you

        1. the HTML5 Canvas is the HTML5 Canvas. Flash uses an embedded CreateJS library version to handle it.

        2. it runs in the browser client-side then Yes, it uses JavaScript.

        3. of course, it can be used to create complex and multiplayer programs. Already used Google Maps? Google Docs? Those are all programmed in JavaScript.

        4 game in development is a subset of the programming. If you don't know JavaScript, then browse through thousands of tutorials available online.

      • (Newbie question) Interval syntax question / explanation of the error

        Ok. So I reach into a big ticketing system based on Oracle (64 bit 11g 11.2.0.1.0) where they store 'ticket-open-time', 'ticket-fixed-time' and the interval of 'time-to-repair. Initially I wanted to calculate the number of minutes of the time of repair. 6 hours and countless Google searches later, I'm not about to the appropriate syntax. I was able to work around the problem through a simple calculation based on the values open and resolved. What I can't understand, is why I can't apply the same syntax extract just the interval field.

        Here's a simplified query that works:

        SELECT
        To_char (OpenTimeGMT, ' ' the HH24: MI: SS DD/MM/YYYY) "OT".
        , TO_CHAR (ResolvedTimeGMT, ' ' the HH24: MI: SS DD/MM/YYYY) "RT".
        , TO_CHAR (TimeToRepairGMT, ' ' the HH24: MI: SS DD/MM/YYYY) "TTR".
        excerpt (days of day (ResolvedTimeGMT - OpenTimeGMT) the second) "days".
        excerpt (time of day (ResolvedTimeGMT - OpenTimeGMT) the second) "hours."
        excerpt ((ResolvedTimeGMT - OpenTimeGMT) minute second day) "Minutes."
        , (extract (day of (ResolvedTimeGMT - OpenTimeGMT) day to second)) * 24 * 60 +.
        (extract (hour of the day (ResolvedTimeGMT - OpenTimeGMT) the second)) * 60 +.
        extract (minute since (ResolvedTimeGMT - OpenTimeGMT) second day) "TotalMinutes".
        FROM there where

        Which produces:
        [OT] 24/09/2012 20:06:29
        [RT] 26/09/2012 13:56:13
        [TTR] 4000/02/01 17:49:44 - Note the year.
        [Days] 1
        [Hours] 17
        [Minutes] 49
        [TotalMinutes] 2509

        The question:
        When I write [extract (minute of day (ResolvedTimeGMT - OpenTimeGMT) the second) "Minutes"], I get 49 minutes I expect

        When I write [extract (minute since (TimeToRepairGMT) second day) "Minutes"], I get an error "syntax error was found in the interval value expression.

        The three fields are declared as 'date' DESC command (even if TimeToRepairGMT is clearly an interval, based on the value of "4000/02/01 17:49:44" ""). While I can plough with my work-around, I really want to know how to deal with intervals that are stored in Oracle tables as dates. Any help is appreciated!

        Hello

        Welcome to the forum!

        966091 wrote:
        Ok. If I am living in a large (64 bit 11g 11.2.0.1.0) Oracle-based ticketing system

        Thanks, that's very useful. Always give your version (11.2.0.1.0) whenever you post a question.

        where they store 'ticket-open-time' and "ticket-fixed-time" interval "time-to-repair. Initially I wanted to calculate the number of minutes of the time of repair. 6 hours and countless Google searches later, I'm not about to the appropriate syntax. I was able to work around the problem through a simple calculation based on the values open and resolved. What I can't understand, is why I can't apply the same syntax extract just the interval field.

        Here's a simplified query that works:

        SELECT
        To_char (OpenTimeGMT, ' ' the HH24: MI: SS DD/MM/YYYY) "OT".
        , TO_CHAR (ResolvedTimeGMT, ' ' the HH24: MI: SS DD/MM/YYYY) "RT".
        , TO_CHAR (TimeToRepairGMT, ' ' the HH24: MI: SS DD/MM/YYYY) "TTR".
        excerpt (days of day (ResolvedTimeGMT - OpenTimeGMT) the second) "days".
        excerpt (time of day (ResolvedTimeGMT - OpenTimeGMT) the second) "hours."
        excerpt ((ResolvedTimeGMT - OpenTimeGMT) minute second day) "Minutes."
        , (extract (day of (ResolvedTimeGMT - OpenTimeGMT) day to second)) * 24 * 60 +.
        (extract (hour of the day (ResolvedTimeGMT - OpenTimeGMT) the second)) * 60 +.
        extract (minute since (ResolvedTimeGMT - OpenTimeGMT) second day) "TotalMinutes".
        FROM there where

        Which produces:
        [OT] 24/09/2012 20:06:29
        [RT] 26/09/2012 13:56:13
        [TTR] 4000/02/01 17:49:44 - Note the year.
        [Days] 1
        [Hours] 17
        [Minutes] 49
        [TotalMinutes] 2509

        The question:
        When I write [extract (minute of day (ResolvedTimeGMT - OpenTimeGMT) the second) "Minutes"], I get 49 minutes I expect

        When I write [extract (minute since (TimeToRepairGMT) second day) "Minutes"], I get an error "syntax error was found in the interval value expression.

        The three fields are declared as 'date' DESC command (even if TimeToRepairGMT is clearly an interval, based on the value of "4000/02/01 17:49:44" "").

        In fact, it is more likely that it is just a DATE, who got the year wrong somehow. Show how you have assigned values to these columns.

        While I can plough with my work-around, I really want to know how to deal with intervals that are stored in Oracle tables as dates. Any help is appreciated!

        The intervals are difficult to work. I suggest that you use very little, or not at all. Keep the storage points in time as DATEs, but store the length of the time as a NUMBER; either the number of minutes, hours, or days, depending on what is appropriate for your data and your business needs best.

        Let's say you decide to keep TimeToRepair as the number of minutes, the length of time of OpenTImeGMT to ResolvedTimeGMT. When you subtract one DATE from another in Oracle, the result is a NUMBER, the number of days between these two DATEs. To get the number of minutes, which multiplied by the number of minutes per day. So the forumla for TimeToRepair is

        (ResolvedTimeGMT - OpenTimeGMT) * 24 * 60
        

        If you store the length of time as a NUMBER, it is very easy to get totals and averages.

        If you want to display this number of minutes like days hours: minutes: seconds, then you can use an INTERVAL, but just for display. Use the NUMTODSINTERVAL function to convert the NUMBER to an INTERVAL DAY TO SECOND:

        NUMTODSINTERVAL (TimeToRepair, 'MINUTE')
        

        I hope this helps you.
        Whenever you have a question, it is useful to show an example of what you have tried and what results you want to get. Post CREATE TABLE and instructions INSERT for examples of data and the results you would get from these data. You will get answers sooner if your question is specific. "How work intervals?" is a very difficult question. Many people who can help you to not trying to answer a question as broad. But if you can formulate your question as: "I need help understanding intervals. Beginning with this data... I tried thinking it would follow... but instead, I got... Why is this? The manual SQL language, to... says..., why is... happening? ", and then it will be easier to help you.

      • Standalone JavaScript/HTML5/CSS export

        Question: can I use Adobe InDesign / DPS to publish on HTML5/JavaScript/CSS that runs autonomous?

        Background

        I previously asked a question on the Adobe DPS mix with native code iOS for the publication of an iPad. The answer I received is that native code can not be mixed, but people use overlays web integration of HTML5 content for personalized and interactive behavior.

        I am an iOS developer, trying to find ways to add interactivity to an existing workflow Adobe DPS customer / edition for iPad. I'd like to go native, so my question here is to try to return the autour problem - and have all the DP Adobe generated content exported to HTML that I can fall in the enforcement of a native iOS web container (technically a "UIWebView").

        What I'm really looking for knowledge, is the ability of the product Adobe DPS by being able to produce this standalone HTML/JS/CSS export that I can then take and incorporate it somewhere else.

        It is not possible today.

        Neil

      • JavaScript - Photoshop CS5 error

        Hello

        I had a problem with my version of Photoshop CS5 post on my Mac OSX 10.6.6!

        After that I had to restore a backup on my Mac I can not use the processor image ("BIldprozessor") or any other

        Photoshop scripting functions.

        When I click on the Image Processor as sample happens to a small windows with the text: ' low-Javascript-Code ' or English (missing Javascript code)

        I reinstalled PS CS5 of the CD - the error is still there.

        I don't know what to do now, how do fix us this? I installed the latest Java Update (March 8, 2011)

        Please help me

        Greetings

        WOLLE

        In a Word, always strictly follow the default installation location and don't move much, after that, never.

        It borders on criminal negligence that the Adobe installer team still offers users the opportunity to shoot himself in the foot by offering you a choice to opt for a different location.

      • A lot of JavaScript in Dreamweaver errors

        I don't know what happened, but all of a sudden I am getting constant Javascript errors in Dreamweaver. They appear at startup, as well as when I try to do pretty much any action (savings, opening, collage, fence, etc.).

        Here are some examples of what the error messages. No idea of what is happening or how can I fix? I have day Acrobat to the latest version of this morning, but I don't know if that cause. I use Dreamweaver CS3 (9.0.0.3481) and Mac OS 10.5.3.
        Example 1
        Example 2
        Example 3
        Example 4
        Example 5
        Example 5

        http://KB.Adobe.com/selfservice/viewContent.do?externalId=tn_19105

      • Themebasedfoi.centerToTheme () call JavaScript throws the error message

        Hello

        I'm developing a CEP for a client and I'm really looking forward how it is easy to get a card set up and running. The map is created with the javascript api and runs in a browser window. The goal is to embed the map in the poet dashboard. And it works very well also. But I have a problem, that could be a sticking point: I want to focus the bounding box of the card around the time selected. Other selection of the time ist directed by parameters in the url and it works very well also.

        If I insert the line
        themebasedfoi.centerToTheme ();
        nothing happens and my browser error console produces the error

        This ._f249 is null
        http://intranetserver:7777/MapViewer/FSMC/jslib/oraclemaps.js <-Version: Ver11_B090225 line 10769
        and
        Keine Elemete found (not found items)
        http://myserver:7001/mapviever/mcserver <-my own mapserver

        My source to create the map is:
        <html>
            <head>
                <!--META http-equiv="Content-Type" content="text/html; charset:UTF-8"-->
                <script type="text/javascript" src="http://intranetserver:7777/mapviewer/fsmc/jslib/oraclemaps.js"></script>
                <script type="text/javascript">
                    var baseURL = "http://myserver:7001/mapviewer";
                    var baseMapEloc = null;
                    var mapview;
        
                    function display_map()  
                    {
                        baseMapEloc = new MVMapTileLayer("elocation.world_map", "http://intranetserver:7777/mapviewer/mcserver");
        
                        mapview = new MVMapView(document.getElementById("map"), baseURL);
                        mapview.addBaseMapLayer(baseMapEloc);
        
                        // var mpoint = MVSdoGeometry.createPoint(10, 51, 8307);
                        // mapview.setCenter(mpoint);
                        // mapview.setZoomLevel(4);
                        // mapview.addNavigationPanel("east"); 
        
                        // mapview.setHomeMap(mpoint, 4);
        
                        var themebasedfoi = new MVThemeBasedFOI('foi_partner','apexws_kpatenge.theme_partner_bi','https://secure_intranetserver/mapviewer/foi');    
                        themebasedfoi.setBringToTopOnMouseOver(true);
        
        
                        var country = getURLParameter("COUNTRY_PARAM");
                        var partner = getURLParameter("NAME_PARAM");
                        var city = getURLParameter("CITY_PARAM");
        
                        var parameters;
        
                        themebasedfoi.setQueryParameters(country,partner,city);
        
                        mapview.addThemeBasedFOI(themebasedfoi);
                        themebasedfoi.centerToTheme();
        
                        mapview.display();
        
                    }
        
                    function getURLParameter (ParamName) 
                    {
                        var strURLParamstrURLParamReturn = "";
                        var strHref = window.location.href;
                        if (strHref.indexOf("?") > -1 ) 
                        {
                            var strQueryStr = strHref.substr(strHref.indexOf("?"));
                            var aQueryStr = strQueryStr.split("&");
                            for (var iParam = 0; iParam < aQueryStr.length; iParam++ )
                            {
                                if (aQueryStr[iParam].indexOf(ParamName+"=")> -1)
                                {
                                    var aParam = aQueryStr[iParam].split("=");
                                    strURLParamReturn = aParam[1];
                                    break;
                                }
                            }
                        }
                        return unescape(strURLParamReturn);
                    }
                </script>
            </head>
            <body onLoad="javascript:display_map()">
                 <div id="map" style="width: 500px; height: 450px;"></div>
            </body>
        </html>
        CenterToTheme() I only get a square gray, without the map displays correctly with the setHomePoint(), I get the right view for the map without query parameter.

        Thank you in advance for each tip that helps me solve this problem...

        Wolfgang

        Edited by: user10446099 the 25.03.2009 02:51

        There seems to be some problem with centerToTheme(); in any case, what you really need, is zoomToTheme(). In addition, the recommended approach is this:

          function init_map(){
          //create the theme:
          var themebasedfoi = new MVThemeBasedFOI(...);
        
          //setup your query parameters
          thembasedfoi.setQueryParameters(...);
        
          //tell MapViewer to automatically 'bound' the map extent to the results of this theme after it came back from server with FOI data:
        
          themebasedfoi.setBoundingTheme(true);
        
          //now add the theme to the MVMapView handle (which will initiate the theme AJAX request to the server):
          mapview.addThemeBasedFOI(themebasedfoi);
        
           //dont call themebasedfoi.zoomToTheme() or centerToTheme() here, as the theme may not have come back with FOI data (it's asynchornous!)
         }
        
          //call this function to force the map to zoom back to an already displayed theme-based foi layer (after the user has paned and zoomed couple times for instance)
        
          function zoomToTheme()
        {
          themebasedfoi.zoomToTheme();
        }
        

        for a live example you can see the #35 tutorial (leaping theme).

        LJ

Maybe you are looking for