Init backgrounding - what is it ?

I am just trying to get to grips with the init system of Arch (I am used to the sysv method).
I have seen the word "backgrounding" mentioned a few times, but cannot find a reference to what it actually does, so would be interested in a quick explanation.
Cheers, Nick

Basically, with our init, daemons are specified in an array in rc.conf as such:
DAEMONS=(syslog-ng cups alsa)
To background one, you stick an @ just before the name:
DAEMONS=(syslog-ng @cups @alsa)
This will cause the daemon start script to run in the background (equivalent of running '/etc/rc.d/cups start &') and not wait to see if the daemon successfully started.  Generally this is done with non-critical daemons, or daemons that aren't a dependency of another daemon, to speed up boot-time

Similar Messages

  • If we run a query,what all happens in background/what are phases of query processesing.?

    Hi Friends,
    if we run a query,what all happens in background/what are phases of query processesing.?
    Many thanks
    Shashikala

    It has to go through
    Parsing-on this stage it perform basic check on code (T-SQL,
    Binding(Algebrizer Stage)-on this stage does more parsing and perform query tree,
    Optimize- on this stage take query tree from Binding and parsing and find a better way to return the result that you need so cost might apply here and then
    Execute 
    To know about transaction Log we have to know first how Transaction log file internally works: when you are trying to make change in data as Insert, Update, Delete requests
    from applications using T-SQL or on object explorer, SQL Server will load (load) to the corresponding page data memory where we call this memory area as DATA CACHE.  Then the data in the data cache are changed which is also known as known as DIRTY PAGE.
    Next all changes we made by running query will be recorded in the transaction log file so they called the write-ahead log. At final stage, a process known as CHECK POINT PROCESS will check and write all the transaction has been committed AND completed to your
    hard drive by flushing the page.
    So simply put here are the steps
    Data modification sent by application
    Data pages are located in or read into, cache and modified
    Modification is recorded in transaction log on DISK
    Checkpoint writes committed transactions to database
    I hope this helps a bit in answering your question good luck.

  • SERVICES= FILE_EXIST  not work in background  , what else can work ?

    i was trying to locate file in background job by using method  :
    CL_GUI_FRONTEND_SERVICES=>FILE_EXIST
    but the job been cancel when i call this method not in online  .
    what else ( may be function ) can do the work  (locate file for Existence) ?
    thanks .

    why i need it  ?
    i have to upload the file in the following way  :
        SUBMIT (YITF_NAME-IFCPROGRAM) AND RETURN
               USING SELECTION-SET YITF_NAME-IFCVARIANT
            via selection-screen
               EXPORTING LIST TO MEMORY.
    this is  lsmw program that do the upload but she expect to the file  ,
    3 years it was working fine  , but now its start to do problem  ,
    by the messages , i can see that the lsmw is search for
    the file and not find it  .
    there allote of reason why it happend but i want to check
    first of all if the file is created  , and than to decide what to do  .
    ok , may be the open dataset can solve my problem  .
    i will check it .

  • Fullscreen image as background: What image size should be the original file?

    Hello adobe users,
    I'm creating for my first time a website which uses a photograph as the main background. This will be fullscreen. Her eyou have some examples:
    http://www.flemingsteele.com/
    http://www.benthomsonphoto.com/
    Always better one image than 1000 of words.
    My question is quite basic: What is the perfect image size the photograph should be for a fullscreen-image-background?
    Is there any tips the photographer should take in place?
    Any special mode?
    Which format should it be? Panoramic? Rectangular?
    What quality and weight should it have?
    I'm very concerned that the raw material (the original pictures) compromise the final product. I want to create the website so it can adapt any screen resolutions. Can anybody help around?!
    Dani

    Hello,
    Why the files are not allowed to grow beyond the 8GBThe MAXSIZE of the Datafile can be set to the value you want up to UNLIMITED ( which is limited physically according to the OS Platform, the db_block_size and the type of Tablespace - smallfile or bigfile ).
    If you have a SMALLFILE TABLESPACE then the Datafile can have up to *4MBlocks*, so if the db_block_size is *2KB* you are limited to *8GB* even if you set MAXSIZE to UNLIMITED.
    A SMALLFILE TABLESPACE can have up to 1022 Datafiles. So with a db_block_size of *2KB* the Tablespace can reach about *8TB* (with 1022 Datafiles of 8GB).
    If you have a BIGSIZE TABLESPACE the Datafile can have up to *4GBlocks*, so if the db_block_size is *2KB* you are limited to *8TB*. But the Tablespace could have in this case only one Datafile and, you have to be sure that the OS Plateform can support such a large file.
    Of course, if the db_block_size is larger, for instance *8KB* (which is an usual value), the limit for a Datafile belonging to a SMALLFILE TABLESPACE becomes *32GB*... And so on.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Iphone shows up with red background. what's wrong?

    I have no idea what happened. One minute it was working fine and then all of the sudden it showed up with a red background. It is odd because everything really works normally(other then turning of randomly) but there is a red background. Any idea what's wrong?

    First time I recall seeing a report like this here.
    I suggest doing a Restore with iTunes. Be sure to sync your iPhone immediately before restoring to update your iPhone's backup if needed.
    If no change after a Restore, I suggest calling AppleCare (800) 694-7466, or make an appointment at an Apple Store if there is one nearby.

  • Instead of plan colors and backgrounds what about some picture?

    Is it possible and if so how please explain like I am a newbie.

    In the Inspector pane's Page section under Layout there are the Browser Background and Page Background sections. In each you can opt to choose an image file for the background and either have it tiled or original size.

  • What is the best HD render for a website's background?

    I have created a moving background and I am rendering it in PHOTO JPEG format but when I convert it to .GIF to post it on my website, it takes away all the high quality. It is a moving background, what is the best format to render it in to post it as the website's background?

    Sorry, but that is totally insane and contradictory because quite simply it's not technically possible. Either you live with the reduced quality and limitations of an animated GIF or you use a static background. And even then I would predict that your GIF fiel may be way to heavy for web site use. You really need to reconsider your strategy and read up on web design in general. this simply cannot work the way you want it to.
    Mylenium

  • On my ipod touch 5 i can see clearly a red light insode the screen on a dark background but on a light background i can faintly see yhe red light what is the light i don't know

    On my ipod touch 5 i can see clearly a red light inside the screen on a dark background and i can faintly see the red light on a dark background what is the light, i don't know help me!

    You did not answer my question in my reply to your other post
    https://discussions.apple.com/message/25834405#25834405
    Did you try the suggestions in my other reply?
    It is very rude and counterproductive to make a new post and not acknowledge replies to another post you made.

  • Add a background image to applet

    Hi. Sorry if this question has been asked to death, but i have searched for the best part of the last 2 hours for a solution to my problem which is as follows:
    I have been tying to place a background image on an applet for part of a project i have to do at uni. From what i have read this is very simple and i have tried all possiblities to get it working, all to no avail.
    The code below is what i have for this:
    import java.awt.*;
    import java.applet.*;
    public class BackImage extends Applet
    Image background;
    public void init()
    background = getImage(getCodeBase(), "Images/back.gif");
    setVisible(true);
    public void paint(Graphics g)
    g.drawImage(background, 0, 0, this);
    When using textpad to compile and run this, the command window opens and closes instantly and the applet window doesnt even open. when opening the html file in firefox, all i am greeted with is a white applet area but no error messages in the console.
    I have checked and checked again that locations for the image are correct and all seems fine, so i put it to you guys to help me if you could.
    thanks
    =============
    S.Harvey

    1. Switch from the AWT to Swing.
    2. My favorite way it to draw the image with a border. That way I can
    decorate an existing container without having to subclass it. Have fun!
    import java.awt.*;
    import java.io.*;
    import java.net.URL;
    import javax.imageio.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class BackgroundBorderExample {
        public static void main(String[] args) throws IOException {
            JFrame.setDefaultLookAndFeelDecorated(true);
            JFrame f = new JFrame("BackgroundBorderExample");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JTextArea area = new JTextArea(24,80);
            area.setForeground(Color.WHITE);
            area.setOpaque(false);
            area.read(new FileReader(new File("BackgroundBorderExample.java")), null);
            final JScrollPane sp = new JScrollPane(area);
            sp.setBackground(Color.BLACK);
            sp.getViewport().setOpaque(false);
            f.getContentPane().add(sp);
            f.setSize(600,400);
            f.setLocationRelativeTo(null);
            f.setVisible(true);
            String url = "http://blogs.sun.com/jag/resource/JagHeadshot.jpg";
            final Border bkgrnd = new CentredBackgroundBorder(ImageIO.read(new URL(url)));
            Runnable r = new Runnable() {
                public void run() {
                    sp.setViewportBorder(bkgrnd);
                    sp.repaint();
            SwingUtilities.invokeLater(r);
    import java.awt.*;
    import java.awt.image.*;
    import javax.swing.border.*;
    public class CentredBackgroundBorder implements Border {
        private final BufferedImage image;
        public CentredBackgroundBorder(BufferedImage image) {
            this.image = image;
        public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
            int x0 = x + (width-image.getWidth())/2;
            int y0 = y + (height-image.getHeight())/2;
            g. drawImage(image, x0, y0, null);
        public Insets getBorderInsets(Component c) {
            return new Insets(0,0,0,0);
        public boolean isBorderOpaque() {
            return true;
    }

  • Is it possible to send xls attach in mail in background ?

    is it possible to send xls attach in mail in background ?
    i build/copy program to send attach file in xls format  ,
    its work fine in foreground but do nothing in background  ,
    What can be the reason?
    the section of the sending  :
      DATA: LD_ERROR    TYPE SY-SUBRC,
            LD_RECIEVER TYPE SY-SUBRC,
            LD_MTITLE LIKE SODOCCHGI1-OBJ_DESCR,
            LD_EMAIL LIKE  SOMLRECI1-RECEIVER,
            LD_FORMAT TYPE  SO_OBJ_TP ,
            LD_ATTDESCRIPTION TYPE  SO_OBJ_NAM ,
            LD_ATTFILENAME TYPE  SO_OBJ_DES ,
            LD_SENDER_ADDRESS LIKE  SOEXTRECI1-RECEIVER,
            LD_SENDER_ADDRESS_TYPE LIKE  SOEXTRECI1-ADR_TYP,
            LD_RECEIVER LIKE  SY-SUBRC.
      LD_EMAIL   = P_EMAIL.
      LD_MTITLE = P_MTITLE.
      LD_FORMAT              = P_FORMAT.
      LD_ATTDESCRIPTION      = P_ATTDESCRIPTION.
      LD_ATTFILENAME         = P_FILENAME.
      LD_SENDER_ADDRESS      = P_SENDER_ADDRESS.
      LD_SENDER_ADDRESS_TYPE = P_SENDER_ADDRES_TYPE.
    Fill the document data.
      W_DOC_DATA-DOC_SIZE = 1.
    Populate the subject/generic message attributes
      W_DOC_DATA-OBJ_LANGU = SY-LANGU.
      W_DOC_DATA-OBJ_NAME  = 'SAPRPT'.
      W_DOC_DATA-OBJ_DESCR = LD_MTITLE .
      W_DOC_DATA-SENSITIVTY = 'F'.
    Fill the document data and get size of attachment
      CLEAR W_DOC_DATA.
      READ TABLE IT_ATTACH INDEX W_CNT.
      W_DOC_DATA-DOC_SIZE =
         ( W_CNT - 1 ) * 255 + STRLEN( IT_ATTACH ).
      W_DOC_DATA-OBJ_LANGU  = SY-LANGU.
      W_DOC_DATA-OBJ_NAME   = 'SAPRPT'.
      W_DOC_DATA-OBJ_DESCR  = LD_MTITLE.
      W_DOC_DATA-SENSITIVTY = 'F'.
      CLEAR T_ATTACHMENT.
      REFRESH T_ATTACHMENT.
      T_ATTACHMENT[] = PIT_ATTACH[].
    Describe the body of the message
      CLEAR T_PACKING_LIST.
      REFRESH T_PACKING_LIST.
      T_PACKING_LIST-TRANSF_BIN = SPACE.
      T_PACKING_LIST-HEAD_START = 1.
      T_PACKING_LIST-HEAD_NUM = 0.
      T_PACKING_LIST-BODY_START = 1.
      DESCRIBE TABLE IT_MESSAGE LINES T_PACKING_LIST-BODY_NUM.
      T_PACKING_LIST-DOC_TYPE = 'RAW'.
      APPEND T_PACKING_LIST.
    Create attachment notification
      T_PACKING_LIST-TRANSF_BIN = 'X'.
      T_PACKING_LIST-HEAD_START = 1.
      T_PACKING_LIST-HEAD_NUM   = 1.
      T_PACKING_LIST-BODY_START = 1.
      DESCRIBE TABLE T_ATTACHMENT LINES T_PACKING_LIST-BODY_NUM.
      T_PACKING_LIST-DOC_TYPE   =  LD_FORMAT.
      T_PACKING_LIST-OBJ_DESCR  =  LD_ATTDESCRIPTION.
      T_PACKING_LIST-OBJ_NAME   =  LD_ATTFILENAME.
      T_PACKING_LIST-DOC_SIZE   =  T_PACKING_LIST-BODY_NUM * 255.
      APPEND T_PACKING_LIST.
    Add the recipients email address
      CLEAR T_RECEIVERS.
      REFRESH T_RECEIVERS.
      T_RECEIVERS-RECEIVER = LD_EMAIL.
      T_RECEIVERS-REC_TYPE = 'U'.
      T_RECEIVERS-COM_TYPE = 'INT'.
    T_RECEIVERS-NOTIF_DEL = 'X'.
    T_RECEIVERS-NOTIF_NDEL = 'X'.
      APPEND T_RECEIVERS.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = W_DOC_DATA
          PUT_IN_OUTBOX              = 'X'
          SENDER_ADDRESS             = LD_SENDER_ADDRESS
          SENDER_ADDRESS_TYPE        = LD_SENDER_ADDRESS_TYPE
          COMMIT_WORK                = 'X'
        IMPORTING
          SENT_TO_ALL                = W_SENT_ALL
        TABLES
          PACKING_LIST               = T_PACKING_LIST
          CONTENTS_BIN               = T_ATTACHMENT
          CONTENTS_TXT               = IT_MESSAGE
          RECEIVERS                  = T_RECEIVERS
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          DOCUMENT_TYPE_NOT_EXIST    = 3
          OPERATION_NO_AUTHORIZATION = 4
          PARAMETER_ERROR            = 5
          X_ERROR                    = 6
          ENQUEUE_ERROR              = 7
          OTHERS                     = 8.
    Populate zerror return code
      LD_ERROR = SY-SUBRC.
    Populate zreceiver return code
      LOOP AT T_RECEIVERS.
        LD_RECEIVER = T_RECEIVERS-RETRN_CODE.
      ENDLOOP.

    Try this example, not sure where I got this, but it works.
    report zmail_excel.
    parameters: p_email   type somlreci1-receiver
                                   default '[email protected]'.
    data: begin of it001 occurs 0,
          bukrs type t001-bukrs,
          butxt type t001-butxt,
          end of it001.
    data:   imessage type standard table of solisti1 with header line,
            iattach type standard table of solisti1 with header line,
            ipacking_list like sopcklsti1 occurs 0 with header line,
            ireceivers like somlreci1 occurs 0 with header line,
            iattachment like solisti1 occurs 0 with header line.
    start-of-selection.
      select bukrs butxt into table it001 from t001.
    *   Populate table with detaisl to be entered into .xls file
      perform build_xls_data .
    * Populate message body text
      clear imessage.   refresh imessage.
      imessage = 'Please find attached excel file'.
      append imessage.
    * Send file by email as .xls speadsheet
      perform send_email_with_xls tables imessage
                                          iattach
                                    using p_email
                                          'Example Excel Attachment'
                                          'XLS'
                                          'TestFileName'
                                          'CompanyCodes'.
    *      Form  BUILD_XLS_DATA
    form build_xls_data .
      constants: con_cret type x value '0D',  "OK for non Unicode
                 con_tab type x value '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    *constants:
    *    con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
    *    con_cret type c value cl_abap_char_utilities=>CR_LF.
      concatenate 'BUKRS' 'BUTXT'
             into iattach separated by con_tab.
      concatenate con_cret iattach into iattach.
      append  iattach.
      loop at it001.
        concatenate it001-bukrs it001-butxt
               into iattach separated by con_tab.
        concatenate con_cret iattach  into iattach.
        append  iattach.
      endloop.
    endform.
    *      Form  SEND_EMAIL_WITH_XLS
    form send_email_with_xls tables pit_message
                                              pit_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription.
      data: xdocdata like sodocchgi1,
            xcnt type i.
    * Fill the document data.
      xdocdata-doc_size = 1.
    * Populate the subject/generic message attributes
      xdocdata-obj_langu = sy-langu.
      xdocdata-obj_name  = 'SAPRPT'.
      xdocdata-obj_descr = p_mtitle .
    * Fill the document data and get size of attachment
      clear xdocdata.
      read table iattach index xcnt.
      xdocdata-doc_size =
         ( xcnt - 1 ) * 255 + strlen( iattach ).
      xdocdata-obj_langu  = sy-langu.
      xdocdata-obj_name   = 'SAPRPT'.
      xdocdata-obj_descr  = p_mtitle.
      clear iattachment.  refresh iattachment.
      iattachment[] = pit_attach[].
    * Describe the body of the message
      clear ipacking_list.  refresh ipacking_list.
      ipacking_list-transf_bin = space.
      ipacking_list-head_start = 1.
      ipacking_list-head_num = 0.
      ipacking_list-body_start = 1.
      describe table imessage lines ipacking_list-body_num.
      ipacking_list-doc_type = 'RAW'.
      append ipacking_list.
    * Create attachment notification
      ipacking_list-transf_bin = 'X'.
      ipacking_list-head_start = 1.
      ipacking_list-head_num   = 1.
      ipacking_list-body_start = 1.
      describe table iattachment lines ipacking_list-body_num.
      ipacking_list-doc_type   =  p_format.
      ipacking_list-obj_descr  =  p_attdescription.
      ipacking_list-obj_name   =  p_filename.
      ipacking_list-doc_size   =  ipacking_list-body_num * 255.
      append ipacking_list.
    * Add the recipients email address
      clear ireceivers.  refresh ireceivers.
      ireceivers-receiver = p_email.
      ireceivers-rec_type = 'U'.
      ireceivers-com_type = 'INT'.
      ireceivers-notif_del = 'X'.
      ireceivers-notif_ndel = 'X'.
      append ireceivers.
      call function 'SO_DOCUMENT_SEND_API1'
           exporting
                document_data              = xdocdata
                put_in_outbox              = 'X'
                commit_work                = 'X'
           tables
                packing_list               = ipacking_list
                contents_bin               = iattachment
                contents_txt               = imessage
                receivers                  = ireceivers
           exceptions
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                others                     = 8.
    endform.
    Regards,
    Rich Heilman

  • User Interactive reports in background

    Hi all,
    There is report in CMS which prints collateral sheet, when i run the report in foreground(/ncms_cs) it ask for some input fields like Business partner id , smartform name and output device, after furnishing these details it give a pop saying BP belongs to Borrowing Entity and ask whether to continue or not and when you say yes it generates smart form else it quits.
    Can any one tell me is it possible to run this report in background since its generating a pop-up while executing and if we run this in background we are unable to see the pop up and provide the input(Yes/No) and i am getting an error mesg as provide input parameters. So is there any way to run this kind of report in background
    regards,
    Suhail

    You cannot have an interactive report in the background
    what you need to do is to remove any popups or messages to allow the program to run in bg properly
    you can pass the required parameters to your program whilst calling it before it starts execution

  • Background image and buttons

    I got 4 different images. I want to use these images as a background.
    They have to change as soon as the buttons is clicked. I got four buttons.
    Name of the pichtures image1.jpg etc
    the buttons btn1 etc
    I think its possible but i dont know how to work with backgrounds

    ok, that is a start, but as i said im not a real flash user and creater.
    So im gonna need some extra help,
    You might remember kglad that you helped me before. if not I'll post the script.
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    var bar1s:Number = 73.05;
    var bar1e:Number = 665;
    var bar2s:Number = 37.85;
    var bar2e:Number = 630;
    var bar3s:Number = 1.6;
    var bar3e:Number = 595;
    var time:Number = 2;
    trace("bar 1 start" + tweenRight11 +" start "+ bar2s +" end "+ bar2e);
    trace ("The X position of myBox_mc is "+ bar2.x);
    bar1.addEventListener(MouseEvent.CLICK, movebar1);
    var tweenRight11:Tween;
    var tweenLeft11:Tween;
    var tweenLeft12:Tween;
    var tweenLeft13:Tween;
    var tweenLeft14:Tween;
    var tweenLeft15:Tween;
    var tweenLeft16:Tween;
    function movebar1(e:MouseEvent):void{
         if  ((Math.abs(bar3.x-bar3s)<2) && (Math.abs(bar2.x-bar2s)< 2) && (Math.abs(bar1.x-bar1s)< 2)){
         tweenRight11 = new Tween(bar1, "x", Strong.easeOut, bar1s, bar1e, time, true);
         if  ((Math.abs(bar3.x-bar3s)<2) && (Math.abs(bar2.x-bar2s)< 2) && (Math.abs(bar1.x-bar1e)< 2)){
         tweenLeft11 = new Tween(bar1, "x", Strong.easeOut, bar1e, bar1s, time, true);   
         if  ((Math.abs(bar3.x-bar3s)<2) && (Math.abs(bar2.x-bar2e)< 2) && (Math.abs(bar1.x-bar1e)< 2)){
         tweenLeft12 = new Tween(bar1, "x", Strong.easeOut, bar1e, bar1s, time, true);
         tweenLeft13 = new Tween(bar2, "x", Strong.easeOut, bar2e, bar2s, time, true);
         if  ((Math.abs(bar3.x-bar3e)<2) && (Math.abs(bar2.x-bar2e)< 2) && (Math.abs(bar1.x-bar1e)< 2)){
         tweenLeft14 = new Tween(bar1, "x", Strong.easeOut, bar1e, bar1s, time, true);
         tweenLeft15 = new Tween(bar2, "x", Strong.easeOut, bar2e, bar2s, time, true);
         tweenLeft16 = new Tween(bar3, "x", Strong.easeOut, bar3e, bar3s, time, true);
    bar2.addEventListener(MouseEvent.CLICK, movebar2);
    var tweenRight21:Tween;
    var tweenRight22:Tween;
    var tweenRight23:Tween;
    var tweenLeft21:Tween;
    var tweenLeft22:Tween;
    var tweenLeft23:Tween;
    function movebar2(e:MouseEvent):void{
         if  ((Math.abs(bar3.x-bar3s)<2) && (Math.abs(bar2.x-bar2s)< 2) && (Math.abs(bar1.x-bar1s)< 2)){
         tweenRight21 = new Tween(bar1, "x", Strong.easeOut, bar1s, bar1e, time, true);
        tweenRight22 = new Tween(bar2, "x", Strong.easeOut, bar2s, bar2e, time, true);
         if  ((Math.abs(bar3.x-bar3s)<2) && (Math.abs(bar2.x-bar2s)< 2) && (Math.abs(bar1.x-bar1e)< 2)){
        tweenRight23 = new Tween(bar2, "x", Strong.easeOut, bar2s, bar2e, time, true);
         if  ((Math.abs(bar3.x-bar3e)<2) && (Math.abs(bar2.x-bar2e)< 2) && (Math.abs(bar1.x-bar1e)< 2)){
         tweenLeft21 = new Tween(bar2, "x", Strong.easeOut, bar2e, bar2s, time, true);
         tweenLeft22 = new Tween(bar3, "x", Strong.easeOut, bar3e, bar3s, time, true);
         if  ((Math.abs(bar3.x-bar3s)<2) && (Math.abs(bar2.x-bar2e)< 2) && (Math.abs(bar1.x-bar1e)< 2)){
         tweenLeft23 = new Tween(bar2, "x", Strong.easeOut, bar2e, bar2s, time, true);
    bar3.addEventListener(MouseEvent.CLICK, movebar3);
    var tweenRight31:Tween;
    var tweenRight32:Tween;
    var tweenRight33:Tween;
    var tweenRight34:Tween;
    var tweenRight35:Tween;
    var tweenRight36:Tween;
    var tweenLeft31:Tween;
    function movebar3(e:MouseEvent):void{
         trace(bar3.x,bar3s,bar3e,":",bar2.x,bar2s,bar2e,":",bar1.x,bar1s,bar1e);
         if  ((Math.abs(bar3.x-bar3s)<2) && (Math.abs(bar2.x-bar2s)< 2) && (Math.abs(bar1.x-bar1s)< 2)){
         tweenRight31 = new Tween(bar1, "x", Strong.easeOut, bar1s, bar1e, time, true);
        tweenRight32 = new Tween(bar2, "x", Strong.easeOut, bar2s, bar2e, time, true);
         tweenRight33 = new Tween(bar3, "x", Strong.easeOut, bar3s, bar3e, time, true);
         if  ((Math.abs(bar3.x-bar3s)<2) && (Math.abs(bar2.x-bar2s)< 2) && (Math.abs(bar1.x-bar1e)< 2)) {
         tweenRight34 = new Tween(bar2, "x", Strong.easeOut, bar2s, bar2e, time, true);
         tweenRight35 = new Tween(bar3, "x", Strong.easeOut, bar3s, bar3e, time, true);
         if  ((Math.abs(bar3.x-bar3s)<2) && (Math.abs(bar2.x-bar2e)< 2) && (Math.abs(bar1.x-bar1e)< 2)){
         tweenRight36 = new Tween(bar3, "x", Strong.easeOut, bar3s, bar3e, time, true);
         if  ((Math.abs(bar3.x-bar3e)<2) && (Math.abs(bar2.x-bar2e)< 2) && (Math.abs(bar1.x-bar1e)< 2)){
         tweenLeft31 = new Tween(bar3, "x", Strong.easeOut, bar3e, bar3s, time, true);
    You see that the button is the bar and slides, that is all working and tested real good. Now that is the bar is clicked and that will move the bar but it will have to change the background
    what do you think

  • Reading file from the presentation server in the background

    Hi,
    I am trying to read a .csv file from the presentation server into an internal table in the background. what should I do for it? In the foreground it works fine.
    I have declared a selection parameter 'p_file' that has the path of the file. It wokrs fine in the foreground and how to set it up in the background?
    Any thoughts would be helpful. Thanks in advance,
    VG

    hii
    did you achieved the required functionality , i,e, accessing presentation server file i nbackground .
    I too got the same requirement, can you explain the process.
    There is no way you can do it... The best method is to put the file on Appln server and then call it in the background mode.
    Regards,
    Vishwa.

  • Urgent  background  call for RFC?

    Hello all,
               I have designed a RFC(that is FM with RFC tab clicked)
    everything is fine ,but i just want to execute this RFC in background.what is  the procedure can anybody plz explain.

    Hi,
    Create an se38 report which calls this function module. Pass all the parameters. You may also give some select options too. Then schedule the report in background, which can satisfy ur requirement.
    If u have any further doubts pls post here.
    Regards,
    Renjith Michael.

  • How to use init parameters?

    Is it posible to use init parameters with FacesServlet?
    With any other servlet I'd do this:
    <servlet>
    - <init-param>
      <param-name>base</param-name>
      <param-value>/shop</param-value>
      </init-param>
    </servlet>but it doesn't seem correct to the same with the FacesServlet ie:
    <servlet>
      <servlet-name>Faces Servlet</servlet-name>
      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
    - <init-param>
      <param-name>imageURL</param-name>
      <param-value>/images/</param-value>
      </init-param>What is the right way to use init params with JSF?

    You don't have control over the FacesServlet.
    Rather use the context-param.
    <context-param>
        <param-name>paramName</param-name>
        <param-value>paramValue</param-value>
    </context-param>
    String paramName = facesContext.getExternalContext().getInitParameter("paramName");

Maybe you are looking for