Help - Search - Members - Calendar
Full Version: How do I include a .bmp file in my Skunkworks Project so that my inter
AC Tools Everything Macro > Other Scripting Tools > Skunkworks
Jscho32
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
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
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
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
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.
Invision Power Board © 2001-2010 Invision Power Services, Inc.