Results 1 to 2 of 2

Thread: static vs dynamic refresh

  1. #1
    Join Date
    Jun 2005
    Posts
    339

    Default static vs dynamic refresh

    I think I need some syntax help! This syntax works to display the album cover for a current zone/source in my setup:

    MP["<AP.Z<AP.CurrZone>.Source>"].PlayingNowCover

    For example if the current zone being displayed is 1 and it's playing source 3, the above will resolve to AP.Z1.Source which is 3.

    However, I can't seem to get the dynamic refresh version of this to work, substituting the < for { doesn't seem to resolve to anything and I don't see any errors associated with it.

    Help!

    Thanks!

    PS - I should add that the easy workaround is to put a NetRemote.Rebind() when the variables change, but at this point I'm curious about what I'm doing wrong!

    K
    Last edited by kwaugh; October 4th, 2009 at 08:01 AM.

  2. #2
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    Angle bracket names are only refreshed on demand using NetRemote.Rebind() or when the page is loaded, so NetRemote.Rebind() is the only solution here. ie you're not doing anything wrong.
    --Rob

Posting Permissions

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