Re: [flexcoders] Re: TLF-based TextArea for Flex 3?
Can you point me to documentation that states that TLF can do what TextField’s html cannot? I just want to make sure you have to use TLF. I don’t know what it would take to make it work in Flex 3. On 6/26/12 3:26 PM, handitan handi@gmail.com wrote: Hi Alex, Basically, I need to have RichTextEditor that's going to exist in X number of grid cells. It's not just for text input but also being able to insert images and position them. Hope that clears it up. Handi --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@... wrote: I'm not sure what that means and why TLF can do it. Is the image position known in the text? If so, can you have an Image between two Labels? On 6/26/12 11:02 AM, handitan handi.tan@... wrote: Hi Alex! I am glad you're still around ^_^ One of the requirements is for the user to centered-position the image and also to be able to change the image size so HTML renderer on TextArea wouldn't be suffice. Waiting for you enlightenment, Alex :) Handi --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: Why can't you use an HTML renderer and the img tag? Then you wouldn't need TLF. On 6/26/12 8:47 AM, handitan handi.tan@ wrote: Hi all, I currently have to deal with a feature that needs to allow user to position the image inline with the text at a grid cell. From what I read, the current best bet would be to use Text Layout Framework (TLF). From the samples, it seems exactly to do what I need. But when I try to integrate it as itemRenderer in the grid, the TextFlow couldn't appear correctly. It's just showing it as a tiny pixel on the top-left corner of the grid cell. I know that the TextArea in Flex 4 does support TLF but I will not be able to use it since my application is still under Flex 3.6 SDK (don't bother to tell me to migrate to Flex 4). So I am just wondering if anyone know any open-source TLF-based TextArea for Flex3 or maybe giving me some guides on how to make it work as itemRenderer? Thank you! Handi -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Re: TLF-based TextArea for Flex 3?
I see. Well, you might start by trying to backport Flex 4’s RichEditableText component. However, I would think that if there is only going to be one image per cell, you might be able to customize code more quickly than getting the backport to work. On 6/27/12 7:49 AM, handitan handi@gmail.com wrote: Hi Alex, Here's one example that's TextArea couldn't do which is center-position an image in htmlText. With TLF, I can center-position the image with html using p align='center'. Thank you,Alex. Handi --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@... wrote: Can you point me to documentation that states that TLF can do what TextField's html cannot? I just want to make sure you have to use TLF. I don't know what it would take to make it work in Flex 3. On 6/26/12 3:26 PM, handitan handi.tan@... wrote: Hi Alex, Basically, I need to have RichTextEditor that's going to exist in X number of grid cells. It's not just for text input but also being able to insert images and position them. Hope that clears it up. Handi --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: I'm not sure what that means and why TLF can do it. Is the image position known in the text? If so, can you have an Image between two Labels? On 6/26/12 11:02 AM, handitan handi.tan@ wrote: Hi Alex! I am glad you're still around ^_^ One of the requirements is for the user to centered-position the image and also to be able to change the image size so HTML renderer on TextArea wouldn't be suffice. Waiting for you enlightenment, Alex :) Handi --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: Why can't you use an HTML renderer and the img tag? Then you wouldn't need TLF. On 6/26/12 8:47 AM, handitan handi.tan@ wrote: Hi all, I currently have to deal with a feature that needs to allow user to position the image inline with the text at a grid cell. From what I read, the current best bet would be to use Text Layout Framework (TLF). From the samples, it seems exactly to do what I need. But when I try to integrate it as itemRenderer in the grid, the TextFlow couldn't appear correctly. It's just showing it as a tiny pixel on the top-left corner of the grid cell. I know that the TextArea in Flex 4 does support TLF but I will not be able to use it since my application is still under Flex 3.6 SDK (don't bother to tell me to migrate to Flex 4). So I am just wondering if anyone know any open-source TLF-based TextArea for Flex3 or maybe giving me some guides on how to make it work as itemRenderer? Thank you! Handi -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Re: TLF-based TextArea for Flex 3?
Should be legal. Those files are under MPL. On 6/27/12 11:13 AM, handitan handi@gmail.com wrote: Hi Alex, Unfortunately, it could be more than one image per cell. Is there any licensing issue that I should be aware of if I am backporting Flex 4's RichEditableText component? Thanks Alex! --- In flexcoders@yahoogroups.com, Alex Harui aharui@... wrote: I see. Well, you might start by trying to backport Flex 4's RichEditableText component. However, I would think that if there is only going to be one image per cell, you might be able to customize code more quickly than getting the backport to work. On 6/27/12 7:49 AM, handitan handi.tan@... wrote: Hi Alex, Here's one example that's TextArea couldn't do which is center-position an image in htmlText. With TLF, I can center-position the image with html using p align='center'. ! ; Thank you,Alex. Handi --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: Can you point me to documentation that states that TLF can do what TextField's html cannot? I just want to make sure you have to use TLF. I don't know what it would take to make it work in Flex 3. On 6/26/12 3:26 PM, handitan handi.tan@ wrote: Hi Alex, Basically, I need to have RichTextEditor that's going to exist in X number of grid cells. It's not just for text input but also being able to insert images and position them. Hope that clears it up. Handi --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ! lt;mailto:flexcoders%40yahoogroups.com , Alex Harui ah! arui@ ; wrote: I'm not sure what that means and why TLF can do it. Is the image position known in the text? If so, can you have an Image between two Labels? On 6/26/12 11:02 AM, handitan handi.tan@ wrote: Hi Alex! I am glad you're still around ^_^ One of the requirements is for the user to centered-position the image and also to be able to change the image size so HTML renderer on TextArea wouldn't be suffice. Waiting for you enlightenment, Alex :) Handi --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogro! ups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: Why can't you use an HTML renderer and the img tag? Then you wouldn't need TLF. On 6/26/12 8:47 AM, handitan handi.tan@ wrote: Hi all, I currently have to deal with a feature that needs to allow user to position the image inline with the text at a grid cell. From what I read, the current best bet would be to use Text Layout Framework (TLF). From the samples, it seems exactly to do what I need. But when I try to integrate it as itemRenderer in the grid, the T! extFlow couldn't appear correctly. It's just showing it as a t! iny pixe l on the top-left corner of the grid cell. I know that the TextArea in Flex 4 does support TLF but I will not be able to use it since my application is still under Flex 3.6 SDK (don't bother to tell me to migrate to Flex 4). So I am just wondering if anyone know any open-source TLF-based TextArea for Flex3 or maybe giving me some guides on how to make it work as itemRenderer? Thank you! Handi -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Re: TLF-based TextArea for Flex 3?
I’m not sure what that means and why TLF can do it. Is the image position known in the text? If so, can you have an Image between two Labels? On 6/26/12 11:02 AM, handitan handi@gmail.com wrote: Hi Alex! I am glad you're still around ^_^ One of the requirements is for the user to centered-position the image and also to be able to change the image size so HTML renderer on TextArea wouldn't be suffice. Waiting for you enlightenment, Alex :) Handi --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@... wrote: Why can't you use an HTML renderer and the img tag? Then you wouldn't need TLF. On 6/26/12 8:47 AM, handitan handi.tan@... wrote: Hi all, I currently have to deal with a feature that needs to allow user to position the image inline with the text at a grid cell. From what I read, the current best bet would be to use Text Layout Framework (TLF). From the samples, it seems exactly to do what I need. But when I try to integrate it as itemRenderer in the grid, the TextFlow couldn't appear correctly. It's just showing it as a tiny pixel on the top-left corner of the grid cell. I know that the TextArea in Flex 4 does support TLF but I will not be able to use it since my application is still under Flex 3.6 SDK (don't bother to tell me to migrate to Flex 4). So I am just wondering if anyone know any open-source TLF-based TextArea for Flex3 or maybe giving me some guides on how to make it work as itemRenderer? Thank you! Handi -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui