Code: Select all
buttonPic=LoadImage(#PB_Any,"pictures/button.jpg.")
ButtonImageGadget(1,10,10,ImageWidth(buttonPic),ImageHeight(buttonPic),ImageID(buttonPic))
Code: Select all
buttonPic=LoadImage(#PB_Any,"https://myhomepage.com/pictures/button.jpg.")
ButtonImageGadget(1,10,10,ImageWidth(buttonPic),ImageHeight(buttonPic),ImageID(buttonPic))
;In example 2 the program freezes and the buttonimagegadget is not created.
;This works
Code: Select all
buttonPic=LoadImage(#PB_Any,"https://myhomepage.com/pictures/button.jpg.")
ImageGadget(1,10,10,ImageWidth(buttonPic),ImageHeight(buttonPic),ImageID(buttonPic))
;works:
Code: Select all
LoadSound(2, "sound/sound.wav")
Code: Select all
LoadSound(2, "https://myhomepage/sound/sound.wav")
// Moved from "Bugs Reports" to "Coding Questions" (Peter)