Kickassjoe Posted January 13, 2007 Share Posted January 13, 2007 (edited) O.K., so I recently wanted to show some friends some of the programs that I have made, but they don't need the source code, and all of the pictures that were in the original folder. Is there a way to include them in the compiled script (not having to have a folder containing them, just having them in the compiled script)? Edited January 13, 2007 by Kickassjoe What goes around comes around... Payback's a bitch. Link to comment Share on other sites More sharing options...
Paulie Posted January 13, 2007 Share Posted January 13, 2007 O.K., so I recently wanted to show some friends some of the programs that I have made, but they don't need the source code, and all of the pictures that were in the original folder. Some of them are telling me that the pictures that are meant to be displayed aren't displaying.Do all of the pictures have to be in the folder that they were in when the script was uncompiled? Or am I doing something wrong?You have two options, give them the pictures, or re-compile the script but this time FileInstall() them Link to comment Share on other sites More sharing options...
quaizywabbit Posted January 13, 2007 Share Posted January 13, 2007 you must use FileInstall() for each item. Then reference the 'installed' file in your script. [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
Kickassjoe Posted January 13, 2007 Author Share Posted January 13, 2007 (edited) can you give an example like, if I wanted to include a file named bg.bmp (dir C: \game\data) into a compiled script named game.exe (dir C: \game), how would I do that? err... how would I use this file in the script??? I will be testing it out. Edited January 13, 2007 by Kickassjoe What goes around comes around... Payback's a bitch. Link to comment Share on other sites More sharing options...
Kickassjoe Posted January 13, 2007 Author Share Posted January 13, 2007 Nvm, got it to work, after reading fileinstall() closer What goes around comes around... Payback's a bitch. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now