I've written a C++ driver that renders a Flash file into a
DirectX texture, after which it can be either shown in a sprite or
be used to map on objects. The sprite version is also interactive
and processes input events. Most flash files work but those created
with Flex run into problems. Some files will get stuck at the end
of the initialization phase. No ActionScripts are called (such as
init or creationComplete), the CPU will be spike to 100% and memory
usage shoots up. I haven't been able to find any patterns that
might explain this behavior.
After the application runs for a while and then I get the
The error above occurs when I add a RichTextEditor component.
Has anyone seen this before? I've tried to following
assumptions with no effect:
1) Perhaps certain image/resource files could not be loaded
from disk. After setting various security options
and stripping any images from my flex files I did not arrive
at a solution
2) Compile the host C++ application with network support on
the assumption that perhaps resources were needed from the web that
could not be access. This did not solve the problem.
3) Change the threading to provide the ActiveX control with
the most CPU resources. Even though Flash ran faster on the files
that worked, it did not solve the problem for the more complex Flex