Mapping wisdom

Hi everyone,
I'm looking for some wisdom on this mapping problem;
Source Message
row 0...unbounded
   Refidx  0..1
   prodid   0..1
   date     0..1
   field3   0..1
The REFIDX field identify the nature of the record;
  - header
  - detail
  - summary
Therefore on the source xml message I will get a record for the header, a record for the detail and a record for the summary for each materials.
The Target Message is an IDOC
IDOX 0..unbounded
    EDI_DC40 1...1
    POSDW_-E1POSTR_CREATEMULTIP     0..1
              POSDW-EBPTRANSACTION     0..9999999999
              POSDW-EBPRETAILLINEITEM  0..9999999999
Base on the source message I want to create only one IDOC (target) and for each details from the source I want to send it to POSDW-EBPRETAILLINEITEM  !
I've tried node functions to collapseContexts and to no avail!
Could you please help?
Thank you very much!

Hi Emmanuel,
I was tring the almost the same thing. See the below link.
message mapping--Context related
If your ProdcutId is coming in Sequence then you can use below rule:
ProdcutId [Change Context to higher node]---SplitByValue[Value Changed]---CollapseContext---Idoc
and if you want to populate ProdcutId  under some field then use
ProdcutId [Change Context to higher node]---SplitByValue[Value Changed]---SplitByValue[EachValue]----Output_ProdcutId
If your ProdcutId  is not coming in sequence then you have to write to UDF to return the unique value.
Please try and give your feedback.
Thanks
Shubhankar

Similar Messages

  • What's your Map ID philosophy?

    All,
    I've got my Map IDs working in my POC (yea!).
    Question is: What philosophy do YOU use to manage Map IDs for large projects?
    Do you simply append a prefix depending on the project?
    Do you use ranges of Map IDs for different topic areas? (E.g. 10xxx for installation topics, 20xxx for configuration topics, etc.)
    Or do you just assign them starting at 1 and track them in a spreadsheet?
    Thanks for sharing your wisdom.
    Patrick

    Thanks for your reply!
    Thanks for the article links. It's very in-depth. In everything I read (even with the code snippets provided (in bunny trail links off links off links)) I see them creating a function to send a notification to a specific device.
    e.g. (obj-c):
    static bool sendPayload(SSL *sslPtr, char *deviceTokenBinary, char *payloadBuff, size_t payloadLength) { .. }
    What I don't see is a way to send a notification to all devices at once, unless I'm misinterperating that deviceTokenBinary as a compiled list of device tokens.
    There was some mention of developing with wildcards in the article I mentioned. I had hoped this was going to lead to saying something like you can send notifications to an app ID or even all apps in an app IDs wildcard. However what I'm reading is very poised towards actally needing to send one notification per device.
    So if I have 2 million installs, I literally need to send 2 million notifications? I must be missing something. Even with a persistent connection that would take forever if each message is pushed through one by one.
    Am I missing a means of sending a list of devices all at once with a single notification? This is actually all I need. My app is a brochre. I simply wish to globally tell all devices when new materials are available in the brochure. I have no need to do this device-by-device. This doesn't seem possible though. Is that correct?

  • DHCP static maps ignored

    No answers on any other threads, so starting a new one.
    XServe running Server 10.6.2. Configured the DHCP service with a dynamic range and about a dozen static maps. Started the service and forced a lease renewal on a client that had a static map. Watched the DHCP messages and an address was assigned - FROM THE POOL.
    For some reason, even when receiving a request from a client with a MAC address that's defined in a static map, the DHCP server totally ignores this and hands out an address from the main pool which is obviously nonsense.
    Is anyone satisfactorily using static mapping in Snow L Server's DHCP service? Is there some 'extra' configuration that needs to be applied to tell it to use the static maps that are defined? There must be a solution to this, without it DHCP is USELESS. Surely someone has a clue about what's going on here. Please?

    I fixed my problem.
    In order for Apple's chosen DHCP server to use static maps, you have to enable this in the configuration file - something Apple in their infinite wisdom have forgotten to do.
    By default in the /etc/bootpd.plist file bootp is disabled:-
    <key>bootp_enabled</key>
    <false/>
    Change this to:-
    <key>bootp_enabled</key>
    <array>
    <string>en1</string>
    </array>
    Or for whichever ethernet interface you want to serve these addresses from.
    Well done Apple.

  • Map 300 different VLANs to a SSID?

    Hi Everyone,
    I've just come across a situation where the customer requires to have their 300 different VLANs (they got 300 stores across AU) to be mapped to the same SSID. I know this is doable by creating an interface group on the WLC that contains all 300 VLAN interfaces, then map the interface group to the SSID. However, is there a better way to do it? I meant I don't think creating 300 interfaces on the WLC is a good idea from a managment point of view.
    Thanks you in advanced for your time and for sharing your wisdom.
    Regards,
    Nhan.

    Hi Nhan,
    This post in Small Business Forum and you need to address this in Enterprise Level Forum.
    Thank you.

  • WP8.1 - Maps on SD card

    Here we go again. Back to years old problems that Nokia fixed.
    Microsoft in their infinite wisdom and continuing their Nokia improvements killing spree have unpublished the Lumia Storage Check Beta app making the storing of maps on SD card impossible (as far as I know).
    So, any one got any ideas or is aware of any hack that would allow setting the needed registry settings?
    The old lumia-storage-check-beta.xap can't be deployed, sideloaded, launched from phone, nothing.
    This platform is starting to try my patience really hard.

    The app "lumia storage check beta" is gone for goodI was using it up until I wnet with WP10TP. Now that I have gone back to 8.1 I have lost it because it is no longer available in the (UK) store. I had a xap file and i put that on my Sd card but it would not load because it brings you to the store to get it from there. So, the app is no more.
    Now, I have already had approx 6GB of maps on my SD card. When I check through storage sense it tell me they are still there. When I go to the card in explorer I used to see a folder called "maps" but that folder is no longer shown even though my phone tells me they are there.Also, judging by space availability on the Sd card it would seem they are still there also but maybe hidden (and I have show all file switched on).
    I have now deleted the apps maps and drive from my phone memory and reinstalled on the card and I am hoping that the two apps will see the already downloaded maps on the Sd card from the time that I had storage check beta and begin to use them. My question is , will they  or do I need to redownload maps to the card anew even though they are already there.
    I just wish the "HERE" team would give us the option to download maps to the card in the first place, all so draconian!!

  • Logic 8 Install & Hard Drive Allocation Wisdom NEEDED!!!!!??????!!!!!!

    Me- Humble FIRST TIME LOGIC/FINAL CUT INSTALLER w/many/????????'s
    You- All too lazy, yet generous with storied hard won solutions!!!!!!
    SUCH AS..................
    System Partition Size for- OS 10.5+Logic 8+Final Cut 5.1+ Misc?
    Samples / Virtual Instruments on separate disk or partition?
    Any smart install &/or HD distribution considerations.
    ( This will be a clean "erase and install" of Leopard 10.5, followed by first time install of Logic 8 & reinstall of Final Cut Studio 5.1 then 6.0 upgrade)8
    Please friends recommend adequate HD "system" partition size for OS 10.5 with Logic 8 & Final Cut Studio. I should also consider the future addition of a couple of other system drive audio demand apps. I have 1- 320G external firewire drive & and 1- internal 320G SATA drive IN ADDITION TO my 150G internal system drive. Should I leave the whole 150G drive intact for OS 10.5 and audio/video applications or could/should I partition it. Obviously I'm unclear as to system drive/application relationship and whether 150G's is more than enough or perhaps just right
    Also
    Is it simple enough and wise to install audio samples "apple loops" or Logic's virtual instruments on a separate HD or HD partition?
    PLEASE ADVISE.
    I would very much like to configure this intelligently the first time round thanks to your collective wisdom!!!! I know enough to know that these configuration questions are important to consider, but not enough how to clearly map my ideal installation.
    To recap: I need to plan for HD space distribution for OS, Audio & Video Applications, Samples/Virtual Instruments & possible unforeseens. I'm clear on the need to have ample & discrete HD space for actual Audio &/or Video recording projects.
    All the Best, Thank You, & LOVELOVELOVE
    Lucky
    PowerMac G5 2.5 Dual 4G Ram

    Me- Humble FIRST TIME LOGIC/FINAL CUT INSTALLER w/many/????????'s
    You- All too lazy, yet generous with storied hard won solutions!!!!!!
    SUCH AS..................
    System Partition Size for- OS 10.5+Logic 8+Final Cut 5.1+ Misc?
    Samples / Virtual Instruments on separate disk or partition?
    Any smart install &/or HD distribution considerations.
    ( This will be a clean "erase and install" of Leopard 10.5, followed by first time install of Logic 8 & reinstall of Final Cut Studio 5.1 then 6.0 upgrade)8
    Please friends recommend adequate HD "system" partition size for OS 10.5 with Logic 8 & Final Cut Studio. I should also consider the future addition of a couple of other system drive audio demand apps. I have 1- 320G external firewire drive & and 1- internal 320G SATA drive IN ADDITION TO my 150G internal system drive. Should I leave the whole 150G drive intact for OS 10.5 and audio/video applications or could/should I partition it. Obviously I'm unclear as to system drive/application relationship and whether 150G's is more than enough or perhaps just right
    Also
    Is it simple enough and wise to install audio samples "apple loops" or Logic's virtual instruments on a separate HD or HD partition?
    PLEASE ADVISE.
    I would very much like to configure this intelligently the first time round thanks to your collective wisdom!!!! I know enough to know that these configuration questions are important to consider, but not enough how to clearly map my ideal installation.
    To recap: I need to plan for HD space distribution for OS, Audio & Video Applications, Samples/Virtual Instruments & possible unforeseens. I'm clear on the need to have ample & discrete HD space for actual Audio &/or Video recording projects.
    All the Best, Thank You, & LOVELOVELOVE
    Lucky
    PowerMac G5 2.5 Dual 4G Ram

  • Remote System and Remote Key Mapping at a glance

    Hi,
    I want to discuss the concept of Remote System and Remote Key Mapping.
    Remote System is a logical system which is defined in MDM Console for a MDM Repository.
    We can define key mapping enabled at each table level.
    The key mapping is used to distinguish records at Data Manager after running the Data Import.
    Now 1 record can have 1 remote system with two different keys but two different records cannot have same remote system with same remote key. So, Remote key is an unique identifier for record for any remote system for each individual records.
    Now whenever we import data from a Remote System, the remote system and remote key are mapped for each individual records. Usually all records have different remote keys.
    Now, when syndicating back the record with default remote key is updated in the remote system that is sent by xml file format.
    If same record is updated two times from a same remote system, the remote key will be different and the record which is latest contains highest remote key.
    Now, I have to look at Data Syndication and Remote key.
    I have not done Data Syndication but my concept tell if there is duplicate record with same remote system but different remote keys both will be syndicated back. But if same record have two remote keys for same remote system then only the default remote key is syndicated back.
    Regards
    Kaushik Banerjee

    You are right Kaushik,
    I have not done Data Syndication but my concept tell if there is duplicate record with same remote system but different remote keys both will be syndicated back.
    Yes, but if they are duplicate, they needs to be merged.
    But if same record have two remote keys for same remote system then only the default remote key is syndicated back.
    This is after merging. So whichever remote key has tick mark in key mapping option(default) , it will be syndicated back.
    Pls refer to these links for better understanding.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/80eb6ea5-2a2f-2b10-f68e-bf735a45705f
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/7051c376-f939-2b10-7da1-c4f8f9eecc8c%0c
    Hope this helps,
    + An

  • Error while deleting a mapping

    Hi all,
    I am getting the following error while deleting a mapping. My client version is 10.2.0.4.36
    API5072: Internal Error: Null message for exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
    oracle.wh.util.Assert: API5072: Internal Error: Null message for exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
         at oracle.wh.util.Assert.owbAssert(Assert.java:51)
         at oracle.wh.ui.jcommon.OutputConfigure.showMsg(OutputConfigure.java:216)
         at oracle.wh.ui.common.CommonUtils.error(CommonUtils.java:370)
         at oracle.wh.ui.common.WhDeletion.doActualDel(WhDeletion.java:512)
         at oracle.wh.ui.common.WhDeletion.deleteObject(WhDeletion.java:203)
         at oracle.wh.ui.common.WhDeletion.deleteObject(WhDeletion.java:283)
         at oracle.wh.ui.jcommon.tree.WhTree.deleteItem(WhTree.java:346)
         at oracle.wh.ui.console.commands.DeleteCmd.performAction(DeleteCmd.java:50)
         at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Thanks in advance!
    Sebastian

    These type of Internal Errors are all too common in OWB and it's difficult to diagnose the exact problem.
    I'd suggest closing the Design Centre, going back in and trying to delete it again, this will often resolve Internal errors.
    There's also an article on Metalink Doc ID: 460411.1 about errors when deleting mappings but it's specific to an ACLContainer error, so may or may not be of use.
    One of the suggestions is to connect as the Repository Owner rather than a User and try to delete the mapping.
    Cheers
    Si
    Edited by: ScoobySi on Sep 10, 2009 11:44 AM

  • FileName in ABAP XSLT Mapping

    Dear SDN,
    In an integration scenario we are using sender File Adapter and a  ABAP XSLT Mapping.
    Is there any way to get the source FileName from such mapping.  Im trying to use the adapter-specific message attributes, but it doesn't work, and I didn´t find an example, probably I and doing somthing wrong.
    regards,
    GP

    Thank you for your help,
    I just try to access the adapter-specific attibutes using:
    <xsl:stylesheet version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:key="java:com.sap.aii.mapping.api.DynamicConfigurationKey">
    <xsl:variable name="filename"  select="key:create('http://sap.com/xi/XI/System/File', 'Directory')" />
    </xsl:stylesheet>
    but the following error raised:
    <SAP:Stack>Error while calling mapping program YXSLT_TEST (type Abap-XSLT, kernel error ID CX_XSLT_RUNTIME_ERROR) Call of unknown function</SAP:Stack>
    have you had this situation?

  • Sample source code for fields mapping in expert routine

    Hi All
    Iam writing the expert routine from dso to cube for example I have two fields in dso FLD1,FLD2
    same fields in infocube also ,can any body provide me sample abap code to map source fields to target fields in expert routine,your help will be heighly appreciatble,it's an argent.
    regards
    eliaz

    Basic would be ;
    RESULT_FIELDS -xxx = <SOURCE_FIELDS> -xxx
    you have the source fields as source, and result fields for as the target. In between you can check some conditions as in other routines of transformation.
    BEGIN OF tys_SC_1, shows your source fields ( in your case DSO chars and key figures)
    BEGIN OF tys_TG_1, , shows your result fields ( in your case Cube characteristics)
    Hope this helps
    Derya

  • How can I distinguish different action mapping in one ActionClass file?

    I would like to create a ActionClass which will handle 3 mapping which comes from /add, /show or /del.
    My question is how can I change the code so that the ActionClass servlet can distinguish the request from different url mapping ? Can anyone give me some short hints? Thx.
    struts-config.xml
    <action-mappings>
    <action name="MemberInfoForm" path="/add" scope="request" type="com.myapp.real.MemberAction">
    <action name="MemberInfoForm" path="/show" scope="request" type="com.myapp.real.MemberAction">
    <action name="MemberInfoForm" path="/del" scope="request" type="com.myapp.real.MemberAction">
    </action-mappings>MemberAction.class
    public class MemberAction extends org.apache.struts.action.Action {
        private final static String SUCCESS = "success";
        public ActionForward execute(ActionMapping mapping, ActionForm  form,
                HttpServletRequest request, HttpServletResponse response)
                throws Exception {
            return mapping.findForward(SUCCESS);
    ...

    http://struts.apache.org/1.2.x/api/org/apache/struts/actions/MappingDispatchAction.html
    http://struts.apache.org/1.2.x/api/org/apache/struts/actions/DispatchAction.html
    Thank you so much for all of your suggestion.
    I read the document of MappingDispatchAction and its note say:
    NOTE - Unlike DispatchAction, mapping characteristics may differ between the various handlers, so you can combine actions in the same class that, for example, differ in their use of forms or validation.........
    I wonder in DispatchAction, we can also have various forms or validation as MappingDispatchAction does, just by using different name in the action tag, for example:
    <action input="/p1.jsp" name="MForm1" path="/member" scope="session" parameter="action" type="com.myapp.real.MemberAction">
    <action input="/p2.jsp" name="MForm2" path="/member" scope="session" parameter="action" type="com.myapp.real.MemberAction">
    <action input="/p3.jsp" name="MForm3" path="/member" scope="session" parameter="action" type="com.myapp.real.MemberAction">Hence, it is not the difference as stated from the NOTE, right?
    Edited by: roamer on Jan 22, 2008 10:32 AM

  • How can I save to the same map every time when printing pdfs?

    How can I save to the same map every time when printing pdfs?
    Finder points to the document map even when I chose a different map recently.
    I often print series of pdfs from the print dialog box, I'd like to choose the map to save to and then have all subsequent pdf prints automatically directed to the same map until I decide otherwise.

    that link seems to be broken right now:
    403 Error - Forbidden  - No cred, dude.

  • Sensor Mapping Express VI's performanc​e degrades over time

    I was attempting to do a 3d visualization of some sensor data. I made a model and managed to use it with the 3d Picture Tool Sensor Mapping Express VI. Initially, it appeared to work flawlessly and I began to augment the scene with further objects to enhance the user experience. Unfortunately, I believe I am doing something wrong at this stage. When I add the sensor map object to the other objects, something like a memory leak occurs. I begin to encounter performance degradation almost immediately.
    I am not sure how I should add to best add in the Sensor Map Object reference to the scene as an object. Normally, I establish these child relationships first, before doing anything to the objects, beyond creating, moving, and anchoring them. Since the Sensor Map output reference is only available AFTER the express vi run. My compromise solution, presently, is to have a case statement of controlled by the"First Call" constant. So far, performace seems to be much better.
    Does anyone have a better solution? Am I even handling these objects the way the community does it?
    EDIT: Included the vi and the stl files.
    Message Edited by Sean-user on 10-28-2009 04:12 PM
    Message Edited by Sean-user on 10-28-2009 04:12 PM
    Message Edited by Sean-user on 10-28-2009 04:16 PM
    Solved!
    Go to Solution.
    Attachments:
    test for forum.vi ‏105 KB
    chamber.zip ‏97 KB

    I agree with Hunter, your current solution is simple and effective, and I can't really visualize a much better way to accomplish the same task.
    Just as a side-note, the easiest and simplest way to force execution order is to use the error terminals on the functions and VIs in your block diagram. Here'a VI snippet with an example of that based on the VI you posted. (If you paste the image into your block diagram, you can make edits to the code)
    Since you expressed some interest in documentation related to 3D picture controls, I did some searching and found a few articles you might be interested in. There's nothing terribly complex, but these should be a good starting point. The first link is a URL to the search thread, so you can get an idea of where/what I'm searching.You'll get more hits if you search from ni.com rather than ni.com/support.
    http://search.ni.com/nisearch/app/main/p/q/3d%20pi​cture/
    Creating a 3D Scene with the 3D Picture Control
    Configuring a 3D Scene Window
    Using the 3D Picture Control 'Create Height Field VI' to convert a 2D image into a 3D textured heigh...
    Using Lighting and Fog Effects in 3d Picture Control
    3D Picture Control - Create a Moving Texture Using a Series of Images
    Changing Set Rotation and Background of 3D Picture Control
    Caleb Harris
    National Instruments | Mechanical Engineer | http://www.ni.com/support

  • Numbers/Address Book and Google Maps

    I would love to integrate my spreadsheet of addresses or my Address Book with Google Maps.
    Is this possible? Somehow?
    I take a lot of trips across the country and don't always know when I will be driving by my friends. But if I had a map I could glance at to see where they all are, I would know that I could schedule a lunch with a friend halfway or something like that.
    I have heard about MapPoint, but don't know if there is anything like this that is free/affordable/non-MS.
    Thanks!

    Integrating in Numbers would not be automatic. You'd have to format links to assign to each address.
    I've seen plug-ins to use Google maps with Address Book. Try a search on MacUpdate or VersionTracker for Address Book.
    I think one of the features for Address Book in Leopard is integration with Google maps.

  • Mapping/invoking key codes in a GameCanvas's main game loop.

    I'm trying to bind some diagonal sprite movement methods to the keypad. I already know that I have to map out the diagonals to key codes since key states only look out for key presses in the upper half of the phone (d-pad, soft buttons, etc...). Problem is, how do I invoke them in the main game loop since a key state can be encapsulated in a method and piped through the loop? What makes this even worst is a bug that my phone maker's game API (Siemens Game API for MIDP 1.0, which is their own implementation of the MIDP 2.0 Game API) has, in which if I override the keyPressed, keyReleased, or keyRepeated methods, it will always set my key states to zero, thus I can't move the sprite at all. Also, it seems that my phone's emulator automatically maps key states to 2, 4, 6, and 8, so my only concern is how do I map the diagonal methods into 1, 3, 7, and 9, as well as invoking them in the main game loop? Enclosed is the example code that I've been working on as well as the link to a thread in the Siemens (now Benq Mobile) developer's forum about the bug's discovery:
    http://agathonisi.erlm.siemens.de:8080/jive3/thread.jspa?forumID=6&threadID=15784&messageID=57992#57992
    the code:
    import com.siemens.mp.color_game.*;
    import javax.microedition.lcdui.*;
    public class ExampleGameCanvas extends GameCanvas implements Runnable {
    private boolean isPlay; // Game Loop runs when isPlay is true
    private long delay; // To give thread consistency
    private int currentX, currentY; // To hold current position of the 'X'
    private int width; // To hold screen width
    private int height; // To hold screen height
    // Sprites to be used
    private GreenThing playerSprite;
    private Sprite backgroundSprite;
    // Layer Manager
    private LayerManager layerManager;
    // Constructor and initialization
    public ExampleGameCanvas() throws Exception {
    super(true);
    width = getWidth();
    height = getHeight();
    currentX = width / 2;
    currentY = height / 2;
    delay = 20;
    // Load Images to Sprites
    Image playerImage = Image.createImage("/transparent.PNG");
    playerSprite = new GreenThing (playerImage,32,32,width,height);
    playerSprite.startPosition();
    Image backgroundImage = Image.createImage("/background2.PNG");
    backgroundSprite = new Sprite(backgroundImage);
    layerManager = new LayerManager();
    layerManager.append(playerSprite);
    layerManager.append(backgroundSprite);
    // Automatically start thread for game loop
    public void start() {
    isPlay = true;
    Thread t = new Thread(this);
    t.start();
    public void stop() { isPlay = false; }
    // Main Game Loop
    public void run() {
    Graphics g = getGraphics();
    while (isPlay == true) {
    input();
    drawScreen(g);
    try { Thread.sleep(delay); }
    catch (InterruptedException ie) {}
    //diagonalInput(diagonalGameAction);
    // Method to Handle User Inputs
    private void input() {
    int keyStates = getKeyStates();
    //playerSprite.setFrame(0);
    // Left
    if ((keyStates & LEFT_PRESSED) != 0) {
    playerSprite.moveLeft();
    // Right
    if ((keyStates & RIGHT_PRESSED) !=0 ) {
    playerSprite.moveRight();
    // Up
    if ((keyStates & UP_PRESSED) != 0) {
    playerSprite.moveUp();
    // Down
    if ((keyStates & DOWN_PRESSED) !=0) {
    playerSprite.moveDown();
    /*private void diagonalInput(int gameAction){
    //Up-left
    if (gameAction==KEY_NUM1){
    playerSprite.moveUpLeft();
    //Up-Right
    if (gameAction==KEY_NUM3){
    playerSprite.moveUpRight();
    //Down-Left
    if (gameAction==KEY_NUM7){
    playerSprite.moveDownLeft();
    //Down-Right
    if (gameAction==KEY_NUM9){
    playerSprite.moveDownRight();
    /*protected void keyPressed(int keyCode){
    int diagonalGameAction = getGameAction(keyCode);
    switch (diagonalGameAction)
    case GameCanvas.KEY_NUM1:
    if ((diagonalGameAction & KEY_NUM1) !=0)
    playerSprite.moveUpLeft();
    break;
    case GameCanvas.KEY_NUM3:
    if ((diagonalGameAction & KEY_NUM3) !=0)
    playerSprite.moveUpRight();
    break;
    case GameCanvas.KEY_NUM7:
    if ((diagonalGameAction & KEY_NUM7) !=0)
    playerSprite.moveDownLeft();
    break;
    case GameCanvas.KEY_NUM9:
    if ((diagonalGameAction & KEY_NUM9) !=0)
    playerSprite.moveDownRight();
    break;
    repaint();
    // Method to Display Graphics
    private void drawScreen(Graphics g) {
    //g.setColor(0x00C000);
    g.setColor(0xffffff);
    g.fillRect(0, 0, getWidth(), getHeight());
    g.setColor(0x0000ff);
    // updating player sprite position
    //playerSprite.setPosition(currentX,currentY);
    // display all layers
    //layerManager.paint(g,0,0);
    layerManager.setViewWindow(0,0,101,80);
    layerManager.paint(g,0,0);
    flushGraphics();
    }EDIT: Also enclosed is a thread over in J2ME.org in which another user reports of the same flaw.
    http://www.j2me.org/yabbse/index.php?board=12;action=display;threadid=5068

    Okay...you lost me...I thought that's what I was doing?
    If you mean try hitTestPoint ala this:
    wally2.addEventListener(Event.ENTER_FRAME, letsSee);
    function letsSee(event:Event)
              // create a for loop to test each array item hitting wally...
              for (var i:Number=0; i<iceiceArray.length; i++)
                   // if you don't hit platform...
              if (wally2.hitTestPoint(iceiceArray[i].x, iceiceArray[i].y, false)) {
              wally2.y -= 5;}
                          return;
    That's not working either.

Maybe you are looking for

  • Two cost objects Sales order , OKB9 business area +order

    Hi All, While posting intercompany IR system thronging below error messageu2026 Enter only one true account assignment Message no. KI249 Diagnosis You made assignments to several objects in CO (cost center, order, project etc.). 2 of these have been

  • Adobe Reader quit unexpectedly. Please help

    Hi guys, I sure hope you can help as I am really worried at the moment. I have exams coming up and now I am unable to open pdf files! What happened was that I wanted to try Acrobat, so I downloaded a trial version. I then uninstalled it, and apparent

  • Head phone/audio out jack location

    This is feedback for Apple. I was not able to find any specific place on the apple web site to send feedback so I'm putting it here. I have new 27 inch iMac. I love it. One little niggle: I have a frequent need to plug and unplug my head phones. Havi

  • Regular expressions: the shorter the string, the longer the time to analyse

    Hello there ! I've got a problem with regular expressions... I analyse those two strings with the same regular expression, searching for the "message" word. The first of them, which is much longer than the other one, is instantly analysed... but the

  • Flash CS5 code hinting not working?

    Just installed the new Flash CS5 trial and code hinting doesn't appear to be working! I have added all my custom class paths in to the AS3 source paths, but I don't get any code hinting for any of these just the same old code hinting you get in CS4.