I think when you have predefined Objects that use files, the publish process detects the files and adds them to its resource list.

With runtime objects, this doesnt work so i think you have to explicitly tell the compiler to look for the files.

You can use the 'BIND' keyword for this. So if your panel used an image like "car.png";...you would use BIND "car.png";