WEB Flex 3 people... drag/drop not working.

Discussion in 'OT Technology' started by brds, Feb 5, 2010.

  1. brds

    brds OT Supporter

    Joined:
    Jun 26, 2006
    Messages:
    17,647
    Likes Received:
    15
    Location:
    Atlanta
    It shows a picture of the bike, with the pieces that i have to drag/drop to match the picture aren't letting me drop them. They're all set to be on, but i get nothing.

    Here's a picture of what i'm talking about:
    [​IMG]

    Here's the code I've got so far:
    Code:
    <mx:Canvas id="layout1" width="500" x="8" height="395" y="5">
        <mx:Image source="bicycle.gif"/>
        <mx:List id="CrossBar" width="130" height="30" enabled="true" color="black" x="195" y="96" />
        <mx:List id="Saddle" width="130" height="30" enabled="true" color="Black" x="94" y="26" />
        <mx:List id="DriveTrain" width="128" height="30" enabled="true" color="Black" x="105" y="182" />
        <mx:List id="Wheel" width="130" height="30" enabled="true" color="Black" alpha=".64" x="327" y="198" />
                                    
        <mx:List allowMultipleSelection="true" dropEnabled="true" dragEnabled="true" dragMoveEnabled="true" enabled="true">
        <mx:Array>
            <mx:String>Cross Bar</mx:String>
            <mx:String>Saddle</mx:String>
            <mx:String>Drive Train</mx:String>
            <mx:String>Wheel</mx:String>
            </mx:Array>
        </mx:List>
    </mx:Canvas>
    

    Any help would be greatly appreciated :wiggle:
     
  2. brds

    brds OT Supporter

    Joined:
    Jun 26, 2006
    Messages:
    17,647
    Likes Received:
    15
    Location:
    Atlanta
    18 views and no response? :wtc:
     
  3. crazybenf

    crazybenf Active Member

    Joined:
    Nov 14, 2001
    Messages:
    15,575
    Likes Received:
    2
    make that 28.
     
  4. Phasm

    Phasm OT Supporter

    Joined:
    Sep 20, 2005
    Messages:
    9,680
    Likes Received:
    0
    Location:
    Michigan
  5. mobbarley

    mobbarley Active Member

    Joined:
    Mar 4, 2005
    Messages:
    9,256
    Likes Received:
    2
    Location:
    Sydney
  6. brds

    brds OT Supporter

    Joined:
    Jun 26, 2006
    Messages:
    17,647
    Likes Received:
    15
    Location:
    Atlanta
    I figured it out you fuckers :madfawk:... :mamoru:
     
  7. Ricky

    Ricky █▄ █▄█ █▄ ▀█▄

    Joined:
    Jun 17, 2005
    Messages:
    38,767
    Likes Received:
    6
    post the solution
     
  8. brds

    brds OT Supporter

    Joined:
    Jun 26, 2006
    Messages:
    17,647
    Likes Received:
    15
    Location:
    Atlanta
    Had to put dropEnabled="true" on all the list items... i guess the enabled="true" just wasn't enough.
     

Share This Page