Is this true? I'm changing over from textFormatting to CSS and now my
inputText no longer works...
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
I've got a textField I'm trying to use for input text and I'd like to be
able to style it. Unfortunately, the htmlText is being automatically set to
this:
TEXTFORMAT LEADING=2P ALIGN=LEFTFONT FACE=Arial SIZE=12
COLOR=#00 LETTERSPACING=0 KERNING=0a/FONT/P/TEXTFORMAT
This isn't much help,
use textField.setNewTextFormat()
2006/3/20, Danny Kodicek [EMAIL PROTECTED]:
I've got a textField I'm trying to use for input text and I'd like to be
able to style it. Unfortunately, the htmlText is being automatically set
to
this:
TEXTFORMAT LEADING=2P ALIGN=LEFTFONT FACE=Arial SIZE=12
Is not possible at all. When flash parses a CSS styled html, it simply
replaces all the tags with the corresponding formatting code (textformat,
font, etc).
Ugh, ugly. Thanks.
Danny
___
Flashcoders@chattyfig.figleaf.com
To change your subscription
Emne: Re: [Flashcoders] CSS with input text
Is not possible at all. When flash parses a CSS styled html, it simply
replaces all the tags with the corresponding formatting code (textformat,
font, etc).
Ugh, ugly. Thanks.
Danny
___
Flashcoders
I don't know if this will help you at all, but the TextField.Stylesheet
class has a transform() method which will convert _one_ of your style
objects from the Stylesheet (ie. The one you maybe assigned for the a or
the p element or your_own_custom element) into a TextFormat object
which you
Danny Kodicek schrieb:
I don't know if this will help you at all, but the TextField.Stylesheet
class has a transform() method which will convert _one_ of your style
objects from the Stylesheet (ie. The one you maybe assigned for the a or
the p element or your_own_custom element) into a
You think you've got troubles: mostly I use Director...
Seriously, though, I think text is one area where we should
expect to see some serious improvements since the Adobe
takeover. With all their pdf people on board, they must
surely have a lot of expertise to throw at this (as long as
Coming from the Director world you know there are basic issues with some
of
the more basic elements, such as HTML text, in Director. In the meantime
bigger and badder items have been added to Director giving it more *WOW*
while basic issues were not addressed. (And, no, Xtra is not a solution
Absolutely (although don't forget that many Xtras are
actually part of the standard Director package: text support
itself is wrapped in a standard Xtra).
That's true. I'll quality my original comment by added, Xtras not shipped
with the IDE or part of an update to the IDE.
In addition,
Wouldn't having full www support for html in Flash mean building in a
browser. Not too likely I think.
What about a component in Flash that allows the display of a web
browser window in a flash document, using the browsers functionality.
I wouldn't know where to start, but it would be cool.
On
Wouldn't having full www support for html in Flash mean building in a
browser. Not too likely I think.
Well, no, you wouldn't have to support javaScript and other languages or
activeX controls / plugins. You could probably live without frames or
similar devices. And hyperlinks would probably
Wouldn't having full www support for html in Flash mean building in a
browser. Not too likely I think.
What about a component in Flash that allows the display of a web
browser window in a flash document, using the browsers functionality.
I wouldn't know where to start, but it would be cool.
there ;-) ?
I hope this is helpful otherwise throw it away ;-)
Cheers
Martin Baltzer
-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Danny Kodicek
Sendt: 20. marts 2006 12:12
Til: Flashcoders mailing list
Emne: Re: [Flashcoders] CSS with input text
Wouldn't having full www support for html in Flash mean
building in a browser. Not too likely I think.
I think many folks -- at leat myself -- just want consistent handling of
HTML and CSS, not necessarily a full blown browser. This is especially true
for building offline Mac/Win CD projects
It seems like this thread has morphed into something else. But if you're
looking to style an input text field with CSS, here's a working example...
Note that this is only en example... some things that are hardcoded should
not be... but it gets the point across. The getStyleSheet and
I wrote a simple little system for textformatting with
textField.htmlText. It is really primitive, but we have used it and it
is entirely
possible to make it work.
Thanks - it's fairly similar to what I'm doing too. My solution (which
appears to be working) is to make two functions,
Take a look at FlashTextArea at osflash.
I already did all that work.
On Mon, 20 Mar 2006 09:10:46 -0300, Danny Kodicek
[EMAIL PROTECTED] wrote:
I don't know if this will help you at all, but the TextField.Stylesheet
class has a transform() method which will convert _one_ of your style
Take a look at FlashTextArea at osflash.
I already did all that work.
Ooh, I was looking for a while at text editors, but I missed that one. Got a
demo up somewhere? (incidentally, I got mine working pretty well, so I'll
probably not need it, but if it's more reliable, I might switch)
Danny
On the SVN, under deploy... i don´t have it currently online...
On Mon, 20 Mar 2006 17:34:56 -0300, Danny Kodicek
[EMAIL PROTECTED] wrote:
Take a look at FlashTextArea at osflash.
I already did all that work.
Ooh, I was looking for a while at text editors, but I missed that one.
Got a
20 matches
Mail list logo