Hi LanternWaste,
I think it depends on how/when you want to fade the music. What triggers it?
Example Use:
Upon entering a frame, music plays in a loop
The user clicks on a hotspot that takes them to a different frame.
As the user is taken to the next frame the music fades out.
On the next frame, you could play a different sound or music and fade in.
frame 1: from frame properties, select audio tab and set a channel to play music. checkmark the loop option.
frame 1: from a hotspot properties, set it to go to another frame and set the fade option to 2 seconds. Select audio tab. Select the same channel as before. Set it to "stop". And select fade. The fade duration is default to 2 seconds (at the bottom of the dialog).
frame 2: Set the frame properties to play a different song if you wish and set the checkmark fade option.....
As for the inventory background color change. Did you want to change the color based on the frame the user is on or is it triggered by something else?
With a little scripting, you can set the color on the InventoryCanvasObject. There is an InventoryBackgroundObject, but that is an image.
I started with a lime green background and I used a hotspot to change the color of the inventory to light blue. YUK!
Be sure you have something in your inventory so you can see it work. Use the Action.AddItem "object" in the frame properties advanced tab to add something to the frame's inventory if you wish to test.
This changes it to light blue
- Code: Select all
InventoryCanvasObject.BackColor = RGB(0,255,255)
If you want to learn more properties on a picturebox like the "InventoryCanvasObject", go to the MSDN site here:
http://msdn.microsoft.com/en-us/library/zzt5x46b(v=vs.80).aspx...good luck and have fun!