Ehlpdhtm.js script error - Object doesn't support property or method 'Activate'

RH 9.0.2.271
Windows 7 64-bit
This "Object doesn't support property or method 'Activate' ehlpdhtm.js error all of a sudden started popping up when I view any of the chms I build from my file system.
I initially through it was a 64-bit problem because if I view the chm from my file system I get the script error. But if I copy it to a 32-bit PC or run it from within RH (after it's compiled for example) or a 32-bit version of our software, it runs fine. (However, one of my co-workers tried it on her 64-bit machine and didn't receive any error.) In any case, it seems to be happening on my machine only.
Anyway, it's not on every topic, but on every one that calls the ehlpdhtm.js script with this line of code, it appears to be happening:
<script src="ehlpdhtm.js" type="text/javascript" language="JavaScript1.2"></script>
I don't think hhactivex.dll plays with this js at all, but just in case, I unregistred and re-registered that dll to no effect. I also tried explicitly adding in ehlpdhtm.js as a baggage file. Again, to no effect.
What could have changed on my system to make this start happening? And any ideas on how to fix it?

Well here's some more info I found out. If I unregister the 64-bit hhactivex.dll the script error  goes away. Of course my Glossary tab is grayed out as shown below, so that's not really an option:
Reregistering the 64-bit hhactivex.dll again shows the script errors. Plus, if I then go to my glossary it's completely empty as shown here:
If I copy this help down into a 32-bit machine everything works: the glossary has glossary terms, there's no script errors.
In short, I don't know what's going on, but the script error I'm getting is somehow related to having the 64-bit dll registered.

Similar Messages

  • JsRender error Object doesn't support property or method 'render'

    I have used jsRender.js in a content editor on a webpart page.
    Whenever I am using the following line inside document.ready(), it gives error.
    $( "#SearchResults" ).html(
    $( "#resultTemplate" ).render( results )
    Error: Object doesn't support property or method 'render'.
    Basically on a button click, this is getting called to display the results.
    I have checked, the jsRender.js file getting loaded properly.
    Can anyone help in this issue.

    Hi All,
    Using the developer tool, when I am running the render method on $( "#resultTemplate" ) element, it's again giving the same error.
    I have properly referred the jQuery and jsRender file using the seperate </script> tag. Also identified that on page load, these files are getting properly loaded.
    Here is the following code I am using, where I am calling the search function in last line (originally on button click):
    <script src="/sites/Tools/siteassets/jquery/js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="/sites/Tools/SiteAssets/FormExtension/jsrender.js" type="text/javascript"></script>
    $(document).ready(function(){
    var searchCount = 0;
    function search(term) {
    // Show loading animation
    $(".loadingAnim").show();
    $("#searchResults").html("");
    var curCtx = new SP.ClientContext.get_current();
    var searchCAML = "";
    var searchToBeAppended = "";
    var searchTerms = term.split(" ");
    // remove empty elements/blanks
    searchTerms = $.grep(searchTerms,function(n){
    return(n);
    if(searchTerms.length > 1){
    searchCAML += "<And>";
    $.each(searchTerms, function(i, t){
    if(i == 0 || i == 0 && searchTerms.length == 2){
    searchCAML += "<Contains><FieldRef Name='search' /><Value Type='Text'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    }else if(i == 0 && searchTerms.length > 2){
    searchCAML += "<Contains><FieldRef Name='search' /><Value Type='Text'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    }else if(i == 1 && searchTerms.length == 2){
    searchCAML += "<Contains><FieldRef Name='search' /><Value Type='Text'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains></And>";
    }else if(i == searchTerms.length-1){
    searchCAML += "<Contains><FieldRef Name='search' /><Value Type='Text'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    }else{
    searchCAML += "<And><Contains><FieldRef Name='search' /><Value Type='Text'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    searchToBeAppended += "</And>";
    if(searchTerms.length > 2){
    searchToBeAppended += "</And>";
    // Append necessary colsing tags
    searchCAML += searchToBeAppended;
    //reset searchToBeAppended
    searchToBeAppended = "";
    if(searchTerms.length > 1){
    searchCAML += "<And>";
    $.each(searchTerms, function(i, t){
    if(i == 0 || i == 0 && searchTerms.length == 2){
    searchCAML += "<Contains><FieldRef Name='ContentRemark' /><Value Type='Note'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    }else if(i == 0 && searchTerms.length > 2){
    searchCAML += "<Contains><FieldRef Name='ContentRemark' /><Value Type='Note'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    }else if(i == 1 && searchTerms.length == 2){
    searchCAML += "<Contains><FieldRef Name='ContentRemark' /><Value Type='Note'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains></And>";
    }else if(i == searchTerms.length-1){
    searchCAML += "<Contains><FieldRef Name='ContentRemark' /><Value Type='Note'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    }else{
    searchCAML += "<And><Contains><FieldRef Name='ContentRemark' /><Value Type='Note'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    searchToBeAppended += "</And>";
    if(searchTerms.length > 2){
    searchToBeAppended += "</And>";
    // Append necessary colsing tags
    searchCAML += searchToBeAppended;
    if(searchCAML != ""){
    searchCAML = "<View><Query><Where><Or>"+ searchCAML +"</Or></Where></Query><RowLimit Paged='FALSE'>500</RowLimit></View>";
    }else{
    searchCAML = "<View><RowLimit Paged='FALSE'>500</RowLimit></View>";
    /* Load Equipments*/
    listEqui = curCtx.get_web().get_lists().getByTitle('Dossiers');
    var queryResults = new SP.CamlQuery();
    queryResults.set_viewXml(searchCAML);
    listItemsResults = listEqui.getItems(queryResults);
    curCtx.load(listItemsResults , 'Include(ID, Title, Group, Created, Responsible, Client, Autor, Party1, Party2, search )');
    curCtx.executeQueryAsync(getListItemsSuccess, getListItemsFailure);
    function getListItemsSuccess(sender, args) {
    var term = $("#searchTerm").attr("value");
    var results = new Array();
    var listEnumerator = listItemsResults.getEnumerator();
    while (listEnumerator.moveNext()) {
    var element = {
    ID: listEnumerator.get_current().get_item("ID")
    , Title: listEnumerator.get_current().get_item("Title")
    , Group: listEnumerator.get_current().get_item("Group")
    , Created: listEnumerator.get_current().get_item("Created")
    , Responsible: listEnumerator.get_current().get_item("Responsible")
    , Client: listEnumerator.get_current().get_item("Client")
    , Party1: listEnumerator.get_current().get_item("Party1")
    , Party2: listEnumerator.get_current().get_item("Party2")
    , Autor: listEnumerator.get_current().get_item("Autor")
    , term: term
    results.push(element);
    $("#searchResCount").text( results.length + " dossiers found");
    $( "#SearchResults" ).html(
    $( "#resultTemplate" ).render( results )
    AddHoverStyle();
    $(".loadingAnim").delay(1000).fadeOut();
    function getListItemsFailure(sender, args) {
    SP.UI.Notify.addNotification('Failed to get list items. \nError: ' + args.get_message() + '\nStackTrace: ' + args.get_stackTrace(), false);
    $(".loadingAnim").delay(1000).fadeOut();
    //Calling search function.
    search("cl")
    Kindly let me know if something is wrong here.

  • Windows 8.1 and IE11 - Critical Error: Object doesn't support property or method 'addEventListener'

    Our SharePoint 2010 sites don't work very well in Windows 8.1/IE11!!
    When opening list items or forms etc we get Critical Error : Object doesn't support property or method 'addEventListener'. It looks like it's possibly linked to InfoPath forms. Given that a large chunk of our users will probably be upgrading
    to Windows 8.1 as we speak this is slightly worrying!
    Has anyone else noticed this, or is it something to do with our deployment?  We're running SP2010 SP2 with latest CU.

    In older versions of IE, attachEvent is
    used to attach an event handler for some event on some element. But as per the update , starting with IE11, attachEvent is
    deprecated and you should use addEventListener instead.
    IE has included support for addEventListener from
    IE9 and above only. So if you still need to support IE8, I suggest you use some cross-browser library like jQuery to bind event handlers instead of vanilla javascript.
    As you're already using jQuery, you can bind events like below
    $('#yourElement').on('click', function(){
    // do something when you click on yourElement

  • JavaScript runtime error: Object doesn't support property or method 'Load'

    I'm pretty new to SharePoint 2013 apps and CSOM. I have written a simple SharePoint-hosted App in Visual Studio 2013 which attempts to display the current user's user profile picture using CSOM and JavaScript. Here is the code in my App.js file:
    $(document).ready(function () {
        var context = SP.ClientContext.get_current();
        var peopleManager = new SP.UserProfiles.PeopleManager(context);
        var userProperties = peopleManager.getMyProperties();
        context.Load(userProperties);
        context.executeQueryAsync(function (){
            if (properties) {
                var pic = userProperties.get_pictureUrl();
                $('#userProfileImage').attr("src", pic);
    I am getting error "JavaScript runtime error: Object doesn't support property or method 'Load'" on line "context.Load(userProperties);"
    I have SP.UserProfiles.js referenced, which is why this command executes successfully: var peopleManager = new SP.UserProfiles.PeopleManager(context); Is it my context object or userProperties object that is causing this error, and why? Thanks
    in advance for your help.
    Frank Foreman

    Hi,
      This method is case Sensitive, try this context.load(userProperties);

  • Adobe Reader installation error: "object doesn't support property or method 'text'"

    I'm trying to install Adobe Reader and I have the following error after launching the installer:
    "object doesn't support property or method 'text'"
    My OS is Win7 Ultimate 64b (using AVG antivirus), but I encounter the same error on other systems too:
    Win7 Ultimate 32b (AVG Antivirus)
    Win7 Enterprise 64b (McAfee Antivirus)
    No matter which button I click, the installer hangs:
    I googled this error, but couldn't find any solution.
    Any ideas?
    Thanks!

    This error mostly occurs if your language is not set to English (on the Adobe.com website).  This has been reported to Adobe a million times, but they don't seem to have any intererest in fixing it.

  • In 2008 R2, I get Object doesn't support property or method PollResizeImages

    This is when I run a report from a reportviewer control to reporting services.  
    Another symptom is that images get cropped but if I refresh page cropping doesn't occur
    I have this version of SQL server 2008 R2
    Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)   Jun 17 2011 00:54:03   Copyright (c) Microsoft Corporation  Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor) 
    I am using the ReportViewer control to display this report
    I get this error  Line: 1  Error: Object doesn't support property or method 'PollResizeImages'
    It appears to be from this method
    function anonymous()
    this.PollResizeImages(oReportDiv,oReportDiv)
    Another environment with same sql server version doesn't get this error for same report

    Hi DenisLang,
    As far as I know, it is a known issue in SSRS. Please try to install the latest version of the Report Viewer Runtime to fix the issue.
    If the issue is persist, I recommend you that submit this suggestion at
    https://connect.microsoft.com/SQLServer/ . If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the
    level of service provided.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Trying to convert Pages to Word doc, but keep getting this error message:  TypeError:  Object doesn't support property or method 'invalidate'  JavaScript console contains more details.   Any ideas on how to get past this?

    Trying to convert Pages to Word doc, but keep getting this error message:  TypeError:  Object doesn't support property or method 'invalidate'  JavaScript console contains more details.   Any ideas on how to get past this?

    Right. If you are using delegated privs and sudo, make sure that sudo is configured to pass on the PERL5LIB and ORACLE_HOME environment variables at least.

  • Host Web App: error getting host web context 0x800a01b6 - Object doesn't support property or method 'set_formDigestHandlingEnabled'

    Hi
    I testing out creating site columns and content types in host web with an on prem SharePoint hosted app.  I am getting the above error 
    I am getting stuck on the above error when I come to this line of code in an init() function
                hostWebContext = SP.ClientContext(getRelativeUrlFromAbsolute(hostWebUrl));
    Note in my default.aspx header section I have declared the following 
    - The markup and script in the following Content element will be placed in the <head> of the page --%>
    <asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <script type="text/javascript" src="../Scripts/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.Taxonomy.js"></script>
    <script type="text/javascript" src="/_layouts/15/init.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.Core.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.UI.Dialog.js"></script>
    Any thoughts anyone ?   
    Daniel
    Freelance consultant

    Hi,
    The following articles for your reference:
    Create lists, content types, fields etc. within a SharePoint 2013 app
    http://www.sharepointnutsandbolts.com/2012/08/create-lists-content-types-files-etc.html
    Programmatically creating Site Columns and Content Types using the App Model
    http://blog.mastykarz.nl/programmatically-creating-site-columns-content-types-app-model/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • IE9: AdobeEdge object doesn't support method loadComposition

    The edge animation does not load in IE9
    just a blank page.
    Every other major browser works just fine.
    if I surround the script with a try catch like so:
    <!DOCTYPE html>
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
      <title>Julekort 2014</title>
      <!--Adobe Edge Runtime-->
      <meta http-equiv="X-UA-Compatible" content="IE=Edge">
      <script type="text/javascript" charset="utf-8" src="edge_includes/edge.5.0.1.min.js"></script>
      <style>
      .edgeLoad-EDGE-26285399 { visibility:hidden; }
      </style>
      <script>
      try{
      AdobeEdge.loadComposition('Julekort_2.0', 'EDGE-26285399', {
      scaleToFit: "none",
      centerStage: "none",
      minW: "0",
      maxW: "undefined",
      width: "100%",
      height: "5000"
      }, {"dom":[]}, {"dom":[]});
      } catch (e){
      alert(e);
      </script>
      <!--Adobe Edge Runtime End-->
    IE9 alerts:
    TypeError: Object doesn't support property or method 'loadComposition'
    Any help appreciated.

    Has anyone found a solution to this issue?  I am experiencing the same thing.  Is there a different method to code this for IE9 compatibility or is Adobe Edge Animate not compatible with IE9?
    If Adobe Edge Animate is not compatible with IE9, is there another program that can be used for this?
    Thank you.

  • Error in allInOne.js: Object doesn't support this property or method

    We are having an issue deploy our website (Developed in .Net) on a specific server. When we try to visualize a report on any browser we get this error:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; OfficeLiveConnector.1.4; OfficeLivePatch.0.0)
    Timestamp: Wed, 7 Apr 2010 17:52:31 UTC
    Message: Object doesn't support this property or method
    Line: 10
    Char: 281690
    Code: 0
    URI: http://{IP ADDRESS}/WebUserInterface/aspnet_client/system_web/2_0_50727/crystalreportviewers12/allInOne.js
    We have install the Crystal reports 2008 runtime and the Crystal report 2008 sp2.5 runtime. Both of them give me the same results.
    It's killing me because i have installed the same solution on many other server without any issue.
    Ben
    P.s. The Web server is  a Window Server 2003 R2 standard edition

    Perhaps using [modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] will at least tell us what dlls are loading. Look at the CR dlls. There should not be any v11 files loaded by your app.
    You may also start considering obtaining phone support for this one. I have a feeling this will take more than just forums to solve...
    Phone support can be obtained here:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Ludek

  • AIA CRMOD Build error - antfetch doesn't support the "antfile" attribute

    Hi.
    I am trying to build the CRMOD PIP under Linux, and I am getting the following ANT error:
    antfetch doesn't support the "antfile" attribute
    The build actually completes without any errors being posted on the screen, but the log file of the job, has this message within it, as well as a BUILD failure emanating from within the AIAInstallDriver.xml file.
    Does anyone know how to get around this issue ? The verision of ANT that we are using, is from the Weblogic Server envrionment.
    Thanks.

    I seriously hope that they don't expect us to use nightly builds of Netbeans 7.1 when the official final version of JavaFX 2.0 is released because of this issue.
    Their should be an update to Netbeans 7.0.1 upon JavaFX 2.0 final release. C'mon Oracle! You can do better than that!

  • CRMOD PIP Build Error - antfetch doesn't support the antfile attribute

    Hi.
    I am trying to build the CRMOD PIP under Linux, and I am getting the following ANT error:
    antfetch doesn't support the "antfile" attribute
    The build actually completes without any errors being posted on the screen, but the log file of the job, has this message within it, as well as a BUILD failure emanating from within the AIAInstallDriver.xml file.
    Does anyone know how to get around this issue ? The verision of ANT that we are using, is from the Weblogic Server envrionment.
    Thanks.

    I seriously hope that they don't expect us to use nightly builds of Netbeans 7.1 when the official final version of JavaFX 2.0 is released because of this issue.
    Their should be an update to Netbeans 7.0.1 upon JavaFX 2.0 final release. C'mon Oracle! You can do better than that!

  • Exporting file to PowerPoint 'Object doesn't support this action'

    Hi -
    Client is using Nakisa 2.0 SP2
    When exporting an org chart to PowerPoint. 
    1. Hit 'export to PDF'
    2.Select radiobutton 'Powerpoint OrgChart Object'
    3.Pop up appears 'Object doesn't support this action' in browser
    4. additional information appears in Browser, see below. I have followed the instructions and still the problem persists.
    Any ideas? All help would be highly appreciated.
    Export To PowerPoint
    Compatibility
    We currently support:
    u2022     Microsoft PowerPoint 2000 / 2002
    u2022     Microsoft PowerPoint 2003
    Note: To ensure compatability, you may be prompted to install "Service Pack 6 for Visual Basic Runtime." If so, you must accept the installation and once installed it may ask for a system reboot which you may ignore.
    ActiveX Security
    Depending on your browser settings, you may be prompted to install 'Nakisa Office Components.cab'. This is our ActiveX component that will allow you to use our Exporting functionality.
    You may also be prompted to allow the ActiveX to run. If so, you must select 'Yes' to continue.
    Note: If you are not prompted and the export fails to occur, please verify your Microsoft Office installation and verify your browser's ActiveX settings are set to 'Enable' or 'Prompt'.

    Hi Thanks for your reply.
    This message I get in try to save  orgchart to ppt. I have not checked the log file, so will have a look tomorrow. This is the only pop up I get. any ideas

  • TypeError: Error #1009: Cannot access a property or method of a null object reference.

    Hi all,
    I am new to ActionScript and Flash, and I am getting this error: TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at jessicaclucas_fla::MainTimeline/stopResumescroll()
    I have several different clips in one movie that have scrolling content. When I click a button to move to a different clip that doesn’t have a certain scroll, it gives me this error. I cannot figure out how to fix this. You can see the site I am working on: http://www.jessicaclucas.com. I would really appreciate some help! Thank you in advance. Here is the code:
    //Import TweenMax and the plugin for the blur filter
    import gs.TweenMax;
    import gs.plugins.BlurFilterPlugin;
    //Save the content’s and mask’s height.
    //Assign your own content height here!!
    var RESUMECONTENT_HEIGHT:Number = 1500;
    var RESUME_HEIGHT:Number = 450;
    //We want to know what was the previous y coordinate of the content (for the animation)
    var oldResumeY:Number = myResumecontent.y;
    //Position the content on the top left corner of the mask
    myResumecontent.x = myResume.x;
    myResumecontent.y = myResume.y;
    //Set the mask to our content
    myResumecontent.mask = myResume;
    //Create a rectangle that will act as the Resumebounds to the scrollMC.
    //This way the scrollMC can only be dragged along the line.
    var Resumebounds:Rectangle = new Rectangle(resumescrollMC.x,resumescrollMC.y,0,450);
    //We want to know when the user is Resumescrolling
    var Resumescrolling:Boolean = false;
    //Listen when the user is holding the mouse down on the scrollMC
    resumescrollMC.addEventListener(MouseEvent.MOUSE_DOWN, startResumescroll);
    //Listen when the user releases the mouse button
    stage.addEventListener(MouseEvent.MOUSE_UP, stopResumescroll);
    //This function is called when the user is dragging the scrollMC
    function startResumescroll(e:Event):void {
    //Set Resumescrolling to true
    Resumescrolling = true;
    //Start dragging the scrollMC
    resumescrollMC.startDrag(false,Resumebounds);
    //This function is called when the user stops dragging the scrollMC
    function stopResumescroll(e:Event):void {
    //Set Resumescrolling to false
    Resumescrolling = false;
    //Stop the drag
    resumescrollMC.stopDrag();
    //Add ENTER_FRAME to animate the scroll
    addEventListener(Event.ENTER_FRAME, enterResumeHandler);
    //This function is called in each frame
    function enterResumeHandler(e:Event):void {
    //Check if we are Resumescrolling
    if (Resumescrolling == true) {
    //Calculate the distance how far the scrollMC is from the top
    var distance:Number = Math.round(resumescrollMC.y - Resumebounds.y);
    //Calculate the percentage of the distance from the line height.
    //So when the scrollMC is on top, percentage is 0 and when its
    //at the bottom the percentage is 1.
    var percentage:Number = distance / RESUME_HEIGHT;
    //Save the old y coordinate
    oldResumeY = myResumecontent.y;
    //Calculate a new y target coordinate for the content.
    //We subtract the mask’s height from the contentHeight.
    //Otherwise the content would move too far up when we scroll down.
    //Remove the subraction to see for yourself!
    var targetY:Number = -((RESUMECONTENT_HEIGHT - RESUME_HEIGHT) * percentage) + myResume.y;
    //We only want to animate the scroll if the old y is different from the new y.
    //In our movie we animate the scroll if the difference is bigger than 5 pixels.
    if (Math.abs(oldResumeY - targetY) > 5) {
    //Tween the content to the new location.
    //Call the function ResumetweenFinished() when the tween is complete.
    TweenMax.to(myResumecontent, 0.3, {y: targetY, blurFilter:{blurX:22, blurY:22}, onComplete: ResumetweenFinished});
    //This function is called when the tween is finished
    function ResumetweenFinished():void {
    //Tween the content back to “normal” (= remove blur)
    TweenMax.to(myResumecontent, 0.3, {blurFilter:{blurX:0, blurY:0}});

    Hi again,
    Thank you for helping. I really appreciate it! Would it be easier to say, if resumescrollMC exists, then execute these functions? I was not able to figure out the null statement from your post. Here is what I am trying (though I am not sure it is possible). I declared the var resumescrollMC, and then I tried to put pretty much the entire code into an if (resumescrollMC == true) since this code only needs to be completed when resumescrollMC is on the stage. It is not working the way I have tried, but I am assuming I am setting up the code incorrectly. Or, an if statement is not supposed to be issued to an object:
    //Import TweenMax and the plugin for the blur filter
    import gs.TweenMax2;
    import gs.plugins.BlurFilterPlugin2;
    //Save the content's and mask's height.
    //Assign your own content height here!!
    var RESUMECONTENT_HEIGHT:Number = 1500;
    var RESUME_HEIGHT:Number = 450;
    var resumescrollMC:MovieClip;
    if (resumescrollMC == true) {
    //We want to know what was the previous y coordinate of the content (for the animation)
    var oldResumeY:Number = myResumecontent.y;
    //Position the content on the top left corner of the mask
    myResumecontent.x = myResume.x;
    myResumecontent.y = myResume.y;
    //Set the mask to our content
    myResumecontent.mask = myResume;
    //Create a rectangle that will act as the Resumebounds to the scrollMC.
    //This way the scrollMC can only be dragged along the line.
    var Resumebounds:Rectangle = new Rectangle(resumescrollMC.x,resumescrollMC.y,0,450);
    //We want to know when the user is Resumescrolling
    var Resumescrolling:Boolean = false;
    //Listen when the user is holding the mouse down on the scrollMC
    resumescrollMC.addEventListener(MouseEvent.MOUSE_DOWN, startResumescroll);
    //Listen when the user releases the mouse button
    stage.addEventListener(MouseEvent.MOUSE_UP, stopResumescroll);
    //This function is called when the user is dragging the scrollMC
    function startResumescroll(e:Event):void {
    //Set Resumescrolling to true
    Resumescrolling = true;
    //Start dragging the scrollMC
    resumescrollMC.startDrag(false,Resumebounds);
    //This function is called when the user stops dragging the scrollMC
    function stopResumescroll(e:Event):void {
    //Set Resumescrolling to false
    Resumescrolling = false;
    //Stop the drag
    resumescrollMC.stopDrag();
    //Add ENTER_FRAME to animate the scroll
    addEventListener(Event.ENTER_FRAME, enterResumeHandler);
    //This function is called in each frame
    function enterResumeHandler(e:Event):void {
    //Check if we are Resumescrolling
    if (Resumescrolling == true) {
    //Calculate the distance how far the scrollMC is from the top
    var distance:Number = Math.round(resumescrollMC.y - Resumebounds.y);
    //Calculate the percentage of the distance from the line height.
    //So when the scrollMC is on top, percentage is 0 and when its
    //at the bottom the percentage is 1.
    var percentage:Number = distance / RESUME_HEIGHT;
    //Save the old y coordinate
    oldResumeY = myResumecontent.y;
    //Calculate a new y target coordinate for the content.
    //We subtract the mask's height from the contentHeight.
    //Otherwise the content would move too far up when we scroll down.
    //Remove the subraction to see for yourself!
    var targetY:Number = -((RESUMECONTENT_HEIGHT - RESUME_HEIGHT) * percentage) + myResume.y;
    //We only want to animate the scroll if the old y is different from the new y.
    //In our movie we animate the scroll if the difference is bigger than 5 pixels.
    if (Math.abs(oldResumeY - targetY) > 5) {
    //Tween the content to the new location.
    //Call the function ResumetweenFinished() when the tween is complete.
    TweenMax.to(myResumecontent, 0.3, {y: targetY, blurFilter:{blurX:22, blurY:22}, onComplete: ResumetweenFinished});
    //This function is called when the tween is finished
    function ResumetweenFinished():void {
    //Tween the content back to "normal" (= remove blur)
    TweenMax.to(myResumecontent, 0.3, {blurFilter:{blurX:0, blurY:0}});

  • DataGrid - Error #1009: Cannot access a property or method of a null object reference.

    I am getting a runtime error when I click a button that fires
    the addPerson function.
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at main/addPerson()[C:\Documents and Settings\edunn\My
    Documents\Flex Builder 3\workspace2\Test-1\src\main.mxml:178]
    at main/___main_Button4_click()[C:\Documents and
    Settings\edunn\My Documents\Flex Builder
    3\workspace2\Test-1\src\main.mxml:228]
    I am new to Action Script - and object programming - so
    understand...
    I do not understand what I have done wrong here...
    I have a result list coming from an external web service that
    populates in a datagrid. I'd like to be able to update that
    datagrid and then push back to the web service the new array.
    Any ideas?????
    import mx.rpc.events.ResultEvent;
    import mx.rpc.events.FaultEvent;
    import mx.collections.ArrayCollection;
    import generated.webservices.FxAppiaUserFeaturesService;
    import generated.webservices.UserSimRingConfig;
    import generated.webservices.SimRingType;
    public var plist:ArrayCollection
    //Updated Function to populate the data from WS
    public function
    retrieveUserSimRingConfig(e:ResultEvent):void {
    var UsrSimRngCfgNumList:Array = new
    UserSimRingConfig().simRingNumberList;
    var plist:ArrayCollection = e.result.simRingNumberList;
    dgSimPhoneList.dataProvider = plist;
    if (e.result.active) {
    chboxSimultaneousRingPhones.selected=true;
    } else {
    chboxSimultaneousRingPhones.selected=false;
    if (e.result.simRingType == "NO_RING_WHILE_ONCALL") {
    chboxSimultaneousRing.selected=true;
    } else {
    chboxSimultaneousRing.selected = false;
    // Add a person to the ArrayCollection.
    public function addPerson():void {
    plist.addItem({simRingNumberList:txtPhoneNumber1.text});
    I posted this in the General Section first by
    mistake...

    can u explain abt this line
    var plist:ArrayCollection = e .
    result.simRingNumberList;

Maybe you are looking for

  • My DVD player only plays in black and white

    Just got a new Toshiba HDTV (model no. 39L1350U) and am trying to hook up the DVD player. Got sound, but it only shows a black and white picture. The only way I get any picture at all is by plugging the yellow of the standard AV cable into the green

  • File-XI-RFC, where can I see the payload of the RFC (after mapping)?

    Hi ! We have a File-XI-RFC scenario. It is working. Under the SXMB_MONI we see the checkered flag entries. Inside them, we have these 3 main branches: Inbound Message, Receiver Grouping and Response. Only the first 2, have Payloads -> MainDocument (a

  • Excluding apps from "open with..." list?

    Is there a way I can exclude apps from the "Open With-" menu? Finder mistakenly lists all standalone Flash apps I've built as possible choices when opening a SWF.

  • Alert component

    Hello, I have a table where the user can choose items to it and add them for later viewing. The last column of the table is linked to an action which adds the row to a java bean. I also have two different alert (which use the Alert component) to noti

  • Mymathlab moodle flash

    This is not so much a question but a request. Please get safari working properly. I don't like using 3rd party apps when you guys have one for the same purpose. Meaning I would rather use safari out of the box then have to download chrome. mymath lab