by Hippogriff » Sat Sep 04, 2010 5:11 am
One of the limitations listed at the start of this thread is that page.selectedMedia is not available in the onPageEnter event and I was wondering if this is something that could be remedied in a later version? I am currently using the onPageKey event to access page.selectedMedia and, obviously, it does this all the time, when you are browsing lists of media... but not when you've selected a piece of media and entered the page that you want to run it from.
Just thinking about efficiency... as you're moving your selection box from MP3 track to MP3 track in an Album, this onPageKey event is fired every time (even when re-selecting things you've selected previously - obviously) and you find yourself populating your local variable with the contents of page.selectedMedia many, many times. I'd prefer to do it once, in onPageEnter.
Or is there a way around this?
Hippo