dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: moveavle pop up swfs?

  1. #1
    Member
    Join Date
    Sep 2002
    Location
    Bonnie Scotland
    Posts
    76

    moveavle pop up swfs?

    I'm sure everyone has seen a site that does this, but can someone either tell me how to do it or direct me to a tutorial or something please?

    Basicly I'm looking to have my normal flash window with some buttons.
    When I click on the buttons, a new flash window pops up and I can drag it about. Its not really a pop up though, cause its not using any more html.

    I've seen loads of them about, but can't find any just now to explain what I mean!!! I hope someone has a clue what I'm on about though?!

    Cheers...

  2. #2
    Developer
    Join Date
    Sep 2001
    Location
    The Bluegrass State Will Flash For Food
    Posts
    3,789
    Do a search for javascript drag layer, zindex and html layers.

  3. #3
    Member
    Join Date
    Sep 2002
    Location
    Bonnie Scotland
    Posts
    76
    Search on here, or on Google?
    I finally found a site with a similar sort of effect...
    http://www.thesmaug.com/index2.html

  4. #4
    Developer
    Join Date
    Sep 2001
    Location
    The Bluegrass State Will Flash For Food
    Posts
    3,789
    Oh, okay... Thats just Flash. Nothing special. Create a movieclip and make it invisible:
    Code:
    _mc._visible = false;
    Then for your button:
    Code:
    _btn.onRelease = function() {
            _mc._visible = true;
    }
    then look into startDrag/stopDrag:
    Code:
    _mc.onPress = function() {
           this.startDrag();
    }
    _mc.onRelease = function() {
           stopDrag();
    }

  5. #5
    Member
    Join Date
    Sep 2002
    Location
    Bonnie Scotland
    Posts
    76
    Ok... cool.
    Thanks very much

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