About display object

Hello all ,I can't find the relationship of display object
hierarchy with the structure of flash authoring objects.for example
what is the correspondent object of the main time line on flash
authoring tool in the display object hierarchy?or what is the
correspondent object of the scene that we see on the authoring tool
in display object hierarchy?
Sincerely yours Mohsena

read the flash help files: programming with as3/display
programming/basics of display programming.

Similar Messages

  • Is there a way to detect redraw regions or at the very least when a display object is redrawn?

    I have a layered window system that produces Windows 7 Aero Glass effect in Flash.
    It consists of nested display objects, with overlays as so.
    Root [
        GlassWindowTop [
           RenderedEffectBackground
         BackgroundForGlassWindowTop [
             GlassWindowMiddle [
               RenderedEffectBackground
            BackgroundForGlassWindowMiddle [
                 GlassWindowBottom [
                    RenderedEffectBackground
                 BackgroundForGlassWindowBottom (e.g. the DesktopBackground)
    Windows can be raised and lowered by changing their order in the hierarchy and adding new levels.
    Each glass window has a designated background (containing all lower windows) .  It draws to an off-screen Bitmap the region of the background that is under the window, and applies a blur filter, tint, and parallax effects to it, and then displays that as it's own background as RenderedEffectBackground.
    The problem is that "RenderedEffectBackground" is a static rendering of the window background, so in order to update it in real time, I need to detect when it's background display object (e.g. BackgroudnForGlassWindowTop) or any nested display objects are rendered.
    I could simply update all RenderedEffectBackgrounds from the bottom up each frame, but that would be inefficient.   Ideally, I could detect when a particular background changes (e.g. when a textfield cursor is flashing, or a MovieClip changes frames), and then only render from that object up.  The rendering of course always has to take place from back to front, starting with the lowest window that has changed.  If I could detect the redraw regions of the Flash Player (e.g. when a textfield cursor is flashing, or a MovieClip is playing), I could optimize this system even further by checking for layer overlaps and only rendering layers whose windows intersect the redraw regions, but obtaining that level of information would probably not be possible or logical since this this essentially needs to happen during some kind of pre render phase, which Flash may not support.  Such a pre-render phase would itself be causing new redraw regions, but as long as it is processed from the bottom up, it could work.
    Is there any AS3 function of the flash player that allows my code to obtain information about the display list as far as which display objects are due to be rendered, and then intercept some kind of "onRenderComplete" event for them right before rendering takes place so that I can render the higher display objects.
    I originally tried to implement this as a filter, but pixel bender shaders in AS3 don't seem to allow sampling of an underlying object that would allow for blurring (i.e. the shader can access only the current point being rendered, coordinates passed to the sampling methods are ignored (this is documented behavior).
    Any ideas?

    The feature that shows the link you are mousing over hasn't been removed in 29. Maybe the add-on you are using to restore the add-on bar is covering it. I've tested the Classic Theme Restorer and it seems to work correctly in this situation - https://addons.mozilla.org/firefox/addon/classicthemerestorer/

  • Accessing display object on the stage from another class

    I've googled this to no avail, I've only found how to manipulate the stage itself and not a display object on it, and I'm noob enough to not be able to figure it out from there. :/
    I have a movie clip on the main timeline with instance name displayName. I created a button that should change what frame displayName goes to (in order to...did you guess it?! diplay the Name of the button. Awesome. )
    So I am trying to write the code in a reusable fashion and have the buttons all linked to a class called GeoPuzzle. Inside GeoPuzzle I instantiate a touch event and run the code. However, the function has to be able to change displayName in the main part of the timeline and, of course, the compiler says displayName doesn't exist because I'm in a class and I'm talking about the stage.
    Here is the simplified code in the class:
    package  com.freerangeeggheads.puzzleography {
        import flash.display.MovieClip;
        import flash.events.TouchEvent;
        public class GeoPuzzle extends MovieClip {
            //declare variables
            public function setInitial (abbrev:String, fullName:String, isLocked:Boolean):void {
                //set parameters
                this.addEventListener(TouchEvent.TOUCH_BEGIN, geoTouchBeginHandler);
            public function GeoPuzzle (): void {
            public function geoTouchBeginHandler (e:TouchEvent): void {
                   e.target.addEventListener(TouchEvent.TOUCH_END, geoTouchEndHandler);
                   //some other methods
                   nameDisplay.gotoAndStop(e.target.abbrev);
            public function geoTouchEndHandler (e:TouchEvent): void {
                //some other methods
               nameDisplay.gotoAndStop("USA");
    The lines in bold are my problem. Now this code doesn't actually execute as is so if you see an error in it, yeah, I have no idea what the problem is, but it DID execute before and these lines still gave me trouble so I'm trying to troubleshoot on multiple fronts.
    How can I tell displayName to change it's current frame from within display object class?
    Thanks!

    if displayName is a GeoPuzzle instance, use:
    package  com.freerangeeggheads.puzzleography {
        import flash.display.MovieClip;
        import flash.events.TouchEvent;
        public class GeoPuzzle extends MovieClip {
            //declare variables
            public function setInitial (abbrev:String, fullName:String, isLocked:Boolean):void {
                //set parameters
                this.addEventListener(TouchEvent.TOUCH_BEGIN, geoTouchBeginHandler);
            public function GeoPuzzle (): void {
            public function geoTouchBeginHandler (e:TouchEvent): void {
                   e.target.addEventListener(TouchEvent.TOUCH_END, geoTouchEndHandler);
                   //some other methods
                   this.gotoAndStop(this.abbrev);
            public function geoTouchEndHandler (e:TouchEvent): void {
                //some other methods
               this.gotoAndStop("USA");

  • Getting information about an object from JList

    Hi
    I have created a movie application and i have a JList displaying all registered movies, it uses a DefaultListModel to display these.
    I want to be able to click on an element in the JList and then push a button called "Show movie details" to display all information about the selected movie.'.
    Every new movie is added to the DefaultListModel as an object with "Titlle", "Genere" etc. If someone click on a movie, what do i do to get information about which object that was clicked. All i can see is that integers can be returned with the getSelectedIndex/Value methods. If i use one of these methods to get the object from the DefaultListModel, that would work i guess, but what when someone deletes a movie in the middle of the JList, then the indexes wouldnt match.
    Can someone help me out here? :)

    I get a big fat exception when trying to cast the returned object to a Movie object which im using.
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.S
    tring cannot be cast to Movie
    ...sure that this is the way to do it? If so, what am i doing wrong..

  • Object ID and Object ID Version fields in Displaying Object Properties - XI

    Hi,
    In displaying Object Properties in XI we can see different fields like Type, Description, SCV, Object ID, Object ID Version, Status, Person Responsible, Changed On, Changed By, Display Language, Original Language.
    But when i refer to the SAP Library documentation for these fields, Object ID and Object ID Version are not included. Here is the link for the documentation
    http://help.sap.com/saphelp_nw04/helpdata/en/f0/fc9a3de2ec0753e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/f0/fc9a3de2ec0753e10000000a114084/frameset.htm
    With that said, i have no information on those two fields, only assumptions i've made that i would like to verify in this forum with the questions below
    1.
    Please correct me if i'm wrong, the Object ID is the unique identifier for the object and the Object ID Version is directly connected with the versioning concept for IR and ID, so the Object ID is generated when you create the object  (e.g. MM) and the Object ID Version changes every time that object is edited and change list activated for it. Is this correct?
    Or does the Object ID change every time the object is edited and change list activated for it?
    What is the behavior of these two fields when transported? e.g. dev to qa...  are they both retained on the target IB's?  (specifically for ID objects because the change list needs to be activated first on the target ID)
    2.
    Does any one know where the Object ID and Object ID Version gets stored?  (saved on a table in the ABAP stack or saved somewhere in the Java stack? e.g. can be viewed in Visual Admin or a URL)  I am thinking of extracting all the XI objects with their corresponding Object ID and Object ID Version (per system) in one step.  I know this is possible only if the Object ID & Object ID Version are stored in an ABAP table...
    Kindly give me some inputs.
    Please answer directly with the questions above. I will reward points for it.
    Thanks in advance.

    HI,
    >Please correct me if i'm wrong, the Object ID is the unique identifier for the object and the Object ID Version is directly connected with the versioning concept for IR and ID, so the Object ID is generated when you create the object (e.g. MM) and the Object ID Version changes every time that object is edited and change list activated for it. Is this correct?
    The Object Id is created the first time you create the object.
    Object Version Id is created the first time you save/activate a object.
    Now suppose if you modify the object a new Object Version Id will be created but the Object ID will remain the same.
    For IR Objects the Object Id & Object Version ID will remain the same across systems.
    For ID Objects the Object Id & Object Version ID is not the same across systems.
    Not sure about the table. Can you try in SE11 and check all tables with SXMS*. Could be also that tables might not be available from GUI i.e you might have to login to DB to find out.
    Regards,
    Sumit

  • Query on SQL Developer Connections Tree Does Not Display Objects

    Hi Gurus, Could you please clarify on the below. As per the note ID 1458753.1, SQL Developer Connections Tree Does Not Display Objects to user in order to access database objects outside the owned schema/account. ------------------------- By default, and without granting wide privileges such as DBA, a user will only see his or her own objects in the first level object nodes under their connection.  Objects in other schemas must be accessed via the Other Users node under the connection. This is the intended functionality/display in SQL Developer. ------------------------- Is there any other way we can achieve this? Requirement is very common - user A owns all objects and user B granted read/read-write privileges on user A objects. Now user B wants to Display user A objects in the corresponding objects node of SQL developer. Could any one shed some light here? Thanks Venu

    First off, there is a dedicated SQL Developer forum where lots of the developers hang out. Those folks are way more knowledgable that we are about the tool.
    That said, I have no problem displaying dates. Do you just have a problem with this particular query/ field/ table? Or does it affect all dates? What version of SQL Developer are you using? 1.1 is out now.
    Justin

  • How do I compensate for display objects jumping when screen scaling

    I am building an application that is to run at 2 difference stage sizes. 960x640 and 1024x768 (for those paying attention, you may note that those are the high res settings for the iPhone and iPad2)
    The app was designed and build to run on a stage of 960x640 and when running at this size, there are no problems.
    When the app loads in the 1024x768 window, it "strechs" the stage to fill the window, but keeps the aspect ratio. Everything looks good and the application runs without any problems expect for one thing.
    Sometimes, display objects on the stage "jitter" when moving or animating. I have discovered that this is because the stage is "scaling" the x and y values, and is not pixel snapping the objects on the screen, even though the x and y values of the display object are indeed whole numbers.
    A prime example of this is I have 2 bitmapData images. bmData_s and bmData_h.
    bmData_s is 192x388 in size.
    bmData_h is created from a copy of bmData_s with a glow filter stroke on it, resulting in a image that is 198x394 (6 pixels bigger due to a 3 pixel stroke)
    I place it on the screen using the following code:
    (Background is a bitmap object that is 960x480 and places at 0,0)
    (ObjOffset is a point in my app data to position the object, it's a point set to 53,195)
    MyObj.x = Background.x + ObjOffset.x + (bmData_s.width/2);
    MyObj.y = Background.y + ObjOffset.y + (bmData_s.height/2);
    now, when the mouse rolls over the object, I have an event listener to change MyObj.bitmapData to bmData_h
    MyObj.bitmapData = bmData_h;
    MyObj.x = Background.x + ObjOffset.x + Math.floor(bmData_h.width/2);
    MyObj.y = Background.y + ObjOffset.y + Math.floor(bmData_h.height/2);
    and back to the _s image on mouse out.
    Now, when the app runs on the iPhone which is a 960x640 screen size, or on the PC which is using a window of similiar size, the image doesn't appear to move at all... the "stroke" appears and disappears exactly as it is suppose to
    However, when I run it in a window that is 1024x768, the _h image appears to "jump" one pixel up.
    I have encountered many other similiar things that only occure when the stage is scaled. There is a spot in the app where I am animating a bitmap by manipulating it's scrollrect x and width (have it's do a wipe in from right to left like a peice of paper unrolling on a table) and due to the scaling, the right edge of the image jumps left and right 1 pixel... but on 960x640 screens, it looks perfect.
    Does anyone know how I can compensate for this effect so that this jumping doesn't occur when the stage is stretched to fit the window it's running in?

    Sounds like a x-browser rendering problem
    my guess would be to scale down the inner div's so they add up to less than 100%.
    If you floated div's and gave them a %, give one of the div's a smaller.
    ie: 2 divs floated in a Header, give one 50% and the other 49.5%

  • [svn:osmf:] 15505: Fix image smoothing, which had been broken as a result of some changes to how the display object of an ImageElement is exposed .

    Revision: 15505
    Revision: 15505
    Author:   [email protected]
    Date:     2010-04-16 09:29:26 -0700 (Fri, 16 Apr 2010)
    Log Message:
    Fix image smoothing, which had been broken as a result of some changes to how the display object of an ImageElement is exposed.  Add integration test.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/ImageElement.as
        osmf/trunk/framework/OSMFIntegrationTest/org/osmf/elements/TestImageElementIntegration.as

    That's a comment in the file. It has no effect at all.

  • Class display objects visible=false

    Hi there,
    I have an app that displays XML as items. I am taking the createLayout() and trying to create a class that i can call from my custom component rather than having tons of code in the same file. The issue i am having is that when i call it, and run/debug, the display objects (text,links,date..) all have their visible property set to false. This happens even though I set the property to true in my code. Please help!
    package com.ryancanulla.utils
         import flash.display.Sprite;
         import flash.events.MouseEvent;
         import flash.net.URLRequest;
         import flash.net.navigateToURL;
         import flash.text.TextFormat;
         import mx.collections.XMLListCollection;
         import mx.containers.Canvas;
         import mx.containers.HBox;
         import mx.containers.VBox;
         import mx.controls.CheckBox;
         import mx.controls.ComboBox;
         import mx.controls.LinkButton;
         import mx.controls.Text;
         public class CreateLayout extends Sprite {
         //     Display Vars
              private var vBox:VBox;
              private var hBox:HBox;
              private var titleText:LinkButton;
              private var itemInfo:Text;
              private var abstract:Text;
              private var archive:CheckBox;
              private var rateItem:ComboBox;
              private var category:ComboBox;
              private var container:VBox;
              private var clickURL:Text;
              private var canvas:Canvas;
              private var titleFormat:TextFormat;
              public function CreateLayout(listCollection:XMLListCollection)
                   listCollection = listCollection;
                   container = new VBox();
                   var categoryLabels:Array = new Array("Health","Industrial","Emerging Tech","Food & Ag");
                   var rateLabels:Array = new Array("Positive","Neutral","Negative");
                   for(var i:int=0; i<listCollection.length; i++) {
                        canvas = new Canvas();
                        hBox = new HBox();
                        titleText = new LinkButton();
                        titleFormat = new TextFormat();
                        itemInfo = new Text();
                        abstract = new Text();
                        archive = new CheckBox();
                        rateItem = new ComboBox();
                        category = new ComboBox();
                        clickURL = new Text();
                        titleText.label = listCollection.getItemAt(i).title;
                        titleText.addEventListener(MouseEvent.CLICK, getURL);
                        titleText.width = 400;
                        clickURL.text = listCollection.getItemAt(i).clickurl;
                        clickURL.visible = false;
                        clickURL.includeInLayout = false;
                        itemInfo.text = listCollection.getItemAt(i).source + " | " + listCollection.getItemAt(i).date;
                        itemInfo.y = 25;
                        abstract.text = listCollection.getItemAt(i).abstract;
                        abstract.y = 42;
                        abstract.visible = true;
                        abstract.includeInLayout = true;
                        abstract.width = 400;
                        abstract.height= 60;;
                        archive.label = "Archive";
                        category.prompt = "Category";
                        category.dataProvider = categoryLabels;
                        category.rowCount = categoryLabels.length;
                        category.visible = false;
                        category.includeInLayout = false;
                        category.width = 95;
                        category.height = 20;
                        rateItem.prompt = "Rate";
                        rateItem.dataProvider = rateLabels;
                        rateItem.visible = false;
                        rateItem.includeInLayout = false;
                        rateItem.width = 95;
                        rateItem.height = 20;
                        canvas.addChild(titleText);
                        canvas.addChild(clickURL);
                        canvas.addChild(itemInfo);
                        canvas.addChild(abstract);
                        canvas.addChild(hBox);
                        hBox.addChild(archive);    
                        hBox.addChild(category);
                        hBox.addChild(rateItem);
                        hBox.y = abstract.y + 60;
                        hBox.percentWidth = 80;
                        hBox.percentHeight = 80;
                        //archive.addEventListener(Event.CHANGE, toggleArchive);    
                        container.addChild(canvas);         
                   container.x = 10;
                   container.y = 10;
                   container.visible = true;
                   addChild(container);
            // Called when someone clicks on the titleLink. This function pulls the
            // origional website URL up in a seperate browser window
            private function getURL(e:MouseEvent):void {
                      var link:LinkButton = e.currentTarget as LinkButton;
                      var canvas:Canvas = link.parent as Canvas;
                      var clickURL:Text = canvas.getChildAt(1) as Text;
                      var url:URLRequest = new URLRequest(clickURL.text);
                      navigateToURL(url);
                   trace(clickURL.text);
    Where I instantiate the class. List collection is an XMLListCollection which contains XML data.
    private var createLayout:CreateLayout;
    createLayout = new CreateLayout(listCollection);

    container is from the Vbox class so I don't see that here and there might be something in there that is causing some problem.
    But I don't think that is the only problem. I think this seems like the same problem that you have going in your other post.
    I don't see anyplace that you addChild your CreateLayout instance. container has been added to your CreateLayout instance, but where is the CreateLayout instance added to some other display list.
    Also it looks like almost everything you add to canvas is set to be invisible. So without knowing what is in a Canvas instance it is hard to know what would show up anyways.

  • Flex2 CompilerException: Encountered invalid display object Window :

    Hello,
    I'm using VC 7.0 with SPS 14 and the new Flex 2 runtime. When I deploy an existing Flex VC 7.0 model with the new runtime I get the following Flex Compiler exception:
    Flex2Compiler.Compile: FlexCompilerException: Encountered invalid display object Window : null: null
    Does anyone know what I need to do to fix it?
    Kind regards
    Stefan

    Hi Govindu,
    I runs perfectly with Flex.
    Thanks very much for your support.
    Here's the GML:
    <AEA8W0 name="Input" parent="ADA8VZ" role="INPUT" appName="INPUT" spec="DT_OBJ_IN" anchor="L15" pos="0 15" orig_guid="GMfe4e66c2e4a511dc9286000255334790" fields="}"/><AEA8W1 name="I T Immanfnr Imp" parent="ADA8VZ" role="I_T_IMMANFNR_IMP" appName="OUTPUT I_T_IMMANFNR_IMP" spec="DT_SET_OUT" anchor="R15" pos="100 15" capacity="0" orig_guid="GMfe4e66c3e4a511dc853c000255334790" fields=",F_BIC_IM_WIEDMA:,F_BIC_IMANSPRPA:,F_BIC_IMPLNJAHR:,TXTLG:,PROG_POS:,PROG_DEF_S:,F_BIC_PC_DIV:,F_BIC_IMMANFSTA:,APPR_YEAR:,F_BIC_IMANTEXT1:,F_BIC_IMANTEXT2:,F_BIC_IMANTEXT3:,F_BIC_IMANTEXT4:,F_BIC_IMPLANGES:,CURRENCY:,F_BIC_IMKZAR:,F_BIC_IMGESELLS:,F_BIC_IMWEITVER:,F_BIC_IMUSERID:,F_BIC_ERNAM:,F_BIC_IMERFDAT:,F_BIC_AENAM:,AEDAT:,F_BIC_STA_TXTLG:,F_BIC_PROG_POS:,F_BIC_PPOS_TXTLG:}"/></ADA8VZ><AHC8W2 name="start" parent="AAD8VY" pos="70 130" infoshape="#ID[AXB8W4]" orig_guid="GMfe4e66c4e4a511dc9fb8000255334790"><AEA8W3 parent="AHC8W2" role="DATA" spec="PN_START" anchor="R^" pos="40 10" orig_guid="GMfe4e66c5e4a511dcad8b000255334790"/></AHC8W2><AXB8W4 name="IN_PARAMS" parent="AAD8VY" orig_guid="GMfe4e66c6e4a511dcc5d8000255334790" fields="{}"/><AFA8W5 parent="AAD8VY" src="#ID[AEA8W3]" trg="#ID[AEA8W0]" nobc="true" contour="22" controls="0 0 -40 -45" orig_guid="GMfe4e66c7e4a511dcca55000255334790" fields="}"/><ACC8W6 name="Aktuelle Maßnahmen" parent="AAD8VY" pos="375 220" box_style="0" box_features="SEL BTN TTL" box_size="384 576" grid_style="2" box_rows="0" box_pos="16 64" size="120 60" box_zOrder="-1" box_toolbar="Neue Ma%DFnahme:INSERT(FIRST)" orig_guid="GMfe4e66c8e4a511dcc77c000255334790" fields=",F_BIC_IMANSPRPA:,F_BIC_IMPLANGES:,Sichern:,IM_WIEDMA:,PROG_POS:,F_BIC_STA_TXTLG:,F_BIC_IMMANFSTA:,F_BIC_PROG_POS:,TXTLG:,Loeschen:,MANFStatus_Dyn:,Debug:,Gespeichert:,]'}}"><AEA8W7 name="in" parent="ACC8W6" role="IN" spec="UI_SET_IN" anchor="L15" pos="0 15" orig_guid="GMfe4e66c9e4a511dcb8fd000255334790"/><AEA8W8 name="out" parent="ACC8W6" role="OUT" spec="UI_SET_OUT" anchor="R15" pos="120 15" orig_guid="GMfe4e66cae4a511dc92cd000255334790"/></ACC8W6><AXB8W9 name="STORE_PARAMS" parent="AAD8VY" orig_guid="GM30e2db72e4a611dcca06000255334790" fields=",Bestaetitungsmeldung:,sichtbar_fehler:,Fehlermeldung:,UpdKennzeichen:}"/><ADA8WA name="Zihp Manr Upd" parent="AAD8VY" system_type="SAPFactory" sap_system="BW_BAPI" sap_function="ZIHP_MANR_UPD" pos="360 500" size="100 80" orig_guid="GMbb0c9e70e4a711dc9491000255334790"><AEA8WB name="Output" parent="ADA8WA" role="OUTPUT" appName="OUTPUT" spec="DT_OBJ_OUT" anchor="R15" pos="100 15" orig_guid="GMbb0c9e71e4a711dc84cd000255334790" fields=",E_RESULT_CODE:}"/><AEA8WC name="I Immanfnr Imp" parent="ADA8WA" role="I_IMMANFNR_IMP" appName="INPUT I_IMMANFNR_IMP" spec="DT_OBJ_IN" anchor="L25" pos="0 25" orig_guid="GMbb0c9e72e4a711dca0ab000255334790" fields=",F_BIC_IM_WIEDMA:,F_BIC_IMANSPRPA:,F_BIC_IMPLNJAHR:,TXTLG:,PROG_POS:,PROG_DEF_S:,F_BIC_PC_DIV:,F_BIC_IMMANFSTA:,APPR_YEAR:,F_BIC_IMANTEXT1:,F_BIC_IMANTEXT2:,F_BIC_IMANTEXT3:,F_BIC_IMANTEXT4:,F_BIC_IMPLANGES:,CURRENCY:,F_BIC_IMKZAR:,F_BIC_IMGESELLS:,F_BIC_IMWEITVER:,F_BIC_IMUSERID:,F_BIC_ERNAM:,F_BIC_IMERFDAT:,F_BIC_AENAM:,AEDAT:,F_BIC_PROG_POS:}"/><AEA8XG name="Input" parent="ADA8WA" role="INPUT" appName="INPUT" spec="DT_OBJ_IN" anchor="L15" pos="0 15" orig_guid="GMfbcff800e54f11dcc7fc000255334790" fields="}"/></ADA8WA><ACA8WD name="Maßnahme - Detail" parent="AAD8VY" pos="575 230" box_style="2" box_features="EDT TTL" box_size="464 576" form_layout="ABS" labels_align="BEFORE" overflow="EXC" box_pos="408 64" size="110 60" box_scale="AUTO" orig_guid="GMfd9ff8d2e13811dcbb2c000255334790" box_zOrder="-1" fields=",F_BIC_IMANSPRPA:]'},F_BIC_IMANTEXT1:,F_BIC_IMANTEXT2:,F_BIC_IMANTEXT3:,F_BIC_IMANTEXT4:,F_BIC_IMERFDAT:,F_BIC_IMGESELLS:,F_BIC_IMKZAR:,F_BIC_IMMANFNR:]',ctl:'7',useEnum:'#ID[AXD907]'},F_BIC_IMMANFSTA:]'},F_BIC_IMPLANGES:,F_BIC_IMPLNJAHR:,F_BIC_IMUSERID:,F_BIC_IMWEITVER:,F_BIC_IM_WIEDMA:,F_BIC_PC_DIV:]',text:'(*) Sparte'},F_BIC_PROG_POS:]',show:'Y'},TXTLG:]'},Erfasser:,Wiedma:,Erfasstam:,Pflcihtfeld:,Ende:,Sichern:,IM_WIEDMA:,AEDAT:,F_BIC_AENAM:,F_BIC_ERNAM:,Loeschen:,Debug:,Clear:}"><AEA8WE name="in" parent="ACA8WD" role="IN" spec="UI_OBJ_IN" anchor="L15" pos="0 15" orig_guid="GMfd9ff8d3e13811dcafd1000255334790"/><AEA8WF name="out" parent="ACA8WD" role="OUT" spec="UI_OBJ_OUT" anchor="R15" pos="110 15" orig_guid="GMfda01fe0e13811dc82ed000255334790"/><AXD8WG name="ENUM[ACA8NZ:F_BIC_IM_WIEDMA]" parent="ACA8WD" sap_function="ZIHP_MANR_LIS" sap_system="BW_BAPI" system_type="SAPFactory" inputPort="INPUT" inputPortStruct="OBJ" inputPortAppName="INPUT" inputPortFields="}" inputPortMap="I_IMANSPRPA:%27M1-EK*%27" outputPort="I_T_IMMANFNR_IMP" outputPortStruct="SET" outputPortFields=",F_BIC_IM_WIEDMA:,F_BIC_IMANSPRPA:,F_BIC_IMPLNJAHR:,TXTLG:,PROG_POS:,PROG_DEF_S:,F_BIC_PC_DIV:,F_BIC_IMMANFSTA:,APPR_YEAR:,F_BIC_IMANTEXT1:,F_BIC_IMANTEXT2:,F_BIC_IMANTEXT3:,F_BIC_IMANTEXT4:,F_BIC_IMPLANGES:,CURRENCY:,F_BIC_IMKZAR:,F_BIC_IMGESELLS:,F_BIC_IMWEITVER:,F_BIC_IMUSERID:,F_BIC_ERNAM:,F_BIC_IMERFDAT:,F_BIC_AENAM:,AEDAT:,F_BIC_PROG_POS:,F_BIC_PPOS_TXTLG:,F_BIC_STA_TXTLG:}" outputPortAppName="OUTPUT I_T_IMMANFNR_IMP" valueField="@F_BIC_IMMANFNR" textField="@TXTLG" enumFlags="SORT DUPL" orig_guid="GMdb7e1df0e54211dcc6b4000255334790"/><AXD907 name="ENUM[ACA8WD:F_BIC_IMMANFNR]" parent="ACA8WD" sap_function="ZIHP_MANR_FREI_LIST" sap_system="BW_BAPI" system_type="SAPFactory" inputPort="INPUT" inputPortStruct="OBJ" inputPortAppName="INPUT" inputPortFields="}" inputPortMap="I_IMMANFNR_2CHAR:RIGHT%28@F_BIC_IMPLNJAHR%2C2%29" outputPort="IT_IMMANFNR_FREI" outputPortStruct="SET" outputPortFields="}" outputPortAppName="OUTPUT IT_IMMANFNR_FREI" enumFlags="SORT" valueField="@F_BIC_IMMANFNR" textField="@F_BIC_IMMANFNR" orig_guid="GMf75b2cf0e5f811dcc453000255334790"/></ACA8WD><AFC8WH parent="AAD8VY" src="#ID[AEA8W8]" trg="#ID[AEA8WE]" contour="12" orig_guid="GMcdad1d43e4aa11dc859b000255334790"/><AHL8WI name="store" parent="AAD8VY" pos="705 140" infoshape="#ID[AXB8W9]" orig_guid="GM46c9a440e4ac11dcc881000255334790"><AEA8WJ parent="AHL8WI" role="DATA" spec="PN_STORE" anchor="L" pos="0 10" orig_guid="GM46c9a441e4ac11dcb4b0000255334790"/></AHL8WI><AFA8WK name="sichern" parent="AAD8VY" src="#ID[AEA8WF]" trg="#ID[AEA8WJ]" nobc="true" contour="22" orig_guid="GM46c9a442e4ac11dccb5a000255334790" fields=",Bestaetitungsmeldung:,UpdKennzeichen:}"/><ACA8WL name="Bestätigung" parent="AAD8VY" box_style="6" box_features="EDT" box_size="544 40" form_layout="ABS" labels_align="BEFORE" overflow="EXC" pos="595 350" box_pos="296 8" box_vis="STORE@sichtbar" orig_guid="GMc0dfea00e4ac11dc9a4a000255334790" fields=",bestaetigung_neine:,Meldung:}"><AEA8WM name="in" parent="ACA8WL" role="IN" spec="UI_OBJ_IN" anchor="L15" pos="0 15" orig_guid="GMc0dfea01e4ac11dca35c000255334790"/><AEA8WN name="out" parent="ACA8WL" role="OUT" spec="UI_OBJ_OUT" anchor="R15" pos="80 15" orig_guid="GMc0dfea02e4ac11dc9b4e000255334790"/></ACA8WL><AHL8WO name="store" parent="AAD8VY" pos="775 310" infoshape="#ID[AXB8W9]" orig_guid="GM1f944c81e4ad11dcb546000255334790"><AEA8WP parent="AHL8WO" role="DATA" spec="PN_STORE" anchor="L^" pos="0 10" orig_guid="GM1f944c82e4ad11dcc3fb000255334790"/></AHL8WO><AFA8WQ name="bestaetigung_ja" parent="AAD8VY" src="#ID[AEA8WN]" trg="#ID[AEA8WP]" nobc="true" contour="22" orig_guid="GM1f944c83e4ad11dcc27e000255334790" fields="}"/><AHL8WR name="store" parent="AAD8VY" pos="870 345" infoshape="#ID[AXB8W9]" orig_guid="GM1f944c84e4ad11dccb79000255334790"><AEA8WS parent="AHL8WR" role="DATA" spec="PN_STORE" anchor="L" pos="0 10" orig_guid="GM1f944c85e4ad11dcc4d7000255334790"/></AHL8WR><AFA8WT name="bestaetigung_nein" parent="AAD8VY" src="#ID[AEA8WN]" trg="#ID[AEA8WS]" nobc="true" contour="22" orig_guid="GM1f944c86e4ad11dc8910000255334790" fields="}"/><ACA8WU name="Systemmeldung" parent="AAD8VY" pos="680 445" box_style="6" box_features="EDT" box_size="320 40" form_layout="ABS" labels_align="BEFORE" overflow="EXC" box_pos="16 8" size="100 60" box_vis="STORE@sichtbar_fehler" orig_guid="GM51d968b0e4ad11dcad5e000255334790" fields="}"><AEA8WV name="in" parent="ACA8WU" role="IN" spec="UI_OBJ_IN" anchor="L15" pos="0 15" orig_guid="GM51d968b1e4ad11dc82fe000255334790"/><AEA8WW name="out" parent="ACA8WU" role="OUT" spec="UI_OBJ_OUT" anchor="R15" pos="100 15" orig_guid="GM51d968b2e4ad11dc8459000255334790"/></ACA8WU><AFA8WX name="*bestaetigung_ja" parent="AAD8VY" src="#ID[AEA8W8]" trg="#ID[AEA8WC]" nobc="true" contour="14" orig_guid="GM1deb5010e4b011dcb335000255334790" fields=",F_BIC_IM_WIEDMA:,F_BIC_IMANSPRPA:,F_BIC_IMPLNJAHR:,TXTLG:,PROG_POS:,PROG_DEF_S:,F_BIC_PC_DIV:,F_BIC_IMMANFSTA:,APPR_YEAR:,F_BIC_IMANTEXT1:,F_BIC_IMANTEXT2:,F_BIC_IMANTEXT3:,F_BIC_IMANTEXT4:,F_BIC_IMPLANGES:,CURRENCY:,F_BIC_IMKZAR:,F_BIC_IMGESELLS:,F_BIC_IMWEITVER:,F_BIC_IMUSERID:,F_BIC_ERNAM:,F_BIC_IMERFDAT:,F_BIC_AENAM:,AEDAT:,F_BIC_PROG_POS:}"/><AGB8WY name="Sort1" parent="AAD8VY" pos="245 210" orig_guid="GMc2ff5550e4b111dcb9fe000255334790" fields="}"><AEA8WZ parent="AGB8WY" role="IN" spec="TR_SET_IN" anchor="L" pos="0 15" orig_guid="GMc2ff5551e4b111dc98de000255334790"/><AEA8X0 parent="AGB8WY" role="OUT" spec="TR_SET_OUT" anchor="R" pos="40 15" orig_guid="GMc2ff5552e4b111dcbe1c000255334790"/></AGB8WY><AFB8X1 parent="AAD8VY" src="#ID[AEA8W1]" trg="#ID[AEA8WZ]" contour="14" orig_guid="GMc2ff5553e4b111dccce6000255334790"/><AFB8X2 parent="AAD8VY" src="#ID[AEA8X0]" trg="#ID[AEA8W7]" contour="12" orig_guid="GMc2ff5554e4b111dca801000255334790"/><AHL8X3 name="store" parent="AAD8VY" pos="575 150" infoshape="#ID[AXB8W9]" orig_guid="GMadc85740e52911dcbfb0000255334790"><AEA8X4 parent="AHL8X3" role="DATA" spec="PN_STORE" anchor="L" pos="0 10" orig_guid="GMadc85741e52911dc963b000255334790"/></AHL8X3><AHL8X5 name="store" parent="AAD8VY" pos="595 515" infoshape="#ID[AXB8W9]" orig_guid="GMf1daf230e52911dca80d000255334790"><AEA8X6 parent="AHL8X5" role="DATA" spec="PN_STORE" anchor="L" pos="0 10" orig_guid="GMf1daf231e52911dcaae5000255334790"/></AHL8X5><AFA8X7 parent="AAD8VY" src="#ID[AEA8WB]" trg="#ID[AEA8X6]" nobc="true" contour="22" orig_guid="GMf1daf232e52911dcb92f000255334790" fields=",sichtbar:,Fehlermeldung:,UpdKennzeichen:}"/><AHK8X8 name="timer1" parent="AAD8VY" guard="true" interval="1" pos="440 125" size="40 30" orig_guid="GM506764e0e52b11dc82a2000255334790" fields=",ELAPSED:}"><AEA8X9 parent="AHK8X8" role="DATA" spec="PN_START" anchor="T^" pos="20 0" orig_guid="GM50678bf0e52b11dcacb8000255334790"/></AHK8X8><AFA8XA parent="AAD8VY" src="#ID[AEA8X9]" trg="#ID[AEA8X4]" nobc="true" contour="12" orig_guid="GM50678bf1e52b11dc94a6000255334790" fields="}"/><AHL8XB name="store" parent="AAD8VY" pos="775 245" infoshape="#ID[AXB8W9]" orig_guid="GM636fe260e53011dc84ee000255334790"><AEA8XC parent="AHL8XB" role="DATA" spec="PN_STORE" anchor="L" pos="0 10" orig_guid="GM636fe261e53011dc8753000255334790"/></AHL8XB><AFA8XD name="loeschen" parent="AAD8VY" src="#ID[AEA8WF]" trg="#ID[AEA8XC]" nobc="true" contour="22" orig_guid="GM636fe262e53011dc9fd0000255334790" fields=",sichtbar:,UpdKennzeichen:}"/><AXB8XE name="OUT_PARAMS" parent="AAD8VY" orig_guid="GMce1181f0e53a11dc9ff3000255334790" fields="{}"/><AFA8XQ name="*bestaetigung_ja" parent="AAD8VY" src="#ID[AEA8W8]" trg="#ID[AEA8XG]" nobc="true" contour="14" orig_guid="GMbafb9b50e55311dc853f000255334790" fields="}"/><AHL8YN name="store" parent="AAD8VY" pos="570 185" infoshape="#ID[AXB8W9]" orig_guid="GM3f9a84a0e5d811dc9529000255334790"><AEA8YO parent="AHL8YN" role="DATA" spec="PN_STORE" anchor="L" pos="0 10" orig_guid="GM3f9a84a1e5d811dc8b43000255334790"/></AHL8YN><AFA8YP name="select" parent="AAD8VY" src="#ID[AEA8W8]" trg="#ID[AEA8YO]" nobc="true" contour="22" orig_guid="GM3f9a84a2e5d811dc84ef000255334790" fields="}"/><AHB8YQ name="refresh" parent="AAD8VY" epcm_event="com.sap.vc:epcm" pos="560 580" size="50 20" orig_guid="GMb1a94770e5d811dc8e4b000255334790" fields="{}"><AEA8YR parent="AHB8YQ" role="DATA" spec="PN_SET_IN" anchor="L" pos="0 10" orig_guid="GMb1a96e80e5d811dc977d000255334790"/></AHB8YQ><AEA8YS name="refresh" proto="AEA8YR" parent="AAD8VY" role="OUT" spec="PT_SET_OUT" anchor="R" pos="120 20" orig_guid="GMb1a96e81e5d811dca518000255334790"/><AFA8YT parent="AAD8VY" src="#ID[AEA8WB]" trg="#ID[AEA8YR]" nobc="true" contour="22" guard="@E_RESULT_CODE==0" orig_guid="GMb1a96e82e5d811dc893b000255334790" fields="{}"/><AHA8YU name="refresh" parent="AAD8VY" epcm_event="com.sap.vc:epcm" pos="125 215" size="50 20" orig_guid="GMb1a96e83e5d811dc85d4000255334790" fields="{}"><AEA8YV parent="AHA8YU" role="DATA" spec="PN_SET_OUT" anchor="R" pos="50 10" orig_guid="GMb1a96e84e5d811dcb68a000255334790"/></AHA8YU><AEA8YW name="refresh" proto="AEA8YV" parent="AAD8VY" role="IN" spec="PT_SET_IN" anchor="L" pos="0 20" orig_guid="GMb1a96e85e5d811dc8ace000255334790"/><AFA8YX parent="AAD8VY" src="#ID[AEA8YV]" trg="#ID[AEA8W0]" nobc="true" contour="22" orig_guid="GMb1a96e86e5d811dc906a000255334790" fields="}"/></AAD8VY></GMLUNITS><enums><AXD7M1 name="IMANSPRA" parent="AAA2O" sap_function="ZIHP_IMANSPRPA_LIST" sap_system="BW_BAPI" system_type="SAPFactory" outputPort="I_T_IMANSPRPA" outputPortStruct="SET" outputPortFields=",TXTMD:}" outputPortAppName="OUTPUT I_T_IMANSPRPA" enumFlags="SORT DUPL" valueField="@F_BIC_IMANSPRPA" textField="@TXTMD" orig_guid="GM46f262a0e39311dca3a8000255334790"/><AXD7M2 name="IMGESELLS" parent="AAA2O" sap_function="ZIHP_IMGESELLS_LIST" sap_system="BW_BAPI" system_type="SAPFactory" outputPort="I_T_IMGESELLS" outputPortStruct="SET" outputPortFields=",TXTMD:}" outputPortAppName="OUTPUT I_T_IMGESELLS" enumFlags="SORT DUPL" valueField="@F_BIC_IMGESELLS" textField="@TXTMD" orig_guid="GM25e30720e39511dcc05b000255334790"/><AXC782 name="JANEIN" parent="AAA2O" enumMap="J:Ja;N:Nein;A:A;X:X" orig_guid="GM54b80530e15811dc9558000255334790"/><AXD907 name="ENUM[ACA8WD:F_BIC_IMMANFNR]" parent="ACA8WD" sap_function="ZIHP_MANR_FREI_LIST" sap_system="BW_BAPI" system_type="SAPFactory" inputPort="INPUT" inputPortStruct="OBJ" inputPortAppName="INPUT" inputPortFields="}" inputPortMap="I_IMMANFNR_2CHAR:RIGHT%28@F_BIC_IMPLNJAHR%2C2%29" outputPort="IT_IMMANFNR_FREI" outputPortStruct="SET" outputPortFields="}" outputPortAppName="OUTPUT IT_IMMANFNR_FREI" enumFlags="SORT" valueField="@F_BIC_IMMANFNR" textField="@F_BIC_IMMANFNR" orig_guid="GMf75b2cf0e5f811dcc453000255334790"/><AXD3X8 name="ENUM[ACA1ZQ:F_BIC_IMMANFSTA]" parent="AAA2O" sap_function="ZIHP_STATUS_LIST" sap_system="BW_BAPI" system_type="SAPFactory" outputPort="I_T_STATUS" outputPortStruct="SET" outputPortFields=",TXTLG:}" outputPortAppName="OUTPUT I_T_STATUS" valueField="@F_BIC_IMMANFSTA" textField="@TXTLG" orig_guid="GM696f74a068df11dcb4b0000255334790" enumFlags="DUPL SORT"/><AXD7N0 name="IMWEITERVER" parent="AAA2O" sap_function="ZIHP_IMWEITVER_LIST" sap_system="BW_BAPI" system_type="SAPFactory" outputPort="I_T_IMWEITVER" outputPortStruct="SET" outputPortFields=",TXTMD:}" outputPortAppName="OUTPUT I_T_IMWEITVER" valueField="@F_BIC_IMWEITVER" textField="@TXTMD" enumFlags="SORT DUPL" orig_guid="GM57d1ec00e3a011dc94f2000255334790"/><AXD8WG name="ENUM[ACA8NZ:F_BIC_IM_WIEDMA]" parent="ACA8WD" sap_function="ZIHP_MANR_LIS" sap_system="BW_BAPI" system_type="SAPFactory" inputPort="INPUT" inputPortStruct="OBJ" inputPortAppName="INPUT" inputPortFields="}" inputPortMap="I_IMANSPRPA:%27M1-EK*%27" outputPort="I_T_IMMANFNR_IMP" outputPortStruct="SET" outputPortFields=",F_BIC_IM_WIEDMA:,F_BIC_IMANSPRPA:,F_BIC_IMPLNJAHR:,TXTLG:,PROG_POS:,PROG_DEF_S:,F_BIC_PC_DIV:,F_BIC_IMMANFSTA:,APPR_YEAR:,F_BIC_IMANTEXT1:,F_BIC_IMANTEXT2:,F_BIC_IMANTEXT3:,F_BIC_IMANTEXT4:,F_BIC_IMPLANGES:,CURRENCY:,F_BIC_IMKZAR:,F_BIC_IMGESELLS:,F_BIC_IMWEITVER:,F_BIC_IMUSERID:,F_BIC_ERNAM:,F_BIC_IMERFDAT:,F_BIC_AENAM:,AEDAT:,F_BIC_PROG_POS:,F_BIC_PPOS_TXTLG:,F_BIC_STA_TXTLG:}" outputPortAppName="OUTPUT I_T_IMMANFNR_IMP" valueField="@F_BIC_IMMANFNR" textField="@TXTLG" enumFlags="SORT DUPL" orig_guid="GMdb7e1df0e54211dcc6b4000255334790"/><AXD7ND name="PV_DIV" parent="AAA2O" sap_function="ZIHP_PC_DIV_LIST" sap_system="BW_BAPI" system_type="SAPFactory" outputPort="I_T_PC_DIV" outputPortStruct="SET" outputPortFields=",TXTMD:}" outputPortAppName="OUTPUT I_T_PC_DIV" valueField="@F_BIC_PC_DIV" textField="@TXTMD" enumFlags="SORT DUPL" orig_guid="GMf686c720e3a111dc80ea000255334790"/><AXD8VX name="ProgPos" parent="AAA2O" sap_function="ZIHP_BIC_PRPOS_LIST" sap_system="BW_BAPI" system_type="SAPFactory" outputPort="I_T_PRPOS" outputPortStruct="SET" outputPortFields=",LANGU:,TXTLG:}" outputPortAppName="OUTPUT I_T_PRPOS" valueField="@F_BIC_PROG_POS" textField="@TXTLG" enumFlags="SORT DUPL" orig_guid="GMdd5ef540e52911dc9ddf000255334790"/></enums><IMAGES/><TRANSPORTLOG/></GMLPACK>

  • EventListener function specific to generated display object container

    This has to be simple, if only I knew how. I'm an AS3 newbie,
    and am having difficulty setting up multiple specific
    EventListeners within a code generated display object container.
    I am generating a 'page' (Sprite) with a heap of 'cards'
    (Sprites) on it. Each of those cards, in turn, contains a selection
    of text boxes and other objects generated from database output
    using a 'for' loop.
    My hope is to attach an EventListener to each 'card' so that
    a MouseEvent will let me manipulate the data that lead to the
    content of that actual card (the i-th iteration of my for loop).
    I've been playing with everything I can think of (limited
    repertoire of thoughts though) and the best I've managed is for my
    EventListener to access the final set of data, whichever 'card' I
    click on.
    I've summarised and attached my code for the function, and
    would appreciate any advice (however basic) on how to get back to
    the i-set of data from the EventListener attached to the i-th card.
    I can handle the PHP and MySQL side of things but am fumbling my
    way into the OOP of AS3.
    Cheers
    Dougal

    Another way would be to extend Sprite and add an id value.
    Something like:
    package{
    import flash.display.Sprite;
    public class MySprite extends Sprite {
    private var _id:int;
    public function MySprite(id:int){ _id = id; }
    public function get id():int { return _id; }
    And then in your code you'd just make instance of MySprite,
    passing it i:
    // build the cards and text boxes and add them to the
    reviewPage
    for (var i:int = 1; i < (cardsRequired+1); i++) {
    // setup the locations for all the objects
    var displayCard:Sprite = new MySprite(i);
    You can then get i in the event listener function by using
    the id getter:
    function accessThisData(e:MouseEvent):void{
    trace(e.target.parent.id);
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Display objects in ALV

    Is it possible to display an internal table of objects using ALV?
    I've tried to do so using the following code:
    TYPES object_table_type TYPE TABLE OF REF TO zcl_classname.
    DATA object_table TYPE object_table_type.
    ... Fill object_table with objects ...
    DATA alv_table TYPE REF TO cl_salv_table.
    CALL METHOD cl_salv_table=>factory
              IMPORTING r_salv_table = alv_table
              EXPORTING t_table = object_table.
    However, during the factory method, I get a dump because of a dynamic type conflict. The call proceeds as follows (I've omitted all formal parameters but t_table, which is the only relevant one in this case):
              1. cl_salv_table=>factory( object_table )
              2. cl_salv_table->set_data( object_table )
              3. cl_salv_data_descr=>describe_table( object_table )
    At this point, the describe_table method calls cl_abap_structdescr=>describe_by_data_ref( ) on a reference to a line in object_table. It expects the method to return an instance of cl_abap_structdescr, but it obviously returns an instance of cl_abap_refdescr, as the table line is in fact a reference to an object. Consequently, a dump occurs.
    From this, it looks like ALV just wasn't built to cater for displaying objects. That's understandable, as flat structures are a lot simpler to cater for, but disappointing, given the professed push towards object orientation, and considering how integral ALV is to a lot of ABAP development.
    Does anyone know if there is any other, standard way to do this? If there isn't, I'll either write code to automatically convert my objects to structures, or extend cl_salv_model_list and make my own ALV table for displaying objects. (I'd love to extend cl_salv_table, but it's final. Annoyingly. I'd rather final classes be banned than have them be the default option. But that's a rant for another day.)

    That's what I figured. Though I'm not sure I agree with you on the complex structure argument. Structures, too, can contain complex components - other structures, references, table types, and so on. I'm not actually sure how the ALV deals with these. I assume it might only display the components of the structure that are elementary. If this is the case, an identical solution for a table of objects would be appropriate, using read-only public attributes or attributes with corresponding GET_ methods. (But I could be totally off.)
    For the purposes of this argument, objects are exactly the same as structures. Objects just have methods. Or that's how it seems to me.
    Edited by: James Geddes on Jun 18, 2010 4:20 PM

  • About bitmap object

    i want to load my icons set from external png so that i can
    change/update them without recompile my swf.
    my question is:
    save those icons in separate files like icon_00.png,
    icon_01.png, icon_02.png
    and attach them to display object.
    or just save them in on big png (icons.png)
    then use copyPixel to draw to display object
    which way is better(faster and save memory)?

    It's kind of like 6-of-one, half-dozen of another problem.
    They kind of work out the same:
    Separate image files will make the browser issue multiple
    requests to the server. So that takes time and makes the server do
    more work (cost is minimal on servers that are optimized for this
    sort of thing).
    A single large image still has to download the same number of
    bytes, but in just one request. So it may be a tad faster. But then
    you lose what you've gained by copying the pixels.
    All in all, I'd use separate files and just save yourself the
    hassle of dealing with the copy aspect. Your time is also a
    resource. Plus, if you need to alter those images you'll have to
    recombine them.

  • About ABAP Object

    Hello All,
    i have some question about ABAP Object.
    What is the meaning of friend class and singleton?
    Regards,
    Luke

    Hi,
    The addition Friends makes class class a friend of classes classi and or interfaces ifaci.At the sam time, all subclasses of classes classi, all classes that implement one of the interfaces ifaci and all interfaces that have one of the interfaces ifaci as a component interface become friends of class. you have to specify at least one class or interface.
    The friends of a class have unrestricted access to the protected and private components of that class, and can generate unrestricted instances of the class.
    The friends of class are not automatically friends of subclasses of class. the addition Friends does not make class a friend of its friends.
    Thea ddition global is allowed only when you use the addition public for the global class of a class pool at the same time.You can list other global classes and interfaces from the class library after global friends.This addition is generated when the Class Builder creates a global class and you specified friends at the corresponding tab page of the class Builder.
    `
    In the example , classs c2 is a friend of interface i1, and therefore also of the implementing class c1. It can instantiate these objects and access their private component a1.
    interface i1.
    endinterface.
    class c1 definition create private friends i1.
    private section.
    data a1(10) type c value 'Class 1'.
    endclass.
    class c2 definition.
    public section.
    interfaces i1.
    methods m2.
    endclass.
    class c2 implementation.
    method m2.
    data oref type ref to c1.
    create object oref.
    write oref->a1.
    endmethod.
    enclass.
    Kindly Reward Points If You Found The Reply Helpful,
    Cheers,
    Chaitanya.

  • Insufficient authorization to display object Message Mapping

    Hi there
    Every now and then when I try and open a message mapping object I get this error: Insufficient authorization to display object Message Mapping. I then restart my Integration Builder then it works again.
    Any Idea how I would fix this?
    Thanks,
    Jan

    hi,
    apart from what was said you can try changing
    com.sap.aii.ib.util.server.auth.activation
    parameter in exchangeprofile to false
    if you don't use any data-dependent authorizations
    then you should never see this error
    maybe this will help
    but remember that if you want to use data-dependent authorizations
    in the future you need to put it back to true again
    Regards,
    Michal Krawczyk

Maybe you are looking for