Calculation of Script - Please help.

Hello

I'm working on a calculation script, but unfortunately not in yet. Can someone help me please by giving some ideas on how this can be done?

There is a 'Place' dimension attribute and its basic dimension is "Customer."

For example:

Customer dimension has 15 members - C1 to C15.
The attribute dimension has 5 members - Loc1 to Loc5.

Customer
-Total (level 1 - the value ignores member)
-Loc1 - Total
-Loc2 - Total
-Loc3 - Total
-Loc4 - Total
-Loc5 - Total

-All clients (member of level 2)

-C1 (East with attribute Loc1) (value = 10)
-C11 (member of level 0)
-C12 (member of level 0)

-C2 (is with attribute Loc2)
-C3 (is with attribute Loc3)
-C4 (Loc4)

-C5 (Loc5)
-C51 (member of level 0)
-C52 (member of level 0)
-C6 (Loc1) (account value = 20)
-C7 (Loc2)
-C8 (Loc3)
-C9 (Loc4)
-C10 (Loc1) (account value = 20)

I need something like this:
Account-> "Loc1 - Total" = A account-> account A + C1-> account-> C10 A + C6;

I.e. A account values for 3 guests (C1 + C6 + C10) that are associated with the attribute "Loc1" should be added and kept in "Loc1 - Total" and the same for all the others like "Loc2 - Total" etc..

In the example above, the value of the account to the "Loc1 - Total ' should be equal to 50 (only C1 = 10, C6 = 20, C10 = 20)

Can someone please help by giving their ideas? Thanks in advance.

-Krrish

Published by: Krrish on June 19, 2012 12:30

What is the error you get? I guess it's that you don't have the formula in a block calco
Try

DIFFICULTY (mentioned all required members of all dimensions, with the exception of the dimension B, @ATTRIBUTE ("Loc1"))
("Account has")

"Account has"-> "Loc1 - Total" = "account has"-> "Loc1 - Total" + "account has";
)

ENDFIX;

Tags: Business Intelligence

Similar Questions

  • the XML reader - need assistance to change the script, please help

    Hi all, I don't know if this is the right place for this question but I want to change a xml flash drive so that it creates the playlist with the name I want and not the default. Some can tell me please how to change this so that when the player has found songs in the "my_mp3s" folder it creates a named xml playlist

    'mymusic.xml ' instead of the default "audioplaylist.xml".  I tried to edit the script of the player's actions and overwrite changes but it still does not work, here is the code please help. I found this script online.

    Thank you

    Stop();

    / * ALL BUTTONS BELOW ARE MARKED FOR EDITABLE AND DON'T CHANGE, BUT IF YOU KNOW WHAT YOU ARE DOING
    THEN YOU CAN ACTUALLY CHANGE WHAT YOU WANT BUT FOR THIS APP WORKS CORRECTLY ONLY CHANGE IF NECESSARY
    ENTRIES... ONCE YOU HAVE MADE YOUR CHANGES, COPY AND PASTE THIS ENTIRE SCRIPT PAGE IN
    THE FIRST IMAGE OF THE SCENARIO THAT HE RIGHT THE SCRIPT THATS ALREADY THERE.
    The button labels for the XML READER text * /.
    SIDE MENU BUTTONS\\\
    Btn1.buttText.ButtonText.text = "DOWNLOAD FILES"; DO NOT CHANGE
    btn2.buttText.ButtonText.text = "SYSTEM VOLUME"; DO NOT CHANGE
    btn3.buttText.ButtonText.text = 'EDIT PLAYLIST XML'; DO NOT CHANGE
    btn4.buttText.ButtonText.text = "BURN CD"; DO NOT CHANGE
    btn5.buttText.ButtonText.text = "CREATE a FOLDER"; DO NOT CHANGE
    btn6.buttText.ButtonText.text = 'DELETE FILE'; DO NOT CHANGE
    btn7.buttText.ButtonText.text = "CDROM OPEN"; DO NOT CHANGE
    btn8.buttText.ButtonText.text = 'OPEN DVD'; DO NOT CHANGE
    btn9.buttText.ButtonText.text = "FTP CLIENT"; DO NOT CHANGE
    btn14.buttText.ButtonText.text = "VIEW PLAYLIST"; DO NOT CHANGE
    btn23.buttText.ButtonText.text = "INFO"; DO NOT CHANGE
    btn25.buttText.ButtonText.text = 'HELP '; DO NOT EDIT
    btn26.buttText.ButtonText.text = 'HELP MDM'; DO NOT CHANGE
    LOW BTNS
    btn19.buttText.ButtonText.text = "OPEN TRAY"; DO NOT CHANGE
    btn20.buttText.ButtonText.text = 'CLOSE CD TRAY'; DO NOT CHANGE
    btn21.buttText.ButtonText.text = "OPEN DVD TRAY"; DO NOT CHANGE
    btn22.buttText.ButtonText.text = "CLOSE DVD TRAY"; DO NOT CHANGE

    Here ARE the FUNCTIONS THAT CAN BE CHANGED, BUT THAT THOSE BRAND 'YOU CAN CHANGE this PATH' are sure to change
    MY DOWNLOAD FILES
    Btn1.onRelease = function() {}
    MDM. Dialogs.BrowseFile.filterList = "MP3 files | * .mp3 ';
    MDM System.exec ("E:\\My Music\\").    Path to the download of the file //YOU CAN CHANGE THIS path
    }
    SYSTEM VOLUME / / / DO NOT CHANGE
    btn2.onRelease = function() {}
    MDM. System.exec("sndvol32.exe");    System volume .exe
    }
    EDITING XML PLAYLIST / / / DO NOT CHANGE
    btn3.onRelease = function() {}
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\audiolist2.xml");    XML list
    }
    BURN CD / / YOU CAN CHANGE THIS PATH
    btn4.onRelease = function() {add your way here to your burning nero for example software
    MDM. System.exec (MDM. System.Paths.programFiles+"Nero\\nero.exe");
    }
    CREATE FOLDER / / / DO NOT CHANGE
    btn5.onRelease = function() {}
    MDM FileSystem.makeFolderUnicode ("C:\\Program Files\\Mgamerz\\Burn").    Creates a working folder for burning mp3s
    }
    DELETE FOLDER / / / DO NOT CHANGE
    btn6.onRelease = function() {///Deletes working folder if you want to remove it
    MDM. FileSystem.deleteFolder ("C:\\Program Files\\Mgamerz\\Burn", "ask", "Are you sure");
    }
    OPEN CDROM / / YOU CAN CHANGE THIS PATH
    btn7.onRelease = function() {///Opens change of cdrom drive letter to match your pc
    MDM System.exec("I:\\."); "
    }
    OPEN DVDROM / / YOU CAN CHANGE THIS PATH
    btn8.onRelease = function() {///Opens changing the letter to match your pc dvdrom drives
    MDM System.exec("I:\\."); "
    }
    FTP CLIENT / / YOU CAN CHANGE THIS PATH
    btn9.onRelease = function() {///File path to your ftp software (I use here the cover page)}


    MDM. System.exec (MDM. System.Paths.programFiles + "Microsoft FrontPage Bar\\Office\\Microsoft Office\\Office10\\Shortcut"); "
    }
    Buttons in the header at the top

    DRIVE C: / / / DO NOT EDIT
    btn10.onRelease = function() {///Opens to the top of drive c: for navigation
    MDM. System.exec (MDM. System.Paths.programFiles+"\\");
    }
    * btn11.onRelease = function() {///Opens to the top of the unit for navigation
    MDM System.exec("D:\\."); "    YOU CAN CHANGE THIS PATH
    }*/
    MY DOCUMENTS / / / NOT EDIT
    btn12.onRelease = function() {///Opens my documents for navigation}
    MDM. Dialogs.BrowseFile.filterList = "MP3 files | * .mp3 ';
    MDM. Dialogs.BrowseFile.show ("my Documents\\");
    }
    MP3 FILE / / / DO NOT CHANGE THE
    btn13.onRelease = function() {//main directory for mp3 files
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\my_mp3s\\");
    }
    VIEW PLAYLIST / / / DO NOT CHANGE
    btn14.onRelease = function() {///View playlist as a text file
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\my_mp3s\\mp3.t xt");
    }
    UPDATE XML FILE / / / DO NOT CHANGE
    btn15.onRelease = function() {///Creates xml playlist once new mp3s have been added
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\audiolist2.xml");
    }
    MINIMIZE BUTTON
    * btn16.onRelease = function() {//Minimizes application
    MDM. Application.Minimize (///DO) NOT EDIT
    }*/
    CLOSE BUTTON
    * btn17.onRelease = function() {///Closes application
    MDM. Application.Exit ('ask', ' are you sure you want to go out to? ") DO NOT EDIT
    }*/
    SCREEN CAPTURE DEVICE / / / DO NOT CHANGE
    btn18.onRelease = function() {///Screen capture sofdtware
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\apps\\Capture screen Studio\\css.exe");
    }
    OPEN CDROM TRAY / / YOU CAN CHANGE THIS PATH
    btn19.onRelease = function() {}
    MDM System.openCDTray ("I").
    }
    CDROM TRAY CLOSE / / YOU CAN CHANGE THIS PATH
    btn20.onRelease = function() {//Closes cdrom tray
    MDM System.closeCDTray ("I").
    }
    OPEN DVDROM PLATEAU / / YOU CAN CHANGE THIS PATH
    btn21.onRelease = function() {//Opens dvdrom
    MDM System.openCDTray ("H").
    }
    CLOSE TRAY DVDROM / / YOU CAN CHANGE THIS PATH
    btn22.onRelease = function() {//Closes dvdrom plateau
    MDM System.closeCDTray ("H").
    }

    * btn23.onRelease = function() {//DO NOT EDIT
    nextFrame();
    }*/
    HELP / / DO NOT EDIT
    btn25.onRelease = function() {//Closes dvdrom plateau
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\help.exe");
    }
    HELP OF MDM / / DO NOT EDIT
    btn26.onRelease = function() {//Closes dvdrom plateau
    MDM. System.exec (MDM. System.Paths.programFiles + "MDM helps 2.5 file\\MDM 2.5 UserManual.chm"); "
    }

    use:

    / * ALL BUTTONS BELOW ARE MARKED FOR EDITABLE AND DON'T CHANGE, BUT IF YOU KNOW WHAT YOU ARE DOING
    THEN YOU CAN ACTUALLY CHANGE WHAT YOU WANT BUT FOR THIS APP WORKS CORRECTLY ONLY CHANGE IF NECESSARY
    ENTRIES... ONCE YOU HAVE MADE YOUR CHANGES, COPY AND PASTE THIS ENTIRE SCRIPT PAGE IN
    THE FIRST IMAGE OF THE SCENARIO THAT HE RIGHT THE SCRIPT THATS ALREADY THERE.
    The button labels for the XML READER text * /.
    SIDE MENU BUTTONS\\\
    Btn1.buttText.ButtonText.text = "DOWNLOAD FILES"; DO NOT CHANGE
    btn2.buttText.ButtonText.text = "SYSTEM VOLUME"; DO NOT CHANGE
    btn3.buttText.ButtonText.text = 'EDIT PLAYLIST XML'; DO NOT CHANGE
    btn4.buttText.ButtonText.text = "BURN CD"; DO NOT CHANGE
    btn5.buttText.ButtonText.text = "CREATE a FOLDER"; DO NOT CHANGE
    btn6.buttText.ButtonText.text = 'DELETE FILE'; DO NOT CHANGE
    btn7.buttText.ButtonText.text = "CDROM OPEN"; DO NOT CHANGE
    btn8.buttText.ButtonText.text = 'OPEN DVD'; DO NOT CHANGE
    btn9.buttText.ButtonText.text = "FTP CLIENT"; DO NOT CHANGE
    btn14.buttText.ButtonText.text = "VIEW PLAYLIST"; DO NOT CHANGE
    btn23.buttText.ButtonText.text = "INFO"; DO NOT CHANGE


    btn25.buttText.ButtonText.text = 'HELP '; DO NOT EDIT
    btn26.buttText.ButtonText.text = 'HELP MDM'; DO NOT CHANGE
    LOW BTNS
    btn19.buttText.ButtonText.text = "OPEN TRAY"; DO NOT CHANGE
    btn20.buttText.ButtonText.text = 'CLOSE CD TRAY'; DO NOT CHANGE
    btn21.buttText.ButtonText.text = "OPEN DVD TRAY"; DO NOT CHANGE
    btn22.buttText.ButtonText.text = "CLOSE DVD TRAY"; DO NOT CHANGE

    Here ARE the FUNCTIONS THAT CAN BE CHANGED, BUT THAT THOSE BRAND 'YOU CAN CHANGE this PATH' are sure to change
    MY DOWNLOAD FILES
    Btn1.onRelease = function() {}
    MDM. Dialogs.BrowseFile.filterList = "MP3 files | * .mp3 ';
    MDM System.exec ("E:\\My Music\\").    Path to the download of the file //YOU CAN CHANGE THIS path
    }
    SYSTEM VOLUME / / / DO NOT CHANGE
    btn2.onRelease = function() {}
    MDM. System.exec("sndvol32.exe");    System volume .exe
    }
    EDITING XML PLAYLIST / / / DO NOT CHANGE
    btn3.onRelease = function() {}
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\audiolist2.xml");    XML list
    }
    BURN CD / / YOU CAN CHANGE THIS PATH
    btn4.onRelease = function() {add your way here to your burning nero for example software
    MDM. System.exec (MDM. System.Paths.programFiles+"Nero\\nero.exe");
    }
    CREATE FOLDER / / / DO NOT CHANGE
    btn5.onRelease = function() {}
    MDM FileSystem.makeFolderUnicode ("C:\\Program Files\\Mgamerz\\Burn").    Creates a working folder for burning mp3s
    }
    DELETE FOLDER / / / DO NOT CHANGE
    btn6.onRelease = function() {///Deletes working folder if you want to remove it
    MDM. FileSystem.deleteFolder ("C:\\Program Files\\Mgamerz\\Burn", "ask", "Are you sure");
    }
    OPEN CDROM / / YOU CAN CHANGE THIS PATH
    btn7.onRelease = function() {///Opens change of cdrom drive letter to match your pc
    MDM System.exec("I:\\."); "
    }
    OPEN DVDROM / / YOU CAN CHANGE THIS PATH
    btn8.onRelease = function() {///Opens changing the letter to match your pc dvdrom drives
    MDM System.exec("I:\\."); "
    }
    FTP CLIENT / / YOU CAN CHANGE THIS PATH
    btn9.onRelease = function() {///File path to your ftp software (I use here the cover page)}
    MDM. System.exec (MDM. System.Paths.programFiles + "Microsoft FrontPage Bar\\Office\\Microsoft Office\\Office10\\Shortcut"); "
    }
    Buttons in the header at the top

    DRIVE C: / / / DO NOT EDIT
    btn10.onRelease = function() {///Opens to the top of drive c: for navigation
    MDM. System.exec (MDM. System.Paths.programFiles+"\\");
    }
    * btn11.onRelease = function() {///Opens to the top of the unit for navigation
    MDM System.exec("D:\\."); "    YOU CAN CHANGE THIS PATH
    }*/
    MY DOCUMENTS / / / NOT EDIT
    btn12.onRelease = function() {///Opens my documents for navigation}
    MDM. Dialogs.BrowseFile.filterList = "MP3 files | * .mp3 ';
    MDM. Dialogs.BrowseFile.show ("my Documents\\");
    }
    MP3 FILE / / / DO NOT CHANGE THE
    btn13.onRelease = function() {//main directory for mp3 files
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\my_mp3s\\");
    }
    VIEW PLAYLIST / / / DO NOT CHANGE
    btn14.onRelease = function() {///View playlist as a text file
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\my_mp3s\\mp3.t xt");
    }
    UPDATE XML FILE / / / DO NOT CHANGE
    btn15.onRelease = function() {///Creates xml playlist once new mp3s have been added
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\mymusic.xml");
    }
    MINIMIZE BUTTON
    * btn16.onRelease = function() {//Minimizes application
    MDM. Application.Minimize (///DO) NOT EDIT
    }*/
    CLOSE BUTTON
    * btn17.onRelease = function() {///Closes application
    MDM. Application.Exit ('ask', ' are you sure you want to go out to? ") DO NOT EDIT
    }*/
    SCREEN CAPTURE DEVICE / / / DO NOT CHANGE
    btn18.onRelease = function() {///Screen capture sofdtware
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\apps\\Capture screen Studio\\css.exe");
    }
    OPEN CDROM TRAY / / YOU CAN CHANGE THIS PATH
    btn19.onRelease = function() {}
    MDM System.openCDTray ("I").
    }
    CDROM TRAY CLOSE / / YOU CAN CHANGE THIS PATH
    btn20.onRelease = function() {//Closes cdrom tray
    MDM System.closeCDTray ("I").
    }
    OPEN DVDROM PLATEAU / / YOU CAN CHANGE THIS PATH
    btn21.onRelease = function() {//Opens dvdrom
    MDM System.openCDTray ("H").
    }
    CLOSE TRAY DVDROM / / YOU CAN CHANGE THIS PATH
    btn22.onRelease = function() {//Closes dvdrom plateau
    MDM System.closeCDTray ("H").
    }

    * btn23.onRelease = function() {//DO NOT EDIT
    nextFrame();
    }*/
    HELP / / DO NOT EDIT
    btn25.onRelease = function() {//Closes dvdrom plateau
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\help.exe");
    }
    HELP OF MDM / / DO NOT EDIT
    btn26.onRelease = function() {//Closes dvdrom plateau
    MDM. System.exec (MDM. System.Paths.programFiles + "MDM helps 2.5 file\\MDM 2.5 UserManual.chm"); "
    }

  • PLEASE HELP ME! COLUMNS SPLIT IN ORACLE DISCOVERER

    I have a certain column of discoverer I need to separate:

    Column a:

    ID

    KING * 231333

    HAJAR * 29283893

    MDDDEDD * 21893838

    What I need to do is separated by the * do anything:

    Should look like this, at the end:

    NEW COLUMN ID

    KING * 231333 231333

    HAJAR * 29283893 29283893

    MDDDEDD * 21893838 21893838

    I don't know how to do this calculation, can someone please help me?

    Thank you in advance for your help!

    The question is simple:

    I'm trying to do is bring anything after the * in the column Id, no matter how long the name before the * but my calculation is far from the:

    Here is an example of what might look like my data, but what I need to do:

    Id                                                        NEW COLUMN

    TNET * 231333 231333

    AMER * 29283893.2 29283893.2

    VILLAGES * 21893838 21893838

    Do you know how to make this calculation?

    Answer: SUBSTR (id, INSTR(id,'*',1) + 1, 999)

    This was sent to me from someone on here saying "try to see if that helps" and he did, which is why I said thank you.

  • Please help - value of the long column of SQL report required in a separate cell

    Hello.

    I need to create a SQL report with the structure as below:

    Country city vertical Business details for the State (detail desc)
    MY Quincy Healthcare US
    It is a detailed desc value that is displayed in a different cell.
    It is a detailed desc value that is displayed in a different cell.
    It is a detailed desc value that is displayed in a different cell.
    It is a detailed desc value that is displayed in a different cell.
    US MY Braintree, HE
    It is a detailed desc value that is displayed in a different cell.
    It is a detailed desc value that is displayed in a different cell.
    It is a detailed desc value that is displayed in a different cell.

    I came across a solution where you can hide/show the column value in another cell. But my requirement is that it should be displayed when the page opens, and the user will not have to click a button to see the value. This is mainly for their presentations, and printing. so its very annoying for them to click on the buttons so much to see the value of desc of detail for each record. I'm new to Java script, please help

    I'm not sure to understand your needs - you are showing us 2 data lines, lines 7 or 9? You want the long description of detail on the same line, or below?

    I'll go on the assumption that you are showing us two rows, and long descriptions in this example are found along 3 to 4 lines, and you want long descriptions under the details. In this case, I suggest using "column name" models They are much easier to use as they appear when you look at everything first, so bear with me.

    Under 'shared components', select 'Models' and click then on create yellow > button. You create a report model, from scratch. On the last page of the wizard, select "Named column (model line)" for the type of model. This will create a model rather generic (and useless), which you'll have to edit; I don't know why they chose to not send you directly in the editor. When you change it, you will see that the single field whose value is 'Model line 1', and it is set to:

    #1##2##3##4##5#
    

    To meet your needs with basic features, change it to something in the sense of:

    #COUNTRY##STATE##CITY##VERT#
    #DETAILS#
    

    Then, you probably want to put something in the position of the column model, such as:

    CountryStateCityVertical Business
    Details
    

    Applies to whatever you want, of course the CSS styles.

    Using the model is simple: If your report, select the model and make sure that your SQL returns values using the column names specified in your model. Otherwise, you will see "#COUNTRY #" literal text in your report.

    You can get fancy with these, of course, as the application of different styles for alternating rows, but I'll leave that as pretty good to help you get started (I hope).

    -David

  • I'm trying to restore my bookmarks from a json file, but I get "WARNING: script is not responding - Script: chrome://browser/content/browser.js:3580 ' message - please help

    I have no idea why will not restore my favorites. I am convinced that I even tried to reconstitute their at the time of the creation of the JSON to make sure they worked, and after that I was confident I left for a month or two then tried to recover, but it does not at all. I get the Script: chrome://browser/content/browser.js:3580 (script error unresponsive GSM) and if I click on continue or stop the bookmarks do not change their script. Please help - there are many favorites it I was counting on.

    I tried all the suggestions several times and nothing worked. I don't know if it's me or FF.
    Since none of the new backups worked, I went to my computer corrupted and copied the backup file of bookmark on a USB key. Then I stuck on my desktop. Went to 'restore backups', then to choose the file, then on the desktop. Fact. All bookmarks are copied in half a second.
    Problem solved, and I know what to do if it happens again. Trick is to remember.

    Lynn

  • Please help improve the JavaScript script

    Please help improve the JavaScript scriptA.JPG

    Hello

    to increase or decrease the height of a subform, you use the following syntax in the click of + and - button

    cmdAdd::JavaScript

    _Row1.addInstance (1);

    var b is parseFloat (Subform3.h) - 6.5;.

    If (b<>

    b = 0;

    }

    Subform3.h = b + "mm";

    cmdRemove::JavaScript

    If (_Row1.count > 1) {}

    var b is parseFloat (Subform3.h) + 6.5.;

    Subform3.h = b + "mm";

    _Row1.removeInstance (this.parent.index);

    }

    This should do the trick, I hope this will help you

  • Please help me fix the script

    I try to write a script by my slef but not work

    app.findGrepPreferencest = firstLineIndent:8, leftIndent:8;

    app.changeGrepPreferences = firstLineIndent:8, leftIndent:16;

    app.changeGrep ();

    app.findGrepPreferences = app.changeGrepPreferences = null;

    Can someone please help me fix the script, please.

    Hello

    Try this.

    app.findGrepPreferences = app.changeGrepPreferences = null;

    app.findGrepPreferences.firstLineIndent = '8 ';

    app.findGrepPreferences.leftIndent = '8 ';

    app.changeGrepPreferences.firstLineIndent = '8 ';

    app.changeGrepPreferences.leftIndent = "16pt;

    app.changeGrep ();

    app.findGrepPreferences = app.changeGrepPreferences = null;

    Kind regards

    Cognet

  • Please help me fix my script!

    Please help me fix my script

    I use this script that copy from the adobe forum:

    app.findGrepPreferences.findWhat = "\\r";

    app.changeGrepPreferences.changeTo = "\\r\\r";

    app.changeGrep ();

    app.findGrepPreferences = app.changeGrepPreferences = null;

    to change my back one or two, but it will always change all my documents.

    How can I tell the script that I only want to change the selection?

    Hello

    Note the syntax ==> target changeGrep()

    If the target is app ==> it runs through the entire application of the ways each open document

    If the target is doc ==> it runs through all doc

    It can be called for textFrame, story, paragraph..., any text object.

    In your use case

    App.Selection [0] .changeGrep ();

    or browse the selection and appeal

    App.Selection [i] .changeGrep ();

    Jarek

  • Please help understand a fundamental notion of script

    Hi, I'm reading the book of learning ActionScript 3.0 and have difficulties to understand some basics of programming due to my total lack of knowledge of prior programming.

    For example now I am interested in this script of the book that traces a list of all the objects to display on the stage and their children:

    function showChildren(dispObj:DisplayObject):void {
         for (var i:int = 0; i< dispObj.numChildren; i++) {
              var obj:DisplayObject = dispObj.getChildAt(i);
              if (obj is DisplayObjectContainer) {
                   trace(obj.name, obj);
                   showChildren(obj);
              } else {
                   trace(obj);
              }
         }
    }
    showChildren(stage);
    

    I understand everything except one thing. When there is an object with children (DisplayObjectContainer), the function redraws the object but is not moving forward and calls itself to go anywhere this time analyze the first child of the object. And if the child also having children himself list will branch out until there is an object without children.

    What I don't understand is how the function knows at this point how to return to the last object parent and continue to analyze her other children, if any.

    For example when the function analysis the scene of a scene with the following content how function knows to continue the child0 analysis. For me, looking at the code, I would expect the service leave after listing [StaticText object]. I have hard time to understand what makes the function return to largeContainer and continues with its child0 and so on.

    ROOT1 [object MainTimeline]
    largeContainer [object largeContainer_1]
    [object, form]
    smallContainer [object smallContainer_2]
    [object, form]
    Child2 [object MovieClip]
    [object, form]
    [StaticText object]
    child0 [object MovieClip]
    [Shape object

    Child1 [object MovieClip]
    [object, form]

    Having said all that the book about which isn't enough for me to understand this process:

    ... the function calls itself again. by passing the object currently
    to inspect. This concept is called recursion. A function that calls itself can
    seem redundant, but it can be very useful. In this case, each time that the function
    is called, it receives a new display object to analyze, so the reports function
    the content of this specific display object. The result is a complete walkthrough
    to view all objects, regardless of the number of children each can have.

    If you feel that you can explain this, please help. I'd greatly appreciate it.

    It can be a little difficult to explain (I would not this place in the base category), but it helps to realize the programs have a good memory.  Each call to the function showChildren has a list of things to go through and will go through the list from beginning to end.  Is ago temporarily recursive calls to him, recursive calls are essentially the instances of this function and they have their own lists, and it can go further inland as required.  If you want to consider that each list knows where it is and where to pick them up when he returned to... and the list hierarchy is not forgotten. While each subroster is complete, the proposed happening to his agenda.

  • Java Script Drop Down menu does not work someone please help!

    Will be good, I got a domain hostlyon.com which was changed to hostlion.net. In any case when I re uploaded all the files to my new domain that my drop down javascript menu was not working properly... the menu is a not slide.

    When you go to hostlyon.com it works... but it does not work on my new domain. This could be the cause of the problem... someone please help!

    Never mind... I found the situation for guys sorry problem

  • Sort data please help

    That's what I'm trying to do. I have a file periodic_chan3.bin which is sampled values of three channels of periodic signals in interlaced format. The data is stored in binary format (long of floating point of the double procession) DBL and big-endian representation. I am reading the file and draw all the three waveforms on the graph of a waveform. The data has been saved from time zero, with a sampling frequency of 100 samples per second. Then I scale the x-axis of your waveform graph so it displays the time in seconds.

    So I try, on the wave of the chart to create three sets of cursors and cursors to display the average value of each of the three waveforms. The color of the cursor Y for a given signal average must match the color of the display of the waveform on the chart. For example if the graph of the signal is displayed in red the cursor there shows the average of this signal must be red.

    What happens when I do not open the file I see a white contour mesh a sine graph, a graphical square and sawtooth chart. I can't seem to trace the three waveforms seen clearly with the three above-mentioned distinct colors. I can't seem to sort correctly and represented as mentioned above.

    I would also help with the calculation of the average or expected from each of the three periodic waveforms.

    Attached are the files please help. Pgm4 is the VI, and periodic_chan3 contains the data that needs to be sorted.  I'd be very happy if somene were able to fix the and submit the changes so I can see how it works. Thank you.

    Edit: I get an error that says periodic_chan4.bin "is not a valid extension of an attachment" so I'm not able to uplad it. Is there a way to othe I could download it?

    Xtasy26,

    In your post you mention that you try to view 3 averages of waveform, however your code is showing that you are broadcast 4 values. This might be the reason why your getting the different forms of data. Instead of an array of all the waveforms 1, then a table of all 2 waveforms and a waveform table 3, you get a mix of all three in each of your waveforms.

    To calculate a moving average or mean that it is actually an integrated in the example in BT sound finder called "running Avereage.vi calculation"

    You can also view the attachment to see Multiple waveforms channel displayed on a single chart.

  • Please help me. My task manager disappeared, also run the command

    I have automatic updated my computer this morning. After the update, I had to reboot my computer. After the reboot, my task manager disappeared, I received a message that it is disabled by the administrator. The thing is, I am the administrator. I tried to bring it using command run, but he went too. I tried the command run in the properties of the start menu, impossible to find. How can I bring back?

    Another thing, all my word files are now listed as files Visual Basic EDITOR. I guess it's because of virus. I turned off to avoid any automated scripts from script virus running, but then I can't open any word file, so I still allowed him. I can open word file after that, but they are still reported VBEfile. What is VBEfile anyway?

    Another problem, the automated system recovery tab is also missing from my computer properties after the update.

    Please help me, I'm desperate here.

    If you see things like this:

    You do not have sufficient security privileges to restore your system.
    The System Restore tab is missing from the my computer properties.
    System Restore has been disabled by group policy.  To turn on system restore, contact your domain administrator.
    The System Restore tab is available, but the turn off System Restore (disabled by Group Policy) box is grayed out.
    The task manager has been disabled by your system administrator.
    The registry editor has been disabled by your system administrator.
    The task manager has been disabled by group policy.
    The registry editor has been disabled by group policy.
    The command prompt has been disabled by your administrator.  Press a key to continue...
    The operation has been cancelled due to restrictions in effect on this computer.  Please contact your system administrator.
    The "Run" option is missing from the start menu.
    The option "Log off."... ' is missing from the Start Menu.

    The usual advice are something in the sense of "something has been disabled in the group policy...". ", and it is probably true that something has been disabled, but you know what something is and what it takes to do about it.

    If you are using XP Home Edition, you will get away with advice to use the Group Policy Editor, because there is no Group Policy Editor in XP Home and that really doesn't tell you where to look in group policy, even if you run the Group Policy Editor.

    You need a complete solution that works for all versions of XP and requires no hunting around in the Group Policy Editor or registry to find where things are that have been disabled.

    Unless you have disabled these things on purpose, chances are good that your system has a malware infection.  The malware knows what tools you use to try to find and remove, for the malware disables the things you are more likely to consume and prevents them from running if you can't find the malware and remove it.

    If your system has this kind of affliction, all malicious software tools you currently use or have used failed to protect your system so that you can expand your horizons malware detection and prevention to prevent these kinds of afflictions in the first place.

    The malware will be happy you trick into thinking that you need to so something drastic to fix your system - as a facility repair, system restore point or a total reinstallation of XP.  This is what it would be like you, but these measures are not necessary.

    You must solve the immediate problem of the tools does not, then scan your system for malware when you are finished.

    No matter what kind of malware you've used analytical tools, they are unlikely to solve this problem, because they cannot tell if the changes made to your system have been on purpose (you or an administrator who makes them) or some malware changed them, so the analysis tools will let these things alone (it's usually a good thing).

    If your system is afflicted in this way, there are probably other things that also do not work - like the registry editor, System Restore and the command prompt, so fix them all at once even if you have not discovered they are broken again.

    These commands from registry removes the registry entries that are stop opening programs.  Although the registry entries do not exist, these commands are safe to run and will work for all versions of XP.

    Before making any changes to your registry, back up the registry with this free and popular tool:

    http://www.SnapFiles.com/get/ERUNT.html

    Open Notepad to create a new text file:

    Click Start, run and enter in the box:

    notebook

    Click OK to open a new Notepad file.

    Copy and paste the following lines in bold text in the new Notepad file.

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
    "DisableTaskMgr" = -.
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
    "DisableRegistryTools" = -.
    [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System]
    "DisableCMD" = -.
    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem\\\]
    "DisableTaskMgr" = -.
    [HKEY_USERS\.default\Software\Microsoft\Windows\CurrentVersion\Policies\System]
    "DisableTaskMgr" = -.
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
    "DisableCAD" = DWORD: 00000000
    [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\SystemRestore]
    "DisableConfig" = -.
    [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\SystemRestore]
    "DisableSR" = -.
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoRun" = -.
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoRun" = -.
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoClose" = -.
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoClose" = -.
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoSetTaskbar" = -.

    Save the new text file with extension .reg on your desktop or somewhere you can remember with a name you can remember, something like:

    enableit.reg

    After you save the file, close Notepad.

    Locate the file enableit.reg on your desktop and double-click it.

    Alternatively, you can right-click on the enableit.reg file, choose open with... and select the registry editor.

    Answer in the affirmative to the question... Are you sure you want to add the information in the registry?

    You should then see a message that information has been registered in the register.

    Reboot your system and test.

    You can delete the enableit.reg file when you are finished.

    If the registry editor has also been disabled, we first fix (not a problem).

    Because now you have or have had a malware infection, I would follow with this:

    Download, install, update and do a full scan with these free malware detection programs:
    Malwarebytes (MMFA): http://malwarebytes.org/
    SUPERAntiSpyware: (SAS): http://www.superantispyware.com/
    They can be uninstalled later if you wish.
  • Please help get this error: "the Server execution failed code 0.

    Original title: Server error

    I get an error msg 0 code Server execution failed. I also had this on the msg http:/od.yieldmanager.com/imp 2 = OxO & Y = 1941234 & _salt + 2602137321 & B = 10 & r = 1. Can someone tell me what this means and how to fix it. He added that Internet Explorer error is an error occurred in the script on this page.

    I also something called BrowseIt running I can't close the application. then I get an another msg zaberg.exe and one another ntdrive.exe. Cansomeone please help me with this. I am unabel get to any internet firefox GGP.
    Thank you
    Debi

    Ask the help of the web page for your first question.

    For the second, you are infected/infested and need to clean up.  What AntiVirus you are using has not been able or has not updated or you had an interruption in service.

    Search for malware:

    Download, install, execute, update and perform analyses complete system with the two following applications:

    Remove anything they find.  Reboot when necessary.  (You can uninstall one or both when finished.)

    Search online with eSet Online Scanner.

    The less you have to run all the time, most things you want to run will perform:

    Use Autoruns to understand this all starts when your computer's / when you log in.  Look for whatever it is you do not know using Google (or ask here.)  You can hopefully figure out if there are things from when your computer does (or connect) you don't not need and then configure them (through their own built-in mechanisms is the preferred method) so they do not - start using your resources without reason.

    You can download and use Process Explorer to see exactly what is taking your time processor/CPU and memory.  This can help you to identify applications that you might want to consider alternatives for and get rid of all together.

  • I, stupid, changed the program by default to a BAT file to the cmd prompt, well, now I can't run the batch files now, please help!

    I, stupid, changed the program by default to a BAT file to the cmd prompt, well, now I can't run the batch files now, please help!

    Hi William,.

    Welcome to the Microsoft community.

    Batch file is a type of script file, a text file, containing a series of commands to be executed by the command prompt. When you run a batch file, it opens the command prompt to run the scripts.

    It would be great if you can answer the following questions:

    1. what happens when you try to run a batch file?

    2 are. what batch file you referring?

    3. the problem occurs for a particular batch file?

    First of all, I suggest you to check the commands written in a batch file. To do the same thing, just right-click on the batch file, and then click change. It will open Notepad with the list of orders scripted for this particular batch file.

    If you have additional questions on the computer, please ask your question about Windows and we will be happy to help you.

  • Another case of "you are not running genuine windows" on preinstalled HP laptop - please help

    MGADIAG output: Please help - tear off the remaining hair.  Do not want to reset to the factory as there are a lot of things here now.

    Diagnostic report (1.9.0027.0):
    -----------------------------------------
    Validation of Windows data-->
    Validation code: 0x8004FE22
    Validation caching Code online: n/a, hr = 0xc004f012
    Windows product key: *-* - 788W3 - H689G-6P6GT
    The Windows Product Key hash: yr8OHoeXhbT4dc6MxGYjdAStSPY =
    Windows product ID: 00371-OEM-8992671-00008
    Windows product ID type: 2
    Windows license Type: OEM SLP
    The Windows OS version: 6.1.7601.2.00010100.1.0.048
    ID: {3BD02B4D-F048-4D3D-BB10-ECF25C405DCD} (1)
    Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/a, hr = 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Product name: Windows 7 Professional
    Architecture: 0 x 00000009
    Build lab: 7601.win7sp1_gdr.130318 - 1533
    TTS error:
    Validation of diagnosis:
    Resolution state: n/a
    Given Vista WgaER-->
    ThreatID (s): n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002
    Windows XP Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    File: No.
    Version: N/a, hr = 0 x 80070002
    WgaTray.exe signed by: n/a, hr = 0 x 80070002
    WgaLogon.dll signed by: n/a, hr = 0 x 80070002
    OGA Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002
    OGAExec.exe signed by: n/a, hr = 0 x 80070002
    OGAAddin.dll signed by: n/a, hr = 0 x 80070002
    OGA data-->
    Office status: 109 n/a
    OGA Version: N/a, 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3
    Data browser-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default browser: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
    Download signed ActiveX controls: fast
    Download unsigned ActiveX controls: disabled
    Run ActiveX controls and plug-ins: allowed
    Initialize and script ActiveX controls not marked as safe: disabled
    Allow the Internet Explorer Webbrowser control scripts: disabled
    Active scripting: allowed
    Recognized ActiveX controls safe for scripting: allowed
    Analysis of file data-->
    [File mismatch: C:\windows\system32\en-US\sppuinotify.dll.mui[Hr = 0 x 80092003]
    Other data-->
    Office details: {3BD02B4D-F048-4D3D-BB10-ECF25C405DCD}1.9.0027.06.1.7601.2.00010100.1.0.048x 64*-*-*-*-6P6GT2S-1-5-21-3694171884-2415530375-3274329710Hewlett-PackardHP ProBook s 4540Hewlett-Packard68IRR worm 00371-OEM-8992671-00008
    . F.0120120419000000.000000 + 000F0073A07018400FE0c 090409AUS Eastern Standard Time(GMT+10:00)03HPQOEMSLIC-MPC109  
    Content Spsys.log: 0 x 80070002
    License data-->
    The software licensing service version: 6.1.7601.17514
    Name: Windows 7 Professional edition
    Description: operating system Windows - Windows (r) 7, channel OEM_SLP
    Activation ID: 50e329f7-a5fa-46b2-85fd-f224e5da7764
    ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
    Extended PID: 00371-00178-926-700008-02-3081-7601.0000-3352012
    Installation ID: 022076447202033002373893326466167513839586045240370656
    Processor certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
    The machine certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
    Use license URL: http://go.microsoft.com/fwlink/?LinkID=88341
    Product key certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
    Partial product key: 6P6GT
    License status: licensed
    Remaining Windows rearm count: 1
    Trust time: 05/02/2013-14:06:40
    Windows Activation Technologies-->
    HrOffline: 0x8004FE22
    HrOnline: n/a
    Beyond: 0 x 0000000000000400
    Event timestamp: 5:2:2013 14:03
    ActiveX: Registered, Version: 7.1.7600.16395
    The admin service: recorded, Version: 7.1.7600.16395
    Output beyond bitmask:
    Altered the file: %systemroot%\system32\sppuinotify.dll|sppuinotify.dll.mui
    --> HWID data
    Current Hash HWID: LgAAAAEAAQABAAEAAAABAAAAAwABAAEAln0Ar7CNooG2QT6CnJY + hf4M9kGWYw is
    Activation 1.0 data OEM-->
    N/A
    Activation 2.0 data OEM-->
    BIOS valid for OA 2.0: Yes
    Windows marker version: 0 x 20001
    OEMID and OEMTableID consistent: Yes
    BIOS information:
    ACPI Table name OEMID value OEMTableID value
    APIC HPQOEM 17F6
    FACP HPQOEM 17F6
    HPET HPQOEM 17F6
    MCFG HPQOEM 17F6
    ASF! HPQOEM 17F6
    SSDT HPQOEM SataAhci
    SSDT HPQOEM SataAhci
    SLIC SLIC-MPC HPQOEM
    MSDM HPQOEM SLIC-MPC
    ADELINE HPQOEM 17F6
    SSDT HPQOEM SataAhci
    SSDT HPQOEM SataAhci
    FPDT INTEL IVB - CPT

    You will get NOT anywhere with activation until the Tamper file is processed!

    Run a full scan of CHKDSK and SFC...

    Click Start > all programs > Accessories

    Right-click on the entry of the command line

    Select run as administrator and accept the UAC - elevated command prompt window prompt should appear.

    At the command prompt, type

    CHKDSK C: /R

    and press the Enter key.

    We'll tell you that the disc is locked,

    and the CHKDSK will run the next time he started - press Y, press ENTER, and then restart.

    The CHKDSK command will take a few hours depending on the size of the disk, so be patient!

    Once executed, the command CHKDSK Windows should start normally (possibly after a second auto).

    Then, run the SFC.

    SFC - SFC System - Instructions

    Click Start > all programs > Accessories

    Right-click on the entry of the command line

    Select run as administrator and accept the UAC - elevated command prompt window prompt should appear.

    At the command prompt, type

    SFC/SCANNOW

    and press the Enter key

    Wait for that analysis at the end - make a note of any error messages - and then restart.

    Copy the created CBS.log (C:\Windows\Logs\CBS\CBS.log) file on your desktop (you can not manipulate directly) can compress the copy and transfer it to your Public SkyDrive folder (http://skydrive.live.com ) and post a link to it so that I can take a look.

    Post a new MGADiag report with details of any error messages encountered.

Maybe you are looking for

  • GarageBand iPad Mini

    They gave me an iPad Mini, who was installed by the previous owner of GarageBand on it.  I wanted to update the app, but it would update only under the original owner login, and I do not have this password.  So I deleted the application again, but no

  • Satellite A100 Vista brightness will not work after driver update

    Hey,. I can't adjust my brightness. I ' t worked fine till updated my video driver.I downloaded the driver from NVIDIA.com. The 7000 series. I have a 7600 graphics card.Is that I have try to change the brightness using Flash cards blocked the entire

  • Delete multiple text Messages?

    Search here and elsewhere but do not find an answer to my question. On previous Motorola phones, I could delete multiple text messages in just long-pressing the specific text message in a thread... then tapping each additional I wanted to delete... a

  • Synchronize music on a portable device.

    When I sync my music library with a mobile device, it keeps the album order of the music, even when I mix the playlist. Is it possible to do so that I can have a mix of music, instead of a series of albums?

  • Bad display-how can I reduce the size of the web page to fit my acer notebook the screen is big

    My Acer Aspire used to automatically adjust the web page to fit my smaller screen, but it seems to have stopped working and I can't find how to fix the problem. [Moved from comments]