Copy link to clipboard
Copied
Hi,
I'd like to know if there is any way or any vector graphic file format that i can load dynamically at runtime on a web-based flash application.
I have some files in pdf that i want to load in and i can convert them to jpgs at runtime and load the jpgs but then i lose vector graphics so when i zoom in and out they become pixelated.
I had a look a look at flashpaper to convert pdf to swf and load them in but i can't see anywhere in the documentation about converting the pdf's at runtime rather than manually dragging and dropping them in.
So far i've looked at pdf, svg and .ai but none of these can be loaded at run time just imported into the .FLA
So can this be done? Or alternatively is there an application that can do the pdf -> swf conversion from the commandline then i could trigger php to do the conversion at runtime.
thanks in advance.
Greg
Copy link to clipboard
Copied
You were not clear on the reasons you would want to do that.
If you have full control over graphics and are trying to make your main swf more portable and load vector graphics at runtime - you can host several swfs containing these vector graphics or groups of graphics and load them at runtime - use applicationDomain to extract graphics from loaded swf. Graphics saved in swfs are more portable.
Is it what you need or there is another user case why you would want pdf - not swfs - to be loaded?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi All,
I have a task to save running SWF file to be saved as vector graphics file format and get the same back in the Flex application. Request you to tell me what can be the vector graphics file extension and help me out how to achieve this task.
Thanks & Regards
Santosh Kumar G
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more