Using player objects in IDE and Standalone
Posted: Fri Feb 12, 2010 10:32 am
Hi,
I'm trying to use Player Objects to play simple .mov sound files. I want to play them while I'm designing, working in the IDE, and then, when I create a standalone, I want them to play there.
I'm not having luck with this. If I use the "Browse..." function to relate the player to the sound file, the files don't play when I create a standalone. Presumably because the absolute path isn't converted to a relative one. Illustration:

If I input a relative path in the IDE's window, then I can get the files to play from the standalone. But they won't play within the IDE, so it's difficult to make design decisions. Illustration:

How can I get Rev to play the file in the IDE and from the standalone? Do I need to do scripting gymnastics to parse path and filenames, or is there a built-in way for this to "just work?"
Thanks,
Doug
I'm trying to use Player Objects to play simple .mov sound files. I want to play them while I'm designing, working in the IDE, and then, when I create a standalone, I want them to play there.
I'm not having luck with this. If I use the "Browse..." function to relate the player to the sound file, the files don't play when I create a standalone. Presumably because the absolute path isn't converted to a relative one. Illustration:

If I input a relative path in the IDE's window, then I can get the files to play from the standalone. But they won't play within the IDE, so it's difficult to make design decisions. Illustration:

How can I get Rev to play the file in the IDE and from the standalone? Do I need to do scripting gymnastics to parse path and filenames, or is there a built-in way for this to "just work?"
Thanks,
Doug