A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: making button on release open new page to link...?

  1. #1
    Senior Member mr.pbody's Avatar
    Join Date
    Nov 2005
    Posts
    247

    making button on release open new page to link...?

    hi all!

    i've got a movie clip that i am using as a button. it is instance named b1. i want that button to open up a new page from a link. the link will be:
    a href="http://www.mysite.com."

    so how would i do this?

    right now my button script is:
    b1.onRelease = gallery;
    function gallery() {
    _root.loadMovie("gallery.swf");
    }

    thanks so much!
    p.s.
    i fear i have asked this before but lost my linky!
    Committed to excellence through art.
    DarkEdgeDesign

  2. #2
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,756
    Im not sure what your asking...??

    when you click your movieClip/button.. what is it you want to happen?

    a.) you want to open a NEW browser window usually loading a new HTML page
    or
    b.) you want to load an external.swf into your CURRENT movie?

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