Include video file in Standalone

brucem's icon

hi Folks,
I am building standalone's featuring video files, and are stuck with automating the file loading process - ideally, runtime will search inside the package contents for the video file. I understand thispatcher and sprintf might be of assistance but can't follow the process.

cheers,

Bruce

Luke Hall's icon

The "path" to [thispatcher] will not work in a collective or standalone. Instead you need to use "; max sendapppath somename" and the location of your app will be sent to a [receive somename]. Then you can use sprintf to set the desired location inside your application, for example [sprintf symout %s/App Name/Contents/support]. Hope this helps.

lh