A Flash Developer Resource Site

Search:

Type: Posts; User: AS3.0

Search: Search took 0.08 seconds.

  1. Replies
    26
    Views
    22,463

    also it is workWindow.visible that's currently...

    also it is workWindow.visible that's currently false not workWindow.LD2nd.visible
  2. Replies
    26
    Views
    22,463

    if it is not visible the mouse event can't see...

    if it is not visible the mouse event can't see it, I recommend you use alpha to hide it
  3. Replies
    26
    Views
    22,463

    LD2nd.visible needs == not = alone. ...

    LD2nd.visible needs == not = alone.

    stage.addEventListener(MouseEvent.MOUSE_MOVE, showLD2);
    function showLD2 (e:MouseEvent):void {
    if (mouseY <= 344 && workWindow.LD2nd.visible == false ){...
  4. Replies
    26
    Views
    22,463

    that's really good if you need more help include...

    that's really good if you need more help include another .fla that says what it needs with your updated scripts
  5. Replies
    26
    Views
    22,463

    That's a really nice window that appears by the...

    That's a really nice window that appears by the way it has like a clear red
  6. Replies
    26
    Views
    22,463

    instead of a bunch of event listener you can also...

    instead of a bunch of event listener you can also use one for all 3 buttons like

    addEventListener(MouseEvent.CLICK, appExecute);
    function appExecute(e:MouseEvent){...
  7. Replies
    26
    Views
    22,463

    in the main timeline, .visible hides mouse...

    in the main timeline, .visible hides mouse movements, take out the first line from the maintimeline and it works now, you can use alpha=0.0 to hide and still use mouse functions for next time
  8. Replies
    26
    Views
    22,463

    wait use this: stop(); var LDSroot =...

    wait use this:


    stop();
    var LDSroot = MovieClip(root).LDS;
    stage.addEventListener(MouseEvent.MOUSE_MOVE, peekOff);

    function peekOff (e:MouseEvent):void {
    if (MovieClip(root).mouseY <=...
  9. Replies
    26
    Views
    22,463

    stop(); var LDSroot = MovieClip(root).LDS;...

    stop();
    var LDSroot = MovieClip(root).LDS;
    stage.addEventListener(MouseEvent.MOUSE_MOVE, peekOff);

    function peekOff (e:MouseEvent):void {
    if (mouseY <= LDSroot.y-44) {
    trace("true")...
  10. Replies
    26
    Views
    22,463

    if you just do mouseY alone inside the movieclip...

    if you just do mouseY alone inside the movieclip timeline, y=0 from the movieclips first pixel, if you do MovieClip(root).mouseY y=0 will start at the first pixel of the swf.
  11. Replies
    26
    Views
    22,463

    addEventListener(MouseEvent.MOUSE_MOVE, showLD2);...

    addEventListener(MouseEvent.MOUSE_MOVE, showLD2);
    function showLD2 (e:MouseEvent):void {
    MovieClip(root).LD2nd.alpha=(MovieClip(root).mouseY-MovieClip(root).LD2nd.y)/MovieClip(root).LD2nd.height
    }
  12. Replies
    26
    Views
    22,463

    this.addEventListener(MouseEvent.MOUSE_MOVE,...

    this.addEventListener(MouseEvent.MOUSE_MOVE, showLD2);

    function showLD2 (e:MouseEvent):void {
    LD2nd.alpha=(mouseY-LD2nd.y)/LD2nd.height
    }
  13. Replies
    26
    Views
    22,463

    this.addEventListener(MouseEvent.MOUSE_MOVE,...

    this.addEventListener(MouseEvent.MOUSE_MOVE, showLD2);

    function showLD2 (e:MouseEvent):void {
    if (mouseY <= LD2nd.y+LD2nd.height/2){
    LD2nd.visible = true;
    }else
    {
    LD2nd.visible =...
Results 1 to 13 of 13




Click Here to Expand Forum to Full Width

HTML5 Development Center