|
-
Senior Member
[?]Vector art to Flash API
I am in the process of making a high score board and I want to share my work with others. I don't want to used saved graphics. I want this scoreboard to be created on the fly. This way I can give out code instead of a fla file. I know I can use lineTo, but that would take forever. Is there a program that will take vector art and translate it to some kind of code.
CEO OF
-
M.D.
i guess you could create your own component and let users re-skin elements of it. I'm not sure i understand your logic, you have vector art created for a scoreboard, yet you want to get rid of that vector art and create a copy of it dynamically with lineTo's. Why do that when you have the vector art already?
Best way i can think of is the component way, supply a basic skinned component and let users change graphics, server address and all the other basic parameters for a scoreboard.
-
what about SVG
http://en.wikipedia.org/wiki/Svg
it´s a brother of XML and I have seen already some flash examples that can write & read those (almost perfect).
SVG can be exported from Illustrator, CorelDraw, inkscape,... except flash atm. and be viewed with opera or other browsers using adobe´s or other plugins
-
Senior Member
renderhjs thank you so much. sorry I didn't get a chance to thank you. I looked into svg and fond out that there is a class a to display svgs in flash. I was happy to find such a class. I modified the class to out put the code in a text field. I'm going to release my findings on this board. It is still in testing. I know this will change the way developers look at apps and games in flash. Now developers will be able to make super light weight games and apps. I was working on my flash app called 'xmlloader' witch is a score board; I used the modified svg class to redo the whole app and this is what I got.
Just copy and paste the code in a frame and be amazed
sort of
and a black background makes it look better.
xmlloader_v3.txt
Its about 530 lines of code, but I didn't write a third of it. The modified class did it. This app was 32 kb, with the class its now 5 kb. More than 75% of the size was shaved off. I know we all will benefit from this svg to flash api class.This class will make games and apps pure text.
thank you.
CEO OF
-
Crazy Guy
any update on that ??
it would be so very cool to use svg in a flash movie
if you find some of my ideas weird, look at my avatar for the reason
-
Senior Member
I like the idea too,
a simple google search gave me this:
http://flash-creations.com/notes/sample_svgtoflash.php
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|