You could use a LaTeX renderer to do this, which would be located on the 
server. I've used MimeTex and it's worked great for me. If you wanted, 
you could eventually port that C code to AS3 and do the rendering in 
Flex itself. That would be a major, major undertaking IMHO though.

Patrick

mindmillmedia a écrit :
>
> I am the lead on a project that I really want to use flex on.
> However, I have a bit of a problem. Without going into a great deal
> of detail, I need to be able to generate and display mathematical
> equations within flex (complicated ones).
>
> I had a few thoughts on the issue:
>
> 1. If I could have an outside script that could create the equations
> and save them as images, it would be fine. However, it would have to
> be web app - not a desktop one. If there were a library for PHP's GD
> Library or something like that.
>
> 2. If there were a Flash Component that could generate the equation,
> I could easily write a script to extract that data and save it in some
> useful format.
>
> 3. If I had to, I could leverage the browser and use the IFrame
> concept first demonstrated by Christophe Conraets. However, there is
> still no widely supported way of displaying equations in HTML (yes, I
> know about MathML - but it is still not fully supported in all
> browsers without plugins).
>
> I hope someone has an idea of how this could work best.
>
> David Tucker
>
>  

Reply via email to