Jscho32
Jul 1 2008, 06:12 PM
Is it possible to include a .bmp file in my Skunkworks Project so that my interface can use it via imagefilesrc?
Is this even supported?
GKusnick
Jul 1 2008, 06:42 PM
You don't need to include it in your project. Just reference the full path of the file from the imagefilesrc attribute in your view XML.
Jscho32
Jul 1 2008, 09:16 PM
I've been building my interface inside of my main script.js file, would this be the reason it isn't working? I'll move my interface into an XML and try it again.
GKusnick
Jul 2 2008, 01:35 PM
It shouldn't matter whether the XML text is stored in a file or generated on the fly, so long as you generate the path correctly. Remember that backslash is the escape character in JScript string literals, so you need to double up the backslashes in file paths.
Jscho32
Jul 3 2008, 11:08 PM
that must be why it didn't work inside my normal script originally. I did get it working in the xml though, this is pretty sweet! Thanks a bunch.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.