I create a krpano base object (named 'caller') under my AS3 plugin object, and fill it with data that I want to use from XML. This data is often a nested combination of krpano base objects and arrays. I then pass 'caller' to krpano XML code via the callerobject parameter in krpano.call. I am able to access any attribute at the top level of 'caller', but nested attributes are null.
To illustrate the problem, imagine 'caller' had the following structure:
caller
- num = 10
- strings
-- s1 = 'Hello'
-- s2 = 'Krpano'
I am able to get(num) and get(strings) from krpano XML, but get(strings.s1) and get(strings.s2) both return null. These nested attributes are definitely not null in caller when passed.
Any insight would be very helpful.
Regards,
Fred.
[edit 18/04/2013: fixed up example to make it clear that s1,s1 are attributes of strings]