A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Button state copy function

  1. #1
    Senior Member evolbeagle's Avatar
    Join Date
    Oct 2000
    Location
    Nashville, TN
    Posts
    355
    Not sure if this board is working yet, but here goes...

    When I'm using text as a button and I want to give the button states, I've noticed something that, if Bob can easily modify it, could be a real time saver.

    Say I make some text into a button and rotate that text to some position other than its initial horizontal position. Then, when I give that text button states and try to copy the up state, it puts the new state version of the text back into the horizontal position. So I have to rotate the new state and position it to match the original state. (Is this making sense?) With, say, 5 buttons each with 2 added states (over and down), this becomes a little time consuming. It would be really cool if the copied states matched the original state, rotation angle and all.

    This is just one of those little things that would make work easier, but it isn't a big deal. I just thought I would mention it in case it's something that's easy to change.


  2. #2
    Senior Member evolbeagle's Avatar
    Join Date
    Oct 2000
    Location
    Nashville, TN
    Posts
    355
    Okay, it finally dawned on me to make the states first, while the text button is horizontal. Then I position the up state however I want and the other states match it perfectly.

    Duh...

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    I have made a note to myself to look at this problem.

  4. #4
    Senior Member
    Join Date
    Dec 2000
    Posts
    440
    I also have a suggestion on button states...

    Why can't I use bmp's for button states...

    Lets say I create two different bmp's (up - down states)

    How would I get the second (down state) button into the screen...

    all the copy shapes and import menus are disabled

    Thanks

  5. #5
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    Fill the down state shape with an image using the shape fill tool. That should work.

    To be more specific, draw a rectangle for the down state shape in the location you want relative to the up state and with the size of the bitmap (may need to be adjusted after filling with the bitmap).

    I have added for the next release the ability to import an image graphic for over and down button states. It is totally equivalent to the steps above except a bit more streamlined.


    [Edited by Bob Hartzell on 02-09-2001 at 09:52 AM]

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