[flexcoders] HTML and Flex
I have a client who I am making a full-page Flex application for. We originally had the application embeded in the HTML page, but because of Flex's Browser and VBox scrollbars scrolling together bug, I had to made the application show the full page, including the other content in the page which I had to recreate in MXML. The issue here is the client uses TinyMCE in some homemade CMS to make updates to the rest of the content on the page, and he doesn't want to give this up. I haven't been able to find a solution that lets us import the HTML he creates in TinyMCE into the Flex app. I've seen a few iframe options that wont work because of the scrollbars (the iframe stays in the same spot, no matter where you scroll up and down on the page), and some other option I found that converts HTML to a Flash-friendly format doesnt support tables (only DIV tags), which TinyMCE relies on heavily. What are my options here? Is there some sort of solution I can do here that would allow a person who's not technical but likes WYSIWYG editors to get new content into a Flex app?
[flexcoders] HTML IN FLEX
hello frnd, i have a simple query , i'm storing text in string var like var coreData:String = 'img border=0 alt= style=width: 77px; height: 43px; src=chart.png /' + 'span style=font-weight: bold;Hi how are you/spanspan style=font-weight: bold;' + ' Welcome herebr /br /img border=0 alt= style=width: 76px; height: 43px; src=chart.png / ' + 'abhishek herebr //spanbr /span style=font-weight: bold;br /br //span'; var s:String; s =htmlhead/headbody; s +=coreData; s +=/body/html; myhtml.htmlText = s; it woring correctlly in AIr application like : mx:VBox width=100% height=100% mx:HTML width=100% height=100% id=myhtml/ /mx:VBox but when i used same in flex u can see it not working same like in air. Flex code: mx:VBox width=100% height=100% mx:TextArea id=myhtml textAlign=center width=100% height=100%/ /mx:VBox u can run and check code in flex and air, ui'' find difference. In AIr its showing right but not in flex. r u have any idea how to make work above example ? i come to know tht thr is problem with image displaying in textarea in flex ,is any other way anyone know? [EMAIL PROTECTED] thx in advanced
RE: [flexcoders] html in flex
You can try treating your HTML as XHTML (make sure it's well-formed), then adjust the rendering properties with a toXMLString(). Noted properties are: XML.ignoreWhitespace, XML.prettyPrinting, and TextArea.condenseWhite mx:Script ![CDATA[ [Bindable] private var _htmlText:XML; private function init():void { XML.ignoreWhitespace = true; XML.prettyPrinting = false; _htmlText = pimg border=0 alt= style=width: 76px; height: 91px; src=http://serverpath/files/i1.jpg; /span style=font-weight: bold;KB br /Hi how are youbr /img border=0 alt= style=width: 78px; height: 78px; src=http://serverpath/files/i2.jpg; / Nimo br /pls feel free to join usbr //span/p; } ]] /mx:Script mx:VBox id=v1 width=600 height=800 mx:TextArea condenseWhite=true htmlText={_htmlText.toXMLString()} width=500 height=400/ /mx:VBox HTH, Ryan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of abhishekchess1 Sent: Thursday, September 25, 2008 9:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] html in flex hello frnds, i'm using html in flex , in my html code i'm showing first 1 image then its details then at next line anather image and its details , but when i'm doing this , it shows first image then text of its beside it and next line but beside first img 2nd image's details also and then it showing 2nd image. so could u tell how can i show it in proper format like in html. my code is mx:VBox id=v1 width=600 height=800 mx:TextArea htmlText=img border=0 alt= style=width: 76px; height: 91px; src=http://serverpath/files/i1.jpg http://serverpath/files/i1.jpg /span style=font-weight: bold;KB br /Hi how are youbr /img border=0 alt= style=width: 78px; height: 78px; src=http:// serverpath/files/i2.jpg / Nimo br /pls feel free to join usbr // span /mx:VBox [EMAIL PROTECTED] mailto:abhishekchess1%40gmail.com This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.
Re: [flexcoders] html in flex
it seems htmltext cant support inline images , try flowlayout control from flexlib I was looking for same problem http://kiorull.com/Flex/FlexSmilies/FlexSmilies.html this is not related to ur requirment but we could do our code with tht Sajid - Original Message From: abhishekchess1 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, September 26, 2008 9:34:59 AM Subject: [flexcoders] html in flex hello frnds, i'm using html in flex , in my html code i'm showing first 1 image then its details then at next line anather image and its details , but when i'm doing this , it shows first image then text of its beside it and next line but beside first img 2nd image's details also and then it showing 2nd image. so could u tell how can i show it in proper format like in html. my code is mx:VBox id=v1 width=600 height=800 mx:TextArea htmlText=img border=0 alt= style=width: 76px; height: 91px; src=http://serverpath/ files/i1. jpg /span style=font- weight: bold;KB br /Hi how are youbr /img border=0 alt= style=width: 78px; height: 78px; src=http:// serverpath/files/ i2.jpg / Nimo br /pls feel free to join usbr // span /mx:VBox abhishekchess1@ gmail.com
[flexcoders] html in flex
hello frnds, i'm using html in flex , in my html code i'm showing first 1 image then its details then at next line anather image and its details , but when i'm doing this , it shows first image then text of its beside it and next line but beside first img 2nd image's details also and then it showing 2nd image. so could u tell how can i show it in proper format like in html. my code is mx:VBox id=v1 width=600 height=800 mx:TextArea htmlText=img border=0 alt= style=width: 76px; height: 91px; src=http://serverpath/files/i1.jpg; /span style=font-weight: bold;KB br /Hi how are youbr /img border=0 alt= style=width: 78px; height: 78px; src=http:// serverpath/files/i2.jpg / Nimo br /pls feel free to join usbr // span /mx:VBox [EMAIL PROTECTED]
Re: [flexcoders] HTML IN FLEX
Can you please post a link to those folks' project? - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, March 13, 2008 11:29:38 AM Subject: RE: [flexcoders] HTML IN FLEX The HTMLLoader represents some 16MB of code. It ain’t gonna get integrated anytime soon. My blog has some ways to do limited HTML-like things, and some folks recently published a separate open source effort to do HTML rendering in Flex. HTML support is not the same as browser support. Browser support also includes Javascript engines. From:[EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Josh McDonald Sent: Wednesday, March 12, 20085:27 PM To: [EMAIL PROTECTED] ups.com Subject: Re: [flexcoders] HTML INFLEX Are there plans to allow embedding of instances of thehost browser in Flash 10? Or is most stuff re: flash 10 still a secret / up in the air? :D -J On Thu, Mar 13, 2008 at 10:23 AM, Max Frigge [EMAIL PROTECTED] com wrote: Only works for AIR apps.. sad but true :-/ - Original Message From: kpjj31 joe.g.james@ kp.org To: [EMAIL PROTECTED] ups.com Sent: Thursday, March 13, 2008 11:10:47 AM Subject: [flexcoders] HTML IN FLEX Can someone please tellme if th mx:HTML tag only works when building air apps and not in flex. Thank you. _ _ _ _ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail. yahoo.com -- Therefore, send not to know For whom the bell tolls, It tolls forthee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] com !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} .bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} .MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} .replbq{margin:4;} -- Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
RE: [flexcoders] HTML IN FLEX
http://code.google.com/p/htmlwrapper/ http://code.google.com/p/htmlwrapper/ (I assume this is the one Alex means, I don't know of any other) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Max Frigge Sent: 13 March 2008 14:26 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HTML IN FLEX Can you please post a link to those folks' project? - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, March 13, 2008 11:29:38 AM Subject: RE: [flexcoders] HTML IN FLEX The HTMLLoader represents some 16MB of code. It ain’t gonna get integrated anytime soon. My blog has some ways to do limited HTML-like things, and some folks recently published a separate open source effort to do HTML rendering in Flex. HTML support is not the same as browser support. Browser support also includes Javascript engines. From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Josh McDonald Sent: Wednesday, March 12, 2008 5:27 PM To: [EMAIL PROTECTED] ups.com Subject: Re: [flexcoders] HTML IN FLEX Are there plans to allow embedding of instances of the host browser in Flash 10? Or is most stuff re: flash 10 still a secret / up in the air? :D -J On Thu, Mar 13, 2008 at 10:23 AM, Max Frigge [EMAIL PROTECTED] com mailto:[EMAIL PROTECTED] wrote: Only works for AIR apps.. sad but true :-/ - Original Message From: kpjj31 joe.g.james@ kp.org mailto:[EMAIL PROTECTED] To: [EMAIL PROTECTED] ups.com mailto:flexcoders@yahoogroups.com Sent: Thursday, March 13, 2008 11:10:47 AM Subject: [flexcoders] HTML IN FLEX Can someone please tell me if th mx:HTML tag only works when building air apps and not in flex. Thank you. _ _ _ _ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail. yahoo.com http://mail.yahoo.com -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] com mailto:[EMAIL PROTECTED] Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearch/category.php?category=shopping __ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. __
[flexcoders] HTML IN FLEX
Can someone please tell me if th mx:HTML tag only works when building air apps and not in flex. Thank you.
RE: [flexcoders] HTML IN FLEX
It's AIR only http://livedocs.adobe.com/flex/3/langref/mx/controls/HTML.html From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kpjj31 Sent: Wednesday, March 12, 2008 5:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTML IN FLEX Can someone please tell me if th mx:HTML tag only works when building air apps and not in flex. Thank you.
Re: [flexcoders] HTML IN FLEX
Are there plans to allow embedding of instances of the host browser in Flash 10? Or is most stuff re: flash 10 still a secret / up in the air? :D -J On Thu, Mar 13, 2008 at 10:23 AM, Max Frigge [EMAIL PROTECTED] wrote: Only works for AIR apps.. sad but true :-/ - Original Message From: kpjj31 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, March 13, 2008 11:10:47 AM Subject: [flexcoders] HTML IN FLEX Can someone please tell me if th mx:HTML tag only works when building air apps and not in flex. Thank you. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
[flexcoders] html-wrapper Flex Ant Task
I've got two questions about using Ant to generate the html for our project. 1) Why isn't there a way to specify an external template folder? I searched this site and saw that people were re-compiling FlexAntTasks in order to get their template changes to work. Is this really the recommended solution??? 2) Ok, so maybe asking for a complete external template configuration is too much, how about something simple like allowing us to set allowFullScreen equal to true?
RE: [flexcoders] HTML in Flex
I have used the same functionality implementing an IFRAME in my application to open the webpage. It is the simplest and quick solution.. Thanks, Kumar _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Friday, March 16, 2007 4:50 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] HTML in Flex Short answer, no. Longer answer: In order to be able to renderer all html, the Flash Player would have to contain an entire parsing engine, and that would make its download footprint too large. A workable solution is to use an IFRAME in the host browser that is positioned and sized to appear as if it was a part of the Flex application. Search / google tht and you will find the examples. Tracy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Persaud, Anthony Sent: Thursday, March 15, 2007 12:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTML in Flex A newbie here. Is there a way to load an external HTML page or website (ex. www.google.com http://www.google.com/ ) inside a flex application? I see it in all the Apollo presentations, but haven't seen any FLEX component that can render an HTML (and let the user interact with it as if it was a browser). Any suggestions would be useful. Thanks, Anthony _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lowder Sent: Thursday, March 15, 2007 10:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: SelectedIndex bug after removing an element !! Try: grid.selectedIndex = x - 1; The selectedIndex property is zero-based, so in general you need to set it to (N - 1) to select the Nth line. --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, bobrene07 [EMAIL PROTECTED] wrote: hello, I have a problem with the selecting index after i removed an element. when i do the following: var x:int = grid.selectedIndex; if (x != -1) { grid.dataProvider.removeItemAt(x); grid.selectedIndex = x; } if x equal 4 it select the fift line. does anyone knows how to fix it ?? thx Bob
Re: [flexcoders] HTML in Flex
There are a couple of guys who've already blogged this: - 1) Christophe Coenraets did a *Flex* and *IFrame for Flex 1.5 *2) http://www.deitte.com/archives/2006/05/update_to_embed.htm#more 3) http://renaun.com/blog/2006/11/16/157/ I'm sure there are more, but I reference these ones! On 3/16/07, Kumar [EMAIL PROTECTED] wrote: I have used the same functionality implementing an IFRAME in my application to open the webpage. It is the simplest and quick solution.. Thanks, Kumar -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Tracy Spratt *Sent:* Friday, March 16, 2007 4:50 AM *To:* flexcoders@yahoogroups.com *Subject:* RE: [flexcoders] HTML in Flex Short answer, no. Longer answer: In order to be able to renderer all html, the Flash Player would have to contain an entire parsing engine, and that would make its download footprint too large. A workable solution is to use an IFRAME in the host browser that is positioned and sized to appear as if it was a part of the Flex application. Search / google tht and you will find the examples. Tracy -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Persaud, Anthony *Sent:* Thursday, March 15, 2007 12:12 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] HTML in Flex A newbie here. Is there a way to load an external HTML page or website (ex. www.google.com) inside a flex application? I see it in all the Apollo presentations, but haven't seen any FLEX component that can render an HTML (and let the user interact with it as if it was a browser). Any suggestions would be useful. Thanks, Anthony -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Doug Lowder *Sent:* Thursday, March 15, 2007 10:01 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: SelectedIndex bug after removing an element !! Try: grid.selectedIndex = x - 1; The selectedIndex property is zero-based, so in general you need to set it to (N - 1) to select the Nth line. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, bobrene07 [EMAIL PROTECTED] wrote: hello, I have a problem with the selecting index after i removed an element. when i do the following: var x:int = grid.selectedIndex; if (x != -1) { grid.dataProvider.removeItemAt(x); grid.selectedIndex = x; } if x equal 4 it select the fift line. does anyone knows how to fix it ?? thx Bob
Re: [flexcoders] HTML in Flex
this dork has a pretty cool html component. i think he said it was coming out weekend. there's some demos on this page (check out the fit to height feature) http://www.judahfrangipane.com/blog/?p=79 On 3/16/07, Jatin Nanda [EMAIL PROTECTED] wrote: There are a couple of guys who've already blogged this: - 1) Christophe Coenraets did a *Flex* and *IFrame for Flex 1.5 *2) http://www.deitte.com/archives/2006/05/update_to_embed.htm#more 3) http://renaun.com/blog/2006/11/16/157/ I'm sure there are more, but I reference these ones! On 3/16/07, Kumar [EMAIL PROTECTED] wrote: I have used the same functionality implementing an IFRAME in my application to open the webpage. It is the simplest and quick solution.. Thanks, Kumar -- *From:* flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED] *On Behalf Of *Tracy Spratt *Sent:* Friday, March 16, 2007 4:50 AM *To:* flexcoders@yahoogroups.com *Subject:* RE: [flexcoders] HTML in Flex Short answer, no. Longer answer: In order to be able to renderer all html, the Flash Player would have to contain an entire parsing engine, and that would make its download footprint too large. A workable solution is to use an IFRAME in the host browser that is positioned and sized to appear as if it was a part of the Flex application. Search / google tht and you will find the examples. Tracy -- *From:* [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] *On Behalf Of *Persaud, Anthony *Sent:* Thursday, March 15, 2007 12:12 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] HTML in Flex A newbie here. Is there a way to load an external HTML page or website (ex. www.google.com) inside a flex application? I see it in all the Apollo presentations, but haven't seen any FLEX component that can render an HTML (and let the user interact with it as if it was a browser). Any suggestions would be useful. Thanks, Anthony -- *From:* [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Doug Lowder *Sent:* Thursday, March 15, 2007 10:01 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: SelectedIndex bug after removing an element !! Try: grid.selectedIndex = x - 1; The selectedIndex property is zero-based, so in general you need to set it to (N - 1) to select the Nth line. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, bobrene07 [EMAIL PROTECTED] wrote: hello, I have a problem with the selecting index after i removed an element. when i do the following: var x:int = grid.selectedIndex; if (x != -1) { grid.dataProvider.removeItemAt(x); grid.selectedIndex = x; } if x equal 4 it select the fift line. does anyone knows how to fix it ?? thx Bob
[flexcoders] HTML in Flex
A newbie here. Is there a way to load an external HTML page or website (ex. www.google.com http://www.google.com/ ) inside a flex application? I see it in all the Apollo presentations, but haven't seen any FLEX component that can render an HTML (and let the user interact with it as if it was a browser). Any suggestions would be useful. Thanks, Anthony From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lowder Sent: Thursday, March 15, 2007 10:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: SelectedIndex bug after removing an element !! Try: grid.selectedIndex = x - 1; The selectedIndex property is zero-based, so in general you need to set it to (N - 1) to select the Nth line. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , bobrene07 [EMAIL PROTECTED] wrote: hello, I have a problem with the selecting index after i removed an element. when i do the following: var x:int = grid.selectedIndex; if (x != -1) { grid.dataProvider.removeItemAt(x); grid.selectedIndex = x; } if x equal 4 it select the fift line. does anyone knows how to fix it ?? thx Bob
RE: [flexcoders] HTML in Flex
Short answer, no. Longer answer: In order to be able to renderer all html, the Flash Player would have to contain an entire parsing engine, and that would make its download footprint too large. A workable solution is to use an IFRAME in the host browser that is positioned and sized to appear as if it was a part of the Flex application. Search / google tht and you will find the examples. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Persaud, Anthony Sent: Thursday, March 15, 2007 12:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTML in Flex A newbie here. Is there a way to load an external HTML page or website (ex. www.google.com http://www.google.com/ ) inside a flex application? I see it in all the Apollo presentations, but haven't seen any FLEX component that can render an HTML (and let the user interact with it as if it was a browser). Any suggestions would be useful. Thanks, Anthony From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lowder Sent: Thursday, March 15, 2007 10:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: SelectedIndex bug after removing an element !! Try: grid.selectedIndex = x - 1; The selectedIndex property is zero-based, so in general you need to set it to (N - 1) to select the Nth line. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , bobrene07 [EMAIL PROTECTED] wrote: hello, I have a problem with the selecting index after i removed an element. when i do the following: var x:int = grid.selectedIndex; if (x != -1) { grid.dataProvider.removeItemAt(x); grid.selectedIndex = x; } if x equal 4 it select the fift line. does anyone knows how to fix it ?? thx Bob
Re: [flexcoders] Html in Flex?
Hi there Gtuhl The most excited idea of Flex it's because flexible, using or not using the iFrame as suggested as work arround, I might admit that fits perfect but instead of that, why don't you think a litle bit more and based on your request, you could also work with the Flex / Ajax Bridge. The Flex Ajax Bridged could in some upper case help you on this kind of request, once you just need to open-up and show or preview a html page. You have to considerable that Flex or better Flash Player 9 has more support for HTML but not XHTML. Best. On 1/10/07, gtuhl [EMAIL PROTECTED] wrote: We have an existing application that has a feature enabling a user to set content for and preview html newsletters. We are in the process of researching Flex2 and determining whether the client-side of this application (currently xul/html/js) should be converted. Is there any way to render html in Flex2? The htmlText property on Text won't cut it as it only supports a trivial subset of html. I essentially need to embed Gecko or another appropriate rendering engine so that the users can get a rough guess of what their content looks like. The same pages allow the user to quickly send test e-mails to whichever accounts they desire, but the quick-preview feature provided by the current version of the application is heavily used and cannot be cut. Ideally Flex2 has something similar to the browser component in xul. -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta
[flexcoders] HTML in Flex
I already think I know the answer, but I will ask anyway. We buy medical knowledge from a company in HTML page format. Question is, using Flex, is their any way I can read these HTML pages into Flex and display. I know I can do this in Java, but it would take forever and my boss wants to get away from the page refresh. Robert Shaw 972-463-3515
Re: [flexcoders] Html in Flex?
I have been secretly working on an html component for the last 2 months that is close to release. It has support for iframes but also support for straight html without iframes. I will be doing a beta in a few weeks and post a link to examples in the next couple of days. I've tested a bunch of cool features (beta) but I can only work on about one more before beta. So check my blog in the next few days http://www.judahfrangipane.com and leave some good comments. On 1/10/07, gtuhl [EMAIL PROTECTED] wrote: We have an existing application that has a feature enabling a user to set content for and preview html newsletters. We are in the process of researching Flex2 and determining whether the client-side of this application (currently xul/html/js) should be converted. Is there any way to render html in Flex2? The htmlText property on Text won't cut it as it only supports a trivial subset of html. I essentially need to embed Gecko or another appropriate rendering engine so that the users can get a rough guess of what their content looks like. The same pages allow the user to quickly send test e-mails to whichever accounts they desire, but the quick-preview feature provided by the current version of the application is heavily used and cannot be cut. Ideally Flex2 has something similar to the browser component in xul. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
[flexcoders] Html in Flex?
We have an existing application that has a feature enabling a user to set content for and preview html newsletters. We are in the process of researching Flex2 and determining whether the client-side of this application (currently xul/html/js) should be converted. Is there any way to render html in Flex2? The htmlText property on Text won't cut it as it only supports a trivial subset of html. I essentially need to embed Gecko or another appropriate rendering engine so that the users can get a rough guess of what their content looks like. The same pages allow the user to quickly send test e-mails to whichever accounts they desire, but the quick-preview feature provided by the current version of the application is heavily used and cannot be cut. Ideally Flex2 has something similar to the browser component in xul.
RE: [flexcoders] Html in Flex?
Would an iframe work for this? I mean is it just for display/preview not editing... jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de gtuhl Envoyé : mercredi 10 janvier 2007 21:34 À : flexcoders@yahoogroups.com Objet : [flexcoders] Html in Flex? We have an existing application that has a feature enabling a user to set content for and preview html newsletters. We are in the process of researching Flex2 and determining whether the client-side of this application (currently xul/html/js) should be converted. Is there any way to render html in Flex2? The htmlText property on Text won't cut it as it only supports a trivial subset of html. I essentially need to embed Gecko or another appropriate rendering engine so that the users can get a rough guess of what their content looks like. The same pages allow the user to quickly send test e-mails to whichever accounts they desire, but the quick-preview feature provided by the current version of the application is heavily used and cannot be cut. Ideally Flex2 has something similar to the browser component in xul.
RE: [flexcoders] HTML with flex
Supported Tags: lt; (, less-than sign) gt; (, greater-than sign) amp; (, ampersand) quot; (, double-quote) apos; (', apostrophe) The following HTML tags are supported: a href=/support/flash/ts/documents/url b br font [color=#xx] [face=Type Face] [size=Type Size] i span li p [align=left|right|center] u -Original Message- From: Arjun [mailto:[EMAIL PROTECTED] Sent: Thursday, March 03, 2005 5:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTML with flex Hello Need some idea suggestion on how to use html table tag like functionality in flash, as far I know table tag cannot be used, but I have to read some textual information from the database and show icon on one column and html formatted text on the other column. Secondly can I use html list tag in flex ol liblah/li liblah../li /ol ? p and br tag?? Thanks Arjun Yahoo! Groups Links