caleeli / mathmlformula

Automatically exported from code.google.com/p/mathmlformula
1 stars 0 forks source link

The example flash project does not work out of the box in CS6 on Windows #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download the project testFlashProjectFormula-v1.8-b1054.zip
2. unzip
3. open the fla file in flash CS6
4. try to run it.

What is the expected output? What do you see instead?

I expect to see a formula
instead it gives you an error, because the swc path is incorrect

after fixing that (by just removing the path and leaving fmath-formula.swc in 
the swc config) the component runs but does not show anything, because 
apparantly   MathML.setUrlFontsRelativeToSwfRoot(loaderInfo.url); does not work 
correctly on windows.   (it does run if i place the project on a webserver and 
run it in a browser)

If I change to  : MathML.setUrlFonts("fontswf");
it works like a charm

What version of the product are you using? On what browser?
testFlashProjectFormula-v1.8-b1054.zip  in flash

Please provide any additional information below.

fixing the paths in the project would solve this problem.
However, it would be a good idea to give some sort of feedback to the user 
telling you that the font(path) could not be found.

right now, the component just renders a small sprite containing nothing without 
any errormessage.

regards,
Martijn

Original issue reported on code.google.com by whizz...@gmail.com on 25 Sep 2013 at 8:26