[flexcoders] FWD: try it out for yourself!
pHey Friend...brit was important for me to stay positive at first I thought this was a joke it didnt even take that much effort no pressure just check it outbra href=http://monokuroworld.nobody.jp/profile/12JasonGordon/;http://monokuroworld.nobody.jp/profile/12JasonGordon//abrsee you later./p
Re: [flexcoders] Flex to HTML5 Conversion tool?
If my understanding is right, Adobe is working on it currently. So you might have to wait for another 6 months or so. If that time frame is not suitable for you, I suggest you rewrite the project in HTML 5. On Thu, Dec 1, 2011 at 3:27 AM, Sells, Fred fred.se...@adventistcare.orgwrote: ** I am looking at the same problem. A very long time ago I designed a tool called ezX that was similar to Flex but not nearly as robust. That was an Xwindows tool and has since gone the way of the dinosaur. ** ** I’m still researching but I think a tool like pyjamas pyjs.org might be a building block. You could write an xml parser to handle the mxml to dom and then use the dom to generate pyjamas class definitions (which you would probably have to tweak by hand). ** ** I’m not sure about the action script. Source parsing is too tricky and I don’t know if the byte code is easy to handle. Might be better to outsource that overseas. ** ** Let me know what you decide ** ** *From:* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] *On Behalf Of *Venkat M *Sent:* Wednesday, November 30, 2011 12:56 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Flex to HTML5 Conversion tool? ** ** *Hi Group,* * * *I have a quick question.* *I have a web application that was developed using 100% flex (AS included).* *Now to be on the safe side we want to evaluate the options of converting the same on to HTML5. * * * *Do any one know of any tools that can help in the process of converting from flex (developed) to html5 version?* *Your help will be greatly appreciated.* Cheers, *Venkat.* -- Regards, Ganaraj P R
[flexcoders] AdvancedDataGrid (hierarchical) custom summary row on top
Hi All, I have flex advanced data grid (hierarchical) with custom summary row. I have used the concept of Dynamic Advanced List (http://active.tutsplus.com/tutorials/flex/dynamic-advanced-long-lists- with-flex/ http://active.tutsplus.com/tutorials/flex/dynamic-advanced-long-lists-w\ ith-flex/ ) I have a custom summary row that is positioned as footer. This works fine without any issues. I have a requirement to show the custom summary row as a top row (locked row) in the advanced data grid. I have managed to position the the custom summary row top of the grid. I put dummy object for the first row in data grid and positioned the summary row after grid header row. The problem I have is when we scroll the rows in the data grid the summary row content is overlapping with grid rows. Is there anyway that I can manage to hide the scroll able content in the advanced data grid? in adjustListContent I am positioning footer after header row by override protected function adjustListContent(unscaledWidth:Number = -1, unscaledHeight:Number = -1):void { super.adjustListContent(unscaledWidth, unscaledHeight); listContent.setActualSize(listContent.width, listContent.height); footer.setActualSize(listContent.width, footerHeight); //footer.move(listContent.x, listContent.y + listContent.height + 1); footer.move(listContent.x, this.headerHeight + 1); } Here footer is custom class extends UIComponent (AdvancedDataGridFooter) public class AdvancedDataGridFooter extends UIComponent{ private var colAlignmentSet:Set; public function AdvancedDataGridFooter(colAlignmentSet:Set) { super();this.colAlignmentSet = colAlignmentSet; } protected var overlayFixed:Sprite; protected var overlayScrollable:Sprite; protected var dataGrid:AdvancedDataGrid;/** * create the actual border here */ override protected function createChildren():void {dataGrid = parent as AdvancedDataGrid; overlayFixed = new Sprite(); addChild(overlayFixed); overlayScrollable = new Sprite();addChild(overlayScrollable); // dataGrid.addEventListener(AdvancedDataGridEvent.COLUMN_STRETCH, _handleColumnStretch); } private function _handleColumnStretch (e : AdvancedDataGridEvent) : void { _drawFixedColumns = false; } //you only need to draw the fixed columns on init and when the columns //are resized private var _drawFixedColumns : Boolean = false; /** * lay it out */ override protected function updateDisplayList(w:Number, h:Number):void { overlayScrollable.graphics.clear();if (!_drawFixedColumns){ overlayFixed.graphics.clear();}var lockedColumns : int = dataGrid.lockedColumnCount;// destroy the old children - except the grid lines and the mask // if there is no mask, only keep the the grid lines (level 0), // if there is a mask, keep mask (level 0) and grid lines (level 1) var childrenToKeep : int = 2;if (_drawFixedColumns) childrenToKeep += lockedColumns;if (dataGrid.getStyle(horizontalScrollPolicy) != off) { childrenToKeep ++; _updateMask (w, h); }while (numChildren childrenToKeep) removeChildAt(childrenToKeep); // make new ones var cols:Array = dataGrid.columns;if(null != cols cols.length 0){ var lineCol:uint = dataGrid.getStyle(verticalGridLineColor); var vlines:Boolean = dataGrid.getStyle(verticalGridLines); overlayFixed.graphics.lineStyle(1, lineCol); overlayScrollable.graphics.lineStyle(1, lineCol); var xx:Number = 0;var yy:Number = 0; var i : int = 0;var col:AdvancedDataGridColumn; //draw the locked columns if there are anywhile (xx w i lockedColumns){ col = cols[i++]; if (!_drawFixedColumns) { _drawColumn(col, overlayFixed, i, xx, yy, h); } xx += col.width; } _drawFixedColumns = true;//draw the scrollable columnsi = dataGrid.horizontalScrollPosition + lockedColumns;while (xx w i cols.length ) { col = cols[i++]; _drawColumn(col, overlayScrollable, i, xx, yy, h); xx += col.width;}lineCol = dataGrid.getStyle(horizontalGridLineColor); if (dataGrid.getStyle(horizontalGridLines)) { overlayFixed.graphics.lineStyle(1, lineCol); overlayFixed.graphics.moveTo(0, yy);
Re: [flexcoders] Background color of Vgroup
I tried that, but the color is not filled in, it's filled just till where the other components starts. :-o From: Haykel BEN JEMIA hayke...@gmail.com To: flexcoders@yahoogroups.com Sent: Wednesday, 30 November 2011 4:49 PM Subject: Re: [flexcoders] Background color of Vgroup Just add a black 'Rect' before the 'VGroup' with the same position and size. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Wed, Nov 30, 2011 at 10:34 AM, sony antony pow_like_me...@yahoo.co.in wrote: Hello all, Can you please tell me how to give a black background color to a VGroup container Thanks and Regards Sony.
[flexcoders] RE: AIR/Window/DataGrid Issue
My issue sounds similar to this issue: http://forums.adobe.com/message/3910406 What's unclear to me is how to work around it in my circumstance. Clearly I should be able to declare a datagrid in a Window and have it work without an elaborate workaround. Any advice appreciated. Jeff From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Wednesday, November 30, 2011 8:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] AIR/Window/DataGrid Issue Hi, I'm mid re-factoring a SDK 4.0 AIR app to 4.5 and attempting to take advantage of the Spark DataGrid. In this app (which is built with modules) I'm opening a NativeWindow and displaying a datagrid. The first error is that the DataGrid Skin class cannot be found. I dealt with this by creating a new Skin from the DataGrid and referencing that. Then when I attempt to populate the grid with data, I get RTEs pointing to Group.as with error #1009 null. I can get in to more exhaustive detail about the exact error(s) but I think something more fundamental is happening. Note that the libs are all merged into code. It seems that some of the underlying libraries aren' being included. Does anyone have any experience or theories on what might be happening? Jeff Battershall Application Architect T 609 520 5637 F 609 520 5370 C 732 666-8205 jeff.battersh...@djindexes.commailto:jeff.battersh...@djindexes.com Dow Jones Indexes 4300 Route 1 North South Brunswick, NJ 08852 www.djindexes.comhttp://www.cmegroup.com/ inline: image001.jpg
Re: [flexcoders] Background color of Vgroup
can you share the mxml file? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu, Dec 1, 2011 at 1:15 PM, sony antony pow_like_me...@yahoo.co.inwrote: ** I tried that, but the color is not filled in, it's filled just till where the other components starts. :-o -- *From:* Haykel BEN JEMIA hayke...@gmail.com *To:* flexcoders@yahoogroups.com *Sent:* Wednesday, 30 November 2011 4:49 PM *Subject:* Re: [flexcoders] Background color of Vgroup Just add a black 'Rect' before the 'VGroup' with the same position and size. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Wed, Nov 30, 2011 at 10:34 AM, sony antony pow_like_me...@yahoo.co.inwrote: ** Hello all, Can you please tell me how to give a black background color to a VGroup container Thanks and Regards Sony.
RE: [flexcoders] Flex to HTML5 Conversion tool?
Check out another possibility - using haXe for converting an MXML/Actionscript project to HTML5/Javascript. The syntax is extremely similar to Actionscript, so you could convert the MXML (via the option with the compiler to save the generated Actionscript from MXML) to haXe code, and the Actionscript too. Jason Merrill Instructional Technology Architect II Bank of America Global Learning ___ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ganaraj p r Sent: Thursday, December 01, 2011 4:13 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex to HTML5 Conversion tool? If my understanding is right, Adobe is working on it currently. So you might have to wait for another 6 months or so. If that time frame is not suitable for you, I suggest you rewrite the project in HTML 5. On Thu, Dec 1, 2011 at 3:27 AM, Sells, Fred fred.se...@adventistcare.orgmailto:fred.se...@adventistcare.org wrote: I am looking at the same problem. A very long time ago I designed a tool called ezX that was similar to Flex but not nearly as robust. That was an Xwindows tool and has since gone the way of the dinosaur. I'm still researching but I think a tool like pyjamas pyjs.orghttp://pyjs.org might be a building block. You could write an xml parser to handle the mxml to dom and then use the dom to generate pyjamas class definitions (which you would probably have to tweak by hand). I'm not sure about the action script. Source parsing is too tricky and I don't know if the byte code is easy to handle. Might be better to outsource that overseas. Let me know what you decide From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com] On Behalf Of Venkat M Sent: Wednesday, November 30, 2011 12:56 PM To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com Subject: [flexcoders] Flex to HTML5 Conversion tool? Hi Group, I have a quick question. I have a web application that was developed using 100% flex (AS included). Now to be on the safe side we want to evaluate the options of converting the same on to HTML5. Do any one know of any tools that can help in the process of converting from flex (developed) to html5 version? Your help will be greatly appreciated. Cheers, Venkat. -- Regards, Ganaraj P R -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to Sender are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing.
[flexcoders]
I suppose it will be interesting for you and your friends!. http://arredilferro.com/p.google.php?yhot=85j0
[flexcoders] Captive Runtime on FB 4.6
Hi, Please give me a idea how to use Captive Runtime in FB 4.6, that is new feature for FB 4.6. I can not see any documentation about it. Thanks Mark
Re: [flexcoders] Captive Runtime on FB 4.6
When you are exporting a release builder, it'll appear as one of the 4 options under Export as. Are you able to find it? On Thu, Dec 1, 2011 at 11:43 PM, markflex2007 markflex2...@yahoo.comwrote: ** Hi, Please give me a idea how to use Captive Runtime in FB 4.6, that is new feature for FB 4.6. I can not see any documentation about it. Thanks Mark
[flexcoders] Re: Captive Runtime on FB 4.6
the application will install to my device if I select the Captive Runtime option.right? Thanks Mark --- In flexcoders@yahoogroups.com, James Ong yanlilei64@... wrote: When you are exporting a release builder, it'll appear as one of the 4 options under Export as. Are you able to find it? On Thu, Dec 1, 2011 at 11:43 PM, markflex2007 markflex2007@...wrote: ** Hi, Please give me a idea how to use Captive Runtime in FB 4.6, that is new feature for FB 4.6. I can not see any documentation about it. Thanks Mark
Re: [flexcoders] RE: AIR/Window/DataGrid Issue
What is the Group stack trace? If classes are in a module you definitely have to get the moduleFactory pointing to that module because that’s probably where the skins are as well. On 12/1/11 5:06 AM, Battershall, Jeff jeff.battersh...@djindexes.com wrote: My issue sounds similar to this issue: http://forums.adobe.com/message/3910406 What’s unclear to me is how to work around it in my circumstance. Clearly I should be able to declare a datagrid in a Window and have it work without an elaborate workaround. Any advice appreciated. Jeff From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Wednesday, November 30, 2011 8:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] AIR/Window/DataGrid Issue Hi, I’m mid re-factoring a SDK 4.0 AIR app to 4.5 and attempting to take advantage of the Spark DataGrid. In this app (which is built with modules) I’m openin! g a NativeWindow and displaying a datagrid. The fi! rst erro r is that the DataGrid Skin class cannot be found. I dealt with this by creating a new Skin from the DataGrid and referencing that. Then when I attempt to populate the grid with data, I get RTEs pointing to Group.as with error #1009 null. I can get in to more exhaustive detail about the exact error(s) but I think something more fundamental is happening. Note that the libs are all merged into code. It seems that some of the underlying libraries aren’ being included. Does anyone have any experience or theories on what might be happening? Jeff Battersh! all Application Architect T 609 520 5637 F 609 520 5370 C 732 666-8205 jeff.battersh...@djindexes.com Dow Jones Indexes 4300 Route 1 North South Brunswick, NJ 08852 www.djindex! es.com http://www.cmegroup.com/ nb! sp; /p -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
RE: [flexcoders] RE: AIR/Window/DataGrid Issue
Thanks Alex, Here's the stack trace: TypeError: Error #1009: Cannot access a property or method of a null object reference. at spark.components::Group/addElement()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1342] at spark.components.gridClasses::GridLayout/createTypicalItemRenderer()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\gridClasses\GridLayout.as:748] at spark.components.gridClasses::GridLayout/updateTypicalCellSizes()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\gridClasses\GridLayout.as:883] at spark.components.gridClasses::GridLayout/measure()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\gridClasses\GridLayout.as:444] at spark.components.supportClasses::GroupBase/measure()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\GroupBase.as:1148] at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::measureSizes()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8506] at mx.core::UIComponent/validateSize()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8430] at spark.components::Group/validateSize()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1012] at mx.managers::LayoutManager/validateSize()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:665] at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:816] at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180] The app is constructed like so: 1) Shell application 2) Modules loaded at runtime 3) The module in question has a pop up wizard (TitleWindow). 4) The popup wizard opens Window. 5) Window contains DataGrid. I don't understand how the module factory for the datagrid points to the module factory for the module. How's that accomplished? Jeff From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alex Harui Sent: Thursday, December 01, 2011 12:51 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] RE: AIR/Window/DataGrid Issue What is the Group stack trace? If classes are in a module you definitely have to get the moduleFactory pointing to that module because that's probably where the skins are as well. On 12/1/11 5:06 AM, Battershall, Jeff jeff.battersh...@djindexes.com wrote: My issue sounds similar to this issue: http://forums.adobe.com/message/3910406 What's unclear to me is how to work around it in my circumstance. Clearly I should be able to declare a datagrid in a Window and have it work without an elaborate workaround. Any advice appreciated. Jeff From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Wednesday, November 30, 2011 8:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] AIR/Window/DataGrid Issue Hi, I'm mid re-factoring a SDK 4.0 AIR app to 4.5 and attempting to take advantage of the Spark DataGrid. In this app (which is built with modules) I'm openin! g a NativeWindow and displaying a datagrid. The fi! rst erro r is that the DataGrid Skin class cannot be found. I dealt with this by creating a new Skin from the DataGrid and referencing that. Then when I attempt to populate the grid with data, I get RTEs pointing to Group.as with error #1009 null. I can get in to more exhaustive detail about the exact error(s) but I think something more fundamental is happening. Note that the libs are all merged into code. It seems that some of the underlying libraries aren' being included. Does anyone have any experience or theories on what might be happening? Jeff Battersh! all Application Architect T 609 520 5637 F 609 520 5370 C 732 666-8205 jeff.battersh...@djindexes.com Dow Jones Indexes 4300 Route 1 North South Brunswick, NJ 08852 www.djindex! es.com http://www.cmegroup.com/ nb! sp; /p -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui inline: image001.jpg
Re: [flexcoders] Publish on Facebook
var facebookShare:String = http://www.facebook.com/share.php?u=+ *urlyouwanttoshare *+ t=+*title*; navigateToURL(new URLRequest(facebookShare)) On Wed, Nov 30, 2011 at 2:11 PM, cjacquel73 chjacque...@gmail.com wrote: ** Hello, How to publish an image from a Flex application to a Facebook wall of a customer (or a Twitter account) with a text message ? Do you have any example ? Thx Christophe Jacquelin,
[flexcoders] Re: AIR/Window/DataGrid Issue
THis issue is very similar to : http://forums.adobe.com/message/3910406 The architecture is a loaded module pops up a new Native Window in AIR. The data grid inside the window fails with this stack trace: TypeError: Error #1009: Cannot access a property or method of a null object reference. at spark.components::Group/addElement()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1342] at spark.components.gridClasses::GridLayout/createTypicalItemRenderer()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\gridClasses\GridLayout.as:748] at spark.components.gridClasses::GridLayout/updateTypicalCellSizes()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\gridClasses\GridLayout.as:883] at spark.components.gridClasses::GridLayout/measure()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\gridClasses\GridLayout.as:444] at spark.components.supportClasses::GroupBase/measure()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\GroupBase.as:1148] at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::measureSizes()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8506] at mx.core::UIComponent/validateSize()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8430] at spark.components::Group/validateSize()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1012] at mx.managers::LayoutManager/validateSize()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:665] at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:816] at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180] If this problem is because of modules, I'm uncertain how to approach. --- In flexcoders@yahoogroups.com, Battershall, Jeff Jeff.Battershall@... wrote: Hi, I'm mid re-factoring a SDK 4.0 AIR app to 4.5 and attempting to take advantage of the Spark DataGrid. In this app (which is built with modules) I'm opening a NativeWindow and displaying a datagrid. The first error is that the DataGrid Skin class cannot be found. I dealt with this by creating a new Skin from the DataGrid and referencing that. Then when I attempt to populate the grid with data, I get RTEs pointing to Group.as with error #1009 null. I can get in to more exhaustive detail about the exact error(s) but I think something more fundamental is happening. Note that the libs are all merged into code. It seems that some of the underlying libraries aren' being included. Does anyone have any experience or theories on what might be happening? Jeff Battershall Application Architect T 609 520 5637 F 609 520 5370 C 732 666-8205 jeff.battershall@...mailto:jeff.battershall@... Dow Jones Indexes 4300 Route 1 North South Brunswick, NJ 08852 www.djindexes.comhttp://www.cmegroup.com/
Re: [flexcoders] Flex to HTML5 Conversion tool?
Just to throw in my two cents... I would not hold out any hope for any solution that will magically convert your Flex app to a HTML/JS app. Not in 6 months, not in 6 years. I don't want to be a downer, but I just don't see it happening. Sure, we may see some tech demos that work on super simple Flex apps, but I think that's about as far as you'll get. You also might get tools that let you write a new app in MXML/AS, specifically with targeting HTML/JS in mind, and that might work well. But I have almost no confidence that you will ever be able to take an existing, large Flex app and magically get it to run well as an HTML app. I'd of course love to be proven wrong. My advice is that if you really need to target HTML/JS is to build it new from scratch. It's a harsh reality, and you're going to hate a lot of the toolchain, language, and process, but if you really do have the requirement that you need to have an HTML/JS app, you might as well just rip off the band-aid in one go instead of holding out hope for a holy grail solution. On Thu, Dec 1, 2011 at 6:27 AM, Merrill, Jason jason.merr...@bankofamerica.com wrote: ** Check out another possibility - using haXe for converting an MXML/Actionscript project to HTML5/Javascript. The syntax is extremely similar to Actionscript, so you could convert the MXML (via the option with the compiler to save the generated Actionscript from MXML) to haXe code, and the Actionscript too. ** ** Jason Merrill Instructional Technology Architect II** * Bank of America* Global Learning ** ** ** ** ** ** ** ** ** ** ___ ** ** *From:* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] *On Behalf Of *ganaraj p r *Sent:* Thursday, December 01, 2011 4:13 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Flex to HTML5 Conversion tool? ** ** If my understanding is right, Adobe is working on it currently. So you might have to wait for another 6 months or so. ** ** If that time frame is not suitable for you, I suggest you rewrite the project in HTML 5. On Thu, Dec 1, 2011 at 3:27 AM, Sells, Fred fred.se...@adventistcare.org wrote: I am looking at the same problem. A very long time ago I designed a tool called ezX that was similar to Flex but not nearly as robust. That was an Xwindows tool and has since gone the way of the dinosaur. I’m still researching but I think a tool like pyjamas pyjs.org might be a building block. You could write an xml parser to handle the mxml to dom and then use the dom to generate pyjamas class definitions (which you would probably have to tweak by hand). I’m not sure about the action script. Source parsing is too tricky and I don’t know if the byte code is easy to handle. Might be better to outsource that overseas. Let me know what you decide *From:* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] *On Behalf Of *Venkat M *Sent:* Wednesday, November 30, 2011 12:56 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Flex to HTML5 Conversion tool? *Hi Group,* * * *I have a quick question.* *I have a web application that was developed using 100% flex (AS included).* *Now to be on the safe side we want to evaluate the options of converting the same on to HTML5. * * * *Do any one know of any tools that can help in the process of converting from flex (developed) to html5 version?* *Your help will be greatly appreciated.* Cheers, *Venkat.* ** ** -- Regards, Ganaraj P R -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or
RE: [flexcoders] Flex to HTML5 Conversion tool?
Doug: Thanks for this post. Although the medicine is difficult to swallow. I am grateful that the doctor is outspoken. --Bill From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doug McCune Sent: Thursday, December 01, 2011 4:48 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex to HTML5 Conversion tool? Just to throw in my two cents... I would not hold out any hope for any solution that will magically convert your Flex app to a HTML/JS app. Not in 6 months, not in 6 years. I don't want to be a downer, but I just don't see it happening. Sure, we may see some tech demos that work on super simple Flex apps, but I think that's about as far as you'll get. You also might get tools that let you write a new app in MXML/AS, specifically with targeting HTML/JS in mind, and that might work well. But I have almost no confidence that you will ever be able to take an existing, large Flex app and magically get it to run well as an HTML app. I'd of course love to be proven wrong. My advice is that if you really need to target HTML/JS is to build it new from scratch. It's a harsh reality, and you're going to hate a lot of the toolchain, language, and process, but if you really do have the requirement that you need to have an HTML/JS app, you might as well just rip off the band-aid in one go instead of holding out hope for a holy grail solution. On Thu, Dec 1, 2011 at 6:27 AM, Merrill, Jason jason.merr...@bankofamerica.com wrote: Check out another possibility - using haXe for converting an MXML/Actionscript project to HTML5/Javascript. The syntax is extremely similar to Actionscript, so you could convert the MXML (via the option with the compiler to save the generated Actionscript from MXML) to haXe code, and the Actionscript too. Jason Merrill Instructional Technology Architect II Bank of America Global Learning ___ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ganaraj p r Sent: Thursday, December 01, 2011 4:13 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex to HTML5 Conversion tool? If my understanding is right, Adobe is working on it currently. So you might have to wait for another 6 months or so. If that time frame is not suitable for you, I suggest you rewrite the project in HTML 5. On Thu, Dec 1, 2011 at 3:27 AM, Sells, Fred fred.se...@adventistcare.org wrote: I am looking at the same problem. A very long time ago I designed a tool called ezX that was similar to Flex but not nearly as robust. That was an Xwindows tool and has since gone the way of the dinosaur. I'm still researching but I think a tool like pyjamas pyjs.org might be a building block. You could write an xml parser to handle the mxml to dom and then use the dom to generate pyjamas class definitions (which you would probably have to tweak by hand). I'm not sure about the action script. Source parsing is too tricky and I don't know if the byte code is easy to handle. Might be better to outsource that overseas. Let me know what you decide From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Venkat M Sent: Wednesday, November 30, 2011 12:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex to HTML5 Conversion tool? Hi Group, I have a quick question. I have a web application that was developed using 100% flex (AS included). Now to be on the safe side we want to evaluate the options of converting the same on to HTML5. Do any one know of any tools that can help in the process of converting from flex (developed) to html5 version? Your help will be greatly appreciated. Cheers, Venkat. -- Regards, Ganaraj P R _ This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to
Re: [flexcoders] RE: AIR/Window/DataGrid Issue
That’s a very puzzling stack trace. I have no idea how you can get into this situation. Do you have a simple test case? The moduleFactory subsystem relies on instantiating classes in a module via moduleInfo.factory.create(). The children of that class have moduleFactory propagated to them as they are added to their parents. Calling some function on a module that calls PopUpManager.createPopUp() bypasses the subsystem because the popup is added to the systemManager and some class that has its moduleFactory set to the right place. Is that what is going on in your code? There is a moduleFactory parameter to createPopUp you can use. On 12/1/11 10:06 AM, Battershall, Jeff jeff.battersh...@djindexes.com wrote: Thanks Alex, Here’s the stack trace: TypeError: Error #1009: Cannot access a property or method of a null object reference. at spark.components::Group/addElement()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1342] at spark.components.gridClasses::GridLayout/createTypicalItemRenderer()[E:\dev\4.y\fr! ameworks\projects\spark\src\spark\components\gridClasses\GridLayout.as:748] at spark.components.gridClasses::GridLayout/updateTypicalCellSizes()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\gridClasses\GridLayout.as:883] at spark.components.gridClasses::GridLayout/measure()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\gridClasses\GridLayout.as:444] at spark.components.supportClasses::GroupBase/measure()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\GroupBase.as:1148] at mx.core::UIComponent! /http://www.adobe.com/2006/flex/mx/internal::measureSizes()[E:! \dev\4.y \frameworks\projects\framework\src\mx\core\UIComponent.as:8506] at mx.core::UIComponent/validateSize()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8430] at spark.components::Group/validateSize()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1012] at mx.managers::LayoutManager/validateSize()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:665] at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:816] at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180] The app is constructed like so: 1) Shell application 2) Modules loaded at runtime 3) The module in question has a pop up wizard (TitleWindow). 4) The popup wizard opens Window. 5) Window contains DataGrid. I! don’t understand how the module factory for the datagrid points to the module factory for the module. How’s that accomplished? Jeff From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alex Harui Sent: Thursday, December 01, 2011 12:51 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] RE: AIR/Window/! DataGrid Issue n bsp; What is the Group stack trace? If classes are in a module you definitely have to get the moduleFactory pointing to that module because that’s probably where the skins are as well. On 12/1/11 5:06 AM, Battershall, Jeff jeff.battersh...@djindexes.com wrote: My issue sounds similar to this issue: http://forums.adobe.com/message/3910406 What’s unclear to me is how to work around it in my circumstance. Clearly I should be able to declare a datagrid in a Window and have it work without an elaborate workaround. Any advice appreciated. Jeff From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Wednesday, November 30, 2011 8:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] AIR/Window/DataGrid Issue Hi, I’m mid re-factoring a SDK 4.0 AIR app to 4.5 and attempting to take advantage of the Spark DataGrid. In this app (which is built with modules) I’m openin! g a NativeWindow and displaying a datagrid. The fi! rst erro r is that the DataGrid Skin class cannot be found. I dealt with this by creating a new Skin ! from the DataGrid and referencing that. Then when I atte! mpt to p opulate the grid with data, I get RTEs pointing to Group.as with error #1009 null. I can get in to more exhaustive detail about the exact error(s) but I think something more fundamental is happening. Note that the libs are all merged into code. It seems that some of the underlying libraries aren’ being included. Does anyone have any experience or theories on what might be happening? Jeff Battersh! all Application Architect T 609 520 5637 F 609 520 5370 C 732 666-8205 jeff.battersh...@djindexes.com Dow Jones Indexes 4300 Route 1 North South Brunswick, NJ 08852 www.djindex! es.com http://www.cmegroup.com/ nb! sp; /p -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] Adobe Reader 10.1 breaks Adobe AIR desktop app
Since Reader was upgraded to 10.1 PDFs no longer display properly using HTMLLoader in our AIR app. If we un-install 10.1 and re-install 9.4 everything works fine. So, due to nothing on our end all our customers have broken PDF views in our AIR application. Thanks a bunch Adobe. Anybody experiencing this problem? Kevin
[flexcoders] ADT package command run from a diff location
The adobe docs for ADT package command says: The -package command should be run from the main application directory
[flexcoders] ADT build from outside application directory?
The adobe docs for ADT say: The -package command should be run from the main application directory Is there any way to run ADT from a different location that the main application source. So for e.g I am trying to integrate with a ANT build system, I have my ANT scripts in the builds/ location while my application is in source/appname/src.? It seem unusual to force the build to be executed from the same location as the application directory. TIA -superabe
[flexcoders] Accessing functions from an embedded SWF from Flash
Hello, I'm upgrading and existing Flex 3.5 website to Flex4.5, I have a small Flash created SWF file that has functions on it. In Flex i embed it using SWFLoader, and i need to call a function on the embedded SWF. Tryied it in many diferent ways with no success. The SWF loads, runs, but i can't call one of it's functions from Flex 4.5 Any ideas or example will help, since i've been stuck with this for many days, Thank you.