The closest to what you want is embedding SVG files.
On 9/18/07, Borek <[EMAIL PROTECTED]> wrote: > > Hi all, is there some Flex-supported format for vector graphics > serialization? I mean, I can use something like > > graphics.drawRect(1,2,3,4); > graphics.drawEllipse(...); > // etc. > > while I would appreciate something like > > <rectangle x="1" y="2" width="3" height="4"> etc. > > It would seems logical to me to have this kind of declarative > description rather than imperative method calls when the task - > creating user interface - is practically the same as when creating > containers and controls. > > Thanks, > Borek > > >