MC funtion inside MC

I want to be able to use a function on one of the images
inside my scrolling window. Such as loading a MC or changing the
alpha, or anything really. I can't seem to get anything to work. I
created a masked MC that houses the contents of the scrolling
window. Inside the contents there are mulitple images. There is a
scrolling button you would pull to slide the contents behind the
mask.
example
to swf
I can gladly send a fla. to any who would like to take a
look.

Hi..
Infact if your requirement is to add days into a date to get the future date .. then the FM is not required actually ...
If I have understood you correctly... you have a date say date_old and you want to know the date after 5 days (just an example)
So a simple statement date_new = date_old + 5 will give you the new date.
So you can actually avoid the call to FM.
Subtraction also works just like addition.
All you need to take care is that the date has to be of type sy-datum.
Have fun..
Reward points if this solves your problem.

Similar Messages

  • How to avoid Build Array function inside a For (while) Loop?

    Hi there,
    I have a simple question about how to avoid using Build Array function inside the loop. Now I want to remove the Build Array funtion inside the loop to improve the performance (To get better memory management). Any idea how to do that?
    Thanks a lot!
    Warmest regards,
    Chong

    It's been my experience that using the auto-indexing to build an array
    on a For loop is just as good as initializing and replacing elements.
    The For loop knows before it runs how many iterations it has to run and
    can allocate the array ahead of time.
    You're better off initializing and replacing when using a While loop
    because it does not know how many iterations it will run and can't
    pre-allocate the array ahead of time.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Discoverer - Import PL/SQL Function - Function Not Appears

    Hi,
    I´m trying to import 15 PL/SQL Funtions inside a custom package into the discoverer administrator, but they do not appear in the list, when trying to do an automatic import.
    Also, when I press the Import Button, it takes aproximately one hour to display the list.
    I´m using discoverer with Applications.
    Do you know what schemes are listed in there ? Because my package is in a CUSTOM Scheme, not the APPS, but it has a Public Synonym.
    I need to automatically import these functions in order to not having to do it manually, becasuse it takes to much time.
    Also, do you know if there is any way to export the BA and include this functions in there, so I won´t need to register them again in another instance after migration ?
    I´m using Discoverer 4.
    Thanks in advance.
    Nicolas.

    Hi Nicolas
    When you use the import capability you can import from a named schema so if you have your functions in a schema other than APPS or SYS, which have hundreds if not 1000s of functions, the list should populate quicker.
    I'm afraid I don't know of a way to automate the importation of PL/SQL functions. However, if you know the definition of the function rather than importing it why not try creating it manually using the New button? It takes a little getting used to, particularly in getting all of the pointers and arguments correct, but after a while it becomes second nature. This will be quicker than waiting an hour for the list of functions to popuklate.
    As for your third question, do you know if there is any way to export the BA and include this functions in there, so I won´t need to register them again in another instance after migration ? the answer is no. PL/SQL functions cannot be exported using Discoverer Administrator and need to be manually imported in the other EUL. You could take screen shots of your existing definitions and manually create them in the new environment using the New button. Once again this will be quicker.
    I'm so sorry all of the answers appear negative and please don't shoot the messenger.
    Best wishes
    Michael

  • How to caculate the records count for a measurement with a filter?

    I have a fact table which add relationship to a datetime dimension. I create a measurement based on the fact table, like [MeasureA]. I want to calculate the record counts of [measureA] of today, how to write the mdx query? Thanks!

    Hi Lavandula,
    According to your description, you want to calculate the numbers of the record of a measure for a specific day, right? In this case, you can use
    Count function which returns the number of cells in a set to achieve you requirement. Here is a sample query on Adventure Works for your reference.
    WITH
    MEMBER [Measures].[SetCount] AS
    COUNT([Product].[Product].[Product].Members)
    SELECT
    {[Measures].[SetCount]} ON COLUMNS
    FROM
    [Adventure Works]
    Besides, if you want to count the cell numbers with a condition, you can use
    Filter funtion inside the Count function.
    WITH MEMBER [Measures].[High Volume Products Count] AS
    Count(Filter([Product].[Product].[Product], [Measures].[Internet Order Quantity] > 5))
    SELECT [Customer].[Customer Geography].[Country] ON 0
    , [Date].[Calendar].[Date].MEMBERS ON 1
    FROM [Adventure Works]
    WHERE [Measures].[High Volume Products Count]
    Regards,
    Charlie Liao
    TechNet Community Support

  • Wait function problem

    Hi everyone,
    I am confused by wait function in LabVIEW. I have a while loop and the calculation time duration for each iteration is about 0.1ms without using wait funtion inside of the loop. However when I tried to add wait function and set the wait time to be 1ms, the average iteration duration became 5ms. Does it mean the iteration took 5ms to run each time? If it is the case, how did I get 0.1ms before using wait function? I also tried to add the wait time from 1 to10 and before 5 it gave me similar answer 5ms after 5 it give me the number I specified to it, so I think it works fine. I also attached my VI to it, I am using cRIO to run this VI so it wont work on the computer but the idea should be clear.
    Attachments:
    Untitled 4.vi ‏55 KB

    Hi Jeff,
    Thanks for your reply, basically this attached vi is only part of my code, and I would like to track the change of different variables on FP so I would like to have local variables inside of the loop instead of using shift register. The index constant is not necessary for sure, thanks for that info.
    However even I have made all the indicators to the outside and changed the array stuff into shift register it still gives me the same result, which is about 5 ms when applying wait function but about 0.1 ms without using it. This is quite unusual, and similar to the speed when i was using timed loop (5ms). 
    Also I am calling the objective function instead of using laview is because I would like to have easy maintenance for ppl not quite familiar with labview could understand the algorithm later on.
    Thanks again for the reply and hope to hear from u again.
    Best Regards
    Jeff·Þ·Bohrer wrote:
    OK First off lets introduce you to the concepts of arrays and a Shift Register:
    First, those index constants are not required-  Hit Ctrl+h- hover over the array index and hit detailed help the default is for each element you grow to increments so, with no index contstants, you get elements 0, 1, 2, ...n.
    Next, you only index them to feed them to indicator's local variables only to read them on the next iteration  a feedback node or shift register of type array of dbl would work so much better!  and, not require the UI Thread at all!  Really none of those controls or indicators are wired to the connector pane-  for debug use a probe!
    Most of the rest of your indicators can go away too, replaced by Shift registers.  (If I infer correctly you might need to show two elements on "Target Disp" but I have no idea what that library function call is)
    Essentially, you appear to trying to "C" your way into LabVIEW.  LabVIEW is a dataflow language-  hit the getting started material and online courses.

  • Should i set null those reference variable object created inside of funtion

    hi,
    I create object inside of a member function . after finish execute that method those variable should set null to be garbage collection or no need ?
       public void sampleFun(){
           Object obj = new Object();
            // some work
         obj = null ;  //// ----------- > this need or not ?
    }after finished that method execution should i set
       obj = null;explicitly or no need ?? plz

    No, there's no need.
    When the reference variable passes out of scope, it ceases to exist, so it doesn't reference the object any more. As soon as an object has no references pointing to it, it is available for garbage collection.
    Your rule of thumb should be: don't do anything about garbage collection unless you know why you're doing it. And even then don't do it unless you can prove you need to.
    Dave.

  • Is it possible to open up an excel file inside a Web Browser not IE?

    I'm trying to find out if it is possible to open up a pivot excel file inside the a web browser, but i don't want to use Internet Explorer for that i'd prefer firefox for that.
    I have a web application that uses an excel file for one of its reports but i don't want the user to have to download the file in order to view the report and that particular report has various ordering criteria so i don't want any of the funtionality of the file to be lost in the process, so is it possible to do it? what tools would help me acomplish that?

    I don't think this is possible.
    You may be able to make it display in Firefox if the file is defined as the XML Excel format and not the xls or xlsx formats. But that would require saving the file differently and you would most likely loose all/most functionality
    You may find some Excel translators in Java (most notably POI from Apache). But they would still require you to adapt them to web format and you would have to duplicate much of the Excel functionality yourself. So it would be a long term option.
    You could check out Google Docs. They have a spreadsheet application that I believe can convert Excel files to their format. You may be able to use it inside your web site with permissions.

  • Why again funtion modules in ABAP OO ?

    if you look at the code inside
    cl_gui_frontend_services->gui_upload they use gui_upload function.
    there is no difference.
    internally the class also uses GUI_UPLOAD ..........
    there is conflict like data consistancy problem with function module ..
    why again sap is using funtion modules in class method ...
    Instead sap can develope method purely by coding in method  know ?
    Can any body explain what are the advantages and disadvantages ?

    Hi,
    I think the FM can be used by only one way, with the same calls way( depending for parameters ) and always with the same behavior.   
    But if you extends the class you can inherits the class's components and insert new attributes.
    This is one of the benefits of the OO.
    Each SAP's release, many FM are being modified to OO.
    Regards,
    Marcelo Ramos

  • How to get the main funciton name when calling another function inside?

    for eg, one RFC named A,inside A,a funtion B is called.when the processing is at B now,how can i get the main RFC name(A)?
    any help will be much appricated.

    > just see SM50,there is a column called 'Report',it shows the program id the proess is now processing.but i don't know its main program or say it 'the process's first excuting program',how can i get it programmatically?
    I'm still not sure to understand. The program in SM50 is the current main program (not the first). It is stored in SY-REPID system variable. Or use this code:
    DATA lt_callstack_long TYPE abap_callstack.
    DATA ls_callstack_long TYPE LINE OF abap_callstack.
    CALL FUNCTION 'SYSTEM_CALLSTACK'
          IMPORTING
            callstack    = lt_callstack_long.
    READ TABLE lt_callstack_long INDEX 1 INTO ls_callstack_long.
    WRITE : / 'current main program is:', ls_callstack_long-mainprogram.
    If you want to know the frame program (the first called), use SY-CPROG, or use this code:
    DATA lt_callstack_long TYPE abap_callstack.
    DATA ls_callstack_long TYPE LINE OF abap_callstack.
    CALL FUNCTION 'SYSTEM_CALLSTACK'
          IMPORTING
            callstack    = lt_callstack_long.
    " read last line = first called program
    DESCRIBE TABLE lt_callstack_long. "to make sy-tfill = number of lines
    READ TABLE lt_callstack_long INDEX sy-tfill INTO ls_callstack_long.
    WRITE : / 'First main program is:', ls_callstack_long-mainprogram.

  • Call transaction inside Update task

    <b>Is it possible to use call transaction inside an update function module?</b>
    My requirement is like this.
    When I execute LB10 storage units will be created..then we have to go to lt09 and then create a TO's there for all these Storage units..
    Now, when I try to call a bdc session from an exit, the storage units are not  updated there. so the BDC is getting failed..
    To resolve this, I kept all the BDC code in to a Zfunction module and made it an update funtion module. I am calling this function module form the exit IN UPDATE TASK.
    But the call transaction is not working....
    I have tried with L_TO_CREATE_MOVE_SU inside the Z function module..Still no use..
    is there any other way that I can solve this?

    Hi,
       Calling a FM in Update Task is one of the bundling techniques used in ABAP to avail functionality provided by SAP Update System. Here all database updates are processed at the end of the SAP LUW in contrast to normal FM call where the database updates are done and commited at the time of call (Database LUW). It is necessary to bundle all your database updates in an SAP LUW e.g. all database updates in a transaction (like VA01) should be bundled. Almost all standard SAP transactions use bundling techniques.
    This technique separates the dialog process and update process. The dialog part of the transaction can span more than one screen(one dialog step) and can be processsed by more than one dialog work process. A work process is released when the dialog step changes (screen changes) and the work process sends a database commit (called Implicit Database LUW). So with each screen change there is a database commit and database remains in consistent state.
    Now when using bundling technique, when a COMMIT WORK is encountered, system ends the dialog process with a dialog work porcess and starts the update process using an update work process.
    The dialog step containing the COMMIT WORK is considerd as the last dialog step of the transaction and all the update function modules are processed now in the last dialog step by the update work process though they were called earlier during the earlier dialog steps.
    It is necessary to create update FMs to take advantage of this technique. The update FM is created FM by setting the Update moduleradiobutton in the Attributes tab in SE37.
    In a normal FM call, if there are database updates (UPDATE, INSERT, MODIFY, DELETE) than database is commited after the FM processing is over as the FM starts its own Database LUW and ends it too.
    <b>Reward Points</b>
    Regards

  • Can we add the standard includes inside a function exit.

    Hi,
    Can we add the standard includes inside a function exit.
    I want to add 4 to 5 standard includes. If iam adding it it says report or program already exists.
    Can anyone tell me is it possible or we can modify the only the data which is coming to that function module .
    Please help me on this.
    Thanks,
    Rose.

    hi santhosh,
      The data needed for those includes are also exist in the funtion module exit. I want to add those includes and in one include just i want to add some 10 to 15 lines of code. Is it possible.
    If i include all those includes inside the function exit it says report or program name already exists. When i double clicked on the error it takes me to a line in 1 include which has function-pool statement.
    How can i eradicate this error.
    Can u please help me on this.

  • How to redefine function in nsLoginManager.js inside omni.jar

    I would like to redefine a function. I find the definition inside omni.jar in the file nsLoginManager.js. If I rename omni.jar to omni.zip, I can see the contents, but if I try to drag an updated nsLoginManager.js to the archive, Windows 7 complains the archive is corrupt. I tried putting an extra copy of nsLoginManager.js into the components directory, but it did not override the other definition.
    How can I edit omni.jar to include my new nsLoginManager.js with my updated funtion?

    Yes, I have successfully extracted the contents already by that exact method. However, I fail when trying to update the modified file in the omni.jar as Windows 7 complains the archive is corrupt. Alternatively, if I make a new .zip for all the files including my modifications, Firefox fails to launch.
    The format of the omni.jar is not standard, how can I modify it?

  • ExternalInterface not working when swf file is embed inside a dynamically cloned DIV element.

    ExternalInterface not working when swf file is embed inside a dynamically cloned DIV element.
    It seems that flash movie is identifed as 'undefined' inside document.
    //a statically placed div
    var staticdiv=document.getElementById('PropDiv');
    //dynamically placed div with object tag
    var dynDiv =staticdiv.cloneNode( true );
    var xD=50;
    var yD=50;
    if(dynDiv)
    dynDiv.style.display  = "block";
    dynDiv.innerHTML="<object classid=" + "\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\"" + "codebase=" +
    "\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\"" + "width=" + xD + "height=" + yD +
    "id=" + "\"external\"" + "align=" + "\"middle\"" + ">" +
                    "<param name=" + "\"allowScriptAccess\"" + "value=" + "\"sameDomain\"" + "/>" +
                    "<param name=" + "\"movie\"" + "value=" + "\"external.swf\"" + "/>" +
                    "<param name=" + "\"quality\"" + "value=" + "\"high\"" + "/>" +
                    "<param name=" + "\"wmode\"" + "value=" + "\"transparent\"" + "/>" +
                    "<param name=" + "\"bgcolor\"" + "value=" + "\"#ffffff\"" + "/>" +
                    "<embed src=" + "\"external.swf\"" + "quality=" + "\"high\"" + "wmode=" + "\"transparent\"" +"bgcolor=" + "\"#ffffff\""
    + "width=" + xD + "height=" + yD + "name=" + "\"external\"" + "align=" + "\"middle\"" + "allowScriptAccess=" + "\"sameDomain\"" +
    "type=" + "\"application/x-shockwave-flash\"" + "pluginspage=" + "\"http://www.macromedia.com/go/getflashplayer\"" + "/>" +
                    "</object>";
       dynDiv.style.top=50;
       dynDiv.style.left=100;
    document.body.appendChild(dynDiv);
    In above situation communication is not establised when a  funtion which is retruning boolean is called from flash using
    ExternalInterfcae.call.The return value of this function is getting as false inside flash.But the value is true in javascript.
    if (navigator.appName.indexOf("Microsoft") != -1) {
       return window[movieName];
      } else {
       return document[movieName];
    window["external"] is returning as 'undefined'.
    Please give a  solution to solve this.

    Note that you have different file names for the object (images/banner.swf) and the embed (images/banner1.swf)
    You also placed the embed in the middle of a param tag and nested all param tags.
    Because you didn't include a MIME type and the object doesn't have a classid for an ActiveX control for IE, I'm not sure what Firefox will be using.<br />
    The object doesn't have a data attribute to specify the file.<br />
    A separate embed is only needed when you specify a classid in the object.
    <pre><nowiki><div class="bannercontainer">
    <object width="940" height="445" type="application/x-shockwave-flash" data="images/banner.swf" >
    <param name="wmode" value="transparent" />
    <param name="movie" value="images/banner.swf" />
    </object>
    </div></nowiki></pre>

  • Execute planning funtions

    Hi,
    I have a planning function that copy from the basic cube to the transactional cube, then the user can change this data in the planning layout. (The basic cube columns are not showed).
    Actually I had placed the planning function in the global planning function ( I only have one input layout in excel), with execute Function when starting FLD as function attribute.
    But  when the user changes the parameters (variables) inside the planning layout, after open the layout, the function is not executed and the data are not the expected, is the data saved before, in the transactional cube.
    How can I execute the function, in automatic way, when the user opens the layout and when changes the parameters?
    I would appreciate your help.
    Regards
    Victoria

    Hi mohit,
    In the planning folder UPSPL - execute
    inside the change planning folder by transaction UPSPM - Customizing , attribute function on planning funtion in global planning funtion, the "execute function before layout DSPLY" and "execute function before layout change" are not active (are greyed out).
    I think that these options may be what we need.
    Message was edited by: Victoria León

  • List VIs inside 2010 executable

    Hi all,
    I have an application where I would need to get a list of VIs present in a folder which is inside the current application (executable). But the 'List Folder' funtion returns an error when trying to do this. This link provides a way to list the VIs inside a LV2009 exe. But mine is a LV2010 executable & the OpenG example does not work. Any help for listing 2010 exe VIs will be appreciated.
    Thanks,
    Priyadarsini

    Hi gak,
    I have attached a sample application used to list the files and folders. I have used the normal 'List Folder' function when running in development system and the OpenG VIs for listing the folder in exe. These OpenG VIs work perfectly in LV2009 but not in LV2010. NI List Folder gives error in both LV2009 and LV2010 in exe. I have attached both these versions.
    Attachments:
    List Folder inside EXE-LV2010.zip ‏667 KB
    List Folder inside EXE-LV2009.zip ‏607 KB

Maybe you are looking for

  • Photoshop error while extracting

    hi i have an issue with photoshop tried downloading tthe trial version three times wasting 960mb each time. i get an error msg ERROR EXTRACTING THE PRODUCT INSTALLER (ERROR 101) CHECK FOR AVAILIABLE DISK SPACE ON YOUR SYSTEM AND TRY DOWNLOADING AGAIN

  • Balance Sheet Location Wise

    The company is operating in 3 states, say andhra pradesh, tamilnadu, delhi.  There are several branches in each state.  Tamilnadu has 2 branches and andhra pradesh has 5 branches.  I've defined the locations, and added the branches as warehouses. My

  • Would I use web apps for this?

    I'm new at Business Catalyst... Would I use a "web app" to allow a single business to log-in to just one page (their business directory listing) to make changes?  I'm trying to figure out the "work flow" for this.  It seems like a "secure zone" is a

  • Rendering TIFF Files in FCP 4.5 Timeline

    I'd like to know if there is a way I can import TIFF files into my timeline WITHOUT having to render them... I work at an effects house and our artists deliver their shots as TIFF sequences. I pull those TIFF sequences into Final Cut so I can lay the

  • Header background in ALV Tree

    Hello, I'm using ALV Tree with HTML commentary header. I found in example only one background for that header. me->mo_tree->set_table_for_first_display(     EXPORTING       is_hierarchy_header = ls_hierarchy_hdr       it_list_commentary  = lt_comment