dcsimg
A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Just want someone to take a look at this for me.

  1. #1
    Senior Member
    Join Date
    Nov 2000
    Location
    Columbus OH
    Posts
    178

    Just want someone to take a look at this for me.

    Will someone take a look at this site at www.delstrange.com/2bluemoon and tell me if when you click on the volume slider and turn the music up or down a couple of times and then release it, if it doesn't release? I have noticed that it won't release sometimes but not always and I'm wondering as to why this is? Sometimes it sticks but most of the time it works just fine.

    Thanks in advance.
    delstrange

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Tested it quite a few times and it doesn't seem to stick for me.

  3. #3
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    Yeah, it stuck for me, not right away, but about the fourth time I clicked and dragged it. Then it wouldn't let go if the mouse was anywhere near the slider. Just tried it again, same thing, but only if you click and drag outside and let go, then it sticks.

  4. #4
    Lord of the Singhs
    Join Date
    Mar 2002
    Location
    India
    Posts
    342
    i am aware of this issue... it happens on html pages when u take ur mouse outside the swf area.... the swf remembers the last mouse position and state when the mouse moved out of the swf.

    i'll suggest u refrain ur slider movement within the slider mc and use onDragOut = undefined; or something similar

    regs
    CooL "N" CalM

    my body is sore
    my eyes are red
    i still itch for more
    before i hit the bed

  5. #5
    Senior Member
    Join Date
    May 2001
    Posts
    1,838
    Well, in addition to on(release), add on(releaseOutside) like this:

    on (release, releaseOutside) {
    stopDrag();
    }

  6. #6
    Senior Member
    Join Date
    Nov 2000
    Location
    Columbus OH
    Posts
    178
    thanks guys, I'll try what you suggested.
    delstrange

  7. #7
    Senior Member
    Join Date
    Nov 2000
    Location
    Columbus OH
    Posts
    178
    okay, I think it is working now, can you test it for me one more time?

    Thanks
    delstrange

  8. #8
    Senior Member Sir Yendor's Avatar
    Join Date
    Sep 2001
    Location
    Over here
    Posts
    1,140
    It worked for me with no problems at all.

  9. #9
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    OK, still a small problem. If you click and drag it, and mouse off while clicking, it stops dragging outside the hit area, but when you let go, say off to a side, the button snaps to the closest side where the mouse is.

  10. #10
    Senior Member
    Join Date
    May 2001
    Posts
    1,838
    Yea, since the slider is at the edge of the stage, the mouse could easily go off stage. When we stopDrag, the slider will jump and snap. I believe this would be unacceptable for music volume.

    This is an annoying side effect of the startDrag-stopDrag.

    Work-around is: repeatedly save the _x position by enterFrame block. Then on stopDrag, make _x to the last position we saved. So the jump wont occurr.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center