content: sub init()
      m.list = m.top.findNode("charactersList")
      m.list.observeField("itemSelected", "onCharacterSelected")
  end sub
  
  sub populateList()
      characters = m.top.characters
      listContent = CreateObject("roSGNode", "ContentNode")
      
      for each character in characters
          item = listContent.createChild("ContentNode")
          item.title = character.name
          item.description = character.description
          item.HDPosterUrl = character.thumbnail.path + "." + character.thumbnail.extension
      end for
  
      m.list.content = listContent
  end sub
  
  sub onCharacterSelected(event as Object)
      m.global.callFunc("PlayVideo")
  end sub
  
  ' Fetch Characters Data
  function FetchComicCharacters(comicId as String) as Object
      url = "https://gateway.marvel.com/v1/public/comics/" + comicId + "/characters?ts=1&apikey=your_public_key&hash=your_generated_hash"
      request = CreateObject("roUrlTransfer")
      request.SetUrl(url)
      request.SetRequest("GET")
      response = request.GetToString()
      
      if response <> invalid
          json = ParseJSON(response)
          return json.data.results
      else
          return []
      end if
  end function