A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Button bug

  1. #1
    damned...
    Join Date
    Jan 2004
    Location
    France
    Posts
    104

    Button bug

    I try to create a very simple button...
    See the .fun
    and the .swf
    and the icon .gif

    left=1 icon image
    right = same icon defined as a button...

    Why the image is not the same ?
    From where are these 3 black points coming ?

    oups...the first links are bad...
    What is this dummy screen...KComponent ?
    Last edited by Glops; 10-05-2004 at 01:00 AM.

  2. #2
    Senior Member FLASHPULSE's Avatar
    Join Date
    Nov 2002
    Location
    USA
    Posts
    1,356

    Re: Button bug

    Originally posted by Glops
    From where are these 3 black points coming ?
    Hmm, not sure. Bob will have to look at this one.

  3. #3
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890

    Re: Button bug

    Originally posted by Glops
    Why the image is not the same ?
    From where are these 3 black points coming ?

    oups...the first links are bad...
    What is this dummy screen...KComponent ? [/B]
    1) For small transparent images,use 1 pixel transparent edges.
    In other words,if the image size is 16x16,the final size is 18x18.
    In this way,"the images are the same".
    2) those 3 (in fact 4) black points are the result of the issue presented above (the image content is shifted).
    3) The dummy screen is ... your fault !
    Don't include KComponents if not needed (see Export Options for your FUN file).
    cheers

  4. #4
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    If you can't edit the original transparent image,another solution is to tune up the image (to shift a little bit its content).
    See the attached file.

  5. #5
    damned...
    Join Date
    Jan 2004
    Location
    France
    Posts
    104

    thanks for your help

    even if I think strange to change the original image for a button...now I have some explanations !
    Hope this feature will be improved some day !

  6. #6
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890

    Re: thanks for your help

    Originally posted by Glops
    even if I think strange to change the original image for a button...now I have some explanations !
    Hope this feature will be improved some day !
    I agree.
    But don't blame me for that !

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