flashlite

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chandni
    New Member
    • Nov 2008
    • 3

    flashlite

    if i write a code
    main_mc.onpress = function()
    {
    startDrag(main_ mc)
    }

    this code is not working in my flashlite2.0.
    anypne help me to do this
  • joedeene
    Contributor
    • Jul 2008
    • 579

    #2
    Try using "this" before your startDrag code, and also flash is case-sensitive, so you're .onpress function could be wrong...Try putting this in your code.

    Code:
    mc_1.onPress = function() { 
        this.startDrag();
    };
    mc_1.onRelease = function() {
        this.stopDrag();
    };
    Taken from: http://livedocs.adobe.com/flashlite/...=00000683.html.

    Let me know if that helps.

    joedeene

    Comment

    Working...