Essbase error 1200416 cannot assign [DOUBLE] objects of different length

Hello

I have trouble with the next song a code in a business rule.

SET CREATEBLOCKONEQ

DIFFICULTY (Member0, [pVarMbr], member2, Member3)

member4)

IF (@ISLEV (company, 3))

date_update-> @ATTRIBUTE (@CONCATENATE ("ATT_", @SUBSTRING (@NAME ([pVarMbr]), 0, 2))) = @SYSDATE ();

ON THE OTHER

IF (@ISLEV (company, 1))

date_update-> @ATTRIBUTE (@CONCATENATE ("ATT_", @SUBSTRING (@NAME ([pVarMbr]), 0, 4))) = @SYSDATE ();

ENDIF

ENDIF

);

ENDFIX

pVarMbr is a variable prompt execution. It stands for run-time value for the members of the "society" dimension that resembles that in broad terms:

M3

M30

M300

M3001

M3002

M3003

M301

M3010

I get the Essbase error 1200416 failed to assign objects [DOUBLE] of different length when you run this script with the M300 of value for the variable pVarMbr.

Attribute 'ATT_M300' is associated with M3001, M3002 and M3003 members.

The same script works very well for brother M301.

Can you help me please?

It is not children, because as the attribute and that you use it in the part of the assignment. You can move the section attribute on a patch and use the same script.

Concerning

Celvin

http://www.orahyplabs.com

Tags: Business Intelligence

Similar Questions

  • Error: 1200416 formula to [staff] runtime error (line 0): impossible to assign [DOUBLE] objects of different length in the exercise of calcing the dimension to calculate the formula of Member

    Receive the below error message:

    Error: 1200416 formula for [AccountMemberName] (line 0) runtime error: could not assign [DOUBLE] objects of different length

    I added the following member formula to a dense account member name. {end: I created an account called S_BegBalance to contain the data for numbers codes.} For example, if S_BegBalance = 1, effective must be 1 for the whole year (January-December). If the balance S_Beg = 2, staff: Feb-district of Columbia, for S_BegBalance = 3, effective is Mar - Dec.

    Effective is a member (dense) S_BegBalance shop is also a dense Member store.

    [Please indicate why There getting worse this error? Can I take care of this with calc script only?]

    Aggregate and script to calc Calc the Member of the calc formula is:

    Fix ("FYxx", "script", "version")

    Fix (@LEVMBRS(Product,0), @LEVMBRS(Entities,0), @LEVMBRS(Region,0), @LEVMBRS(position,0))
    @DESCENDANTS ("AccountParentMember");
    ENDFIX

    DIM(Entities,Region,Position) CALC;

    ENDFIX

    Formula Member

    IF (@ISMBR ("Budget") AND @ISMBR ("1st Pass - Budget"))
    IF (@ISMBR ("FY14") AND ("S_BegBalance" == 1))
    @IDESC ("YearTotal") = "Downsizing" == 1;

    END IF

    IF (@ISMBR ("Budget") AND @ISMBR ("1st Pass - Budget"))
    IF (@ISMBR ("FY14") AND ("S_BegBalance" == 2))
    "Feb" = "Downsizing" == 1;
    'Mar' = 'Downsizing' == 1;
    @IDESC ("Q2") = "Downsizing" == 1;
    @IDESC ("Q3") = "Downsizing" == 1;
    @IDESC ("Q4") = "Downsizing" == 1;

    END IF

    ELSEIF (@ISMBR ("FY14") AND ("S_BegBalance" == 3))
    'Mar' = 'Downsizing' == 1;
    @IDESC ("Q2") = "Downsizing" == 1;
    @IDESC ("Q3") = "Downsizing" == 1;
    @IDESC ("Q4") = "Downsizing" == 1;

    ELSEIF (@ISMBR ("FY14") AND ("S_BegBalance" == 4))
    @IDESC ("Q2") = "Downsizing" == 1;
    @IDESC ("Q3") = "Downsizing" == 1;
    @IDESC ("Q4") = "Downsizing" == 1;

    ELSEIF (@ISMBR ("FY14") AND ("S_BegBalance" == 5))
    'May' = 'Membership' == 1;
    "Jun" = "Downsizing" == 1;
    @IDESC ("Q3") = "Downsizing" == 1;
    @IDESC ("Q4") = "Downsizing" == 1;

    ELSEIF (@ISMBR ("FY14") AND ("S_BegBalance" == 6))
    "Jun" = "Downsizing" == 1;
    @IDESC ("Q3") = "Downsizing" == 1;
    @IDESC ("Q4") = "Downsizing" == 1;

    ELSEIF (@ISMBR ("FY14") AND ("S_BegBalance" == 7))
    @IDESC ("Q3") = "Downsizing" == 1;
    @IDESC ("Q4") = "Downsizing" == 1;

    ELSEIF (@ISMBR ("FY14") AND ("S_BegBalance" == 8))
    "Aug" = "Downsizing" == 1;
    "Sep" = "Downsizing" == 1;
    @IDESC ("Q4") = "Downsizing" == 1;

    ELSEIF (@ISMBR ("FY14") AND ("S_BegBalance" == 9))
    "Sep" = "Downsizing" == 1;
    @IDESC ("Q4") = "Downsizing" == 1;

    ELSEIF (@ISMBR ("FY14") AND ("S_BegBalance" == 10))
    @IDESC ("Q4") = "Downsizing" == 1;

    ELSEIF (@ISMBR ("FY14") AND ("S_BegBalance" == 11))
    "Nov" = "Downsizing" == 1;
    'Dec' = 'Membership' == 1;

    ELSEIF (@ISMBR ("FY14") AND ("S_BegBalance" == 12))
    'Dec' = 'Membership' == 1;

    ENDIF

    I edited the formula to find out where is the error?

    IF (@ISMBR ("Budget") AND ("S_BegBalance" == 1) AND @ISMBR ("1st Pass - Budget") AND @ISMBR ("FY14"))
    @IDESC ("YearTotal") = "Downsizing" == 1;

    ENDIF

    IF (@ISMBR ("Budget") AND ("S_BegBalance" == 2) AND @ISMBR ("1st Pass - Budget") AND @ISMBR ("FY14"))
    @IDESC ("Q2") = "Downsizing" == 1;
    @IDESC ("Q3") = "Downsizing" == 1;
    @IDESC ("Q4") = "Downsizing" == 1;
    "Feb" = "Downsizing" == 1;
    'Mar' = 'Downsizing' == 1;

    ENDIF

    7e3ca589-4260-401d-ba03-77f60bdde99e wrote:

    I added the following member formula to a dense account member name. {end: I created an account called S_BegBalance to contain the data for numbers codes.} For example, if S_BegBalance = 1, effective must be 1 for the whole year (January-December). If the balance S_Beg = 2, staff: Feb-district of Columbia, for S_BegBalance = 3, effective is Mar - Dec.

    Effective is a member (dense) S_BegBalance shop is also a dense Member store.

    Assuming you enter value to BegBalance during Sun, we can write something like this:

    FIX (& VarYear, & VarScenario, & VarVersion)

    Fix (@LEVMBRS(Product,0), @LEVMBRS(Entities,0), @LEVMBRS(Region,0), @LEVMBRS(position,0))

    FIX(JAN:DEC)

    "Workforce".

    (

    IF ("BegBalance"-> "S_BegBalance" == 1))
    1;

    ENDIF

    )

    ENDFIX

    FIX(FEB:DEC)

    "Workforce".

    (

    IF ('BegBalance'-> 'S_BegBalance' == 2))
    1;

    ENDIF

    )

    ENDFIX

    FIX(MAR:DEC)

    "Workforce".

    (

    IF ('BegBalance'-> 'S_BegBalance' == 3))
    1;

    ENDIF

    )

    ENDFIX

    ENDFIX

    ENDFIX

    There may be many other ways of writing this is an optimized way!

  • Error ESTK "cannot assign a value.

    Dear friends, started a new project - and of course the new problems:.

    The SumOf (list of values) function works perfectly,

    but an equivalent of the function VsumOf (list of variables) stops at line 16 in the first iteration of the loop: cannot assign a value.

    At this point, the result variable is just - 132.09 - out sort of a numerical problem.

    var z = SumOf (11.1, -11.9, 12345679.0, -12345679.0, 124.5, -17, 18.9, 2.2, 2.5, 2.5, 2.5, 31.31, 312345679, -312345679); 
    alert ("SumOf the numbers = " + z); // giving 166.610000014305  (figures after the 000 are artifacts)
    
    var z = VsumOf (11.1, -11.9, 12345679.0, -12345679.0, 124.5, -17, 18.9, 2.2, 2.5, 2.5, 2.5, 31.31, 312345679, -312345679); 
    alert ("VsumOf the numbers = " + z);
    
    function VsumOf (valuePairs) {
      var nArguments = arguments.length;
      var j, z, result = 0;
      if (Math.floor(nArguments/2) * 2 !== nArguments) {return undefined;}
      
      for (j = 0; j < nArguments; j=++2) {
        if (isNaN(arguments[j])) {return NaN;}        // should be skipped in calling environment
        if (isNaN(arguments[j+1])) {return NaN;}
        z = arguments[j] * arguments[j+1];
        result = result + z;                          // <<== Can not assign value ???
      }
      return result;
    }
    
    // this one works correctly
    function SumOf (values) {
      var nArguments = arguments.length;
      var j, result= 0;
      for (j = 0; j < nArguments; j++) {
        if (isNaN(arguments[j])) {return NaN;}        // should be skipped in calling environment
        result = result + arguments[j];
      }
      return result;
    }
    

    Any ideas what really does this error message mean?

    Hi Klaus,

    Just change your line 12 for

      for (j = 0; j< narguments;="" j="j+2)" {="">

    It should work.

  • ReferenceError: Error #1037: cannot assign to a method on all the tables.

    This code causes a runtime Error #1037 when publishing in AS3, but not in AS2.

    var myArray:Array = [];

    myArray ['each'] = [];

    I guess it's because everything is a method already defined in the Array class.

    Should I use the dictionary class instead? Some good advice on this? Anything else I should know?

    I'm not sure what you're trying to do, but the Array class is used for ordered lists.  You should NOT use a string for a key.

    If you want to create an unordered list = hash = map in flash (and use strings for keys), use an object:

    var obj:Object = {}

    obj ['each'] = [];  If you want the value to be a table or

    obj = ['never'] {};  If you want the value to another object/a/map

    use a dictionary if you want to use objects for keys.

  • Received an error message "ActiveX runtime error '429' cannot create the object.

    I got this error message after you install a site Web of Koyote Soft free audio converter. So now I'm unable to run/open this free audio converter. Help, please.  Thank you

    HI South,

    I suggest you to check and clean the boot if the problem persists.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Alternatively, you can try to reinstall the application.

    I hope this helps.

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

    Having a problem with the creation of a website in CC animate with ActionScript3.

    Any help would be appreciated.

    Basically, I'm trying to get 'home', 'services' 'contact' buttons work when you click "about".

    import flash.events.MouseEvent;

    Stop();

    header_mc.home_btn.addEventListener (MouseEvent.CLICK, gohome);

    gohome function (event: MouseEvent): void {}

    gotoAndStop (1);

    }

    header_mc.about_btn.addEventListener (MouseEvent.CLICK, goabout);

    function goabout (event: MouseEvent): void {}

    gotoAndStop (2);

    }

    header_mc.services_btn.addEventListener (MouseEvent.CLICK, goservices);

    goservices function (event: MouseEvent): void {}

    gotoAndStop (3);

    }

    header_mc.contact_btn.addEventListener (MouseEvent.CLICK, gocontact);

    function gocontact (event: MouseEvent): void {}

    gotoAndStop (4);

    }

    Ran the test after allowing debugging and myself

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

    at WORKINGwebsite_fla::MainTimeline/frame1() [WORKINGwebsite_fla. MainTimeline::frame1:3]

    Chassis 1 line 3.

    1009 error indicates that one of the objects targeted by your code are out of reach.  This may mean that the object...

    -is declared but not instantiated

    n ' is not have an instance name (or the name of the instance is misspelled)

    n ' is not in the frame where this code tries to talk to her

    -is animated in place, but is not assigned the name of the instances of each keyframe for her

    -is one of the two or more consecutive keyframes of the same objects without a name assigned in the image previous (s).

  • Error: Location cannot be deleted because there are users assigned to it!

    We have created two new applications of FDM, and after adding of new sites that we would like to remove the default 'CONTROLSREVIEW' control examination and location of "SAMPLE". However, we do experience the following error message when you try to do:

    "Error: location cannot be deleted because there are users assigned to it!

    (There is however a thread similar to remove a location ):
    -The only information administration | Maintenance by the user for each user is the user name and security. Users cannot do not have places here from what we can see.
    -When you look at the analysis > reports > reports on the security > list user - level, no report appears and the page is blank. The drop-down lists are empty).

    Details:
    -11.1.2.1.
    -Point of view has been updated with our new location

    Please indicate how we can solve this problem. Thank you very much!

    You must double-click the user in maintenance by the user. This will open a new window where the assignment of location information is stored. Change the default location for users to review something else controls and save the changes. Once you did it for all users, you will be able to remove the location

  • TypeError: Error #1009: cannot access a property or method of a null object reference. Why have I not

    TypeError: Error #1009: cannot access a property or method of a null object reference. Why do I always have problems mind flash and shockwave. Why adobe does not solve their products?

    .

    This isn't a problem of Flash... it's a mistake to designer.

    1009 error indicates that one of the objects targeted by your code are out of reach.  This may mean that the object...

    -is declared but not instantiated

    n ' is not have an instance name (or the name of the instance is misspelled)

    n ' is not in the frame where this code tries to talk to her

    -is animated in place, but is not assigned the name of the instances of each keyframe for her

    -is one of the two or more consecutive keyframes of the same objects without a name assigned in the image previous (s).

    It could also be other less obvious reasons.

    If you go to your section to publish the Flash settings and select permit debugging option, your error message should have a suite of line number the number of the frame that will help you to isolate the object that is involved.

  • TypeError: Error #1009: cannot access a property or method of a null object reference?

    Mr President.
    I updated firefox and always this type of problem
    every time I tried to open the flash game site iam getting this question. sometimes IE browser cannot open it too much.
    "".... TypeError: Error #1009: cannot access a property or method of a null object reference.
    to ASGames / fun_Menu)
    to ASGames / frame2)
    at flash.display::MovieClip/gotoAndStop()
    to WeddingTianaDressup_fla::Timeline_102 / playGames ()... » »

    but the same site can be opened in other browsers in the same pc... but the same site a user goes to another computer on the browser firefox itself. How do not know where is the problem... ?
    so please, some can help hu?

    Dear Sir.
    Thanks for your answer...! I did what you said but it doesn't work. new iam having the same problem...!

  • Error: cannot access dead object

    [JavaScript application] Error: cannot access dead object.

    This message appears repeatedly after using Gmail, sign out, close the tab, then open a new tab.

    Uploadd disabling Drag & Drop appeared to be... on my 7 machine. Now for my Vista laptop. Thank you.

  • Flash Player ' TypeError: Error #1009: cannot access a property or method of a null object reference. to town_fla::Button_237 / frame1 () '.

    Hey, I opened a page that runs Flash this always whenever rises ' TypeError: Error #1009: cannot access a property or method of a null object reference.     to town_fla::Button_237 / frame1 () '. The dialog box gives me two options either urgent continue or reject all. Normally I just press "Ignore all" and continue, but I was wondering if there was a solution to this problem. Either way, my computer runs Windows Vista Edition home premium.
    Thanks for the help.

    Hello

    To provide the proper resolution, that I would need more information on your side.

    1. is the computer connected to the domain?

    2. what web browser do you use?

    3. when exactly the problem started?

    I suggest you uninstall and reinstall the latest version of Adobe flash player. Check if it helps.

    Step 1:
    Uninstall Adobe flash player follow the steps in the link following link:

    http://kb2.Adobe.com/CPS/141/tn_14157.html

    Step 2:
    Download and install the latest version of adobe flash player from the following link:

    http://get.Adobe.com/flashplayer/

    Hope this information helps. If you need additional help or information on Windows, I'll be happy to help you.

  • FNDCPASS: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: no such file or directory...

    Hello friends,

    After the end of my process of cloning... I try to change my login user ID pwd through FNDCPASS, but, unfortunately it show me this error as I try to used the @CMclean.sql. also, you cannot run.


    FNDCPASS: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: no such file or directory...


    Score help out me

    Post the details of the version of the application and the operating system.

    Have you from the correct env file before running FNDCPASS? See (Doc ID 943005.1) for more details.

    If it comes to 12.1.x on Linux OS, please make sure that you follow all the steps by (Doc ID 761564.1) / (Doc ID 761566.1) and you have all applied pre - req OS packages.

    Thank you

    Hussein

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

    I need a little help. I do a game, and everything works fine except for the fact that I have 2 errors, which bothers me not that I always use the button, but the other will not let me use the button.

    Error:

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

    at Untitled_2_fla::MainTimeline/frame2() [Untitled_2_fla. MainTimeline::frame2:207]

    at flash.display::MovieClip/gotoAndStop()

    at Untitled_2_fla::MainTimeline/PlayBtn() [Untitled_2_fla. MainTimeline::frame1:13]

    Magyx Placement RedAtk.addEventListener (MouseEvent.CLICK, RedAttack); function RedAttack(Event:MouseEvent):void {gotoAndStop (19)}

    This is Frane2:207, I see nothing wrong with that, because all my other are the same

    nextBlueAtk.addEventListener (MouseEvent.CLICK, NWA); function NWA(Event:MouseEvent):void {gotoAndStop (23)} nextGreyAtk.addEventListener (MouseEvent.CLICK, NGA); function NGA(Event:MouseEvent):void {gotoAndStop (27)} nextGreenAtk.addEventListener (MouseEvent.CLICK, ISABELLE); function NGRA(Event:MouseEvent):void {gotoAndStop (31)}

    I get no error for them.

    And frame1:13?

    function PlayBtn(event:MouseEvent):void {gotoAndStop (2)}

    Please help someone, I want to keep working on this game!

    When Flash tells you that there is a null object reference, this means that an object that you are referring to a function is not available at this time here in the film. It is usually a problem with the object being not not in a particular setting. Make sure that the object, the key is actually in the frame where the function reference.

  • Help, please! TypeError: Error #1009: cannot access a property or method of a null object reference.  Help, please!

    Can anyone help! Here's the code from to escape the game of the room that I am creating.  Basically the user will be drag and drop items to reveal the user will collect hidden items.  I got the elements of drag-and - drop but I have a problem with the service that I write to recognize what are the elements and how much has been collected.  I just get the error

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

    at TheMathsRooms_fla::MainTimeline/ObjectFound()

    When I click on one of the elements, the user must be able to collect.  I checked the chronology and pint, the script is used all THE elements are on the scene.  Any ideas?

    function objectFound

    function ObjectFound(event:MouseEvent):void {}

    var room1_inventoryName:String = "room1_inventory" + event.target.name;

    var room1_inventoryItem:DisplayObject = getChildByName (room1_inventoryName);

    Event.Target.alpha is room1_inventoryItem.alpha = 100;.

    founditems ++;

    Event.Target.alpha = 0

    }

    Here I put the items in stock to be invisible until they are

    room1_inventoryone_mc.Alpha = 0

    room1_inventorytwo_mc.Alpha = 0

    room1_inventorythree_mc.Alpha = 0

    room1_inventoryfour_mc.Alpha = 0

    room1_inventoryfive_mc.Alpha = 0

    room1_inventorysix_mc.Alpha = 0

    A variable is created to count the number of items the player has found.  At the beginning of the game, it is set to 0

    var founditems:Number = 0;

    Here, I'm telling Flash to keep track of what the user has found by listening to what were clicked on and then by running the objectFound function.

    room1_hiddenone_mc.addEventListener (MouseEvent.MOUSE_DOWN, ObjectFound);

    room1_hiddentwo_mc.addEventListener (MouseEvent.MOUSE_DOWN, ObjectFound);

    room1_hiddenthree_mc.addEventListener (MouseEvent.MOUSE_DOWN, ObjectFound);

    room1_hiddenfour_mc.addEventListener (MouseEvent.MOUSE_DOWN, ObjectFound);

    room1_hiddenfive_mc.addEventListener (MouseEvent.MOUSE_DOWN, ObjectFound);

    room1_hiddensix_mc.addEventListener (MouseEvent.MOUSE_DOWN, ObjectFound);

    Here's the function to allow the items to drag and drop

    function StartDragging (e:MouseEvent) {}

    e.currentTarget.startDrag ();

    }

    function StopDragging (e:MouseEvent) {}

    e.currentTarget.stopDrag ();

    }

    This shows that items can now be dragged and lowered some will reveal hidden items

    Bluechair.buttonMode = true;

    Bluechair.addEventListener (MouseEvent.MOUSE_DOWN, StartDragging);

    Bluechair.addEventListener (MouseEvent.MOUSE_UP, StopDragging);

    Pencilcase.buttonMode = true;

    Pencilcase.addEventListener (MouseEvent.MOUSE_DOWN, StartDragging);

    Pencilcase.addEventListener (MouseEvent.MOUSE_UP, StopDragging);

    Painting.buttonMode = true;

    Painting.addEventListener (MouseEvent.MOUSE_DOWN, StartDragging);

    Painting.addEventListener (MouseEvent.MOUSE_UP, StopDragging);

    Rubbish.buttonMode = true;

    Rubbish.addEventListener (MouseEvent.MOUSE_DOWN, StartDragging);

    Rubbish.addEventListener (MouseEvent.MOUSE_UP, StopDragging);

    Painting2.buttonMode = true;

    Painting2.addEventListener (MouseEvent.MOUSE_DOWN, StartDragging);

    Painting2.addEventListener (MouseEvent.MOUSE_UP, StopDragging);

    Trunk.buttonMode = true;

    Trunk.addEventListener (MouseEvent.MOUSE_DOWN, StartDragging);

    Trunk.addEventListener (MouseEvent.MOUSE_UP, StopDragging);

    Pillow.buttonMode = true;

    Pillow.addEventListener (MouseEvent.MOUSE_DOWN, StartDragging);

    Pillow.addEventListener (MouseEvent.MOUSE_UP, StopDragging);

    Click file > publishing settings > swf and check the box "enable debugging".  test.

    the number of problematic line will be in the error message that allows you to quickly identify the problematic reference which is probably room1_inventoryItem.  use the function trace to confirm:

    function ObjectFound(event:MouseEvent):void {}

    var room1_inventoryName:String = "room1_inventory" + event.target.name;

    trace (room1_inventoryName);

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

    Dear Sir.

    I really need your help at the very last moment, I'm stuck, but I was about to finish a project. Here is the explanation below...

    I have two files called "holder.swf" and "slide.swf" i want to improt 'slide.swf' using this action below

    var myLoader:Loader = new Loader();

    var url: URLRequest = new URLRequest ("slide.swf");

    myLoader.load (url);

    addChild (myLoader);

    myLoader.x = 2;

    myLoader.y = 2;

    Also, I am attaching the flash file of "'holder.swf '." My concern is the time that I call the 'slide.swf' inside the 'holder.swf', it is showing the following error...

    " TypeError: Error #1009: cannot access a property or method of a null object reference. .

    to FC_Home_Ads_Holder_v2_fla::MainTimeline() .

    Here are the files downloaded for your reference, please download this file http://www.touchpixl.com/ForumsAdobecom.zip

    This error is being occurred file 'MainTimeline.as', here is the code used within this file below...

    package FC_Home_Ads_Holder_v2_fla

    {

    Import __AS3__.vec. * ;

    Adobe.utils import. *;

    com.danehansen import. *;

    import com.greensock;

    com.greensock.easing import. *;

    com.greensock.plugins import. *;

    flash.accessibility import. *;

    flash.desktop import. *;

    import flash.display. *;

    flash.errors import. *;

    import flash.events. *;

    flash.external import. *;

    flash.filters import. *;

    import flash.geom. *;

    flash.globalization import. *;

    import flash.media. *;

    flash.net import. *;

    flash.net.drm import. *;

    flash.printing import. *;

    flash.profiler import. *;

    flash.sampler import. *;

    flash.sensors import. *;

    flash.system import. *;

    import flash.text. *;

    flash.text.engine import. *;

    flash.text.ime import. *;

    flash.ui import. *;

    import flash.utils. *;

    flash.xml import. *;

    SerializableAttribute public class dynamics MainTimeline extends flash.display.MovieClip

    {

    public void MainTimeline()

    {

    new vector. < String > (6) [0] = "productivity."

    new vector. < String > (6) [1] = "Leadership."

    new vector. < String > (6) [2] = "Execution."

    new vector. < String > (6) [3] = "Education";

    new vector. < String > (6) [4] = "speed of trust";

    new vector. < String > (6) [5] = "Sales";

    Super();

    addFrameScript (0, this.frame1);

    return;

    }

    public void init (): void

    {

    var loc1: * = null;

    com.greensock.plugins.TweenPlugin.activate ([com.greensock.plugins.Aut oAlphaPlugin]);

    LOC1 = new flash.net.URLLoader (new flash.net.URLRequest (this. XML_LOC));

    loc2 var: *;

    This.next_mc.buttonMode = loc2 = true;

    This.prev_mc.buttonMode = loc2;

    stage.scaleMode = flash.display.StageScaleMode.NO_SCALE;

    internship. Align = flash.display.StageAlign.TOP_LEFT;

    LOC1.addEventListener (flash.events.Event.COMPLETE, this.xmlLoaded, false, 0, true);

    This.prev_mc.addEventListener (flash.events.MouseEvent.CLICK, this.minusClick, false, 0, true);

    This.next_mc.addEventListener (flash.events.MouseEvent.CLICK, this.plusClick, false, 0, true);

    return;

    }

    public void xmlLoaded (arg1:flash.events.Event): void

    {

    var loc1: * = null;

    loc2 var: * = 0;

    this.xmlData = new XML (arg1.target.data);

    loc2 = 0;

    While (loc2 < this.) LABELS.length)

    {

    LOC1 = new Btn (this. LABELS [loc2], loc2);

    this.btnHolder_mc.addChild (loc1);

    This. BTNS.push (loc1);

    trace (this.) LABELS [loc2]);

    ++ loc2.

    }

    This.Current = uint (this.xmlData.@firstPick);

    trace ("- width-");

    trace (this.contentMask.Width);

    var loc3: * = this.contentMask.width / this. LABELS.length;

    trace (LOC3);

    loc2 = 0;

    While (loc2 < this.) BTNS.length)

    {

    This. Inclinometer [loc2] .width = loc3;

    This. Inclinometer [loc2] .x = loc3 * loc2.

    ++ loc2.

    }

    this.btnHolder_mc.addEventListener (flash.events.MouseEvent.CLICK, this.numClick, false, 0, true);

    this.selectMovie ();

    return;

    }

    public void numClick (arg1:flash.events.MouseEvent): void

    {

    this.killTimer ();

    This.Current = arg1.target.i;

    this.selectMovie ();

    return;

    }

    public void killTimer (): void

    {

    this.timerGoing = false;

    If (this.timer)

    {

    This.Timer.Reset ();

    this.timer.addEventListener (flash.events.TimerEvent.TIMER, this.plusClick, false, 0, true);

    This.Timer = null;

    }

    return;

    }

    public function selectMovie (): void

    {

    If (this.timerGoing)

    {

    This.Timer = new flash.utils.Timer (uint (this.xmlData.ad [com.danehansen.MyMath.modulo (t his.current, this.xmlData.ad.length ())] .@delay), 1);

    This.Timer.Start ();

    this.timer.addEventListener (flash.events.TimerEvent.TIMER, this.plusClick, false, 0, true);

    }

    While (this.holder_mc.numChildren > 0)

    {

    This.holder_mc.removeChild (this.holder_mc.getChildAt (0));

    }

    var loc1: * = new flash.display.Loader ();

    LOC1. Load (new flash.net.URLRequest (this.xmlData.ad [com.danehansen.MyMath.modulo (thi s.current, this.xmlData.ad.length ())] .@loc));

    This.holder_mc. AddChild (LOC1);

    loc2 var: * = 0;

    While (loc2 < this.) BTNS.length)

    {

    This. BTNS [loc2]. Deselect();

    ++ loc2.

    }

    This. BTNS [com.danehansen.myMath.modulo (this.current, this.xmlData.ad.length ())] .select ();

    var loc3: * = this. BTNS [com.danehansen.myMath.modulo (this.current, this.xmlData.ad.length ())] .x + this. BTNS [com.danehansen.myMath.modulo (this.current, this.xmlData.ad.length ())] .width/2 + this.btnHolder_mc.x;

    trace ("addLength:" + this.xmlData.ad.length ());

    trace (loc3, com.danehansen.MyMath.modulo (this.current, this.xmlData.ad.length ()));

    com.greensock.TweenLite.to (this.indicator_mc, 0.3, {'x': loc3, "ease":com.greensock.easing.Cubic.easeOut});})

    LOC1.contentLoaderInfo.addEventListener (flash.events.Event.COMPLETE, this.adLoaded, false, 0, true);

    return;

    }

    public void adLoaded (arg1:flash.events.Event): void

    {

    var evt:flash.events.Event;

    loc1 var: *;

    evt = arg1;

    Try

    {

    evt.target.content.xmlData = this.xmlData.ad [com.danehansen.MyMath.modulo (this.current, this.xmlData.ad.length ())];

    }

    catch (er: error)

    {

    };

    return;

    }

    public void minusClick (arg1:flash.events.MouseEvent): void

    {

    this.killTimer ();

    loc1 var: *;

    loc2 var: * = ((loc1_=_this).current - 1);

    LOC1. Current = loc2;

    this.selectMovie ();

    return;

    }

    public void plusClick (arg1:flash.events.Event): void

    {

    If (arg1.type! = "timer")

    {

    this.killTimer ();

    }

    loc1 var: *;

    loc2 var: * = ((loc1_=_this).current + 1);

    LOC1. Current = loc2;

    this.selectMovie ();

    trace ("Next");

    return;

    }

    public function ended (arg1:flash.events.Event): void

    {

    If (arg1.type! = "timer")

    {

    this.killTimer ();

    }

    loc1 var: *;

    loc2 var: * = ((loc1_=_this).current + 1);

    LOC1. Current = loc2;

    this.selectMovie ();

    trace ("Next");

    return;

    }

    public void STARTED (arg1:flash.events.Event): void

    {

    this.killTimer ();

    return;

    }

    function frame1(): *.

    {

    this.timerGoing = true;

    addEventListener ("endNow", this.) COMPLETED, false, 0, true);

    addEventListener ("startNow", this.) STARTED, false, 0, true);

    This.init ();

    return;

    }

    public const XML_LOC:String = stage.loaderInfo.parameters.xmlLoc? stage.loaderInfo.parameters.xmlLoc: "home_ads.xml";

    public const LABELS: __AS3__.vec. Vector. < String > = new Vector. < String > (6);

    public const BTNS:__AS3__.vec. Vector. < Btn > = new Vector. < Btn > ();

    public const TRANSITION_TIME:Number = 0.2;

    public var contentMask:flash.display.MovieClip;

    public var btnHolder_mc:flash.display.MovieClip;

    public var holder_mc:flash.display.MovieClip;

    public var indicator_mc:flash.display.MovieClip;

    public var prev_mc:flash.display.MovieClip;

    public var next_mc:flash.display.MovieClip;

    public var current: int;

    public var xmlData:XML;

    public var timer:flash.utils.Timer;

    public var timerGoing:Boolean;

    }

    }

    Here's the file uploaded to the server for you to get a clear picture, please click this link to download the entire folder. http://www.touchpixl.com/ForumsAdobecom.zip

    I'm not being able to solve the problem, it needs a master to get the right solution. I would ask you to help me.

    Thanks and greetings

    Sanjib Das

    This will fix the error you mentioned, if it comes to your document class:

    package FC_Home_Ads_Holder_v2_fla

    {

    Import __AS3__.vec. * ;

    Adobe.utils import. *;

    com.danehansen import. *;

    import com.greensock;

    com.greensock.easing import. *;

    com.greensock.plugins import. *;

    flash.accessibility import. *;

    flash.desktop import. *;

    import flash.display. *;

    flash.errors import. *;

    import flash.events. *;

    flash.external import. *;

    flash.filters import. *;

    import flash.geom. *;

    flash.globalization import. *;

    import flash.media. *;

    flash.net import. *;

    flash.net.drm import. *;

    flash.printing import. *;

    flash.profiler import. *;

    flash.sampler import. *;

    flash.sensors import. *;

    flash.system import. *;

    import flash.text. *;

    flash.text.engine import. *;

    flash.text.ime import. *;

    flash.ui import. *;

    import flash.utils. *;

    flash.xml import. *;

    SerializableAttribute public class dynamics MainTimeline extends flash.display.MovieClip

    {

    public const XML_LOC:String;

    public const LABELS: __AS3__.vec. Vector. = new Vector. (6);

    public const BTNS:__AS3__.vec. Vector. = new Vector. ();

    public const TRANSITION_TIME:Number = 0.2;

    public var contentMask:flash.display.MovieClip;

    public var btnHolder_mc:flash.display.MovieClip;

    public var holder_mc:flash.display.MovieClip;

    public var indicator_mc:flash.display.MovieClip;

    public var prev_mc:flash.display.MovieClip;

    public var next_mc:flash.display.MovieClip;

    public var current: int;

    public var xmlData:XML;

    public var timer:flash.utils.Timer;

    public var timerGoing:Boolean;

    public void MainTimeline()

    {

    XML_LOC = internship. LoaderInfo.Parameters.xmlLoc? stage.loaderInfo.parameters.xmlLoc: "home_ads.xml";

    new vector. (6) [0] = "productivity."

    new vector. (6) [1] = "leadership."

    new vector. (6) [2] = "execution."

    new vector. (6) [3] = "education";

    new vector. (6) [4] = "speed of trust";

    new vector. (6) [5] = "sales";

    Super();

    addFrameScript (0, this.frame1);

    return;

    }

    public void init (): void

    {

    var loc1: * = null;

    com.greensock.plugins.TweenPlugin.activate ([com.greensock.plugins.Aut oAlphaPlugin]);

    LOC1 = new flash.net.URLLoader (new flash.net.URLRequest (this. XML_LOC));

    loc2 var: *;

    This.next_mc.buttonMode = loc2 = true;

    This.prev_mc.buttonMode = loc2 = true;

    stage.scaleMode = flash.display.StageScaleMode.NO_SCALE;

    internship. Align = flash.display.StageAlign.TOP_LEFT;

    LOC1.addEventListener (flash.events.Event.COMPLETE, this.xmlLoaded, false, 0, true);

    This.prev_mc.addEventListener (flash.events.MouseEvent.CLICK, this.minusClick, false, 0, true);

    This.next_mc.addEventListener (flash.events.MouseEvent.CLICK, this.plusClick, false, 0, true);

    return;

    }

    public void xmlLoaded (arg1:flash.events.Event): void

    {

    var loc1: * = null;

    loc2 var: * = 0;

    this.xmlData = new XML (arg1.target.data);

    loc2 = 0;

    While (loc2<>

    {

    LOC1 = new Btn (this. LABELS [loc2], loc2);

    this.btnHolder_mc.addChild (loc1);

    This. BTNS.push (loc1);

    trace (this.) LABELS [loc2]);

    ++ loc2.

    }

    This.Current = uint (this.xmlData.@firstPick);

    trace ("- width-");

    trace (this.contentMask.Width);

    var loc3: * = this.contentMask.width / this. LABELS.length;

    trace (LOC3);

    loc2 = 0;

    While (loc2<>

    {

    This. Inclinometer [loc2] .width = loc3;

    This. Inclinometer [loc2] .x = loc3 * loc2.

    ++ loc2.

    }

    this.btnHolder_mc.addEventListener (flash.events.MouseEvent.CLICK, this.numClick, false, 0, true);

    this.selectMovie ();

    return;

    }

    public void numClick (arg1:flash.events.MouseEvent): void

    {

    this.killTimer ();

    This.Current = arg1.target.i;

    this.selectMovie ();

    return;

    }

    public void killTimer (): void

    {

    this.timerGoing = false;

    If (this.timer)

    {

    This.Timer.Reset ();

    this.timer.addEventListener (flash.events.TimerEvent.TIMER, this.plusClick, false, 0, true);

    This.Timer = null;

    }

    return;

    }

    public function selectMovie (): void

    {

    If (this.timerGoing)

    {

    This.Timer = new flash.utils.Timer (uint (this.xmlData.ad [com.danehansen.MyMath.modulo (t his.current, this.xmlData.ad.length ())] .@delay), 1);

    This.Timer.Start ();

    this.timer.addEventListener (flash.events.TimerEvent.TIMER, this.plusClick, false, 0, true);

    }

    While (this.holder_mc.numChildren > 0)

    {

    This.holder_mc.removeChild (this.holder_mc.getChildAt (0));

    }

    var loc1: * = new flash.display.Loader ();

    LOC1. Load (new flash.net.URLRequest (this.xmlData.ad [com.danehansen.MyMath.modulo (thi s.current, this.xmlData.ad.length ())] .@loc));

    This.holder_mc. AddChild (LOC1);

    loc2 var: * = 0;

    While (loc2<>

    {

    This. BTNS [loc2]. Deselect();

    ++ loc2.

    }

    This. BTNS [com.danehansen.myMath.modulo (this.current, this.xmlData.ad.length ())] .select ();

    var loc3: * = this. BTNS [com.danehansen.myMath.modulo (this.current, this.xmlData.ad.length ())] .x + this. BTNS [com.danehansen.myMath.modulo (this.current, this.xmlData.ad.length ())] .width/2 + this.btnHolder_mc.x;

    trace ("addLength:" + this.xmlData.ad.length ());

    trace (loc3, com.danehansen.MyMath.modulo (this.current, this.xmlData.ad.length ()));

    com.greensock.TweenLite.to (this.indicator_mc, 0.3, {'x': loc3, "ease":com.greensock.easing.Cubic.easeOut});})

    LOC1.contentLoaderInfo.addEventListener (flash.events.Event.COMPLETE, this.adLoaded, false, 0, true);

    return;

    }

    public void adLoaded (arg1:flash.events.Event): void

    {

    var evt:flash.events.Event;

    loc1 var: *;

    evt = arg1;

    Try

    {

    evt.target.content.xmlData = this.xmlData.ad [com.danehansen.MyMath.modulo (this.current, this.xmlData.ad.length ())];

    }

    catch (er: error)

    {

    };

    return;

    }

    public void minusClick (arg1:flash.events.MouseEvent): void

    {

    this.killTimer ();

    loc1 var: *;

    loc2 var: * = ((loc1_=_this).current - 1);

    LOC1. Current = loc2;

    this.selectMovie ();

    return;

    }

    public void plusClick (arg1:flash.events.Event): void

    {

    If (arg1.type! = "timer")

    {

    this.killTimer ();

    }

    loc1 var: *;

    loc2 var: * = ((loc1_=_this).current + 1);

    LOC1. Current = loc2;

    this.selectMovie ();

    trace ("Next");

    return;

    }

    public function ended (arg1:flash.events.Event): void

    {

    If (arg1.type! = "timer")

    {

    this.killTimer ();

    }

    loc1 var: *;

    loc2 var: * = ((loc1_=_this).current + 1);

    LOC1. Current = loc2;

    this.selectMovie ();

    trace ("Next");

    return;

    }

    public void STARTED (arg1:flash.events.Event): void

    {

    this.killTimer ();

    return;

    }

    function frame1(): *.

    {

    this.timerGoing = true;

    addEventListener ("endNow", this.) COMPLETED, false, 0, true);

    addEventListener ("startNow", this.) STARTED, false, 0, true);

    This.init ();

    return;

    }

    }

    }

Maybe you are looking for