A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: button image???

  1. #1
    Junior Member
    Join Date
    May 2006
    Posts
    2

    button image???

    how do i make a picture a button? i want it to like to a website but nothing will wokr... anyone know how i can do this?

  2. #2
    Senior Member
    Join Date
    May 2005
    Posts
    238

    check this out !

    http://www.etw-design.com/buttons.html
    you do need quicktime to wach this Video tutorial... turn-up speakers...

    instead of the graphic, just insert your image onto the screen.....

    any qestions, just email me... hope this helps.

    [email protected]

  3. #3
    Junior Member
    Join Date
    May 2006
    Posts
    2
    im sorry if i didnt make my post clear, what i ment was i am making a banner type flash where it just keeps going and going, and i have two banners in it, one for my site and one for another site. i want the one for the other site to be a hyperlink(i.e. a button to get to their site) so that when people click on the other sites banner part, it sends people to his website

  4. #4
    Senior Member
    Join Date
    May 2005
    Posts
    238
    I think I understand, try this and see if it helps, the easiest way for you to do this I think as follows;
    first you have to make an invisible button over the banner,
    so this would be on a top of all the layers,
    so create a layer on top of all the other layers and name it "invisible button" , then
    1=click on rectangle tool and draw a box same size as the stage size you are using, then hit F8 on keyboard, click on the button radio and name it "link", click OK,
    2= double click on the button you've just created
    3= where you see a keyframe on the "up" state, click on the keyframe and hold and DRAG it to the "hit" state, let go and and clik OK
    4= click on the button you've created (just once), and hit F9 on your keyboard
    5 = write down the following code ;

    on (release) {
    getURL("http://www.etw-design.com", "_blank");
    }

    6= ctrl+enter on keyboard to test the movie and see if that works !

    obviously you'd have to change the website from mine to yours :-)

    hope this answers ....
    stay cool...
    [email protected]
    http://www.etw-design.com
    Last edited by Jack324; 05-02-2006 at 11:09 PM.

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