A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8] Help with buttons

  1. #1
    Junior Member
    Join Date
    Mar 2007
    Posts
    27

    [F8] Help with buttons

    I'm new here- my name's Alyssa, I'm 15 years old, and I can program in PHP/MySQL/CSS/HTML/some other stuff, but I want to start doing Flash. I know hardly anything, but am quick to learn, and that's why I'm here. =]

    I'm trying to make a very basic web site consisting of a background image with three main buttons that when clicked on, take you to a different page but within the same Flash application thing.. how do you make a button do that? I see where you can edit the button's properties, but there's no place for a URL or where to specify where the button takes you.. would you use AS for this? What AS code, if so?

    Thanks alot for taking the time to read this. =D

  2. #2
    Junior Member
    Join Date
    Mar 2007
    Posts
    8
    Do you want your buttons to send the user to different web pages or different frames within your flash document?

    If you're trying to send to different frames, use this AS code... (make sure you use it in the buttons AS)

    on(release){
    gotoandstop(**Frame Number**);
    }

    That should work for what your wanting. Put the frame number in there, without the *'s.

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