A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: problem with clashing 'startDrag'?! PLEASE HELP MEEEEEEE...........

  1. #1
    Senior Member
    Join Date
    Nov 2000
    Location
    London - UK
    Posts
    191

    problem with clashing 'startDrag'?! PLEASE HELP MEEEEEEE...........

    Hi everybody,
    just uploaded this site, was all a bit of a rush and now I've spotted one major problem. I've set up a little mouse trailer to entertain people while it's all loading... but as I've also get a scrollbar in place - I think I've got a problem with the 'starrtDrag' clashing or something... while the trailer is on (on/off button in top left corner) - it will get stuck when using the scrollbar... even though I think my guess is right about the clash of the 'startDrag' - I don't know how to get around it...?!?!?!?
    Any thoughts or ideas on how to fix this would be great....!!!
    The link: http://www.redhed.tv
    (it is quite a heavy site...just to let you know...)

    Thanks....
    Prisca
    ___carpe_diem___

  2. #2
    FK Doubt Killer hufersil's Avatar
    Join Date
    Apr 2001
    Location
    São Paulo, Brazil
    Posts
    186
    this link only show a '...Check back soon...'

  3. #3
    Senior Member
    Join Date
    Nov 2000
    Location
    London - UK
    Posts
    191
    hufersil, thanks for checking it...
    you are joking though.... what a pain..... the site should pop up in its own window on top of that 'check back soon' graphic.... I've tested on several different machines and it always worked.... on very few the page pops up quickly, then disappears saying that it can't be displayed... now you not getting either of these woories me....
    I don't know much about the DNS settings.... I think I need to look into that...
    In Opera - the pop up will open up fine but somehow put itself behind the main window..?!?!

    Anyway, here's the direct link, in case you can spare me another minute: http://www.darkchile.freeserve.co.uk/new.html

    Thanks again Prisca
    ___carpe_diem___

  4. #4
    FK Doubt Killer hufersil's Avatar
    Join Date
    Apr 2001
    Location
    São Paulo, Brazil
    Posts
    186
    you should do something like this

    code:

    // action for the button on top left corner
    on(release) {
    _root.canDrag = _root.canDrag ? false : true;
    }


    // action for the trailer
    onClipEvent(load) {
    x = -10;
    y = -10;
    }

    onClipEvent(enterFrame) {
    if(_root.canDrag) {
    this._x += (_root._xmouse - this._x) / 10;
    this._y += (_root._ymouse - this._y) / 10;
    } else {
    this._x = x;
    this._y = y;
    }
    }



    try this!

    And, when I opened your site at last time, it dont opened any window.
    I'm using IE 6 under Win 98

    I hope this helps.

  5. #5
    Senior Member
    Join Date
    Nov 2000
    Location
    London - UK
    Posts
    191
    hufersil, thanks for the script!!!
    I'll try it out!!! - That pop up not working is still a mystery... - but hopefully I'll get there in the end
    Just editing some images of their last gig at the moment...

    THANKS
    Prisca
    Last edited by eyedea; 07-22-2003 at 10:51 AM.
    ___carpe_diem___

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