Problem reading an array from a plist.

Problem reading an array from a plist.
0.0 0


Having quite a bit of problems trying to figure out how to read in an array of strings from a plist. I checked that the CCDictionary returned was correct, but the array returned inside the CCDictionary was not what I expected, with a different array count and I’ve no idea what objects in it.

    //setup animation frame names
    linesmanIdle1 = CCMutableArray::arrayWithArray(NULL);

    const char *pszPath = CCFileUtils::fullPathFromRelativePath("LinesmanIdle1.plist");
    CCDictionary *myDict = CCFileUtils::dictionaryWithContentsOfFile(pszPath);

    CCArray *tempNameArray = (CCArray*)(myDict->objectForKey("Frames"));
    CCObject *obj;

    CCARRAY_FOREACH(tempNameArray, obj)


Appreciate any advice on this matter and point out any silly mistakes I made.