Hi All, I keep forgetting the best syntax to use for setting an active picture object to load an image from the same directory of the app itself.
anyone?
thanks
Printable View
Hi All, I keep forgetting the best syntax to use for setting an active picture object to load an image from the same directory of the app itself.
anyone?
thanks
apppath$+"YourImage.png"
thanks. Can that go in the FILENAME tab in the properties of the active? It seems not.. I guess I'll have to make Filename blank, and then at start of frame> load apppath$ etc....
For a filename property, use
.\MyFile.txt
No, I mean in the properties of the active, the tab called Filename... it seems like Apppath$ cant work there\. Am I wrong?
If it's in the frame editor, and not in the expression editor, then no it can't work. But what WILL work is this:Code:.\MyFile.txt
thanks much
Okay, here is a problem I am having:
I am using Active Picture to load an image based on a counter's value...which almost constantly changes. The application is supposed to locate a file within a certain subdirectory if the counter is a certain value. It works just fine within Multimedia Fusion 2 Developer, but when I build the app and run it seperate (to test and make sure it will work for the installer), the active picture shows nothing. All the files within the subdirectory exist so I know that it's not that.
Could someone tell me what I am doing wrong?
What path are you using?
Marv
well, the path name is:
Game\AF\skin-c\
this above folder is just one of many subdirectories I have in the application.
I originally renamed all the image files so no one could edit or even view them (was hoping to find a better way to do this...like perhaps store them in a zip file or archive and have each image called)...but the problem was not because of the files' extensions, as I renamed them back to .gif, .png, bmp, etc. and received the same results. Within MMF2 Dev, the images will appear, but as a stand-alone, they do not.
The only solution I had to solve this was to make individual active objects and while this would simplify things, I'd end up with a 50+ MB file as then I would have to make a massive amount of active objects to handle all I wanted to do.
Rather than 10 active objects containing hundreds of frames within possible dozens of directions and even more animations, I wanted 10 active pictures, loading 1 of up to several hundred pictures 1 at a time, as if it were an active object.