[flexcoders] RE: [flexcomponents] Problem With XML
What code do you use to get the attribute? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of NileAge, Mail Sent: Tuesday, February 12, 2008 6:28 AM To: [EMAIL PROTECTED]; 'Flex Components'; [EMAIL PROTECTED]; flexcoders@yahoogroups.com; [EMAIL PROTECTED] Subject: [flexcomponents] Problem With XML I have a problem when I try to start application to get some data from database on creationComplete event and then set this data in xml file then when I click on LinkBar Item to change the data and get certain attribute, the problem that I get all attributes when I want only one attribute. example: get the data of ProjectID=1 nbs! p; ProjStyle items theStyle ProjectID=1 ProjectName=Almaza BG=BG.swf Body=BODY.swf / theStyle ProjectID=2 ProjectName=Makadi BG=BG.swf Body=BODY.swf / /items /ProjStyle
RE: [flexcoders] meaning of the this AIR error message
Please use a debug build and supply the entire stack trace. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hworke Sent: Tuesday, February 12, 2008 5:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] meaning of the this AIR error message Hi, I was trying mx:HTML inside a viewstack and got this error message: = TypeError: Error #1034: Type Coercion failed: cannot convert mx.controls::[EMAIL PROTECTED] to mx.core.Container. Here is my code: == mx:ViewStack id=myVS height=100% width=80% mx:Canvas width=100% height=100% mx:HTML id=myHTML location={st} height=100% width=100%/ /mx:Canvas /mx:ViewStack === What is the meaning of this error message and does it mean that we cannot put a mx:HTML inside a viewstack? Regards...
[flexcoders] Personal invitation from Rogerio Gonzalez
Personal invitation from Rogerio Gonzalez
[flexcoders] Re: Splitting Array Content , keyword by field content
ListCollectionView and a filter function? --- In flexcoders@yahoogroups.com, Harry Saputra [EMAIL PROTECTED] wrote: Max 20 record. Not big. May I ? When try to manipulate data on server side, I must create a more function ( service ) and on my flex I must create more remoteObject method. It's not good :-) Thanks.. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Wednesday, February 13, 2008 12:07 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Splitting Array Content , keyword by field content why not do that stuff server side and just bring it in to flex for use. I have no idea how big your data will be but that could be a better stradegy than trying to iterate. how many groups do you have - Original Message From: Harry Saputra [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, February 12, 2008 10:56:32 PM Subject: RE: [flexcoders] Splitting Array Content , keyword by field content Or may I content filter in DataGrid ( all item I shown in datagrid ) and filtering when columnA constraint 'xxx' value ? How ? From: [EMAIL PROTECTED] ups.com http://ups.com/ [mailto:flexcoders@ yahoogroups. com] On Behalf Of Sherif Abdou Sent: Wednesday, February 13, 2008 11:46 AM To: [EMAIL PROTECTED] ups.com http://ups.com/ Subject: Re: [flexcoders] Splitting Array Content , keyword by field content you can't use a for loop, maybe try a cursor instead What you cannot do is iterate through the properties of an object if it is an instance of a user-defined class, unless the class is a dynamic class. Even with instances of dynamic classes, you will be able to iterate only through properties that are added dynamically.-Flex Doc - Original Message From: Harry Saputra [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ups.com http://ups.com/ Sent: Tuesday, February 12, 2008 10:33:44 PM Subject: RE: [flexcoders] Splitting Array Content , keyword by field content Check my code : arrJadwalPribadi = new ArrayCollection(event.result as Array); arrJadwalPribadi. refresh(); for (var item:Object in arrJadwalPribadi){ if (item.hari=='Senin') { senin.push(item); } else if (item.hari=='Selasa') { selasa.push(item); } .. I get ArrayCollection as Array from Weborb. When I try to this way, I get this error message : ReferenceError: Error #1069: Property hari not found on String and there is no default value. at siakad/::jadwalPribadiResult Handler() when I use variable arrJadwalPribadi on DataGrid, it's working. I use property hari on labelField too. What's wrong ? From: [EMAIL PROTECTED] ups.com http://ups.com/ [mailto:flexcoders@ yahoogroups. com] On Behalf Of Gordon Smith Sent: Wednesday, February 13, 2008 10:42 AM To: [EMAIL PROTECTED] ups.com http://ups.com/ Subject: RE: [flexcoders] Splitting Array Content , keyword by field content You shouldn't assume that a for-in or for-each-in loop will iterate over the items in any particular order. To ensure this, use a plain 'for' loop. Gordon Smith Adobe Flex SDK Team _ 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/ca tegory.php?category=shopping _ Never miss a thing. Make Yahoo http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs your homepage.
[flexcoders] Strange error trace
Hi all, I am having trouble with some null object reference somewhere in my flex app, beacuse of which it is bombarding errors. But in trace it is showing some E:\dev\flex_201_borneo path which does not exist. ( E: is my DVD rom ). Then why it is showing this path ? here is one of them TypeError: Error #2007: Parameter source must be non-null. at flash.accessibility::Accessibility$/sendEvent() at mx.accessibility::AlertAccImpl/eventHandler ()[E:\dev\flex_201_borneo\sdk\frameworks\mx\accessibility\AlertAccImpl.as:243] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent ()[E:\dev\flex_201_borneo\sdk\frameworks\mx\core\UIComponent.as:8389] at mx.core::UIComponent/setinitialized()[E:\dev\flex_201_borneo\sdk\frameworks\mx\core\UIComponent.as:1096] at mx.managers::LayoutManager/doPhasedInstantiation ()[E:\dev\flex_201_borneo\sdk\frameworks\mx\managers\LayoutManager.as:696] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/callLaterDispatcher2 ()[E:\dev\flex_201_borneo\sdk\frameworks\mx\core\UIComponent.as:7975] at mx.core::UIComponent/callLaterDispatcher ()[E:\dev\flex_201_borneo\sdk\frameworks\mx\core\UIComponent.as:7918] -- Regards, Yogesh
RE: [flexcoders] Re: Splitting Array Content , keyword by field content
How to make it with ListCollectionView and filter function ? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Wednesday, February 13, 2008 4:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Splitting Array Content , keyword by field content ListCollectionView and a filter function? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Harry Saputra [EMAIL PROTECTED] wrote: Max 20 record. Not big. May I ? When try to manipulate data on server side, I must create a more function ( service ) and on my flex I must create more remoteObject method. It's not good :-) Thanks.. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Sherif Abdou Sent: Wednesday, February 13, 2008 12:07 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: Re: [flexcoders] Splitting Array Content , keyword by field content why not do that stuff server side and just bring it in to flex for use. I have no idea how big your data will be but that could be a better stradegy than trying to iterate. how many groups do you have - Original Message From: Harry Saputra [EMAIL PROTECTED] To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Sent: Tuesday, February 12, 2008 10:56:32 PM Subject: RE: [flexcoders] Splitting Array Content , keyword by field content Or may I content filter in DataGrid ( all item I shown in datagrid ) and filtering when columnA constraint 'xxx' value ? How ?
Re: [flexcoders] Adobe People, Save me from Silverlight! (Microsoft's Legal Record)
On Wednesday 13 Feb 2008, Weyert de Boer wrote: Mono/Moonlight to compile Silverlight projects on like Linux or MacOSX. Don't be fooled into this. Microsoft *will* wait just long enough for Moonlight to prove it has a chance of making a 'nix version work, thus letting MS claim its as cross platform as Flex/AIR, and then release Silverlight 3, with a licence that only lets it run on Windows/Mac. -- Tom Chiverton Helping to revolutionarily seize real-time segments on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex Feedback for the Future
On Tuesday 12 Feb 2008, Don Kerr wrote: A basic simple one would be to automatically convert typed urls to clickable colored links. Right now, my users have to re-highlight the I would have expected you can do this now using a reg. exp. from the key up handler ? -- Tom Chiverton Helping to advantageously embrace revolutionary customers on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] When a child is invalid what causes its parent to be layed out.
Brain fade today... Where is the piece of code that triggers a parent to become invalid and have to redo its layout when one of its children calls its own invalidateSize method? tks
Re: [flexcoders] Flex Feedback for the Future
does it have a design view ? Does it work the exactly same way as fb3 on windows ? On Feb 13, 2008 3:12 PM, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 13 Feb 2008, YOGESH JADHAV wrote: An IDE which looks and runs in same way on all platforms ( atleast linux). Well, Builder for Linux is up on Labs... -- Tom Chiverton Helping to confidentially reintermediate enterprise-class communities on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- 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 -- Regards, Yogesh
Re: [flexcoders] Flex Feedback for the Future
On Wednesday 13 Feb 2008, YOGESH JADHAV wrote: An IDE which looks and runs in same way on all platforms ( atleast linux). Well, Builder for Linux is up on Labs... -- Tom Chiverton Helping to confidentially reintermediate enterprise-class communities on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Adobe People, Save me from Silverlight!
On Tuesday 12 Feb 2008, Nate Pearson wrote: Although I know the answers to most of these questions I think any document from Adobe would say it better than I could. There's a page on adobe.com about adoption rates. Thing 95%+ and you're not far off. Plus it'll work no matter what your end users platform is (well...). Does sharepoint not have WebServices to intergrate with ? Checkout the upcoming 'thermo' for workflow tools. SEO is a solved problem, and the same for Silverlight - just provide HTML alternative content. My boss is flying to Redmond this afternoon for a meeting with Microsoft. Although it's not about Silverlight he is going to ask them about it and I'm sure they will try to give him some kool-aid. Well, make sure he goes to Adobe too :-) -- Tom Chiverton Helping to continually lead synergistic segments on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: When a child is invalid what causes its parent to be layed out.
--- In flexcoders@yahoogroups.com, reflexactions [EMAIL PROTECTED] wrote: Brain fade today... Where is the piece of code that triggers a parent to become invalid and have to redo its layout when one of its children calls its own invalidateSize method? tks Never mind, found it
Re: [flexcoders] Flex Feedback for the Future
On Wednesday 13 Feb 2008, YOGESH JADHAV wrote: does it have a design view ? No. I don't need one, 90% of the time. We actually have a licence for the Windows version, so I can always run that up in VMWare on the odd ocasion it's needed. Does it work the exactly same way as fb3 on windows ? Yes. It's not got all of the features, but it's being worked on, and is easily good enough to use everyday. I much prefer it to using mxmlc directly and/or the community DTD-based schema (which there is no way I'm going to update single handed for Flex 3). -- Tom Chiverton Helping to economically exploit open-source applications on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex Feedback for the Future
There is also this Enhancement Request for MARS support https://bugs.adobe.com/jira/browse/SDK-13895 which would be perfect in my opinion. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
[flexcoders] Re: LCDS - Express, how to change database connection
Thanks Jeff, I thought it would be easy. I think I will write my own product screen from scratch to see how it all works. My initial idea was to gradually modify the sample to get it working with Oracle, and make other changes. Seems like these samples are not a good 'standard practice' Thanks Andrew --- In flexcoders@yahoogroups.com, Jeff Vroom [EMAIL PROTECTED] wrote: Some of the samples hardcode the database connection info in a class called ConnectionHelper.java. Check in WEB-INF/src/... Look at the sample you are running, find the destination names. Find these in your config... you probably found connection info for the SQLAssembler destinations which are entirely coded without Java but if you are using a Java based sample you'll have to change the Java code itself. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of greenfishinwater Sent: Tuesday, February 12, 2008 10:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] LCDS - Express, how to change database connection I have just installed LCDS Express version with included JRun, and I have been looking at the test drive samples. These samples use the associated hsqldb as the database. I want to write some test code that uses an Oracle database. Where do I change the database connection data. I found a database entry in data-management-config.xml in c:\lcds\jrun4\servers\default\samples\WEB-INF\flex I changed this to use Oracle, but the sample still uses hsqldb Where do I setup different database connections? Thanks Andrew
Re: [flexcoders] Re: Flex Feedback for the Future
On Wednesday 13 Feb 2008, João Fernandes wrote: There is also this Enhancement Request for MARS support MARS ? -- Tom Chiverton Helping to augmentatively morph corporate communities on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Tree nodes expansion
Hi All, Am using Tree in my application with three nodes. using XMLListCollection and displaying the data within respected panel. when I click on node it was displaying in on only one page. when clicking on remaining nodes there was no effect. i would like to use the Refresh when I click on each time . In nodes to displaying data am using Remote object for getting the data from java application. can anyone suggest me how to use the Refresh for nodes within tree. --Tomt
[flexcoders] Using Remote Object
Hi All, In my application am using a List box witha list of items. when selected a node I need to send that node to same object to two remote objects. am having a doubt how to using this. after getting the data into the ResultEvent I need to display the two different Results on two panels. can anyone give me some suggestions of how to achieve this. Thanks, Tomt.
[flexcoders] seting parameter to setInterval()
Hi I need to send parameters to function which I use in setInterval statement does it posible or is it any way to generate runtime funtions whitch I call via setInterval
[flexcoders] ListEvent.ITEM_EDIT_END is being wrongly dispatched twice if the corresponding event handler includes mx:Alert
Hi all, I've subscribed to ListEvent.ITEM_EDIT_END event for my Tree and put Alert.show(I am error message). My Alert window is being shown twice when the I finish to edit the tree node name in the the editable TextInput field. What I've done wrong? I am on Flex 2.0.1 SDK. The code sample: -- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical initialize=onInitialize() mx:Script ![CDATA[ import mx.events.ListEvent; import mx.controls.Alert; private function onInitialize() : void { tree1.addEventListener(ListEvent.ITEM_EDIT_END, onItemEditingEnd); } private function onItemEditingEnd(event : ListEvent) : void { event.preventDefault(); Alert.show(I am error message); } ]] /mx:Script mx:Tree id=tree1 labelField=@label editable=true showRoot=false width=160 mx:XMLListCollection id=MailBox mx:XMLList folder label=Mail folder label=INBOX/ folder label=Personal Folder Pfolder label=Business / Pfolder label=Demo / Pfolder label=Personal isBranch=true / Pfolder label=Saved Mail / /folder folder label=Sent / folder label=Trash / /folder /mx:XMLList /mx:XMLListCollection /mx:Tree /mx:Application -- -- -- Med venlig hilsen / Best regards Andriy Panas [EMAIL PROTECTED]
[flexcoders] Flex/Flash memory allocation
Hey Guys I have a problem with Flash Runtime. While the flex application is running, the browser increase de memory utilization, but after close the tabs (inside flex app) the memory consume not decrease. I try to alter my code to myvar = null to force the Garbage Collector to clear, but not works fine. What's happening? Tks
Re: [flexcoders] Adobe People, Save me from Silverlight! (Microsoft's Legal Record)
On Feb 12, 2008, at 8:28 PM, Robert Thompson wrote: The thing developers need to be concerned about is Microsoft's history. [big snip] Honestly. What Microsoft has done in it's history to people is irrelevant. You obviously care deeply, given your rough road and history with them. That's fine, but please don't taint these discussions that are quite targeted at the technical aspects of these two platforms. Add something useful to the thread - like specific reasons why Flex, as a technology is a better investment for a business than Silverlight. I'm following the discussion because it's also something that's important to what I do. Having to sift through a bunch of historical garbage that's hella OT to the question at hand leaves a bad taste in my mouth. - j
Re: [flexcoders] Adobe People, Save me from Silverlight! (Microsoft's Legal Record)
On Wednesday 13 Feb 2008, Jon Bradley wrote: What Microsoft has done in it's history to people is irrelevant. You Conduct in the past often informs future conduct. Where a company has used a product as a weapon to bankrupt the competion, at the expense of features, as MS has done in the past, it is hard to see how it is not going to do so again i.e. make an effort with Silverlight up until Flex is Netscape'ed at which point Silverlight will also be left to fester. Witness IE, among other projects at MS. -- Tom Chiverton Helping to completely create revolutionary schemas on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex Feedback for the Future
http://labs.adobe.com/technologies/mars/ - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 1:01 PM Subject: Re: [flexcoders] Re: Flex Feedback for the Future On Wednesday 13 Feb 2008, João Fernandes wrote: There is also this Enhancement Request for MARS support MARS ? -- Tom Chiverton -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Security cam vedio brodcasting
What sort of cameras, systems and budget do you have? I would presume you would have to route the cameras through a computer (i.e. a server) to get the video to Flex either through Flash Media Server or any other means for that matter. This board is really meant for Flex specific questions and discussion, but if you give us a better idea of what you are trying to accomplish, someone may be able to help guide you in the right direction. Thanks, -- William --- In flexcoders@yahoogroups.com, Ebeid Soliman [EMAIL PROTECTED] wrote: Hi All, I'm in the investigation phase of a project. This project is for a security company. This project would connect to customers onsite security cameras and stream vedio from it. I've no idea how this will be done. hope to can help me. Ebeid Soliman
Re: [flexcoders] Re: Flex Feedback for the Future
Well MARS is still in a very early state. Adobe explicitly warns that the current draft specification isn't guaranteed to be supported by the 1.0release, so using it now for any real production quality stuff is a little risky, you might end up with documents that can't be opened in the near future. - Dan On Feb 13, 2008 10:24 AM, Paul Andrews [EMAIL PROTECTED] wrote: Thanks Muzak. It feels surreal that Adobe is moving towards an XML based document/printing/reporting solution yet there's hardly a stir on Flexcoders. I'll certainly check it out. Paul - Original Message - From: Muzak [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 2:52 PM Subject: Re: [flexcoders] Re: Flex Feedback for the Future http://labs.adobe.com/technologies/mars/ - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 1:01 PM Subject: Re: [flexcoders] Re: Flex Feedback for the Future On Wednesday 13 Feb 2008, João Fernandes wrote: There is also this Enhancement Request for MARS support MARS ? -- Tom Chiverton -- 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 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
Re: [flexcoders] Adobe People, Save me from Silverlight! (Microsoft's Legal Record)
On Feb 13, 2008, at 9:28 AM, Tom Chiverton wrote: Conduct in the past often informs future conduct. Where a company has used a product as a weapon to bankrupt the competion, at the expense of features, as MS has done in the past, it is hard to see how it is not going to do so again i.e. make an effort with Silverlight up until Flex is Netscape'ed at which point Silverlight will also be left to fester. Witness IE, among other projects at MS. Almost every software company is guilty of that in some manner or another. I get that all the time in the vfx industry - companies dead ending production software that is a key component to a pipeline. In the end, it all boils down to money. In the case of Microsoft, eh, whatever. If the technology is good, clients demand it and it makes money, I use it. It just so happens that the opportunities for monetization of creative and programming services are much greater with the Flex platform than they are with Silverlight. - j
Re: [flexcoders] Re: Flex Feedback for the Future
Mars is a XML representation of a PDF. Having a MarsLoader component and an AS3 API to produce those kind of documents, we would be able not only to generate powerful reports but also able to view them within our Flex applications. By voting to this ER , if it doesn't get implemented at least we will know why since it seems that they are committed to give an explanation ( http://weblogs.macromedia.com/mchotin/archives/2008/02/flex_4_sdk_feat.cfm ) -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flex/Flash memory allocation
Garbage collection does not happen at your request. It is lazy and does it when it feels like it. You can use Flex Builder 3 beta which does have a 'force gc' button when running in debug. This can help you identify if you still have references, or if the gc just hasn't happened. Steve On Feb 13, 2008 6:45 AM, Guilherme Defreitas Juraszek [EMAIL PROTECTED] wrote: Hey Guys I have a problem with Flash Runtime. While the flex application is running, the browser increase de memory utilization, but after close the tabs (inside flex app) the memory consume not decrease. I try to alter my code to myvar = null to force the Garbage Collector to clear, but not works fine. What's happening? Tks
[flexcoders] Re: How to make a live duplicate of an output window
Thanks Sherif and Gus for your ideas-- the ImageSnapshot class works great. For anyone else wanting to do this, here's a code snippet to capture a component's visuals (component is named comp) into an image control (named imgSnapshot) that's dimensionally 25% of the size of the original component: var matrix: Matrix = new Matrix() matrix.scale(.25,.25) var bmpData: BitmapData = ImageSnapshot.captureBitmapData(comp,matrix) imgSnapshot.source = new Bitmap(bmpData) --- In flexcoders@yahoogroups.com, Gus [EMAIL PROTECTED] wrote: you could also use the ImageSnapshot class to take a picture of the window before minimize it, and then assign it to your minimized item and then show it when mouse over HTH GUS --- In flexcoders@yahoogroups.com, Sherif Abdou sherif626@ wrote: you can use the bitmap class draw() method and what not, then scale that image and just use States. So on State will show it and off state wont - Original Message From: mthomas1969 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, February 12, 2008 1:39:20 PM Subject: [flexcoders] How to make a live duplicate of an output window I'm using Flex 3 and AIR, and I am trying to find a way to have all of the visuals that appear in a particular window in my app duplicated (in real time) in a small canvas in another window (in the same app). Sort of like the taskbar in Windows Vista does when you hover the mouse over an item that is minimized: you see a tiny view of what's going on in the application' s window. Anyone know how to do this in in Flex/AIR? __ __ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php? category=shopping
Re: [flexcoders] Adobe People, Save me from Silverlight! (Microsoft's Legal Record)
On Wednesday 13 Feb 2008, Jon Bradley wrote: whatever. If the technology is good, clients demand it and it makes money, I use it. What worries me is that when MS technology *isn't* good, clients still demand it because MS has FUD'ed them to death. -- Tom Chiverton, writing this from KDE's groupware client even though we have an Exchange server :-) This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] addEventListener question
What problem are you trying to solve? There's no reason at all that you cannot reference other variables, or call other functions inside of your callback. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Wednesday, February 13, 2008 11:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] addEventListener question I am addining listeners doing this: addEventListener(result, httpResult) Is there a way of providing additional to ResultEvent parameters to a function (httpResult) we are using as a callback function? Thank for help. -- 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
Re: [flexcoders] Re: Flex Feedback for the Future
Thanks Muzak. It feels surreal that Adobe is moving towards an XML based document/printing/reporting solution yet there's hardly a stir on Flexcoders. I'll certainly check it out. Paul - Original Message - From: Muzak [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 2:52 PM Subject: Re: [flexcoders] Re: Flex Feedback for the Future http://labs.adobe.com/technologies/mars/ - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 1:01 PM Subject: Re: [flexcoders] Re: Flex Feedback for the Future On Wednesday 13 Feb 2008, João Fernandes wrote: There is also this Enhancement Request for MARS support MARS ? -- Tom Chiverton -- 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 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: ReferenceError: Error #1065 Illegal override of virtualWidth in mx.controls.
Hi All, It looks like there is a bug filed reg this in the JIRA.. http://bugs.adobe.com/jira/browse/SDK-14464 I tried donwloading the nightly builds and i couldn't donload them from adobe labs..!!! Is any one able to download the nightly builds of Flex 3 SDK..Pls let me know.. Thanks Kumar --- In flexcoders@yahoogroups.com, sk_acura [EMAIL PROTECTED] wrote: Hi All, I recently updated my Flex SDK and redeployed my existing app and now i am getting lot of Reference Errors!! The current Environment i am using is Flex SDK flex3sdk_b3_121207 and running on OpenSUSE 10.3 and using JDK1.6 and deployed in Tomcat 6.0.9 Here is the log file that got generated.. [LOG] VerifyError: Error #1053: Illegal override of virtualWidth in mx.controls.HScrollBar. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame() at mx.core::FlexModuleFactory/update() at mx.core::FlexModuleFactory/moduleCompleteHandler() ReferenceError: Error #1065: Variable _HDividedBoxStyle__embed_css_Assets_swf_mx_skins_cursor_VBoxDivider_1078502922 is not defined. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame() at mx.core::FlexModuleFactory/update() at mx.core::FlexModuleFactory/moduleCompleteHandler() ReferenceError: Error #1065: Variable _HDividedBoxStyle__embed_css_Assets_swf_mx_skins_BoxDividerSkin_757219307 is not defined. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame() at mx.core::FlexModuleFactory/update() at mx.core::FlexModuleFactory/moduleCompleteHandler() ReferenceError: Error #1065: Variable _DividedBoxStyle__embed_css_Assets_swf_mx_skins_cursor_HBoxDivider_218795952 is not defined. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame() at mx.core::FlexModuleFactory/update() at mx.core::FlexModuleFactory/moduleCompleteHandler() ReferenceError: Error #1065: Variable _DataGridStyle__embed_css_Assets_swf_cursorStretch_668524190 is not defined. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame() at mx.core::FlexModuleFactory/update() at mx.core::FlexModuleFactory/moduleCompleteHandler() ReferenceError: Error #1065: Variable _TreeStyle__embed_css_Assets_swf_TreeFolderClosed_718344649 is not defined. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame() at mx.core::FlexModuleFactory/update() at mx.core::FlexModuleFactory/moduleCompleteHandler() ReferenceError: Error #1065: Variable _TreeStyle__embed_css_Assets_swf_TreeNodeIcon_804773104 is not defined. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame() at mx.core::FlexModuleFactory/update() at mx.core::FlexModuleFactory/moduleCompleteHandler() ReferenceError: Error #1065: Variable _DragManagerStyle__embed_css_Assets_swf_mx_skins_cursor_DragMove_1348159527 is not defined. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame() at mx.core::FlexModuleFactory/update() at mx.core::FlexModuleFactory/moduleCompleteHandler() ReferenceError: Error #1065: Variable _DragManagerStyle__embed_css_Assets_swf_mx_skins_cursor_DragLink_1348152414 is not defined. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame() at mx.core::FlexModuleFactory/update() at mx.core::FlexModuleFactory/moduleCompleteHandler() ReferenceError: Error #1065: Variable _TreeStyle__embed_css_Assets_swf_TreeDisclosureClosed_833358278 is not defined. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame() at mx.core::FlexModuleFactory/update() at mx.core::FlexModuleFactory/moduleCompleteHandler() ReferenceError: Error #1065: Variable _TreeStyle__embed_css_Assets_swf_TreeDisclosureOpen_418207012 is not defined. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame() at mx.core::FlexModuleFactory/update() at mx.core::FlexModuleFactory/moduleCompleteHandler() ReferenceError: Error #1065: Variable _DragManagerStyle__embed_css_Assets_swf_mx_skins_cursor_DragCopy_1346841803 is not defined. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame() at mx.core::FlexModuleFactory/update() at mx.core::FlexModuleFactory/moduleCompleteHandler() ReferenceError: Error #1065: Variable _VDividedBoxStyle__embed_css_Assets_swf_mx_skins_cursor_VBoxDivider_1078502922 is not defined. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame() at
[flexcoders] Re: Popup over a form
Here is my code: var popupWindow:TitleWindow = TitleWindow(PopUpManager.createPopUp(parent, className, true)); PopUpManager.centerPopUp(popupWindow); --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 12 Feb 2008, markgoldin_2000 wrote: that form to PopUpManager. But after PopUpManager.centerPopUp the popup is not centered inside of the form. Can someone help, please? Also I What did you use as the arguments to the two calls to PopUpManager ? -- Tom Chiverton Helping to efficiently utilize efficient bandwidth on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] Re: Popup over a form
well if i had to guess, your problem would be the parent since the TitleWindow wouldn't parent would not be a form since it does not get added to the form, so try PopUpManager.createPopUp(name/id of the Form,etc...). Try that - Original Message From: markgoldin_2000 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 10:13:58 AM Subject: [flexcoders] Re: Popup over a form Here is my code: var popupWindow: TitleWindow = TitleWindow( PopUpManager. createPopUp( parent, className, true)); PopUpManager. centerPopUp( popupWindow) ; --- In [EMAIL PROTECTED] ups.com, Tom Chiverton tom.chiverton@ ... wrote: On Tuesday 12 Feb 2008, markgoldin_2000 wrote: that form to PopUpManager. But after PopUpManager. centerPopUp the popup is not centered inside of the form. Can someone help, please? Also I What did you use as the arguments to the two calls to PopUpManager ? -- Tom Chiverton Helping to efficiently utilize efficient bandwidth on: http://thefalken. livejournal. com * * * * This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells. com. Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
[flexcoders] AIR and LCDS, Channel.Connect.Failed error
The project I'm working on is using Flex 3 (latest beta) and LCDS 2.5.1 running under Tomcat 6.x. The service consists of a Java class and is correctly defined in the remoting-config.xml All things work as they should. Now I want to move the project to a AIR application. I know how to setup an AIR application and moving from a working Flex 3 application to an AIR application is no big deal. The project compiles without problems and the -services directive points to the services-config.xml, the same one from the working Flex 3 application. So one expect things to be alright but then things fall apart. As soon as the AIR application is launched and tries to connect to the destination, the following error occurs. [FaultEvent fault=[RPC Fault faultString=Send failed faultCode=Client.Error.MessageSend faultDetail=Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://oolWall_AIR.swf/coolwall/messagebroker/ amf'] messageId=8E8E8B57-66F0-D797-2B5E-137734E88D9C type=fault bubbles=false cancelable=true eventPhase=2] It is immediately obvious that the url is not correct. The host name and port is missing and even the first letter C is missing from .swf file name. It should have read http://localhost:8080/coolwall/ messagebroker/amf but apparently the AIR application is using the .swf file name minus the starting Capital character as the host name and port number. I use a program called ServiceCapture to capture the network chatter and it confirmed me that the host name and port number is indeed wrong. I mean it could also be a faulty debug trace statement but this proofs that the generated URL when using AIR and LCDS is wrong. In the Adobe Flex Builder Jira bug tracking system there is an issues which has been closed a couple of month ago and dismisses it as an error of either LCDS or AIR. The workaround is handcoding the exact URL in the remoting-config.xml file which is ofcourse not very sensible. I cannot judge which product is the one to blame as I lack the knowledge to do so. So does anyone (Adobe?) know which product (FB, AIR, LCDS?) is faulty and when it will be fixed. Thank you very much.
[flexcoders] Re: Flex/Flash memory allocation
Flash allocates memory in chunks, so it may allocate more than it requires. Also if you app has no memory leaks the total memory being used will reach a peak (depending upon your app) and GC will kick in if the app needs more memory. Setting variable to null does not guarantee that GC will run. You should use the profiler in flex 3 to investigate if there are any memory leaks. Also the profiler has a button by which you can invoke a GC run. Thanks, Gaurav
[flexcoders] Security cam vedio brodcasting
Hi All, I'm in the investigation phase of a project. This project is for a security company. This project would connect to customers onsite security cameras and stream vedio from it. I've no idea how this will be done. hope to can help me. Ebeid Soliman
Re: [flexcoders] Popup over a form
On Tuesday 12 Feb 2008, markgoldin_2000 wrote: that form to PopUpManager. But after PopUpManager.centerPopUp the popup is not centered inside of the form. Can someone help, please? Also I What did you use as the arguments to the two calls to PopUpManager ? -- Tom Chiverton Helping to efficiently utilize efficient bandwidth on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flex/Flash memory allocation
Firefox has some significant memory leaks that are unrelated to Flash. Are you noticing this problem in both FF and MSIE? Are you observing the memory usage using Windows task manager or by some other method like the Flex profiler? -Mike Chabot On Feb 13, 2008 8:45 AM, Guilherme Defreitas Juraszek [EMAIL PROTECTED] wrote: Hey Guys I have a problem with Flash Runtime. While the flex application is running, the browser increase de memory utilization, but after close the tabs (inside flex app) the memory consume not decrease. I try to alter my code to myvar = null to force the Garbage Collector to clear, but not works fine. What's happening? Tks
RE: [flexcoders] AIR and LCDS, Channel.Connect.Failed error
AFAIK, an AIR application doesn't have a domain context the way a Flex app would. You need to specify the endpoint for your channels in an AIR application. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of m88e24 Sent: Wednesday, February 13, 2008 11:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] AIR and LCDS, Channel.Connect.Failed error The project I'm working on is using Flex 3 (latest beta) and LCDS 2.5.1 running under Tomcat 6.x. The service consists of a Java class and is correctly defined in the remoting-config.xml All things work as they should. Now I want to move the project to a AIR application. I know how to setup an AIR application and moving from a working Flex 3 application to an AIR application is no big deal. The project compiles without problems and the -services directive points to the services-config.xml, the same one from the working Flex 3 application. So one expect things to be alright but then things fall apart. As soon as the AIR application is launched and tries to connect to the destination, the following error occurs. [FaultEvent fault=[RPC Fault faultString=Send failed faultCode=Client.Error.MessageSend faultDetail=Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://oolWall_AIR.swf/coolwall/messagebroker/ amf'] messageId=8E8E8B57-66F0-D797-2B5E-137734E88D9C type=fault bubbles=false cancelable=true eventPhase=2] It is immediately obvious that the url is not correct. The host name and port is missing and even the first letter C is missing from .swf file name. It should have read http://localhost:8080/coolwall/ messagebroker/amf but apparently the AIR application is using the .swf file name minus the starting Capital character as the host name and port number. I use a program called ServiceCapture to capture the network chatter and it confirmed me that the host name and port number is indeed wrong. I mean it could also be a faulty debug trace statement but this proofs that the generated URL when using AIR and LCDS is wrong. In the Adobe Flex Builder Jira bug tracking system there is an issues which has been closed a couple of month ago and dismisses it as an error of either LCDS or AIR. The workaround is handcoding the exact URL in the remoting-config.xml file which is ofcourse not very sensible. I cannot judge which product is the one to blame as I lack the knowledge to do so. So does anyone (Adobe?) know which product (FB, AIR, LCDS?) is faulty and when it will be fixed. Thank you very much. -- 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] addEventListener question
I am addining listeners doing this: addEventListener(result, httpResult) Is there a way of providing additional to ResultEvent parameters to a function (httpResult) we are using as a callback function? Thank for help.
[flexcoders] Re: addEventListener question
Could you clarify where the additional data will be coming from? Depending on the situation, you could just have your callback pull the additional data from elsewhere, or you could possibly subclass your event dispatcher's class and ResultEvent to handle more data - it all depends on where the data is originating. --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: I am addining listeners doing this: addEventListener(result, httpResult) Is there a way of providing additional to ResultEvent parameters to a function (httpResult) we are using as a callback function? Thank for help.
[flexcoders] Re: Adobe People, Save me from Silverlight!
wow, this thread got big! Thanks for the response Tom. I appreciate everyone else's response but I think we may have veered a little off topic. First my company and Microsoft are BFFs. I can't use the argument that Microsoft will screw us in the long run. 2nd, I think there's only one person that uses a mac on the development/design side and they already want to stick with the adobe product line. It's the other 99% of developers that are Visual Studio based that I have to convince. For sharepoint integration, is my only choice webservices? Can I interact with webparts? I know of the Ajax Bridge in labs, but my company is very big on no beta code in production. The head programmer here said that if silverlight significantly integrates better with sharepoint then his vote will be for silverlight. I know there are a bazillion better reasons to go with something but I'm just looking for SOME way to have my flex apps run in sharepoint. If I could make a demo of a flex chart interacting with a .NET datagrid I think my company would be sold on it. Thanks for everyone's help! -Nate --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 12 Feb 2008, Nate Pearson wrote: Although I know the answers to most of these questions I think any document from Adobe would say it better than I could. There's a page on adobe.com about adoption rates. Thing 95%+ and you're not far off. Plus it'll work no matter what your end users platform is (well...). Does sharepoint not have WebServices to intergrate with ? Checkout the upcoming 'thermo' for workflow tools. SEO is a solved problem, and the same for Silverlight - just provide HTML alternative content. My boss is flying to Redmond this afternoon for a meeting with Microsoft. Although it's not about Silverlight he is going to ask them about it and I'm sure they will try to give him some kool-aid. Well, make sure he goes to Adobe too :-) -- Tom Chiverton Helping to continually lead synergistic segments on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] addEventListener question
It should be possible with closures: ... addEventListener(result, Closure.create(this, function(evt:*, p1:*, p2:*, ... rest):void { ... }, param1, param2); http://flexblog.faratasystems.com/?p=125 Or just bypass it as container member variable... -- Thanks, Vadim. - Original Message - From: markgoldin_2000 To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 6:16 PM Subject: [flexcoders] addEventListener question I am addining listeners doing this: addEventListener(result, httpResult) Is there a way of providing additional to ResultEvent parameters to a function (httpResult) we are using as a callback function? Thank for help.
Re: [flexcoders] Adobe People, Save me from Silverlight! (Microsoft's Legal Record)
Exactly (even if the term 'FUD' has become a little diluted). Jon attacked Robert's comments on Microsoft's past as irrelevant to the discussion of the technology, but they certainly are relevant. Even if almost every software company is guilty of that in some manner or another, Microsoft is in a unique position, given its market penetration, to be much more guilty of this than anyone else. As someone picking a technology for an important project, it would be foolish to ignore this (not that this should control the decision, but it should be considered as a factor). -Original Message- From: Tom Chiverton [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Adobe People, Save me from Silverlight! (Microsoft's Legal Record) Date: Wed, 13 Feb 2008 16:27:35 + On Wednesday 13 Feb 2008, Jon Bradley wrote: whatever. If the technology is good, clients demand it and it makes money, I use it. What worries me is that when MS technology *isn't* good, clients still demand it because MS has FUD'ed them to death.
Re: [flexcoders] Adobe People, Save me from Silverlight! (Microsoft's Legal Record)
On Wednesday 13 Feb 2008, Maciek Sakrejda wrote: another, Microsoft is in a unique position, given its market penetration, to be much more guilty of this than anyone else. Indeed, it's the only one to have been found guilty *in court* of abusing that position, on both sides of the pond recently. considered as a factor). Aye. There are many others, as he says. -- Tom Chiverton Helping to ambassadorially compete viral data on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Requests/Votes re Printing, PDF, MARS (was RE: [flexcoders] Re: Flex Feedback for the Future)
Hi, As someone pointed out, MARS is in a early state. I think it would really help if folks really are precise about what problem they want to solve rather than how they want to solve it. If the problem to solve is client-side PDF generation, there are multiple approaches we might take to that (and we have some stuff being worked on). That might also solve the printing requests people have, but we might also solve some (all?) of those also through other approaches with the PrintJob API for example. MARS support is interesting, but since MARS is so early, it might not be a good short or medium term route to solving either client side PDF creation or improved printing. So, my request to this group is: If you vote for MARS support, be precise about why and what your use case is. If what you really want is client side PDF creation and/or specific improvements to PrintJob, sumbit and vote for those directly, don't use the MARS ER as a proxy. Make sense? -David -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João Fernandes Sent: Wednesday, February 13, 2008 9:04 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Feedback for the Future Mars is a XML representation of a PDF. Having a MarsLoader component and an AS3 API to produce those kind of documents, we would be able not only to generate powerful reports but also able to view them within our Flex applications. By voting to this ER , if it doesn't get implemented at least we will know why since it seems that they are committed to give an explanation ( http://weblogs.macromedia.com/mchotin/archives/2008/02/flex_4_ sdk_feat.cfm ) -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org -- 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] Happy Valentines Day!
Ahh I wonder if any of the tech guys here and @ adobe do celebrate Valentines Day? Hehe... Ed Proud Happy Member Send instant messages to your online friends http://uk.messenger.yahoo.com
RES: [flexcoders] Re: Flex/Flash memory allocation
Thanks, i will test my app using the profiler. After this I post my results. Guilherme De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Gaurav Jain Enviada em: quarta-feira, 13 de fevereiro de 2008 14:05 Para: flexcoders@yahoogroups.com Assunto: [flexcoders] Re: Flex/Flash memory allocation Flash allocates memory in chunks, so it may allocate more than it requires. Also if you app has no memory leaks the total memory being used will reach a peak (depending upon your app) and GC will kick in if the app needs more memory. Setting variable to null does not guarantee that GC will run. You should use the profiler in flex 3 to investigate if there are any memory leaks. Also the profiler has a button by which you can invoke a GC run. Thanks, Gaurav
RE: [flexcoders] Re: LCDS - Express, how to change database connection
Yeah, the approach used by the samples is designed so they are easier to run on any app server. Sounds like you know the right practice, but for others who might be reading this for production use, I recommend using a data source using a connection pool which requires app server specific configuration. That also keeps the connection info out of your code. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of greenfishinwater Sent: Wednesday, February 13, 2008 3:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: LCDS - Express, how to change database connection Thanks Jeff, I thought it would be easy. I think I will write my own product screen from scratch to see how it all works. My initial idea was to gradually modify the sample to get it working with Oracle, and make other changes. Seems like these samples are not a good 'standard practice' Thanks Andrew --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Vroom [EMAIL PROTECTED] wrote: Some of the samples hardcode the database connection info in a class called ConnectionHelper.java. Check in WEB-INF/src/... Look at the sample you are running, find the destination names. Find these in your config... you probably found connection info for the SQLAssembler destinations which are entirely coded without Java but if you are using a Java based sample you'll have to change the Java code itself. Jeff From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of greenfishinwater Sent: Tuesday, February 12, 2008 10:45 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] LCDS - Express, how to change database connection I have just installed LCDS Express version with included JRun, and I have been looking at the test drive samples. These samples use the associated hsqldb as the database. I want to write some test code that uses an Oracle database. Where do I change the database connection data. I found a database entry in data-management-config.xml in c:\lcds\jrun4\servers\default\samples\WEB-INF\flex I changed this to use Oracle, but the sample still uses hsqldb Where do I setup different database connections? Thanks Andrew
[flexcoders] Re: moving from localhost to production server...
What I do is get the url the flex app was loaded from with application.url, parse out the protocol, serverName and port with URLUtil, build the gateway url from these and then set the RemoteObject endpoints to this value. It seems like kind of a kludge but I haven't found anything cleaner. --- In flexcoders@yahoogroups.com, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: Hi All, I need some help understanding how to deploy a project on my production server...when i created the project i specified a url of http://localhost: and when i deploy the project on my app server...it and call a method using remote object it can't make the connection...can anyone shed some light on the process... p
Re: [flexcoders] Re: Flex Feedback for the Future
On Wednesday 13 Feb 2008, Muzak wrote: http://labs.adobe.com/technologies/mars/ Ahh, now that would be handy. At the mo. we have to round trip back to the server to make a PDF report, even though all the data to make the report is already client side. -- Tom Chiverton Helping to preemptively maintain one-to-one e-services on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RES: [flexcoders] Flex/Flash memory allocation
Yes, both browsers. I see the Task manager and using a application to monitoring flash memory only. De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Mike Chabot Enviada em: quarta-feira, 13 de fevereiro de 2008 13:56 Para: flexcoders@yahoogroups.com Assunto: Re: [flexcoders] Flex/Flash memory allocation Firefox has some significant memory leaks that are unrelated to Flash. Are you noticing this problem in both FF and MSIE? Are you observing the memory usage using Windows task manager or by some other method like the Flex profiler? -Mike Chabot On Feb 13, 2008 8:45 AM, Guilherme Defreitas Juraszek [EMAIL PROTECTED] mailto:guilherme.defreitas%40gmail.com wrote: Hey Guys I have a problem with Flash Runtime. While the flex application is running, the browser increase de memory utilization, but after close the tabs (inside flex app) the memory consume not decrease. I try to alter my code to myvar = null to force the Garbage Collector to clear, but not works fine. What's happening? Tks
RE: [flexcoders] Re: Adobe People, Save me from Silverlight!
Sharepoint I think is mostly web services but it's possible that WebORB for .NET or Flourine could help with that as well and provide better performance. FABridge is a part of the Flex 3 SDK, no beta software there. I haven't heard what the Microsoft story is for having Silverlight do additional integrations with .NET services. My guess is that to be cross-platform they would continue to encourage web services. If you check out FB3 I think our web service introspection wizard might also help with that integration for you. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Wednesday, February 13, 2008 8:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Adobe People, Save me from Silverlight! wow, this thread got big! Thanks for the response Tom. I appreciate everyone else's response but I think we may have veered a little off topic. First my company and Microsoft are BFFs. I can't use the argument that Microsoft will screw us in the long run. 2nd, I think there's only one person that uses a mac on the development/design side and they already want to stick with the adobe product line. It's the other 99% of developers that are Visual Studio based that I have to convince. For sharepoint integration, is my only choice webservices? Can I interact with webparts? I know of the Ajax Bridge in labs, but my company is very big on no beta code in production. The head programmer here said that if silverlight significantly integrates better with sharepoint then his vote will be for silverlight. I know there are a bazillion better reasons to go with something but I'm just looking for SOME way to have my flex apps run in sharepoint. If I could make a demo of a flex chart interacting with a .NET datagrid I think my company would be sold on it. Thanks for everyone's help! -Nate --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 12 Feb 2008, Nate Pearson wrote: Although I know the answers to most of these questions I think any document from Adobe would say it better than I could. There's a page on adobe.com about adoption rates. Thing 95%+ and you're not far off. Plus it'll work no matter what your end users platform is (well...). Does sharepoint not have WebServices to intergrate with ? Checkout the upcoming 'thermo' for workflow tools. SEO is a solved problem, and the same for Silverlight - just provide HTML alternative content. My boss is flying to Redmond this afternoon for a meeting with Microsoft. Although it's not about Silverlight he is going to ask them about it and I'm sure they will try to give him some kool-aid. Well, make sure he goes to Adobe too :-) -- Tom Chiverton Helping to continually lead synergistic segments on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Disable Auto-Highlighting in FlexBuilder 3?
I just started working with the FlexBuilder 3 beta and found that it highlights (in an ugly cyan color) all instances of a variable name, function name, etc. whenever you click in one. Is there any way to disable this or change the color? Can't seem to find anything in the Eclipse 3.3.1.1 preferences
Re: [flexcoders] Happy Valentines Day!
- Original Message - From: Ed Capistrano [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 5:25 PM Subject: [flexcoders] Happy Valentines Day! Ahh I wonder if any of the tech guys here and @ adobe do celebrate Valentines Day? Hehe... They aren't allowed out of their bunkers. M$ has honey traps waiting at every corner to whisk them away from their Flex endeavours.. Ed Proud Happy Member
[flexcoders] Re: Disable Auto-Highlighting in FlexBuilder 3?
There should be a button on the top Toolbar which says 'Mark Occurences'. Click that. --- In flexcoders@yahoogroups.com, Paul Whitelock [EMAIL PROTECTED] wrote: I just started working with the FlexBuilder 3 beta and found that it highlights (in an ugly cyan color) all instances of a variable name, function name, etc. whenever you click in one. Is there any way to disable this or change the color? Can't seem to find anything in the Eclipse 3.3.1.1 preferences
[flexcoders] Using an IViewCursor on an XMListCollection
This isn't a question; I was having some trouble with this and just figured it out, and I thought you all might like to hear about it. This list has been a big help to me in the past and I'd like to return the favor. THE PROBLEM So you've created your XMLListCollection, and you created your Sort object and refreshed your collection. You want to use the IViewCursor findAny() method to set the cursor on one of the values, specifically the XML node whose Value attribute is foo. You might say: var valueSort : Sort = new Sort(); valueSort.fields = [ new SortField(Value) ]; var xmlcoll : XMLListCollection = new XMLListCollection( someXML.Values ); //list of Values / nodes xmlcoll.sort = valueSort; xmlcoll.refresh(); var cursor : IViewCursor = xmlcoll.createCursor(); var xobj : XML = { Value: foo } trace( cursor.findAny( xobj ) ); // returns false! The findAny won't work! And it won't help if you try to get cute with some e4x on your sort, like new SortField(@Value). Didn't for me anyway. THE SOLUTION When creating the search object to pass into the findAny() method, you need to create an XML object and not a plain object.Replace the line beginning with var xobj with the following: var xobj : XML = Values /; // xml literal with nodename that matches the ones in your list [EMAIL PROTECTED] = foo; // give it an attribute matching the one you are looking for trace( cursor.findAny( xobj ) ); //returns true! And there we go. Fight on you flexcoders!
[flexcoders] mx:DataGrid - focused on Display - my not-so-unusual use case is not supported
I'm struggling with a should-be-basic use case of the Flex mx:DataGrid component. Which is in brief: custom itemRenderer to control the fine-tuning of display custom ItemEditor to tightly control/validate the user input spreadsheet like calculations that impact other row/columns on the datagrid and need to be effected and reflected in a visible manner after any cell edit. (no spreadsheet macro language is required) 2 out of 3 of these is not enough. Is anyone out there scoring three out of three on this? Does anyone know of an alternative Flex Component that does this? Some people are working on it: shouldn't this be something that Adobe software development should be doing to 'capture the market' and all that? http://www.rogue-development.com/blog/2007/11/spreadsheet-component.html -- John Harris
[flexcoders] Re: ListEvent.ITEM_EDIT_END is being wrongly dispatched twice if the corresponding event handler includes mx:Alert
I have found out about ListEventReason class and that class instance of ListEvent type has reason property of ListEventReason type. We change 'onItemEditingEnd' event handler in the following way: private function onItemEditingEnd(event : ListEvent) : void { // Check the reason for the event. if (event.reason == ListEventReason.CANCELLED || event.reason == ListEventReason.OTHER){ // Do not update cell. return; } Alert.show(I am error message); } onItemEditingEnd event handler will be still called twice, but the Alert window will be shown only if ListEvent event.reason is equal to ListEventReason.NEW_ROW -- -- Med venlig hilsen / Best regards Andriy Panas [EMAIL PROTECTED] On 13/02/2008, Andriy Panas [EMAIL PROTECTED] wrote: Hi all, I've subscribed to ListEvent.ITEM_EDIT_END event for my Tree and put Alert.show(I am error message). My Alert window is being shown twice when the I finish to edit the tree node name in the the editable TextInput field. What I've done wrong? I am on Flex 2.0.1 SDK. The code sample: -- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical initialize=onInitialize() mx:Script ![CDATA[ import mx.events.ListEvent; import mx.controls.Alert; private function onInitialize() : void { tree1.addEventListener(ListEvent.ITEM_EDIT_END, onItemEditingEnd); } private function onItemEditingEnd(event : ListEvent) : void { event.preventDefault(); Alert.show(I am error message); } ]] /mx:Script mx:Tree id=tree1 labelField=@label editable=true showRoot=false width=160 mx:XMLListCollection id=MailBox mx:XMLList folder label=Mail folder label=INBOX/ folder label=Personal Folder Pfolder label=Business / Pfolder label=Demo / Pfolder label=Personal isBranch=true / Pfolder label=Saved Mail / /folder folder label=Sent / folder label=Trash / /folder /mx:XMLList /mx:XMLListCollection /mx:Tree /mx:Application -- -- -- Med venlig hilsen / Best regards Andriy Panas [EMAIL PROTECTED]
Re: [flexcoders] Disable Auto-Highlighting in FlexBuilder 3?
Top, --Mark Occurences is that what you are talking bout. - Original Message From: Paul Whitelock [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 11:45:59 AM Subject: [flexcoders] Disable Auto-Highlighting in FlexBuilder 3? I just started working with the FlexBuilder 3 beta and found that it highlights (in an ugly cyan color) all instances of a variable name, function name, etc. whenever you click in one. Is there any way to disable this or change the color? Can't seem to find anything in the Eclipse 3.3.1.1 preferences. ... Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
RE: [flexcoders] Databinding in component
Same theory, just change how you access the properties. If your item objects are strongly typed objects, use that as the datatype for the passed in currentItem. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, February 12, 2008 10:44 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Databinding in component But if my dataProvider is an ArrayCollection of object data, not XML, what would you suggest? Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Tuesday, February 12, 2008 2:40 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Databinding in component Below are some snippets. Tracy When working with Repeater, I advise creating a custom component that you will repeat, and pass it the entire currentItem, In the component, implement a setter function to receive the currentItem data. Now, in the component, you can code normally, binding to the data as you wish, without the hard to read currentItem references. You also avoid the binding warnings without the cast/conversion because the binding source is a true XML object. And, you can dispatch events normally. In the event handler, you can reference the component via the event.target property, and thus get a direct reference to the dataProvider item. This is easier to write and read than having to use getRepeaterItem(). Here are some code snippets: In the main app or component (note how clean and readable this is): mx:Application mx:VBox ... mx:Repeater id=rp dataProvider={_xmlData} ... mycomp:MyRepeatedComponent xmlItem={rp.currentItem} .../ /mx:Repeater /mx:VBox And in the component, MyRepeatedComponent.mxml: ?xml version=1.0 encoding=utf-8? mx:HBox ... mx:Script![CDATA[ [Bindable]private var _xmlItem:XML; public function set xmlData(xml:XML):void { _xmlItem = xml; //do any special, non-bound ui stuff you want }// ]]/mx:Script !-- Now declare the Item UI -- mx:Text id=lbDescription text=[EMAIL PROTECTED] width=100% height=100% / Goal: Display a list of items using a complex display for each item, and have each of those items behave like a menu element and respond to a click anywhere on the item by running a handler function. One solution is to use a Repeater with a custom component In the main app or component, declare the Repeater, and the click handler function. mx:Application ... mx:Script![CDATA[ import MyRepeaterItem; ... private function onRPItemClick(oEvent:Event):void { var xmlItem:XML = XML(oEvent.target); }//onRPItemClick ]]/mx:Script mx:VBox ... mx:Repeater id=rp dataProvider={_xmlData} ... !-- Note we pass in the entire currentItem, and define a click handler -- MyRepeaterItem xmlItem={rp.currentItem} itemClick=onRPItemClick(event) .../ /mx:Repeater /mx:VBox /mx:Application And in the component, MyRepeaterItem.mxml: ?xml version=1.0 encoding=utf-8? mx:HBox mouseChildren=false buttonMode=true click=onClick(event) !-- The metadata tag below allows us to define an itemClick handler in mxml, as in the code above -- mx:Metadata [Event(name=itemClick, type=flash.events.Event)] /mx:Metadata mx:Script![CDATA[ [Bindable]private var _xmlItem:XML; /** Setter function */ public function set xmlItem(xml:XML):void { _xmlItem = xml; //do any special, non-bound ui stuff you want }//set xmlItem /** Getter function */ public function get xmlItem():XML { return _xmlItem; }//get xmlItem /** Outer VBox Click handler function */ private function onClick():void { dispatchEvent(new Event(itemClick,false); //we do not need/want this event to bubble }//onClick ]]/mx:Script !-- Now declare the Item UI -- mx:Text id=lbDescription text=[EMAIL PROTECTED] width=100% height=100% / /mx:HBox From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com
[flexcoders] AdvancedDataGrid Transparent Header
Hi guys, I'm having a problem on making AdvancedDataGrid's header transparent. I tried eveything what I can think of such as setting the alpha value of AdvancedDataGrid's headerInfo.headerItem to 0, overriding AdvancedDataGrid's drawHeaderBackground function, but no luck...I couldn't make it. Does anyone out there know how to make AdvancedDataGrid's header transparent ? Thanks in advance. -Wolfgang.
Re: [flexcoders] AreaChart bug when changing 'type' property
this works, i couldnt try out urs since i dont have the data and the other stuff but maybe try data.toString(); /mx:Script mx:ComboBox change=myChart.type=myCombo.selectedItem.toString() id=myCombo mx:dataProvider mx:Stringoverlaid/mx:String mx:Stringstacked/mx:String mx:String100%/mx:String /mx:dataProvider /mx:ComboBox mx:Script![CDATA[ import mx.collections.ArrayCollection; [Bindable] public var expenses:ArrayCollection = new ArrayCollection([ {Month:Jan, Profit:2000, Expenses:1500, Amount:450}, {Month:Feb, Profit:1000, Expenses:200, Amount:600}, {Month:Mar, Profit:1500, Expenses:500, Amount:300} ]); ]]/mx:Script mx:Panel title=Area Chart mx:AreaChart id=myChart dataProvider={expenses} showDataTips=true mx:horizontalAxis mx:CategoryAxis dataProvider={expenses} categoryField=Month / /mx:horizontalAxis mx:series mx:AreaSeries yField=Profit displayName=Profit / mx:AreaSeries yField=Expenses displayName=Expenses / /mx:series /mx:AreaChart mx:Legend dataProvider={myChart}/ /mx:Panel - Original Message From: Guido [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 12:15:57 PM Subject: [flexcoders] AreaChart bug when changing 'type' property Hi, fellow coders! I'm having an issue with an AreaChart when changing its type property. There's a ComboBox that lets the user select how it wishes to see the AreaChart (either overlaid, stacked or 100%). The method for this is as simple as: areaChart.type = comboBox.selectedIt em.data; (I've debugged it and data holds the proper string required by the type property). My code is as follows: mx:AreaChart id=areaChart dataTipFunction=chartDataTipRender height=100% showDataTips=true width=100% mx:horizontalAxis mx:CategoryAxis categoryField={dataSet.keyFieldNam e} dataProvider={dataSet.dataSet} labelFunction={dataSet.labelFuncti on}/ /mx:horizontalAxis mx:verticalAxis mx:LinearAxis minimum={verticalAxisMinimum} maximum={verticalAxisMaximum}/ /mx:verticalAxis mx:series mx:AreaSeries alpha=0.8 dataProvider={dataSet.dataSet} displayName={dataSet.dataSource. name} form=curve showDataEffect=interpolate xField={dataSet.keyFieldNam e} yField={dataSet.valueFieldN ame}/ /mx:series /mx:AreaChart mx:SeriesInterpolat e id=interpolate elementOffset=10/ You might wonder why I want to stack or overlay the chart, since it has only one series... well, the thing is more series may be added in runtime, and so it comes to play the area chart type feature. So, whenever I change the AreaChart's type property, I get the following error and stack trace: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.charts.chartClas ses::Series/ mx.charts. chartClasses: Series::stripNaN s() at mx.charts.series: :AreaSeries/ mx.charts. series:AreaSerie s::updateFilter( ) at mx.charts.chartClas ses::Series/ mx.charts. chartClasses: Series::validate Transform( ) at mx.charts.chartClas ses::Series/ getRenderDataFor Transition( ) at mx.charts.effects. effectClasses: :SeriesInterpola teInstance/ play() at mx.effects:: EffectInstance/ startEffect( ) at mx.effects.effectCl asses::ParallelI nstance/play( ) at mx.charts.chartClas ses::ChartBase/ ::advanceEffectS tate() at mx.charts.chartClas ses::ChartBase/ mx.charts. chartClasses: ChartBase: :updateDisplayLi st() at mx.charts.chartClas ses::CartesianCh art/mx.charts. chartClasses: CartesianChart: :updateDisplayLi st() at mx.core::UIComponen t/validateDispla yList() at mx.managers: :LayoutManager/ ::validateDispla yList() at mx.managers: :LayoutManager/ ::doPhasedInstan tiation() at Function/http: //adobe.com/ AS3/2006/ builtin:: apply() at mx.core::UIComponen t/::callLaterDis patcher2( ) at mx.core::UIComponen t/::callLaterDis patcher() at flash.utils: :Timer/flash. utils:Timer: :_timerDispatch( ) at flash.utils: :Timer/flash. utils:Timer: :tick() And... I don't understand why, since I'm already seeing the chart as it is when I make the change to the type property. I mean, it works perfectly up to the moment I try to change this property, then it blows up. BTW, I'm using Flex 2. Any help on this one? Thanks in advance!! Guido. Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
[flexcoders] Re: Busy Cursor not appearing
Yes, it is one function, guess that wasn't the smartest thing. I first tried it without the callLater, and it didn't work either. Should the UPDATE_COMPLETE event be used? John --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: is this in one function? CursorManager. setBusyCursor( ); callLater(expandTre e); CursorManager. removeBusyCursor (); if it is then your setting it and removing it so is never going to show - Original Message From: j_lentzz [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 12:01:26 PM Subject: [flexcoders] Busy Cursor not appearing I have a large tree that I want to execute an expand all or close all method on. It takes enough time that I want to show the busy cursor. However, it never appears. I've tried using the callLater method: CursorManager. setBusyCursor( ); callLater(expandTre e); CursorManager. removeBusyCursor (); However, even though the tree takes a long time to expand, the cursor never appears. I've also tried to chain a few callLaters together, but without any success. Is there an event of somekind that I could use to know when the cursor is actually displayed? Thanks, John Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
[flexcoders] Busy Cursor not appearing
I have a large tree that I want to execute an expand all or close all method on. It takes enough time that I want to show the busy cursor. However, it never appears. I've tried using the callLater method: CursorManager.setBusyCursor(); callLater(expandTree); CursorManager.removeBusyCursor(); However, even though the tree takes a long time to expand, the cursor never appears. I've also tried to chain a few callLaters together, but without any success. Is there an event of somekind that I could use to know when the cursor is actually displayed? Thanks, John
[flexcoders] Re: Disable Auto-Highlighting in FlexBuilder 3?
Thanks for the clue about what it's called. I couldn't find anything called Mark Occurrences but using Google I found the following Blog post that solved the problem: http://www.ericfeminella.com/blog/2008/01/05/quick-tip-flex-3-ide Thanks again for the pointer! --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: Top, --Mark Occurences is that what you are talking bout. - Original Message From: Paul Whitelock [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 11:45:59 AM Subject: [flexcoders] Disable Auto-Highlighting in FlexBuilder 3? I just started working with the FlexBuilder 3 beta and found that it highlights (in an ugly cyan color) all instances of a variable name, function name, etc. whenever you click in one. Is there any way to disable this or change the color? Can't seem to find anything in the Eclipse 3.3.1.1 preferences. ... Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: [flexcoders] Busy Cursor not appearing
is this in one function? CursorManager. setBusyCursor( ); callLater(expandTre e); CursorManager. removeBusyCursor (); if it is then your setting it and removing it so is never going to show - Original Message From: j_lentzz [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 12:01:26 PM Subject: [flexcoders] Busy Cursor not appearing I have a large tree that I want to execute an expand all or close all method on. It takes enough time that I want to show the busy cursor. However, it never appears. I've tried using the callLater method: CursorManager. setBusyCursor( ); callLater(expandTre e); CursorManager. removeBusyCursor (); However, even though the tree takes a long time to expand, the cursor never appears. I've also tried to chain a few callLaters together, but without any success. Is there an event of somekind that I could use to know when the cursor is actually displayed? Thanks, John Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
[flexcoders] AreaChart bug when changing 'type' property
Hi, fellow coders! I'm having an issue with an AreaChart when changing its *type* property. There's a ComboBox that lets the user select how it wishes to see the AreaChart (either *overlaid*, *stacked* or *100%*). The method for this is as simple as: areaChart.type = comboBox.selectedItem.data; (I've debugged it and data holds the proper string required by the type property). My code is as follows: mx:AreaChart id=areaChart dataTipFunction=chartDataTipRender height=100% showDataTips=true width=100% mx:horizontalAxis mx:CategoryAxis categoryField={dataSet.keyFieldName} dataProvider={dataSet.dataSet} labelFunction={dataSet.labelFunction}/ /mx:horizontalAxis mx:verticalAxis mx:LinearAxis minimum={verticalAxisMinimum} maximum={verticalAxisMaximum}/ /mx:verticalAxis mx:series mx:AreaSeries alpha=0.8 dataProvider={dataSet.dataSet} displayName={dataSet.dataSource.name} form=curve showDataEffect=interpolate xField={dataSet.keyFieldName} yField={dataSet.valueFieldName}/ /mx:series /mx:AreaChart mx:SeriesInterpolate id=interpolate elementOffset=10/ You might wonder why I want to stack or overlay the chart, since it has only one series... well, the thing is more series may be added in runtime, and so it comes to play the area chart type feature. So, whenever I change the AreaChart's type property, I get the following error and stack trace: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.charts.chartClasses::Series/mx.charts.chartClasses:Series::stripNaNs () at mx.charts.series::AreaSeries/mx.charts.series:AreaSeries::updateFilter() at mx.charts.chartClasses::Series/mx.charts.chartClasses:Series::validateTransform () at mx.charts.chartClasses::Series/getRenderDataForTransition() at mx.charts.effects.effectClasses::SeriesInterpolateInstance/play() at mx.effects::EffectInstance/startEffect() at mx.effects.effectClasses::ParallelInstance/play() at mx.charts.chartClasses::ChartBase/::advanceEffectState() at mx.charts.chartClasses::ChartBase/mx.charts.chartClasses:ChartBase::updateDisplayList () at mx.charts.chartClasses::CartesianChart/mx.charts.chartClasses:CartesianChart::updateDisplayList () at mx.core::UIComponent/validateDisplayList() at mx.managers::LayoutManager/::validateDisplayList() at mx.managers::LayoutManager/::doPhasedInstantiation() at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() at flash.utils::Timer/flash.utils:Timer::_timerDispatch() at flash.utils::Timer/flash.utils:Timer::tick() And... I don't understand why, since I'm already seeing the chart as it is when I make the change to the type property. I mean, it works perfectly up to the moment I try to change this property, then it blows up. BTW, I'm using Flex 2. Any help on this one? Thanks in advance!! Guido.
[flexcoders] Moving Screen Control back and forth between components
I'm doing a charting application that allows the user multiple ways to look at the data (both from a time hierarchy perspective as well as a line of business organizational perspective). My current problem is that when I drill down from the main (i.e. year level view) component, say to a month component, how do I get back the main component. I can move around within 1 component (applying different chart types to the same set of data) using includeinlayout and visible. In fact, to get to a sublevel component I just turn off the other components and make that one (includeinlayout and visible). But now control has passed to the sub-component and I dont know how to get back. You cant turn off the component that you are currently in can you? I tried states but I find the includelayout and visible a lot more straightforward to work with. But I guess I can go back to states if that is what is required here. thanks brad
[flexcoders] Stream any readio station (like Winamp and iTunes)
I do not mean a list of mp3 files or Red 5, that I know how to do. How do I stream any internet radio stations like iTunes and Winamp? Or is there a subset of radio stations that would work? .V
[flexcoders] Confused by BlazeDS
I have been trying to write my own application with BlazeDS for a while now and am having no success. I've downloaded the test run and looked at it over and over. I'd like to get a single producer to send messages to a java app which would run on the server. This java app would notify a consumer app when new data is available. I want to send these messages to a persistently running java app, not just access an instance of the object. I want to use mx:Producer in one flex app to send the data to the java app which I presume I'd have to define as a destination in the config files. I want another flex app to use mx:Consumer to get the data from the java app. This seems like it would be easy, but the samples in the BlazeDS don't cover this, they just have a java app (Feed.java) pumping bogus data to a consumer but don't tell you how to send the data via a Producer. And they also show a chat app sending text between two istances of the same flex app and seem to bypass the server side altogether. I see in the datapush example that the java app uses AsynchronousMessage to send the data to the consumer. But how does java read incoming messages? I'd really not like to use JMS because I only want this very simple three-way messaging to work. I can't even rebuild the datapush example in a separate directory in the webapps directory because it generates an error. It seems like the actual programming won't be that hard for all of this, but getting everything configured seems like a mystery to me. There are two WEB-INF directories and duplicates of the config files as well. I'm confused...
[flexcoders] Re: Adobe SDK, why flex comps accept bind in properties and custom comps dont?
I made this changes e still doesn't work, some one had another advice? My test app: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:com=* xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:TextInput id=tiTitulo width=200 maxChars=100 change=descCounter.countChars(tiTitulo.length)/ com:CharCounter id=descCounter maxChars={tiTitulo.maxChars} / /mx:Application My component: ?xml version=1.0 encoding=utf-8? mx:Label text={String(_charNumber)} xmlns:mx=http://www.adobe.com/2006/mxml; initialize=init() mx:Script ![CDATA[ [Bindable] private var _charNumber:Number; [Bindable] private var _maxChars:Number; private function init():void{ _charNumber = _maxChars; } public function set maxChars(value:Number):void{ _maxChars = value; trace(MAXCHARS+_maxChars); } public function get maxChars():Number{ return _maxChars; } public function countChars(value:Number):void{ var maxChars :Number = _maxChars; _charNumber = maxChars - value; } ]] /mx:Script /mx:Label I receiving NaN instead of input maxchar value. Thanks. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: And put a trace() in the setter, to make sure it is getting called with a value. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: Sunday, February 10, 2008 4:32 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Adobe SDK, why flex comps accept bind in properties and custom comps dont? You haven't specified _maxChars as bindable. Rather bizarrely _maxChars is a String, the setter is a Number, the getter is String. Your original example refers to 'max' .. If nothing else I would say that _maxChars needs to be Bindable, your component reference needs to be consistent with the actual component and having different types for the setter and getter is just bad practice.. Paul - Original Message - From: danielvlopes [EMAIL PROTECTED] mailto:danielvlopes%40yahoo.com To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Sent: Sunday, February 10, 2008 4:28 PM Subject: [flexcoders] Re: Adobe SDK, why flex comps accept bind in properties and custom comps dont? Thanks everybody... my comp hade this code: ?xml version=1.0 encoding=utf-8? mx:Label text={_charNumber} xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml initialize=init() mx:Script ![CDATA[ [Bindable] private var _charNumber:String; private var _maxChars:String; private function init():void{ _charNumber = _maxChars; } public function set maxChars(value:Number):void{ _maxChars = value.toString(); } public function get maxChars():Number{ return Number(_maxChars); } public function countChars(value:Number):void{ var maxChars :Number = Number(_maxChars); _charNumber = String(maxChars - value); } ]] /mx:Script /mx:Label --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tracy Spratt tspratt@ wrote: You have some other problem. Custom components work fine doing this. How have you implemented the max property in the component? Tracy From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of danielvlopes Sent: Friday, February 08, 2008 8:17 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Adobe SDK, why flex comps accept bind in properties and custom comps dont? Ops, sorry... The working example is this: com:MyLabel id=myLabel max=300 / and adobe comps accept something like this (justa example): mx:TextArea width={myLabel.height} --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tom Chiverton tom.chiverton@ wrote: On Thursday 07 Feb 2008, danielvlopes wrote: com:MyLabel max={myTextArea.lenght} /
Re: [flexcoders] AdvancedDataGrid Transparent Header
see if this does anything, for some reason the drawHeaderBackground function doesnt really override anything. it is just stranded out there, the one you need to override is the one in the DataGridHeader but i have no clue how you would get there headerBackgroundSkin=mx.skins.ProgrammaticSkin/ - Original Message From: Fumitada Hattori [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 12:28:30 PM Subject: [flexcoders] AdvancedDataGrid Transparent Header Hi guys, I'm having a problem on making AdvancedDataGrid' s header transparent. I tried eveything what I can think of such as setting the alpha value of AdvancedDataGrid' s headerInfo.headerIt em to 0, overriding AdvancedDataGrid' s drawHeaderBackgroun d function, but no luck...I couldn't make it. Does anyone out there know how to make AdvancedDataGrid' s header transparent ? Thanks in advance. -Wolfgang. Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
[flexcoders] Convert LineSeries to ColumnSeries
When I drill down from a LineSeries based chart to a ColumnSeries based chart. I get the following error: TypeError: Error #1034: Type Coercion failed: cannot convert mx.charts.series::[EMAIL PROTECTED] to mx.charts.series.ColumnSeries. Is there way to get around this? The perplexing thing is that I CAN drill down from a ColumnSeries chart to a LineSeries chart with no problem. ??? brad
[flexcoders] Re: AreaChart bug when changing 'type' property
I had the same thing. I believe it is due to the interpolate effect not liking stacked or 100% charts. When you change the type, the effect runs and that is what is blowing up. I had this problem with both area and column charts. I added code to remove the effect before changing to a stack or 100% type and that fixed it. --- In flexcoders@yahoogroups.com, Guido [EMAIL PROTECTED] wrote: Hi, fellow coders! I'm having an issue with an AreaChart when changing its *type* property. There's a ComboBox that lets the user select how it wishes to see the AreaChart (either *overlaid*, *stacked* or *100%*). The method for this is as simple as: areaChart.type = comboBox.selectedItem.data; (I've debugged it and data holds the proper string required by the type property). My code is as follows: mx:AreaChart id=areaChart dataTipFunction=chartDataTipRender height=100% showDataTips=true width=100% mx:horizontalAxis mx:CategoryAxis categoryField={dataSet.keyFieldName} dataProvider={dataSet.dataSet} labelFunction={dataSet.labelFunction}/ /mx:horizontalAxis mx:verticalAxis mx:LinearAxis minimum={verticalAxisMinimum} maximum={verticalAxisMaximum}/ /mx:verticalAxis mx:series mx:AreaSeries alpha=0.8 dataProvider={dataSet.dataSet} displayName={dataSet.dataSource.name} form=curve showDataEffect=interpolate xField={dataSet.keyFieldName} yField={dataSet.valueFieldName}/ /mx:series /mx:AreaChart mx:SeriesInterpolate id=interpolate elementOffset=10/ You might wonder why I want to stack or overlay the chart, since it has only one series... well, the thing is more series may be added in runtime, and so it comes to play the area chart type feature. So, whenever I change the AreaChart's type property, I get the following error and stack trace: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.charts.chartClasses::Series/mx.charts.chartClasses:Series::stripNaNs () at mx.charts.series::AreaSeries/mx.charts.series:AreaSeries::updateFilter() at mx.charts.chartClasses::Series/mx.charts.chartClasses:Series::validateTransform () at mx.charts.chartClasses::Series/getRenderDataForTransition() at mx.charts.effects.effectClasses::SeriesInterpolateInstance/play() at mx.effects::EffectInstance/startEffect() at mx.effects.effectClasses::ParallelInstance/play() at mx.charts.chartClasses::ChartBase/::advanceEffectState() at mx.charts.chartClasses::ChartBase/mx.charts.chartClasses:ChartBase::updateDisplayList () at mx.charts.chartClasses::CartesianChart/mx.charts.chartClasses:CartesianChart::updateDisplayList () at mx.core::UIComponent/validateDisplayList() at mx.managers::LayoutManager/::validateDisplayList() at mx.managers::LayoutManager/::doPhasedInstantiation() at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() at flash.utils::Timer/flash.utils:Timer::_timerDispatch() at flash.utils::Timer/flash.utils:Timer::tick() And... I don't understand why, since I'm already seeing the chart as it is when I make the change to the type property. I mean, it works perfectly up to the moment I try to change this property, then it blows up. BTW, I'm using Flex 2. Any help on this one? Thanks in advance!! Guido.
Re: [flexcoders] Moving Screen Control back and forth between components
Have you considered the ViewStack component? It's hard to say without knowing more about your setup, but it sounds like the right approach for your problem. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Brad Bueche [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Moving Screen Control back and forth between components Date: Wed, 13 Feb 2008 13:35:14 -0500 I'm doing a charting application that allows the user multiple ways to look at the data (both from a time hierarchy perspective as well as a line of business organizational perspective). My current problem is that when I drill down from the main (i.e. year level view) component, say to a month component, how do I get back the main component. I can move around within 1 component (applying different chart types to the same set of data) using includeinlayout and visible. In fact, to get to a sublevel component I just turn off the other components and make that one (includeinlayout and visible). But now control has passed to the sub-component and I dont know how to get back. You cant turn off the component that you are currently in can you? I tried states but I find the includelayout and visible a lot more straightforward to work with. But I guess I can go back to states if that is what is required here. thanks brad
Re: [flexcoders] Viewstack selectedIndex variable setting more than once during a event.
its because the change occurs later via an invalidate function. changing it more than once inside one execution stack does not make sense unless you have an algorithm containing a loop, in which case this is easily fixable. On Feb 13, 2008 1:55 PM, Jerry DuVal [EMAIL PROTECTED] wrote: I have a viewstack with a selectedIndex = to a variable. When I update that variable more than once during a event, the view stack only responds ( changes views ) according to the first set. mx:ViewStack width=600 height=94 id=valueSelectionStack visible={!m_sendingService} selectedIndex={valueSelectionStackIndex} Jerry DuVal Pace Systems Group, Inc. 800.624.5999 www.Pace2020.com -- j:pn \\no comment
Re: [flexcoders] AdvancedDataGrid Transparent Header
are u using flex 3 or Flex 2 maybe this will help http://labs.adobe.com/wiki/index.php/Flex_3:Backwards_Compatibility_Flag ignore my email. - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 1:48:34 PM Subject: Re: [flexcoders] AdvancedDataGrid Transparent Header see if this does anything, for some reason the drawHeaderBackgroun d function doesnt really override anything. it is just stranded out there, the one you need to override is the one in the DataGridHeader but i have no clue how you would get there headerBackgroundSki n=mx.skins.Programmat icSkin/ - Original Message From: Fumitada Hattori wolfgang127@ gmail.com To: [EMAIL PROTECTED] ups.com Sent: Wednesday, February 13, 2008 12:28:30 PM Subject: [flexcoders] AdvancedDataGrid Transparent Header Hi guys, I'm having a problem on making AdvancedDataGrid' s header transparent. I tried eveything what I can think of such as setting the alpha value of AdvancedDataGrid' s headerInfo.headerIt em to 0, overriding AdvancedDataGrid' s drawHeaderBackgroun d function, but no luck...I couldn't make it. Does anyone out there know how to make AdvancedDataGrid' s header transparent ? Thanks in advance. -Wolfgang. Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
[flexcoders] Viewstack selectedIndex variable setting more than once during a event.
I have a viewstack with a selectedIndex = to a variable. When I update that variable more than once during a event, the view stack only responds ( changes views ) according to the first set. mx:ViewStack width=600 height=94 id=valueSelectionStack visible={!m_sendingService} selectedIndex={valueSelectionStackIndex} Jerry DuVal Pace Systems Group, Inc. 800.624.5999 www.Pace2020.com
[flexcoders] How to create a custom component dynamically by name?
My current implementation assumes the data comes from an xml file, while specifies the class name of the custom component. In Flex, the getDefinitionByName(String) method allows me to have a class declaration of dynamically create a component. However, a limitation in Flex requires me to have a class declaration of the dynamic class in the component before I can call getDefinitionByName(). Is there any way that I can create a custom component dynamically by name without creating a class declaration?
Re: [flexcoders] Re: Odd issue when using the framework swf as an RSL
Thanks for responding to my query Gaurav. I compile for it like so: mxmlc -external-library-path+=/path/flex_swc -external-library-path+=/path/framework_swc -runtime-shared-libraries+=./tests/6/flex/flex.swf -runtime-shared-libraries+=./tests/6/framework/framework.swf -file-specs loader.mxml -output loader.swf Loader is the root swf that loads everything else based on a custom xml config. This all seems to work when I load framework.swf and flex.swf manually; like we load our custom rsls. But to reduce the size of loader.swf itself I would like to be able to have them loaded by loader's preloader. In addition, the app swfs and any custom rsl swfs are compiled using the same -external-library-path args. Thanks, jdv Gaurav Jain wrote: Hi Justin, Can you please show how you are specifying the framework.swf rsl to the compiler? Thanks, Gaurav --- In flexcoders@yahoogroups.com, Justin DeVuyst [EMAIL PROTECTED] wrote: Hello All, I would like to load a lot of apps on a single page. To help speed things up I want to load the framework swf as an RSL. Problem is when that swf loads the current directory or base URL changes to where the framwork swf is. I don't want that to happen. Any ideas on this? -jdv
[flexcoders] Re: Flex Data Management and container's UserTransaction
In usecase-2, what should happen when method that begins dataServiceTransaction is already within a JTA transaction. In our codebase, We have some remote services which send refreshes to the client using DataServiceTransaction. All these refreshes were working fine until we wrapped my services into Spring TransactionProxy. Any clue is highly appreciated. We tried it with both useJTA=true and useJTA=false One other side query: If we have one-many relation(parent child) in assembler, which points to the same assembler. If a child change, do we need to send refresh on the child only or parent only or the recursively from top most parent to bottom most child. -Shailesh --- In flexcoders@yahoogroups.com, Jeff Vroom [EMAIL PROTECTED] wrote: There are two use cases where we DMS will use the UserTransaction. 1) When your assembler has use-transactions=true, and you commit a change or batch of changes, the DMS code will start a transaction before calling your createItem, updateItem, and deleteItem methods. If any of those get an error, the transaction is rolled back and all of the changes are put back into the uncommitted list on the client. If they all succeed the transaction is committed and the changes pushed to other interested clients. 2) If you use the DataServiceTransaction api to push changes from the server, when you call begin you can pass in a value of true which causes the DMS stuff to start a JTA transaction in that call. When you call commit, the JTA transaction is committed if the setRollbackOnly call was not made. This is just a convenience if you happen to have some JDBC code which is updating the database. You want to both commit those changes and push the changes to other clients or rollback those changes and cancel those changes. For 1), when you are also using Hibernate, the hibernate assembler will register a hibernate current session context class. The goal of this class is to ensure that we create one hibernate session for each JTA transaction we create for DMS and commit/roll them back in sync. Going forward I'd like to offer another way to do this so that we can more flexibly integrate with other ways of using hibernate sessions. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of den.orlov Sent: Wednesday, December 12, 2007 2:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Data Management and container's UserTransaction As I understand Flex Data Management Services require that application container provide UserTransaction for it. But I can't find any guide about how FDMS uses it. I was completely confused when I checked several tutorials that used FDMS+HibernateAssempler+Spring or FDMS+hand written Assempler+Hibernate+Spring. That tutorial http://blogs.adobe.com/mtg/2006/08/my_first_hibernate_enabled_fle.html http://blogs.adobe.com/mtg/2006/08/my_first_hibernate_enabled_fle.html specify that Hibernate's SessionFactory use datasource not tied to global transaction manager. This tutorials: http://devblog.ezmo.com/2007/05/29/using-flex-data-services-with-spring- and-hibernate/ http://devblog.ezmo.com/2007/05/29/using-flex-data-services-with-spring -and-hibernate/ http://iamjosh.wordpress.com/2007/11/08/building-a-livecycle-data-servic e-application/ http://iamjosh.wordpress.com/2007/11/08/building-a-livecycle-data-servi ce-application/ don't specify that SessionFactory should use global transaction scope for Session and use local transaction management. So what's the purpose of FDMS to have reference to container's UserTransaction? Den
[flexcoders] Re: IE referenced memory errors?
As an update, these errors have crashed many of my user's browsers... Do you think this could be an RTMP issues or a know issue with IE and the FlashPlayer? Seems to only be with Windows and FlashPlayer 9,0,45. I would love them all to update their flash player, but they are on a corporate network and they don't have admin privileges. Ironically, the network is not blocking port 2038 so I would really like to use RTMP. Any ideas? - Kevin --- In flexcoders@yahoogroups.com, Kevin [EMAIL PROTECTED] wrote: Some of my users are complaining about getting the instruction at ... referenced memory at errors when using my Flex app on IE. Has anyone else heard of this problem and if so, what causes it or how can it be resolved? It sounds like they get it after using the Flex app and then try to close the browser. The app uses LCDS with RTMP. Thanks for the help. I don't use IE so I have never seen this. Thanks, Kevin
[flexcoders] Re: Questions about FB / Eclipse
You know you can create custom perspectives? Window - Save Perspective As... You could have one optimised for home and one for the office. Better still, take your 17 monitor to the office. Or just stay at home! --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Hi Guys, I've got a few questions regarding flex builder - they're basically eclipse questions, but any eclipse question is basically ungoogleable due to terrible signal:noise ratios. 1) How can I move palettes using the keyboard, or force them to be on screen? So many times I move environments and a panel will be completely off screen because I'm switching between home (+17 lcd), mobile (just the mbp), and the office (+ 22 LCD) and I end up having to reset and re-do my entire perspective because a panel is off screen and I can't seem to do anything about it. 2) Can I have multiple rows in the editor tabs, instead of the useless little arrow with the all editors drop-down? Nuff said I think :) Any answers for these frustrating problems would be much appreciated! -J -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
Re: [flexcoders] How to create a custom component dynamically by name?
Here is some code I am using to instantiate my ChatInvitation.mxml custom component: var message:ChatInvitation = new ChatInvitation(); chatBox.addChild(message); message.inviteLabel.text = e.getUserName() + would like to chat with you...; message.roomID = e.getEsObject().getInteger(roomID); message.userName = e.getUserName(); Note that I addChild() *before* changing variables. I'm new to Flex and not sure why but that seems to work better than trying to change variables before addChild() On 2/13/08, Tracy Spratt [EMAIL PROTECTED] wrote: All you need is a variable declared with that data type. Are you trying to avoid that? You might consider generating a component with those bogus variables declared. Obviously that would take an extra step, but might be better than having to manually edit and recompile. Try the archives/google for this, it has been discussed very often. Tracy -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *amywongwy *Sent:* Wednesday, February 13, 2008 3:11 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] How to create a custom component dynamically by name? My current implementation assumes the data comes from an xml file, while specifies the class name of the custom component. In Flex, the getDefinitionByName(String) method allows me to have a class declaration of dynamically create a component. However, a limitation in Flex requires me to have a class declaration of the dynamic class in the component before I can call getDefinitionByName(). Is there any way that I can create a custom component dynamically by name without creating a class declaration?
RE: [flexcoders] How to create a custom component dynamically by name?
All you need is a variable declared with that data type. Are you trying to avoid that? You might consider generating a component with those bogus variables declared. Obviously that would take an extra step, but might be better than having to manually edit and recompile. Try the archives/google for this, it has been discussed very often. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of amywongwy Sent: Wednesday, February 13, 2008 3:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to create a custom component dynamically by name? My current implementation assumes the data comes from an xml file, while specifies the class name of the custom component. In Flex, the getDefinitionByName(String) method allows me to have a class declaration of dynamically create a component. However, a limitation in Flex requires me to have a class declaration of the dynamic class in the component before I can call getDefinitionByName(). Is there any way that I can create a custom component dynamically by name without creating a class declaration?
[flexcoders] Re: Odd issue when using the framework swf as an RSL
I think value for -runtime-shared-libraries+= should be a url not an absolute path. Thanks, Gaurav --- In flexcoders@yahoogroups.com, Justin DeVuyst [EMAIL PROTECTED] wrote: Thanks for responding to my query Gaurav. I compile for it like so: mxmlc -external-library-path+=/path/flex_swc -external-library-path+=/path/framework_swc -runtime-shared-libraries+=./tests/6/flex/flex.swf -runtime-shared-libraries+=./tests/6/framework/framework.swf -file-specs loader.mxml -output loader.swf Loader is the root swf that loads everything else based on a custom xml config. This all seems to work when I load framework.swf and flex.swf manually; like we load our custom rsls. But to reduce the size of loader.swf itself I would like to be able to have them loaded by loader's preloader. In addition, the app swfs and any custom rsl swfs are compiled using the same -external-library-path args. Thanks, jdv Gaurav Jain wrote: Hi Justin, Can you please show how you are specifying the framework.swf rsl to the compiler? Thanks, Gaurav --- In flexcoders@yahoogroups.com, Justin DeVuyst justin@ wrote: Hello All, I would like to load a lot of apps on a single page. To help speed things up I want to load the framework swf as an RSL. Problem is when that swf loads the current directory or base URL changes to where the framwork swf is. I don't want that to happen. Any ideas on this? -jdv
[flexcoders] FB3 beta 3
Hey - for some reason my Flex3 says it's expired - -and I've even done the -clean thing, deleted and installed another - still it says that the Beta expired. Mac OSX Leopard.
[flexcoders] combobox reset itsfelf after resize component.
Hi, I have a TileList that has combobox as item_renderer. When I am setting the tilelist.rowCount() only the the first rendered combobox reset itself( slectedIndex=0). If I am changing the width of the Tilelist container( canvas) all the comboboxes are reset to selectedIndex=0. how an i force the combox not to reset? any idea? Thanks - mo
Re: [flexcoders] Stream any readio station (like Winamp and iTunes)
Audio streaming is usually done with UDP but Flash Player only supports TCP. Sorry. Sam On Feb 13, 2008 1:54 PM, v.cekvenich [EMAIL PROTECTED] wrote: I do not mean a list of mp3 files or Red 5, that I know how to do. How do I stream any internet radio stations like iTunes and Winamp? Or is there a subset of radio stations that would work? .V
RE: [flexcoders] How to create a custom component dynamically by name?
The code for the class has to be in a SWF. It can be in the main SWF or loaded via a module later. There is a compiler option (-includes) that allows you to stuff other classes into a SWF without explicitly naming them in your source code. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of amywongwy Sent: Wednesday, February 13, 2008 12:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to create a custom component dynamically by name? My current implementation assumes the data comes from an xml file, while specifies the class name of the custom component. In Flex, the getDefinitionByName(String) method allows me to have a class declaration of dynamically create a component. However, a limitation in Flex requires me to have a class declaration of the dynamic class in the component before I can call getDefinitionByName(). Is there any way that I can create a custom component dynamically by name without creating a class declaration?
RE: [flexcoders] mx:DataGrid - focused on Display - my not-so-unusual use case is not supported
I didn't understand the problem. The datagrid is not a spreadsheet. Are you just asking for spreadsheet functionality? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mr_j_harris Sent: Wednesday, February 13, 2008 9:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] mx:DataGrid - focused on Display - my not-so-unusual use case is not supported I'm struggling with a should-be-basic use case of the Flex mx:DataGrid component. Which is in brief: custom itemRenderer to control the fine-tuning of display custom ItemEditor to tightly control/validate the user input spreadsheet like calculations that impact other row/columns on the datagrid and need to be effected and reflected in a visible manner after any cell edit. (no spreadsheet macro language is required) 2 out of 3 of these is not enough. Is anyone out there scoring three out of three on this? Does anyone know of an alternative Flex Component that does this? Some people are working on it: shouldn't this be something that Adobe software development should be doing to 'capture the market' and all that? http://www.rogue-development.com/blog/2007/11/spreadsheet-component.html http://www.rogue-development.com/blog/2007/11/spreadsheet-component.htm l -- John Harris
Re: [flexcoders] Re: Security cam vedio brodcasting
You'll need something that is streaming the video from the cameras and then you'll need Flash Media Services to stream the video to Flash itself. Flash only supports video streamed via FMS. Ideally it should support RTSP. https://bugs.adobe.com/jira/browse/SDK-14644 Some cameras like those from Axis have an RTSP streaming server built right into the camera so you just plug the camera directly into an ethernet jack. They're great. We've done a proof of concept of using Axis's M-JPEG format to consume the stream in Flex, but it was very high bandwidth and high cpu usage. HTH, Sam --- In flexcoders@yahoogroups.com, Ebeid Soliman [EMAIL PROTECTED] wrote: Hi All, I'm in the investigation phase of a project. This project is for a security company. This project would connect to customers onsite security cameras and stream vedio from it. I've no idea how this will be done. hope to can help me. Ebeid Soliman
Re: [flexcoders] FB3 beta 3
Nobody's come across this problem either? On Feb 13, 2008, at 3:44 PM, grimmwerks wrote: Hey - for some reason my Flex3 says it's expired - -and I've even done the -clean thing, deleted and installed another - still it says that the Beta expired. Mac OSX Leopard. -- 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] Control li indent value
I've been looking through forums and googling but haven't found a definitive answer. How can I change the default indent spacing for a line of text I have wrapped in an li tag? I've been pulling my hair out trying to figure it out. I want to decrease the amount of space between the bullet and the text.
RE: [flexcoders] addEventListener question
You should generally avoid using anonymous functions, as they're more expensive than methods. In AS3, every method is a closure. If an event handler is a method, it can access everything in the class. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Melnik Sent: Wednesday, February 13, 2008 8:37 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] addEventListener question It should be possible with closures: ... addEventListener(result, Closure.create(this, function(evt:*, p1:*, p2:*, ... rest):void { ... }, param1, param2); http://flexblog.faratasystems.com/?p=125 http://flexblog.faratasystems.com/?p=125 Or just bypass it as container member variable... -- Thanks, Vadim. - Original Message - From: markgoldin_2000 mailto:[EMAIL PROTECTED] To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 6:16 PM Subject: [flexcoders] addEventListener question I am addining listeners doing this: addEventListener(result, httpResult) Is there a way of providing additional to ResultEvent parameters to a function (httpResult) we are using as a callback function? Thank for help.