Hi there,
I'm trying to add cuepoints to a video at runtime to display subtitles. I'm using a loop to get my cuepoints from XML and add them using the addASCuePoint method. But for some reason only the first 2 cuepoints seem to be displaying.
Here is my for loop:
for (var i:int = 0; i < subtitlesXml.cuePoint.length(); i++) { cuepointStart = subtitlesXml.cuePoint.attribute("substart"); cuepointEnd = subtitlesXml.cuePoint.attribute("subend");
subtitles = subtitlesXml.cuePoint.subtitle;
videoLoader.addASCuePoint(cuepointStart, "substart " + i, {id:i});