Copy link to clipboard
Copied
Hallo!
I tryed to load dinamicaly an image svg (.ai) into flash but I can't.
At my level:
1) I know that flash can't import .svg file but it is possible convert svg in Adobe ilustrator .ai file;
2) I can import .ai file in flash with no problem;
3) I can load dinamicaly external .jpg file with no problem;
If I try to load dinamicaly .ai file in the same way that I use to load .jpg file I get this message:
Error #2044: Unhandled ioError:. text=Error #2124: Loaded file is an unknown type. URL: file: .....
Is there any way to solve this problem?
Can someone help me?
Thank you.
Copy link to clipboard
Copied
you can use the urlloader class to load the svg but it won't display an image until you parse the xml, Using SVG as a level design format - Zeh Fernando