Skip to main content
Inspiring
Jan 21, 2009 7:21 PM UTC
Answered

FlowElement interface details

In a previous thread there was mention of FlowElement having a styleName attribute as well as a custom attribute interface (incl import/export).

I grabbed the latest swc files from the gumbo trunk, and styleName is implemented as a member of FlowElement.

I was wondering if there was any more information on how to use the styleName attribute?
Does it use css styles?
How are they loaded?
Does it work in the import/export scenarios?

Also, if you can give some information on the custom attribute interface that would be helpful. I tried adding some custom attributes to TLF markup and importing/exporting it, but I did not get the attributes on export. Also, is there a way to find if an element has the custom attribute in ActionScript?

Thanks,
Tim

This topic is closed to new replies. Start a new post to keep the conversation going.
rdermerCorrect answer
Inspiring
Jan 22, 2009 5:33 PM UTC
We're in the middle of a large set of changes to the attributes and styling code. What you are seeing is intermediate work - there are more changes coming.

I'd rather doc it all at once then give an explanation that is going to get revised again.

Thanks for your patience,
Richard

2 replies

Participating Frequently
Feb 20, 2009 8:39 PM UTC
See Richard's blog posts at New TLF APIs in Build 370 and IFormatResolver And Using CSS With TLF
Translate
rdermerCorrect answer
Inspiring
Jan 22, 2009 5:33 PM UTC
We're in the middle of a large set of changes to the attributes and styling code. What you are seeing is intermediate work - there are more changes coming.

I'd rather doc it all at once then give an explanation that is going to get revised again.

Thanks for your patience,
Richard
Translate