Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-03-2007, 04:20 AM   #1
amandeepsiin
Cooool
 
Join Date: Jan 2007
Location: Mumbai
Posts: 36
Send a message via Yahoo to amandeepsiin
Default SVG format

Hi,

Can anyone tell me that how can I get the SVG format from flash through ActionScript at runtime.

Let say I am designing a template in flash which uses text, images, and vector graphics. I need to export the same as a high resolution JPEG and also need to export the same as SVG format.

I know how to export the high resolution JPEG, but I don’t know how to export the SVG format. Can anyone help me in doing the same?

Thanks in advance.
amandeepsiin is offline   Reply With Quote
Old 02-05-2007, 01:26 PM   #2
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
Default

Howdy and Welcome...

I don't think you can export SVG out of Flash...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 02-05-2007, 05:08 PM   #3
newblack
dondeEstanMisPantalones?
 
newblack's Avatar
 
Join Date: Nov 2005
Location: New York Proper
Posts: 1,173
Send a message via AIM to newblack
Default

take a look at this: http://flash-creations.com/notes/sample_svgtoflash.php

i'm currently working on an app that exports svg- it's really just .xml. if i was able to share the source with you, i would... sorry
__________________
i am gibreel farishta
general relativity
jellytanks alpha redux
newblack is offline   Reply With Quote
Old 02-05-2007, 05:13 PM   #4
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
Default

Interesting...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 02-06-2007, 04:39 AM   #5
amandeepsiin
Cooool
 
Join Date: Jan 2007
Location: Mumbai
Posts: 36
Send a message via Yahoo to amandeepsiin
Default

Quote:
Originally Posted by newblack View Post
take a look at this: http://flash-creations.com/notes/sample_svgtoflash.php

i'm currently working on an app that exports svg- it's really just .xml. if i was able to share the source with you, i would... sorry
I am also working on the same... SVG is very similar to XML... just the difference it has its own tags... rest the structure is same as XML... so we can use the flash XML object class to accomplish our goal...

working on the same... will let you when done...

Anyways thanx for replying...
amandeepsiin is offline   Reply With Quote
Old 02-06-2007, 04:41 AM   #6
amandeepsiin
Cooool
 
Join Date: Jan 2007
Location: Mumbai
Posts: 36
Send a message via Yahoo to amandeepsiin
Default

Quote:
Originally Posted by CyanBlue View Post
Howdy and Welcome...

I don't think you can export SVG out of Flash...
It is possible and will let you know when done...

Anyways thanx for replying...
amandeepsiin is offline   Reply With Quote
Old 02-06-2007, 01:17 PM   #7
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
Default

Hm... Interesting... Yeah... Please let me know what you find out...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 02-06-2007, 01:55 PM   #8
jsebrech
Joeri Sebrechts
 
Join Date: Apr 2005
Location: Antwerp, Belgium
Posts: 1,462
Default

That example seems to be importing SVG into flash, which I can attest is very feasible. Exporting is simply the reverse process, assuming you have a data structure containing all the drawing operations necessary to recreate a drawing. Which, ofcourse, is a big if.

SVG is richer than flash's native drawing abilities, so if it can be done with the drawing API in flash, it can be translated into SVG.
jsebrech is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the best video format for Flash? SeanPaul72 ActionScript 1.0 (and below) 5 08-06-2009 06:15 AM
Text format and HTML code (TextField vs TextArea) GrEnDeL ActionScript 2.0 1 01-20-2006 03:54 AM
SQL date format to XML format scot Server-Side Scripting 0 07-01-2005 03:36 PM
Email Address Format Validation shan9211 ActionScript 1.0 (and below) 1 12-15-2004 03:30 PM
export mx file to any video format somflash Other Flash General Questions 0 10-27-2003 09:59 AM


All times are GMT. The time now is 12:58 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.