[Flashcoders] custom font in Combobox dropdown
Hi All, Is it possible to display custom fonts in the dropdown list of a Flash cs combobox component? I am trying to do something as shown at http://arulprasad.blogspot.com/2006/07/showing-list-of-fonts-in-flash-v2.html But im getting stuck at myCB.dropdown.listContent[i].cell.getTextFormat (); What is the equivalent of listContent in AS3? Thanks for your time. Any help would me much appreciated. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] CDATA whitespace issue
And derivatively, a way to grab the entire contents of a node as one big string: http://www.gaiaflashframework.com/index.php/topic,918.0.html ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] CDATA whitespace issue
http://www.stevensacks.net/2008/07/02/parsing-xhtml-with-e4x-in-as3/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] CDATA whitespace issue
> Is there any way (like > the old ignoreWhite param), that i can get as3 to strip the extra tabs > and linebreaks (even within CDATA)? Allandt, Have you tried: TextField.condenseWhite = true; ? Regards, -Keith http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash CS4 stage width x height
Flash has extended the limit of BitmapData instances, that were previously limited to 2880x2880, to 4096x4096 (or, rather, any size that has a maximum of 16,771,216 pixels, with a maximum of 8191 for either size). I had never reached an actual *stage* limit, but then again I'm restricted to normal human screen sizes. But since that bitmap size was extended, and it's the same value, I'd bet that the stage now can be bigger too. I heard this is the case with AIR applications (because apparently the AIR screen composition relied on some Bitmap feature), so it must be with regular Flash too. Zeh On Thu, Oct 16, 2008 at 7:23 AM, Cedric Muller <[EMAIL PROTECTED]> wrote: > Hello list, > > What are the width + height capabilities of flash 10 ? > > up to CS3, only 2880 x 2880 were possible. Now I have a 4 full HD screens > setup that would need to be handled by Flash :( > > Any ideas ? > > tia, > cedric > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] CDATA whitespace issue
:D thanks mate On 16 Oct 2008, at 14:44, Cedric Muller wrote: :) yes I know, I am facing the exact same problem. I love best-case scenarios, but with xml I couldn't achieve the first option, unless rendering the xml from a cms. cedric hey cedric - thanks for your response the linebreaks are purely aesthetic, to make it easier to write directly in the xml doc but, as you say, they could be stripped (i'm using tags already but the net result is the same). I'm really just seeing how far i can go in my xml - the first option is my best-case scenario best a On 16 Oct 2008, at 14:01, Cedric Muller wrote: I don't have the answer, but since you are using html, can't you just add instead of linebreaks ? HeadingDescription from xml. Sometimes, I strip linebreaks from the text I parse in xml, but by doing this, you have to know for sure when you can apply such 'hardcore' rule. This could result in breaking the readability of a paragraph. hth, Cedric hi folks i'm writing some xml for my site to load in content and, because i want to use html, i'm using cdata in my description nodes. The problem is that if i do the following: [xml] [/xml] which is the best structural way of creating it (in my opinion), the CDATA keeps the whitespace between the 2 lines which means that the best way (in as3's eyes) for me to do this is: [xml] [/xml] which is jarring to write (again, my opinion). Is there any way (like the old ignoreWhite param), that i can get as3 to strip the extra tabs and linebreaks (even within CDATA)? thanks a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] CDATA whitespace issue
:) yes I know, I am facing the exact same problem. I love best-case scenarios, but with xml I couldn't achieve the first option, unless rendering the xml from a cms. cedric hey cedric - thanks for your response the linebreaks are purely aesthetic, to make it easier to write directly in the xml doc but, as you say, they could be stripped (i'm using tags already but the net result is the same). I'm really just seeing how far i can go in my xml - the first option is my best-case scenario best a On 16 Oct 2008, at 14:01, Cedric Muller wrote: I don't have the answer, but since you are using html, can't you just add instead of linebreaks ? HeadingDescription from xml. Sometimes, I strip linebreaks from the text I parse in xml, but by doing this, you have to know for sure when you can apply such 'hardcore' rule. This could result in breaking the readability of a paragraph. hth, Cedric hi folks i'm writing some xml for my site to load in content and, because i want to use html, i'm using cdata in my description nodes. The problem is that if i do the following: [xml] [/xml] which is the best structural way of creating it (in my opinion), the CDATA keeps the whitespace between the 2 lines which means that the best way (in as3's eyes) for me to do this is: [xml] [/xml] which is jarring to write (again, my opinion). Is there any way (like the old ignoreWhite param), that i can get as3 to strip the extra tabs and linebreaks (even within CDATA)? thanks a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] CDATA whitespace issue
hey cedric - thanks for your response the linebreaks are purely aesthetic, to make it easier to write directly in the xml doc but, as you say, they could be stripped (i'm using tags already but the net result is the same). I'm really just seeing how far i can go in my xml - the first option is my best- case scenario best a On 16 Oct 2008, at 14:01, Cedric Muller wrote: I don't have the answer, but since you are using html, can't you just add instead of linebreaks ? HeadingDescription from xml. Sometimes, I strip linebreaks from the text I parse in xml, but by doing this, you have to know for sure when you can apply such 'hardcore' rule. This could result in breaking the readability of a paragraph. hth, Cedric hi folks i'm writing some xml for my site to load in content and, because i want to use html, i'm using cdata in my description nodes. The problem is that if i do the following: [xml] [/xml] which is the best structural way of creating it (in my opinion), the CDATA keeps the whitespace between the 2 lines which means that the best way (in as3's eyes) for me to do this is: [xml] [/xml] which is jarring to write (again, my opinion). Is there any way (like the old ignoreWhite param), that i can get as3 to strip the extra tabs and linebreaks (even within CDATA)? thanks a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] CDATA whitespace issue
I don't have the answer, but since you are using html, can't you just add instead of linebreaks ? HeadingDescription from xml. Sometimes, I strip linebreaks from the text I parse in xml, but by doing this, you have to know for sure when you can apply such 'hardcore' rule. This could result in breaking the readability of a paragraph. hth, Cedric hi folks i'm writing some xml for my site to load in content and, because i want to use html, i'm using cdata in my description nodes. The problem is that if i do the following: [xml] [/xml] which is the best structural way of creating it (in my opinion), the CDATA keeps the whitespace between the 2 lines which means that the best way (in as3's eyes) for me to do this is: [xml] [/xml] which is jarring to write (again, my opinion). Is there any way (like the old ignoreWhite param), that i can get as3 to strip the extra tabs and linebreaks (even within CDATA)? thanks a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] CDATA whitespace issue
hi folks i'm writing some xml for my site to load in content and, because i want to use html, i'm using cdata in my description nodes. The problem is that if i do the following: [xml] [/xml] which is the best structural way of creating it (in my opinion), the CDATA keeps the whitespace between the 2 lines which means that the best way (in as3's eyes) for me to do this is: [xml] [/xml] which is jarring to write (again, my opinion). Is there any way (like the old ignoreWhite param), that i can get as3 to strip the extra tabs and linebreaks (even within CDATA)? thanks a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash CS4 stage width x height
Hello list, What are the width + height capabilities of flash 10 ? up to CS3, only 2880 x 2880 were possible. Now I have a 4 full HD screens setup that would need to be handled by Flash :( Any ideas ? tia, cedric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders