Results 1 to 1 of 1

Thread: Using the relative path of the CCF loaded

  1. #1
    Join Date
    Apr 2004
    Location
    Dearborn, MI
    Posts
    1,968

    Default Using the relative path of the CCF loaded

    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.

    Code:
    NetRemote.SetVariable("cal_swfpath", NetRemote.GetVariable("NR.FILE.Path") .. "\\Calculator.swf")
    Then in the Movie URL field you can use {cal_swfpath}
    Last edited by jwilson56; May 13th, 2009 at 09:40 AM.
    John

    Now Playing skin creator

    Girder 5.0 / Elk-M1EZ8 / Ocelot / SECU-16IR /SECU-16I / SECU-16 / BobCat Humidity
    JRMC 11.1 / M-Audio Delta 410 / Xitel HIFI Pro / Xitel HIFI Link
    NetRemote 2.0 / 6 Zone whole house audio delivering 1580 watts RMS total
    ELO 15" Touchscreen, Nokia 770 and Advent 3500PC Mobile PC 7" TS
    Droid 2 Global

    Click here to visit my Nowplaying Showcase Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •