Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Is there anyway to keep an IMG from disappearing under a button?

  1. #1
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448

    Is there anyway to keep an IMG from disappearing under a button?

    I'm using a static image as part of a button graphic. However, after going "ON" or "DOWN" on the button, the image disappears complete until the skin is reloaded.

    Here's the IMG and Button code:

    IMG,181,138,32,30,"\icons\folder.gif","OFF"

    B01,90,130,310,47,"FILEMANAGER",

    I've tried using multiple entries of the same image in the same location in different layers, but it still keep disappearing. How can I keep the image from disappearing within the button boundaries?

    TIA!

  2. #2
    MGD
    MGD is offline
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,756
    Plain...NO

  3. #3
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Oh well...

  4. #4
    MySQL Error MatrixPC's Avatar
    Join Date
    Sep 2003
    Location
    Beach City, Socal
    Posts
    4,053
    Actually YES, there is a way.
    Try this with your code.
    Code:
    IMG,181,138,32,30,"\icons\folder.gif","OFF"
    IMG,181,138,32,30,"\icons\folder.gif","ON"
    IMG,181,138,32,30,"\icons\folder.gif","DOWN"
    IMG,181,138,32,30,"\icons\folder.gif","EMPTY"
    Yes, all 4 lines for each (layer) image/button.
    There could be another way, but I am not sure/don't know as of now. Will dig more into it.

    Look like you don't need the "OUT" layer.
    2004 Matrix XR A7N8X-VM/400 AMD XP-M 2500+, DS-ATX
    89 Supra Turbo P3 600E@750/Abit BE6 II, Alpine M-BUS Car2PC.
    Y2K Accord Dell GX150
    RoadRunner is the best FE PERIOD
    EmoRebellion is a SCAMMER

  5. #5
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Quote Originally Posted by MatrixPC View Post
    Actually YES, there is a way.
    Try this with your code.
    Code:
    IMG,181,138,32,30,"\icons\folder.gif","OFF"
    IMG,181,138,32,30,"\icons\folder.gif","ON"
    IMG,181,138,32,30,"\icons\folder.gif","DOWN"
    IMG,181,138,32,30,"\icons\folder.gif","EMPTY"
    IMG,181,138,32,30,"\icons\folder.gif","OUT"
    Yes, all 5 lines for each (layer) image/button.
    There could be another way, but I am not sure/don't know as of now. Will dig more into it.
    Already tried that. Unfortunately, didn't work.

  6. #6
    MySQL Error MatrixPC's Avatar
    Join Date
    Sep 2003
    Location
    Beach City, Socal
    Posts
    4,053
    Where is your icon folder? It could be path problem.
    If you have your icon folder in this skin call "MySkin" as in the following Skins\MySkin\Icon
    You have to call the folder.gif with out the first forward slash (\). Should be like this "icons\folder.gif" instead of "\icons\folder.gif"
    Try it, it work for me.
    Just to show you that I am modifying main screen of Simplistique skin.
    Attached Images Attached Images  
    2004 Matrix XR A7N8X-VM/400 AMD XP-M 2500+, DS-ATX
    89 Supra Turbo P3 600E@750/Abit BE6 II, Alpine M-BUS Car2PC.
    Y2K Accord Dell GX150
    RoadRunner is the best FE PERIOD
    EmoRebellion is a SCAMMER

  7. #7
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Quote Originally Posted by MatrixPC View Post
    Where is your icon folder? It could be path problem.
    If you have your icon folder in this skin call "MySkin" as in the following Skins\MySkin\Icon
    You have to call the folder.gif with out the first forward slash (\). Should be like this "icons\folder.gif" instead of "\icons\folder.gif"
    Try it, it work for me.
    Just to show you that I am modifying main screen of Simplistique skin.
    icons folder is located in my skin directory:

    skins\B5 MMI\icons

    Here's the code:

    Code:
    /, IMG, x, y, w, h, File Name, Option;IMGLAYER
    IMG,181,138,32,30,"icons\folder.gif","DOWN"
    IMG,181,138,32,30,"icons\folder.gif","EMPTY"
    IMG,181,138,32,30,"icons\folder.gif","ON"
    IMG,181,138,32,30,"icons\folder.gif","OUT"
    IMG,181,138,32,30,"icons\folder.gif","OFF"
    Still didn't work for me. I tried with both with and without the forward slash. Same result. RR 2/6/07 Beta version.

    What is your button code attached to your image graphic?

  8. #8
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    dont use a standard button, use a label thats clickable. You can create invisible buttons (they don't respond to being highlighted by mouse overs or keyboard) then just put your images over the invisible button. That should do what u want. If its not a label its an indicator cant remember which one, just search inside of skincommands.txt for invisible.
    01101100 01101001 01110001 01110101 01101001 01100100 01011111 01110011
    01101101 01101111 01101011 01100101

    beer replenishment fund
    http://www.mp3car.com/vbulletin/rr-faq/
    mp3car live search

    i have joost invites, just hit me up for one.

  9. #9
    MySQL Error MatrixPC's Avatar
    Join Date
    Sep 2003
    Location
    Beach City, Socal
    Posts
    4,053
    Let me finish up the main menu and post it here so you can see.
    2004 Matrix XR A7N8X-VM/400 AMD XP-M 2500+, DS-ATX
    89 Supra Turbo P3 600E@750/Abit BE6 II, Alpine M-BUS Car2PC.
    Y2K Accord Dell GX150
    RoadRunner is the best FE PERIOD
    EmoRebellion is a SCAMMER

  10. #10
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Quote Originally Posted by liquid_smoke View Post
    dont use a standard button, use a label thats clickable. You can create invisible buttons (they don't respond to being highlighted by mouse overs or keyboard) then just put your images over the invisible button. That should do what u want. If its not a label its an indicator cant remember which one, just search inside of skincommands.txt for invisible.
    It works, but I wish I didn't have to lose the "ON" visual.

Page 1 of 2 12 LastLast

Similar Threads

  1. Button request: Minimize
    By DaveB in forum Mobile Impact
    Replies: 17
    Last Post: 01-04-2007, 08:35 PM
  2. Changing button icons in centrafuse
    By BrentMcGhee in forum Centrafuse
    Replies: 10
    Last Post: 04-28-2006, 07:23 PM
  3. Power Button not working?
    By NoTicketsPlease in forum Newbie
    Replies: 5
    Last Post: 02-28-2006, 10:43 PM
  4. Replies: 2
    Last Post: 04-04-2005, 03:45 PM
  5. OPUS plus power button
    By The Grinch in forum Power Supplies
    Replies: 2
    Last Post: 07-25-2004, 01:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •