Hi,
i recently started evaluation of the Scaleform Unity Integration and i basically understand how the main_level demo in the eval kit works.
I'm now stuck on the level where i created myself an swf file and loaded it via CreateSwf. Up to this point everything works (no crash or error and the returned instance is not null). After instantiating the movie i want to get a handle to the "_root" element via movie.GetVariable(out root, "_root"). I also tried "root" but everytime the function returns false and root is null.
What could i've possibly done wrong?
Another question: when the above is working i want to connect a function handler thats inside my swf to a c# function - how can this be done with the unity integration? it's perfectly clear to me how it works in the c++ version but the unity function call CreateFunction wants the following parameters: Valu value, string funcName, IntPtr fptr, IntPtr pQueueHandle. i could locate a similar queue handle ptr in the SFManager but it's private. How is this supposed to work?