Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2005
    Posts
    17

    Changing a image objects filename when mouse is over a button

    Hi,
    I have tried to change the image objects filename for a while now, and I am not able to do so successfully.

    I use the following code in the buttons On Enter event:

    pic="AutoPlay\Images\raketter.png";
    Image.Load("productImage",pic);

    I have a image object on the page called productImage
    This is set to "AutoPlay\Images\blank.png" at default, meaning this is the image that apears when a user goes into the page.

    Is the Image.Load function just loading, without displaying the image on the page, or is it not ment for that at all??

    Confused.

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Hi, in AMS you have to escape slashes in paths. Try this:

    pic="AutoPlay\\Images\\raketter.png";


  3. #3
    Join Date
    Dec 2005
    Posts
    17
    Thanks, that solved it.

    Thanks for great and FAST feedback.

    I've had to problems so far. Both of them solved in this forum, not long after by other members of the forum.

    Thanks to you all. Some day, I will be good enough in this program to be able to help others. Then I will. (Second day I own this software now )

  4. #4
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    @abcnormal

    I know the feeling. It started pretty much from the beginning (wanting to help others with AMS concerns). Hopefully that's seen as a positive reflection upon my character, as well as yours.

    Intrigued

  5. #5
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    You're nothing if not a positive character Intrigued.

    Every single person here started from zero at some point. AMS is totally worthwhile to learn though, it's astounding the sort of stuff you can do with it. I've even released freeware which was built with it:

    http://www.download.com/Interval-Tra...=dl&tag=button


  6. #6
    Join Date
    Oct 2004
    Location
    East, South & West Asia
    Posts
    1,020
    Quote Originally Posted by Corey
    You're nothing if not a positive character Intrigued.

    I've even released freeware which was built with it:

    http://www.download.com/Interval-Tra...=dl&tag=button

    BRAVO !!!!!!!!!

  7. #7
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Thanks Corey... hey, over 1000 downloads too! It's really picking up steam over there at it's new home of download.com. Congratulations!
    Intrigued

Similar Threads

  1. Example: Creating an on/off button to toggle background audio
    By Jonas DK in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 07-10-2004, 02:54 PM
  2. Example: Make an Image 'Follow' the Mouse Cursor
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-18-2004, 09:06 AM
  3. Reloading Image Objects at Runtime
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 10:26 AM
  4. Display Text by Mouse Over of Image Object
    By jdanniel in forum AutoPlay Media Studio 4.0
    Replies: 3
    Last Post: 04-30-2003, 12:05 PM
  5. TUTORIAL: Showing and Hiding Objects in AutoPlay Menu Studio 3.0
    By Support in forum AutoPlay Menu Studio 3.0
    Replies: 0
    Last Post: 10-10-2002, 02:39 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