[flexcoders] (unknown)
Hello
Re: [flexcoders] Flex Builder 3 and SWFObject with IE - blocked content
you need to set the wmode to transparent: varflashvars ={}; varparams={wmode:transparent}; varattributes ={}; swfobject.embedSWF(myContent.swf,myContent,300,120,9.0.0,expressInstall.swf,flashvars,params,attributes); -- lwz7512 Ultrapower Flex Team Leader http://www.ultrapower.com.cn From: Rick Schmitty flexc...@gmail.com To: flexcoders@yahoogroups.com Sent: Wednesday, December 31, 2008 10:54:10 PM Subject: Re: [flexcoders] Flex Builder 3 and SWFObject with IE - blocked content There are indeed a bunch of examples, but none mention the use of Flex Builder debuging in IE that I've seen. I've tried the included examples with SWFObject 2.1, the SWFObject 2 html generator and somebody's example for use with Flex Builder I'm wondering if Flex Builder modifies some kind of security white list in IE so they are allowed to run the adobe javascript w/o 'warnings' On Tue, Dec 30, 2008 at 2:05 PM, Tracy Spratt tspr...@lariatinc. com wrote: Oops, sorry, maybe. You are past where I can help. Surely there are some full examples using swfobject? Tracy _ _ __ From: flexcod...@yahoogro ups.com [mailto:flexcod...@yahoogro ups.com] On Behalf Of Rick Schmitty Sent: Monday, December 29, 2008 9:08 PM To: flexcod...@yahoogro ups.com Subject: Re: [flexcoders] Flex Builder 3 and SWFObject with IE - blocked content Sorry.. confused... isn't that what my html is doing? SWFObject is instantiating FlashPlayer afaik? On Mon, Dec 29, 2008 at 3:10 PM, Tracy Spratt tspr...@lariatinc. com wrote: The way around that IE thing is, instead of directly declaring the Object/embed tag, use javascript to instantiate the FlashPlayer. That is why the generated wrapper calls the function in the .js file. Tracy _ _ __ From: flexcod...@yahoogro ups.com [mailto:flexcod...@yahoogro ups.com] On Behalf Of Rick Schmitty Sent: Monday, December 29, 2008 2:14 PM To: flexcod...@yahoogro ups.com Subject: [flexcoders] Flex Builder 3 and SWFObject with IE - blocked content I'm trying to use swfobject in Flex builder and running into some issues debugging. When I launch a debugging session, IE always says it is blocking content and I have to click to allow blocked content each time Is there some trick to get it to work? I'm assuming the built in Adobe JS gets some kinda 'pass' somewhere such that IE doesnt complain about it Here's my index.template. html html lang=en head titleMy Flex App/title meta http-equiv= Content-Type content=text/ html; charset=utf- 8 / script type=text/javascri pt src=js/swfobject. js/script script type=text/javascri pt src=js/swfaddress. js/script style body { margin: 0px; overflow:hidden } /style /head body scroll=no div id=content pIn order to view this you need JavaScript and Flash Player 9 or greater/p /div script type=text/javascri pt // ![CDATA[ var so = new SWFObject('$ {swf}.swf' , '${application} ', '100%', '100%', '9', '${bgcolor}' ); so.useExpressInstal l('playerProduct Install.swf' ); so.addParam( 'menu', 'false'); so.write('content' ); // ]] /script /body /html
Re: [flexcoders] Bug: flash.display.Graphics being removed.
in my flex project using flexsdk3.1, while coding in flexbuilder, the uicomponent cannot auto hint the graphics attribute after . graphics missing in flexsdk3.1? -- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.rimeeting.cn From: flexaustin [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, December 6, 2008 5:56:11 AM Subject: [flexcoders] Bug: flash.display.Graphics being removed. Has anyone had this issue? I do the following (using Flex Builder 3 w/ sdk 3.1 and Flash Player 10). // BEGIN CODE - - - - -- import flash.display. Graphics; public function get drawGraphics( ):Graphics { if(_drawing) { return _drawing.graphics; } else { return null; } } // END CODE - - - - Every 3rd or 4th time I save my file, Flex Builder removes my import statement then I get t1046 Type not found...
Re: [flexcoders] Please share your experiences with Flex 3 charting (visualization component)
I think the problem lies in your dynamicly creating the columseries, for my sample, dynamic created data for a fixed number of lineseriese chart running all day long does not see any memory leak. sample file attached -- lwz7512 Ultrapower Flex Team Leader www.ultrapower.com.cn - Original Message From: Maciek Sakrejda [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 18, 2008 1:29:19 AM Subject: Re: [flexcoders] Please share your experiences with Flex 3 charting (visualization component) We use Flex for a real-time dashboard at Truviso, and we haven't run into any major with charts so far. For what it's worth, we're still on Flex 2, but with FB3, which the bug report states *should* reproduce the problem (which is odd--FB itself should have nothing to do with this if the SDK versions are identical). I also noticed from the bug description that this happens mostly when replacing the dataProvider/ series: we keep the same series/ListCollecti onView object but update the contents as new data comes in. We definitely depend on Flex Charting for a stable real-time dashboard, and the data binding paradigm makes this an ideal library for this purpose. It would be a shame to have to move to something else because of stability issues. -- Maciek Sakrejda Truviso, Inc. http://www.truviso. com -Original Message- From: kumar_raj kumar.pandey@ gmail.com Reply-To: [EMAIL PROTECTED] ups.com To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] Please share your experiences with Flex 3 charting (visualization component) Date: Wed, 17 Sep 2008 16:44:16 - I wanted to start a thread on user experience on Flex3 charting or visualization component. I had been pusing back hard the last 2 years on moving out realtime charting from current serverside image generation to flex charting. Finally with flex 3 prof , I caved in. Hight cpu usage on servers in our production env is of course another motivating factor :) The state of the charting components seems to be in a bit of a sorry state though. Demo looks complelling when used with static data. Moment we start doing some realtime refesh we're hit with memory and cpu usage issues. Please look at bug http://bugs. adobe.com/ jira/browse/ SDK-15710 for more on this. These bugs have been filed a while and ago and doesn't seem to have been placed high on the priority list. So I wanted to find out if people in the industry are using flex charting solution in realtime dashboards. If so what are your experiences. My experince so far in moving our system to flex charting has been quite rocky. here are few issues I'm struggling with 1) With frequent chart updates (say evebry 5 sec), there is lot of memory leaks not easily identifiable via flex profiler. 2) Browsers especially IE6 do not claim back memory efficiently. 3) Bar chart frequest update has hig cpu usage Thanks Kumar Pandey performance.mxml Description: Binary data
Re: [flexcoders] Splitting FlexCoders in smaller, focused groups
good suggestions! I think this maillist need to be divided THREE group at least: Flex beginner group; Flex enterprise development( or advanced development) group; Flex designer group; -- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.openria.cn - Original Message From: Anatole Tartakovsky [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, June 17, 2008 9:10:32 AM Subject: [flexcoders] Splitting FlexCoders in smaller, focused groups Dear All, Flexcoders has huge problem. In the last 15 month it is very much stagnant in terms of message count and participation. It is not growing and dropping members as fast as it gets them. I believe this group has overgrown the optimal size about a year ago and needs to be divided in more focused smaller groups. My mail box get 100+ messages a day on all kinds of topic - unless I can spend 30+ minutes that day to sort them out it goes directly into garbage can. Most people in the company unsubscribed from it 18 month ago. Most of veteran developers I know either unsubscribed or stopped looking in this mess greatly diminishing the quality of the responses. As a result group mostly host new developers and looses most of experienced ones after very short period of time. Further delay of breaking this group hinders usefulness of the group for all of us as now we have significant amount of users that are being forced out. I believe it is time to archive flexcoders and branch (12?) targeted new user groups I would like to see people suggesting user subgroups and WiKi topics for Flex community site to go with each group - providing best posts in more systematic way. I suggest the following Yahoo groups ( created couple for your convenience) . Flex101: http://tech. groups.yahoo. com/group/ flex101/ Post message: [EMAIL PROTECTED] .com Subscribe: flex101-subscribe@ yahoogroups. com Unsubscribe: flex101-unsubscribe @yahoogroups. com List owner: flex101-owner@ yahoogroups. com EnterpriseFlex: http://tech. groups.yahoo. com/group/ enterpriseflex/ Post message: enterpriseflex@ yahoogroups. com Subscribe: enterpriseflex- subscribe@ yahoogroups. com Unsubscribe: enterpriseflex- unsubscribe@ yahoogroups. com List owner: enterpriseflex- [EMAIL PROTECTED] s.com FlexUI FlexDesign FlexSDK FlexDeployment FlexFlash FlexFrameworks FlexBestPractices EnterpriseFlex: FlexBlazeDS: weborb: Sincerely, Anatole Tartakovsky Farata Systems
Re: [flexcoders] Re: Socket HTTP/1.1 connection not closed even after Response is sent
Hi, Did you successfully conntect the policy server with flash? I connected the policy server in Flex builder3 debug mode, but when i move the swf (include in html page) into tomcat(8080 port), and visit the page, the flash debugger saying Errot 2044: unhandled SecurityErrorEvent. security sand box conflict , http://localhost:8080/xmlsocket/XmlSocketCon.swf can not load data from localhost:843 initially i started the socket server and the debugger saying these, then, i stop the socket server, the error is the same.why? any suggestion will be greate appreatiate! -- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.openria.cn - Original Message From: e_baggg [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, June 13, 2008 12:06:55 PM Subject: [flexcoders] Re: Socket HTTP/1.1 connection not closed even after Response is sent I finally got it working. No matter what, the Flash player makes a request to port 843 asking for the cross-domain. ..even if you call Security.loadPolicy File(). I found a source example where a Java socket (which I kicked off in a shell script) listens on port 843 and returns the policy file. So, I therefore never need to call Security.loadPolicy (). Here's the link to that library. You need to make sure this port is open on your firewall which is easily testable with a telnet call. This port 843 method is actually the recommended way to do it according to Adobe. http://www.flash- resources. net/ --- In [EMAIL PROTECTED] ups.com, Josh McDonald [EMAIL PROTECTED] wrote: Let us know how it works. It's really a painful process really, there's got to be a better way to secure the player against attacks without requiring funky custom sockets needing being opened :( -Josh On Fri, Jun 13, 2008 at 3:08 AM, e_baggg [EMAIL PROTECTED] wrote: After thoroughly reading the Adobe socket policy docs, it looks like I'm going to have to open up port 843 and serve the new crossdomain. xml that way. Even though I have it on my root and call Security.loadPolicy () on it (and I see in the logger that it accepts it), it still calls 843, hangs, (b/c it doesn't exist there), than the Flash player throws a security error. Rather frustrating. So it goes. I'm on the debug FP version: WIN 9,0,124,0 This crossdomain below is on my root webserver and my app is on port 9080. Even if I move my html and swf to the main root (port 80)..it still fails. ?xml version=1.0 ? !DOCTYPE cross-domain- policy SYSTEM http://www.adobe. com/xml/dtds/ cross-domain- policy.dtd cross-domain- policy site-control permitted-cross- domain-policies= master-only / allow-access- from domain=* to-ports=8080- 9080/ /cross-domain- policy --- In [EMAIL PROTECTED] ups.com flexcoders% 40yahoogroups. com, Josh McDonald dznuts@ wrote: You can set any headers you like so long as they're specified in your crossdomain. xml, and they're not on the banned list. Details: http://www.adobe. com/devnet/ flashplayer/ articles/ flash_player9_ security_ update.html# policy_file Baninanted headers: http://kb.adobe. com/selfservice/ viewContent. do?externalId= kb403030 sliceId=1 AFAIK jsessionid is a cookie and the browser should be putting it in to any request made from Flex via HttpService. You may have the one Flash Player version (apparently 9.0.115.0) that blocks Authorization header info. -Josh On Thu, Jun 12, 2008 at 2:20 PM, e_baggg e_baggg@ wrote: I am doing hand-rolled GETs because Flex (HttpService) cannot pass headers (ie jessionid). Thus, I need to open my own flash.net.Socket and write/read the request/response manually. It works great with Digest authorization except for this policy issue. I suppose I can get around this making the login page a JSP and make the redirect go to the swf html page...and from there use HttpService. ...but still I hate hacks. Such a shame this policy stuff is such a nightmare. I followed the Adobe docs exactly and I still have issues. I'll work on this more and report back anything I find. --- In [EMAIL PROTECTED] ups.com flexcoders% 40yahoogroups. comflexcoders% 40yahoogroups. com, Josh McDonald dznuts@ wrote: Also, maybe we should look at the root of the problem - what is it you're actually trying to do via sockets and hand-rolled GETs that you can't do with httpService? -Josh On Thu, Jun 12, 2008 at 9:51 AM, Josh McDonald josh@ wrote: You'll have to use something like Charles to listen to what Flash player is doing behind your back for the policy file to be sure, but if you try and open a socket to somedomain.com: 9080, I believe Flash is going to look for somedomain.com: 80/crossdomain. xml - Flash doesn't know that the
Re: [flexcoders] Re: Socket HTTP/1.1 connection not closed even after Response is sent
thanks for you guide, i have connected the socket, by using adobe official tutorial's sample policy file, yes, flashplayer need a Master policy file, NOT just a normal crossdomain.xml: http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html -- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.openria.cn - Original Message From: EECOLOR [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, June 14, 2008 9:36:45 PM Subject: Re: [flexcoders] Re: Socket HTTP/1.1 connection not closed even after Response is sent This piece of information states it quite good: If Flash Player 9,0,124,0 cannot retrieve a master policy file from port 843, then it requests a socket policy file on the port where it is trying to connect. However, if a policy file is available from a service on TCP port 843, then Flash Player considers that to be the authoritative set of permissions for that system. Greetz Erik On 6/14/08, li wenzhi [EMAIL PROTECTED] com wrote: Hi, Did you successfully conntect the policy server with flash? I connected the policy server in Flex builder3 debug mode, but when i move the swf (include in html page) into tomcat(8080 port), and visit the page, the flash debugger saying Errot 2044: unhandled SecurityErrorEvent. security sand box conflict , http://localhost: 8080/xmlsocket/ XmlSocketCon. swf can not load data from localhost:843 initially i started the socket server and the debugger saying these, then, i stop the socket server, the error is the same.why? any suggestion will be greate appreatiate! - - - - -- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.openria. cn
Re: [flexcoders] Re: adobe_flex_interface_guide.zip damaged?
thanks for reply, i renamed files in winrar, then successfully unzipped. -- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.openria.cn - Original Message From: valdhor [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, May 28, 2008 12:02:25 AM Subject: [flexcoders] Re: adobe_flex_interface_guide.zip damaged? Just downloaded it, unzipped all the files and opened them in Acrobat. What's the problem you are seeing? --- In [EMAIL PROTECTED] ups.com, li wenzhi [EMAIL PROTECTED] wrote: hi, what's wrong with the file? has anyone unzipped the file successfully? - - - - -- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.openria. cn
Re: [flexcoders] ANN: PyAMF 0.3
Congratulations! -- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.openria.cn - Original Message From: Thijs Triemstra | Collab [EMAIL PROTECTED] To: [EMAIL PROTECTED]; flexcoders@yahoogroups.com; Development of PyAMF [EMAIL PROTECTED]; PyAMF general discussion [EMAIL PROTECTED]; [EMAIL PROTECTED]; Open Source Flash Mailing List [EMAIL PROTECTED] Sent: Tuesday, April 15, 2008 3:57:29 PM Subject: [flexcoders] ANN: PyAMF 0.3 We're pleased to announce PyAMF 0.3, a lightweight library that allows Flash and Python applications to communicate via Adobe's ActionScript Message Format.AMF3 and RemoteObject are supported in all the implemented Remoting gateways, compatible with Django, Twisted, TurboGears2, Web2Py and any WSGI-compatible application. This release provides compatibility with Google App Engine and comes with following changes and fixes: - Make util.BufferedByteStream endian aware (Ticket:231) - Issue with Twisted threads (Ticket:233) - Fix interpretation of integers in AMF3 (Ticket:241) - Support for Google App Engine deployment (Ticket:237) - Classic class decoding throws an error (Ticket:248) - Make adapter framework load sub-modules (Ticket:246) - Added an adapter module for google.appengine.ext.db so that Model classes can be serialised easily (Ticket:247) - Problems with Importing and reloading files (Ticket:250) Check out the download page [1], installation instructions [2] and examples [3]. Questions? First stop is the mailing list [4], but we also hang out on IRC [5]. Cheers, - the PyAMF team [1] http://pyamf.org/wiki/Download [2] http://pyamf.org/wiki/Install [3] http://pyamf.org/wiki/Examples [4] http://pyamf.org/wiki/MailingList [5] irc://irc.collab.eu/pyamf Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] Advanced DataGrid row span
create this kinds of table by your hand. It's just some textfields and drawing some lines. -- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.openria.cn - Original Message From: bprsofteng [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, April 11, 2008 10:53:16 PM Subject: [flexcoders] Advanced DataGrid row span I'm looking to implement what is essentially a row span and col span. Example in ASCII art: id|r1|r2| |comb | - 1 |a |b | |data | - 2 |q |x | |data2| - Does anybody have any suggestions for going about this. Many thanks,B View this message in context: Advanced DataGrid row span Sent from the FlexCoders mailing list archive at Nabble.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-reco { margin-bottom:20px;padding:0px;} #ygrp-reco #reco-head { font-weight:bold;color:#ff7900;} #reco-grpname{ font-weight:bold;margin-top:10px;} #reco-category{ font-size:77%;} #reco-desc{ font-size:77%;} #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;} -- __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [flexcoders] Artemis
Does FlashPlayer/AIR open source has any benefits? I doubt it! How many developers can contribute to these platform's evolution on earth if open source? I think Adobe open source these platform , it will do harm to their healthy growth! If you want to do something helpful to FP/AIR, just to join the platform team and get involved to it, Do not require open source! -- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.openria.cn - Original Message From: Jeffry Houser [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 2, 2008 8:20:13 AM Subject: Re: [flexcoders] Artemis Kelly wrote: If Adobe was smart they would completely open source AIR and Flash Player. Then Flex/AIR could be the new GUI layer for desktop Java apps. I'm curious. Why does Flash Player + AIR have to be open source for this to occur? -- Jeffry Houser Flex, ColdFusion, AIR AIM: Reboog711 | Phone: 1-203-379-0773 -- Adobe Community Expert http://www.adobe. com/communities/ experts/members/ JeffryHouser. html My Company: http://www.dot- com-it.com My Podcast: http://www.theflexs how.com My Blog: http://www.jeffryho user.com You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com
Re: [flexcoders] Portal with Flex
I don't think Flex is suitable to Portal solution now, Coenraets' article using Flex1.5 technique, but the Taglib method is proved not a good direction for Flex portal. One way I think the great Flex portal solution is workday Portal solution: http://www.adobe.com/newsletters/edge/december2007/articles/article6/index.html?trackingid=BOYNJ although they do ERP software, but I think this solution is also feasible to Flex portal. -- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.openria.cn - Original Message From: Peeyush Tuli [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, March 31, 2008 11:02:59 PM Subject: Re: [flexcoders] Portal with Flex Maybe any J2ee gurus can comment better, but here are my 2 cents. Regarding point 2, Flex is a client side technology, while session management and clustering are server side concerns. Is it not all about appending a session id as one of the parameters in the remote call for the calling client. Whenever some data is committed in a session, it is the server's duty to persist it isn't it? Flex would report you an error in case a remote call would fail, in case your server -1 is down. You can set a retry call in your code after a definite interval to check if the server 2 is up and then you receive a proper response. I dont think the usage of LCDS would depend on this, it is just a going to serialize the flex call to java call and vice-versa. It is required when you directly need to invoke a server side java method. ~Peeyush On Mon, Mar 31, 2008 at 8:01 AM, olegkon [EMAIL PROTECTED] com wrote: Hi, I just started a new job. We are moving large mainframe application Unix servers, rewriting whole thing in J2EE. I am in the GUI group, they are planning to use JSF+AJAX and portlets. I have no JSF, no portlets, no WebSphere portal and little AJAX experience, beginner in Flex. [but do have 5 yrs of Swing + 6 yrs of JSP/servlets+ Struts/Spring MVC]. I am trying hard to convince them to use Flex instead of JSF/AJAX. They have a few doubts: 1) Does Flex work with portals/portlets ? I was able to find Coenraets' article: http://www.adobe. com/devnet/ flex/articles/ flex_portals_ print.html but it seems to be based or written in 2004 [Flex1 ?] And somehow it doesn't even mention FlexDS. I have seen short discussion about portal support in LCDS documentation. So do I have to use LCDS for that or not ? 2) Architect here is very concerned that Flex won't work in clustered WebSphere Portal 6 environment, especially in session management area: Is Is Flex able to run within a clustered environment? The answer is sorta, we know it will render in a cluster environment, BUT do we have session failover capabilities with it? a. Scenario A, we are entering data on Form 2 of 5 on Server1 in a clustered environment with two servers(Server1, Server2) b. Server 1, crashes b/c somebody tripped over the power cord. c. WebSphere will failover any session info we have, how will the Flex application react? i. Will it continue where we left off? On Form 2 of 5 or start back at Form 1 of 5? ii. Will it just restart itself from point a within the application? And again, do we need LCDS for that or not ? 3) Any Portlet - Flex samples with the source code ? 4) Any good article on JSF+AJAX vs. Flex ? [it will be in the browser, not AIR yet] Could you please shed some light on these issues ? Thank you in advance, Oleg. You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com
Re: [flexcoders] memory leak in converting string to xml
You could try to convert your xml string into Object in backend then deliver to Flex frontend to avoid this problem. -- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.openria.cn - Original Message From: Rick Winscot [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, March 30, 2008 9:42:15 PM Subject: RE: [flexcoders] memory leak in converting string to xml I’ll bite! You know… I’m a big proponent of “just because you can – doesn’t mean you should.” The case of loading a 20mb text (xml) file… I think would qualify. To be fair I did try a few experiments with the xslspec (http://www.w3. org/TR/2001/ REC-xsl-20011015 /xslspec. xml) which is nearly 25k lines. I profiled a typical scenario of loading it as a string, conversion to xml and cleanup. The memory footprint was reasonable for the size of text – nothing to write home about. I did get some erratic results executing repeated conversions (1 conversion per second for 10 seconds). Still… things settled down after about 120 seconds. Did I see anything that looked like a true leak? No. What I did see what the effect of a huge number of string operations… and the memory footprint of a business case that made me say – “chunk it… or leave it.” Flex is truly awesome, but I think that what you are trying to do has me wondering what the justification is (please share). Really – Flex will do what you ask it to do… it doesn’t mean that it will perform well… but it will do it. This is true for any language – the effect is just more evident in ActionScript. Rick Winscot From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Ilam Mougy Sent: Saturday, March 29, 2008 12:49 AM To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] memory leak in converting string to xml I am almost giving up on this issue, I don't know any work around. Here is example, in AS:- var strToBeXML:String = 'root.../root';// this is huge string, 20Meg xml for example. myTrace('*** ** memory before xml conversion (A): ' + System.totalMemory) ; var xmlObj:XML = new XML(strToBeXML) ; myTrace('*** ** memory after xml conversion (B): ' + System.totalMemory) ; // now, there is no way to get rid of this increase in memory! xmlObj = null; myTrace('*** ** memory after xml deletion (C): ' + System.totalMemory) ; protected function myTrace(str: String):void{ forceGC(); trace(str); } public function forceGC():void{ try { new LocalConnection( ).connect( 'foo'); new LocalConnection( ).connect( 'foo'); } catch (e:*) {} } (C) is always similar to (B). Any hits? I need to get rid of this xml object memory allocation and I can't. I think I read all the articles about memory leaks. I haven't used Flex 3 yet, but I am sure if I try and it says there is a leak, so what, what should I do? Thanks for your help. Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] Image centering
you can put an image in a Box, and position it's (0,0) in the center of Box, then rotate the Box! -- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.openria.cn - Original Message From: Michael Wagner [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, March 29, 2008 7:33:59 PM Subject: [flexcoders] Image centering Hello: I am new with Flex. I need to position an image ( can be a jpg, bmp, etc ) in a bitmaparea bigger then the image size I have tried codes like this but it is positioned in (0,0) How is the task accomplished ? area:BitmapData = new BitmapData(200,200); var myBitmap:Bitmap = new Bitmap(bitmappictur efrom); myBitmap.x = 100; myBitmap.y = 100; area.draw(myBitmap) ; Thanks, Michael. No Cost - Get a month of Blockbuster Total Access now. Sweet deal for Yahoo! users and friends. http://tc.deals.yahoo.com/tc/blockbuster/text1.com
Re: [flexcoders] Re: Free Flex Gauge Component
Great and beautiful components, but your blogspot is not visitble in our country, can you move your code to google code? and having view your gauge code, i think the code should be more polished to strictly corresponding the Flex component implementation methods, updateDisplaylist() method should not include measure(); thanks for your contribution for Flex communication. --- lwz7512 OpenRIA -- A window you exploring RIA world http://www.openria.cn - Original Message From: Sanjiv Jivan [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, March 29, 2008 3:01:27 AM Subject: Re: [flexcoders] Re: Free Flex Gauge Component Just what I was looking for to get started. Thanks again! Sanjiv On Fri, Mar 28, 2008 at 2:33 PM, twgonzalez [EMAIL PROTECTED] ntinc.com wrote: --- In [EMAIL PROTECTED] ups.com, Sanjiv Jivan sanjiv.jivan@ ... wrote: Looks great Tom. Do you know of any good book / site that covers creation of custom flex components? Thanks, Sanjiv On Fri, Mar 28, 2008 at 11:57 AM, twgonzalez [EMAIL PROTECTED] . wrote: In an effort to contribute back to this community I wanted to share this component which I actually developed a couple of years ago but was unable to share due to IP constraints. Now I can safely contribute this back the community as a small way of saying thanks. View source is enabled when you follow the link to the live demo. Any comments/suggestion s/feature requests are more than welcome. - Tom http://form- function. blogspot. com/2008/ 03/gauge- component- v01.html http://form- function. blogspot. com/2008/ 03/gauge- component- v01.html Hello Sanjiv, Well, there is the Yahoo group for Flex Components. Outside of that I don't know of any books off the top of my head that are specific to the topic. There is a lot of material on the web, mostly in blogs around that topic. Check out the blog roll. Ely Greefield (primary Flex architect) has some pretty good content on his blog: http://www.quietlys cheming.com/ blog/. For me personally, it was just a natural evolution of learning Flex and wanting to make it do things that weren't in the framework. - Tom OMG, Sweet deal for Yahoo! users/friends:Get A Month of Blockbuster Total Access, No Cost. W00t http://tc.deals.yahoo.com/tc/blockbuster/text2.com
Re: [flexcoders] Developer Exam
you means the Flex2, not Flex3 exam? Does Adobe do anything toward Flex3 exam? - Original Message From: Merrill, Jason [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, March 26, 2008 3:11:52 AM Subject: RE: [flexcoders] Developer Exam Congrats! Jason Merrill Bank of America GTO and Risk LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of VELO Sent: Tuesday, March 25, 2008 2:34 PM To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] Developer Exam Hi Folks... I wanna to share my happiness... I Pass o Adobe Flex 2 Developer Exam. Thanks to all who help me, specially who helps me off list. VELO Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] blazeds performance
180k records? sounds like a t large dataset to delivery! - Original Message From: netdeep [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, March 26, 2008 8:27:37 PM Subject: [flexcoders] blazeds performance I am wondering if anyone has an idea about increasing blazeds performance. I am receiving information from a database for a chart. Each record is a java object and the entire set of aproximately 180K records is contained in two separate arrays since it is a multi-series chart. I convert the records into actionscript objects from java objects when I get them. From the time the records are sent to the flex app, til the time they get drawn on the screen takes approximately 45+ seconds. This seems pretty long to me. Is this on par with what should be expected? If not, what could I do to improve this performance? Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
[flexcoders] Re: JS - How to send a byteArray using HTTPService??
you can use as3 encoding class to convert the ByteArray to Base64 String, then send it with httpservice: a)bytearray to base64 string: http://www.dynamicflash.com/goodies/base64 b)base64 to byte[] in java: http://www.source-code.biz/snippets/java/2.htm - Original Message From: Abdul Qabiz [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, October 30, 2007 12:23:56 PM Subject: Re: [flexcoders] Re: JS - How to send a byteArray using HTTPService?? I think, you can use AMFPHP on server-side. You can refer the following tutorial:- http://www.sephirot h.it/tutorials/ flashPHP/ amfphp_bytearray / http://www.bytearra y.org/?p= 90 -abdul On 10/29/07, Jeff Schuenke [EMAIL PROTECTED] com wrote: Hello Abdul, I have looked at URLLoader and see how to send. On the server side, I see the data in a byte array but am not sure how to pull this inot a variable. Any samples from either php or java? Thanks, Jeff --- In [EMAIL PROTECTED] ups.com, Abdul Qabiz abdul.qabiz@ ... wrote: Note sure, if HTTPService allows anything beyond text You can use URLLoader to send the data to server.. -abdul On 10/25/07, Jeff Schuenke [EMAIL PROTECTED] . wrote: Hello All, I need to do a screen capture of a UIComponenet and allow the user to save this to their local drive. I understand thsi will need to go throu the server. I have read about the ImageSnapshot and PNGEncode methods in SDK 3 so I can get the BitmapData ( this example is using SDK 2). What I don't see how to do is send this to the server. I am trying this: //get the data var exportImage: BitmapData = new BitmapData(100, 100); exportImage. draw(UIComponene t_name); var outData:ByteArray = new ByteArray(); outData.readBytes( exportImage. getPixels( new Rectangle (0,0,100,100) )); var sendImage:HTTPServi ce = new HTTPService( ); sendImage.method = POST; sendImage.url = http://www.host. com/serverSave. php; sendImage.send( {HTTP_RAW_ POST_DATA: outData.writeByt es(outData) , name:' image.png'}); This is not working and it is only a guess. How can I send the data or is it possibile to do this as a POST?? Thanks, Jeff -- -abdul - - - http://abdulqabiz. com/blog/ - - - -- -abdul - - - http://abdulqabiz. com/blog/ - - - __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [flexcoders] Tween Motion along a path
is this what you want? The search for the perfect bezier tweening syntax http://labs.zeh.com.br/blog/?p=104 - Original Message From: Doug McCune [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, October 29, 2007 12:29:11 PM Subject: Re: [flexcoders] Tween Motion along a path For starters, the presentation you're referring from Michael Labriola to was just posted online: http://blogs. digitalpri mates.net/codeSling er/index. cfm/2007/ 10/28/Max- Presentation The basic idea that I think makes sense for you to approach the problem with is that you want a function that lays out all your items for any given rotation of the circle. This function doesn't do anything in terms of animating. All it does is lays out your items given a particular rotation of your circle. So if you have a method like: function layoutItems( angle:Number) :void { //layout all your items here for the given angle passed in } then you just make sure to call that function whenever you change the rotation of your circle. You can make that happen in a setter for a property on your class, and then you can tween that property. Not sure if that's all making sense. Take a look at the code from the MAX preso in the link above. You'll see a setter for a property called currentPosition. That setter calls invalidateDisplayLi st(), and in updateDisplayist he's got the code that moves all the items to their proper positions given whatever currentPosition has been set to. Then what he does is tweens the currentPosition property. So he doesn't have to have a bazillion tweens running for each of his items. He tweens a single property, and then when that property gets set, he makes sure to re-layout the items. If you want to go completely overboard and learn how to do crazy stuff with animating on paths (in 2D and in 3D) then you can read up on Jim Armstrong's blog: http://algorithmist .wordpress. com He has tons of stuff about animating along curves and gets into the crazy math you need. That's overkill for what you're trying to do, but worth checking out. Doug On 10/28/07, Bjorn Schultheiss bjorn.mailinglists@ gmail.com wrote: I wasn't at Max, but have you seen this, http://labs. zeh.com.br/ blog/?p=95 ? Bjorn On 29/10/2007, at 1:34 AM, snowjunkie73 wrote: At Adobe Max 2007 I went to a session on creating custom components in Flex. The example component used in the session was a custom carousel component where objects would tween along a circular path. The source for this example class was never released, but I am fairly certain that the math for the path was done entirely in Flex, and it was not using a Flash CS3 generated path. The movement was nice and smooth. I'm trying to do my own tweening along a circular path but in a flat 2d manner. I've done all the math in action script 3 to find the circular path but I am having trouble getting objects to move smoothly along the path. Basically I pick a number of points along the path and use Move effects from point to point. The more points I pick the closer it appears to be on a true circle. I've tried both manually kicking off each individual move effect from the effect end event and also putting the move effects in a sequence effect. Both methods cause the motion to be either extremely slow (if I set each move duration to be large) or pretty jerky (if I set the move duration to be very small like 0-2). It appears that there is a pause between the end of each move effect before the next move effect starts. The reason I want to do it all in code is that I want to be able to vary the radius of my circular path dynamically. Anyone have ideas on how I can get smoother motion along my path? Thanks in advance. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [flexcoders] stop a Title window from being dragged
do you means the isPopUp property of UIComponent? - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, September 7, 2007 12:02:13 PM Subject: RE: [flexcoders] stop a Title window from being dragged popUp = false From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Sheriff Sent: Thursday, September 06, 2007 7:53 PM To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] stop a Title window from being dragged i want the titleWindow to center first then to not move even if the user wants it to move, i tried to override the move method but i can't center it as a result. i tried preventing the mouse event.preventDefaul t, that doest work. What else can i do Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/
[flexcoders] Flexbuilder2 bug: line number setting not remembered
I use flexbuilder2.0.1 in windowsXP, when i check the option by selecting : Preferences/General/Editors/Text editors/Show line numbers then line numbers showed, but while i close the IDE, and restart again, the setting lost! Anyone found this? Need a vacation? Get great deals to amazing places on Yahoo! Travel. http://travel.yahoo.com/
Re: [flexcoders] Cairngen Ant tasks 1.2 Release
Good jobs! - Original Message From: efeminella [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, May 9, 2007 9:56:10 PM Subject: [flexcoders] Cairngen Ant tasks 1.2 Release I have updated Cairngen, an Ant based code generation tool for Adobe Cairngorm, to version 1.2. The latest version includes support for all Cairngorm 2+ versions as well as logging features. You can learn more at: http://www.ericfemi nella.com/ blog/2007/ 05/09/cairngen- ant-tasks- 12-release/ Enjoy, Eric __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[flexcoders] how to add border for BarSeries or ColumnSeries
I mean add border line for each bar or each column, and i have tried add stroke attribute with a Stroke object to it, but does not work. how to approach to it? help me out? thanks a lot! No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail
[flexcoders] Re: Can anyone help on getting data from a grid cell
a complete sample: - ?xml version=1.0? !-- DataGrid control example. -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; initialize=initApp() mx:Script![CDATA[ import mx.controls.Alert; import mx.events.ListEvent; private function initApp():void{ dg.addEventListener(ListEvent.ITEM_CLICK,setColumnCopy) ; } private function setColumnCopy(event:ListEvent):void{ var _selectedCol:Object = dg.columns[event.columnIndex].dataField; Alert.show(dg.selectedItem[_selectedCol]); } ]]/mx:Script mx:XMLList id=employees employee nameChristina Coenraets/name phone555-219-2270/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameJoanne Wall/name phone555-219-2012/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMaurice Smith/name phone555-219-2012/phone email[EMAIL PROTECTED]/email activefalse/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee /mx:XMLList mx:Panel title=DataGrid Control Example height=100% width=100% paddingTop=10 paddingLeft=10 paddingRight=10 mx:Label width=100% color=blue text=Select a row in the DataGrid control./ mx:DataGrid id=dg width=100% height=100% rowCount=5 dataProvider={employees} mx:columns mx:DataGridColumn dataField=name headerText=Name/ mx:DataGridColumn dataField=phone headerText=Phone/ mx:DataGridColumn dataField=email headerText=Email/ /mx:columns /mx:DataGrid mx:Form width=100% height=100% mx:FormItem label=Name mx:Label text={dg.selectedItem.name}/ /mx:FormItem mx:FormItem label=Email mx:Label text={dg.selectedItem.email}/ /mx:FormItem mx:FormItem label=Phone mx:Label text={dg.selectedItem.phone}/ /mx:FormItem /mx:Form /mx:Panel /mx:Application - - Original Message From: helihobby [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, February 27, 2007 10:25:58 AM Subject: [flexcoders] Re: Can anyone help on getting data from a grid cell .. I know the row/column index Found the solution from a guy who emailed me ... thx This is what worked for me: yourDataGrid. addEventListener (ListEvent. ITEM_CLICK, setColumnCopy) ; function setColumnCopy( ){ _selectedCol = yourDataGrid. columns[event. columnIndex] .dataField; Alert.show(yourData Grid.selectedIte m[_selectedCol] ); } As always, Thank you for all the help and support. BRA HREF=http://www.helihobb y.com/html/ alon_desingpatte rn.htmlFONT SIZE=-1 FACE=Verdana, Tahoma,Arial, Helvetica, Sans-serif Read my solution for Flex Component communication here.../FONT /A BRSean - A HREF=http://www.helihobb y.comFONT SIZE=-1 FACE=Verdana, Tahoma,Arial, Helvetica, Sans-serif HeliHobby. com/FONT Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097