View Full Version : Using the relative path of the CCF loaded

May 13th, 2009, 10:37 AM
If you want to set a variable for any flash object (swf file) you might like to use in your LUA file for your NR CCF file here is an example of the syntax to have it set to the current path that the CCF is loaded from.

NetRemote.SetVariable("cal_swfpath", NetRemote.GetVariable("NR.FILE.Path") .. "\\Calculator.swf")

Then in the Movie URL field you can use {cal_swfpath}