RE: [flexcoders] Possible player bug (kills the browser) f2b3 ie 6.0
I don't think the owners list will do anything, I bet Steven and Ali have it go to a filtered folder just like everything :-) But I'll forward it in. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Graham Weldon Sent: Sunday, May 21, 2006 10:59 PM To: flexcoders@yahoogroups.com; [EMAIL PROTECTED] Subject: Re: [flexcoders] Possible player bug (kills the browser) f2b3 ie 6.0 Hi Dima, I was able to reproduce this error exactly as you describe. Good work on identifying this issue. I will pass this forward to the Flexcoders owners list also, so we can be sure someone at Adobe picks this up. Good work. Regards, Graham Weldon === Unhandled exception at 0x3014ea33 in IEXPLORE.EXE: 0xC005: Access violation reading location 0x. === EAX 0001 ECX === 3014EA33 mov eax,dword ptr [ecx] === === ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* backgroundColor=#C6D0DE mx:Script ![CDATA[ private function setEdate():void { var date:Date = new Date(sDate.selectedDate); eDate.selectableRange={rangeStart: new Date(2006, 7, 1), rangeEnd: new Date(date.getFullYear(), date.getMonth()+3, date.getDate()+7)}; } ]] /mx:Script mx:DateField id=sDate change=setEdate()/ mx:DateField id=eDate/ /mx:Application === Dima Ulich wrote: In my application I'm using 2 dateFields and I need to set selectableRange for one field based on dates entred in the other one. In priveous beta everything worked fine but in b3 it started to kill my browser. So I made another application to test it Here it is, try to run the following code in your browser. The problem occurs when you first set the date in the top field and then change that date to a date before. ___ ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* backgroundColor=#C6D0DE mx:Script ![CDATA[ private function setEdate():void { var date:Date = new Date(sDate.selectedDate); eDate.selectableRange={rangeStart: new Date(2006, 7, 1), rangeEnd: new Date(date.getFullYear(), date.getMonth()+3, date.getDate()+7)}; } ]] /mx:Script mx:DateField id=sDate change=setEdate()/ mx:DateField id=eDate/ /mx:Application On my computer it kills the browser so the system suggests to disable flash player. I have tried on different computers with same luck. So I guess it'a bug. Dima Ulich __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- Flexcoders
[flexcoders] Loading GIF Images dynamically. Please, help
I am using Flex 1.5 an trying to load GIF images dynamically via plaing with LibLoader and external SWF. However, this has been unsuccessful. If I launch coolImage.swf as standalone in browser then the image loads successfully. lib is not null or undefined when I trace it. Any suggestions? MXML file: ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml xmlns=* width=100 height=100 LibLoader source=clientLib/coolImage.swf libLoaded=registerLib(event) width=100 height=100 / mx:Script ![CDATA[ private function registerLib(event):Void { var lib = event.handle; //loading of the gif is implemented insde of coolImage.swf } ]] /mx:Script /mx:Canvas = coolImage.fla action script stop(); var mc:MovieClip = createEmptyMovieClip(mc, 30); var mcLoader:MovieClipLoader = new MovieClipLoader(); mcLoader.loadClip(../bitmaps/add.gif, mc); -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Sourcesafe for Flex beta 2 / eclipse 3.1x
Im bumping this message because the VSS plugin still isnt working in beta 3. Any help? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonas Windey Sent: dinsdag 25 april 2006 14:10 To: flexcoders@yahoogroups.com Subject: [flexcoders] Sourcesafe for Flex beta 2 / eclipse 3.1x Hi, Im trying to use MS Sourcesafe in our flex application (since CVS isnt installed on our server), but Im having some difficulties. I found a plugin that should enable Eclipse 3.1 to use VSS here: http://sourceforge.net/projects/vssplugin/ Is anyone using that plugin successfully? When I move it to the eclipse/plugins folder, I dont see it in the installed plugins window. Jonas -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Reducing Initial Startup time in Flex 1.5
Use a creationPolicy on the container. You could use "queued" if you want the rest of the app to load in the background or "none" if you want to load when explicitly requested. - Original Message - From: Tom Chiverton To: flexcoders@yahoogroups.com Sent: Monday, May 22, 2006 4:44 PM Subject: Re: [flexcoders] Reducing Initial Startup time in Flex 1.5 On Friday 19 May 2006 08:08, web_manager_2004 wrote: How can we reduce initial startup time of a flex application ? Suppose we have a large application , and we want to reduce application startup time. Is it possible that we are able to devide application into multiple SWF files and (Initially ) only those SWF files are downloaded on client which are initialy required ?Lookup runtime shared libaries (RSL) in the docs.-- Tom ChivertonThis 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 St James's Court Brown Street Manchester M2 2JF. 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 Law Society.CONFIDENTIALITYThis 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 8008.For more information about Halliwells LLP visit www.halliwells.com.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] CF Flex Connectivity : Flex Output Window, Channel-Definitions and Destinations
I moved the cf-dataservice-rtmp and cf-polling-amf channel definitions to the flex-enterprise-services.xml file, along with moving the cfcontact destination definition to the flex-data-service.xml files into c:\fds2\jrun4\servers\default\flex\. Then when I start the flex server the following DOES NOT SHOW UP in the output console:[Flex] [INFO] Endpoint cf-polling-amf created with security: Noneat URI: http://{server.name}:{server.port}/{context.root}/messagebroker/cfamfpolling[Flex] [INFO] Endpoint cf-dataservice-rtmp created with security: Noneat URI: rtmp://{server.name}:2048[Flex] [INFO] Endpoint my-secure-http created with security: Noneat URI: https://{server.name}:9100/{context.root}/messagebroker/httpsecure[Flex] [INFO] [CFDataServicesAdapter] Configuring CFC adapter for destination cfcontactBut, when I run contactmgr.mxml from it's new location, it works. It finds the channel and destination. I don't understand why I'm not getting confirmation that it found them in my output window when I start up flex?I should note that the cf channel-definitions and destination has been removed from the xml files in the c:\fds2\jrun4\servers\default\samples\WEB-INF\flex\ files. And inside my c:\fds2\jrun4\servers\default\flex\WEB-INF\flex\flex-enterprise-services.xml file I have the following: logging target class="flex.messaging.log.ConsoleTarget" level="Error" properties prefix[Flex] /prefix includeDatefalse/includeDate includeTimefalse/includeTime includeLeveltrue/includeLevel includeCategoryfalse/includeCategory /properties filters patternEndpoint.*/pattern patternService.*/pattern patternConfiguration/pattern patternDataService.coldfusion/pattern /filters /target /loggingThanks for any help!-Dustin -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] F2B3: Javascript security
Im trying to develop a Flex app that calls a _javascript_ function in the container page. I did a simple test app using the call() method of the ExternalInterface API, and it worked fine with the HTML page and the SWF file in the original compile folder. But when I moved both files, the attempt to run the _javascript_ produces the following ActionScript error box: SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller file://C:\ExternalTest.swf may not access file://C:\Container.htm. at flash.external::ExternalInterface$/call() at SimpleNETComp/::btn1_click() at SimpleNETComp/__btn1_click() So, I tried switching it to call the _javascript_ using the navigateToUrl() method of ActionScript. Again, it worked when the files were in the original compile folder, but when I move them to another folder, I get the error: SecurityError: Error #2051: Security sandbox violation: file://C:\ExternalTest.swf may not evaluate scripting URLs within file://C:\Container.htm (allowScriptAccess is 'always'). Attempted URL was _javascript_:test('called with navigateToUrl') at ExternalTest/::btn1_click() at ExternalTest/__btn1_click() By the way, the HTML file contains only the basic object wrapper, none of the history or version checking stuff, and I changed the SWF parameter to try and open the security up, as follows: param name=AllowScriptAccess value=always Any ideas how to get the calls to work? How does the compile location get stored into the SWF (if thats whats happening)? Cheers, Tim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] HTTP Service Error
Hi Peter, I did not try browsing to the URL directly. Just I executed .mxml file direcltly inside Flex Builder 2.0 Beta 3.0. Here,I made Tomcat5.5\webapps\Root asdefault project location.Peter Farland [EMAIL PROTECTED] wrote: Have you tried browsing to the URL directly? What does it return? What is the URL used to launch your SWF that accesses the JSP page? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sreedhar reddySent: Saturday, May 20, 2006 10:16 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] HTTP Service ErrorHi, I am working with the Flex 2 Beta 3 builder, and I am trying to execute a database application using Flex and jsp for retrieving data from database and displaying it in datagrid. The moment I click "GetData" button it is showing the following error: RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://localhost:8080/connectdb.jsp"]. URL: http://localhost:8080/connectdb.jsp"]at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()at mx.rpc::Responder/fault()at mx.rpc::AsyncRequest/fault()at ::DirectHTTPMessageResponder/errorHandler()at flash.events::EventDispatcher/dispatchEvent()at flash.net::URLLoader/flash.net:URLLoader::redirectEvent() The code which i used for this application is: users.mxml/*?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"mx:HTTPService id="cn" url=""/'>http://localhost:8080/connectdb.jsp"/mx:Button label="Get Data" click="cn.send();"/ mx:DataGrid id="dg2" dataProvider="{cn.lastResult.datalist}" width="700" height="350" y="26"mx:columnsmx:Arraymx:DataGridColumn dataField="rdtime" headerText="Read Time"/mx:DataGridColumn dataField="tagno" headerText="Tag Number"/mx:DataGridColumn dataField="readno" headerText="Number of Reads"//mx:Array/mx:columns/mx:DataGrid/mx:Application*/ connectdb.jsp /*%@ page import="java.util.*"%%String connectionURL = "jdbc:mysql://localhost:3306/sample?user=root;password=dpro";Connection connection = null;Statement statement = null;Class.forName("com.mysql.jdbc.Driver").newInstance();c = DriverManager.getConnection(connectionURL, "root", "dpro");Statement s=c.createStatement();ResultSet rs=s.executeQuery("select *from users");while(rs.next()) {%datalistrdtime%=rs.getString("userid")%/rdtimetagno%=rs.getString("username")%/tagnoreadno%=rs.getString("emailaddress")%/readno/datalist%}s.close();c.close();%*/ Thanks Regards,SreedharThanks Regards,Sreedhar Do you have a question on a topic you cant find an Answer to. Try Yahoo! Answers IndiaGet the all new Yahoo! Messenger Beta Now Thanks Regards,Sreedhar Do you have a question on a topic you cant find an Answer to. Try Yahoo! Answers India Get the all new Yahoo! Messenger Beta Now -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] FlexBuilder 2 error
Hello,I'm having problems with getting values from components with mouseX and mouseY. Going through the code with stepper sems to lead to missing mx.automation (mx.automation::Automation$/get mouseSimulator) class. Maybe these two problems have a same reason?-SamiOn 5/17/06, Kevin Roche [EMAIL PROTECTED] wrote:Hi,I just noticed that somthing that compiled fine earlier is giving an error message. unable to open 'C:\Program Files\Adobe\Flex Builder 2.0 Beta 3\Flex SDK 2.0\frameworks\automation.swc'This file is not there. Is the path wrong?I can't see this file anywhere.Kevin Yahoo! Groups Sponsor ~--Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* 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 Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] TabNavigator Accordion crashing when on another state
Just wondering if anyone here has found a workaround to the issue that's described in this thread from the labs forums:http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=584threadid=1153391enterthread=yEssentially, if I create an app with two states, and place an Accordion or TabNavigator on the second state, when I try to activate a new tab or view one of the other panes in the Accordion, the Debug player will throw the following error:TypeError: Error #1009: Cannot access a property or method of a null object reference.at mx.managers::HistoryManager$/save()at mx.containers::ViewStack/::hideEffectEndHandler()at mx.containers::ViewStack/::commitSelectedIndex()at mx.containers::ViewStack/mx.containers:ViewStack::commitProperties()at mx.containers::TabNavigator/mx.containers:TabNavigator::commitProperties()at mx.core::UIComponent/validateProperties()at mx.managers::LayoutManager/::validateProperties()at mx.managers::LayoutManager/::doPhasedInstantiation()at mx.core::UIComponent/::callLaterDispatcher2()at mx.core::UIComponent/::callLaterDispatcher() -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] F2B3: Javascript security
Maybe crossdomain Policy File will help? ?xml version=1.0? !-- http://domainwhereaccesedmovieis/ crossdomain.xml -- cross-domain-policy allow-access-from domain= domainfromtryingtogetaccessfrom / !-- following will allow access from all domains -- allow-access-from domain=* / /cross-domain-policy Rost From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of FineLine Sent: Monday, May 22, 2006 11:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] F2B3: _javascript_ security Im trying to develop a Flex app that calls a _javascript_ function in the container page. I did a simple test app using the call() method of the ExternalInterface API, and it worked fine with the HTML page and the SWF file in the original compile folder. But when I moved both files, the attempt to run the _javascript_ produces the following ActionScript error box: SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller file://C:\ExternalTest.swf may not access file://C:\Container.htm. at flash.external::ExternalInterface$/call() at SimpleNETComp/::btn1_click() at SimpleNETComp/__btn1_click() So, I tried switching it to call the _javascript_ using the navigateToUrl() method of ActionScript. Again, it worked when the files were in the original compile folder, but when I move them to another folder, I get the error: SecurityError: Error #2051: Security sandbox violation: file://C:\ExternalTest.swf may not evaluate scripting URLs within file://C:\Container.htm (allowScriptAccess is 'always'). Attempted URL was _javascript_:test('called with navigateToUrl') at ExternalTest/::btn1_click() at ExternalTest/__btn1_click() By the way, the HTML file contains only the basic object wrapper, none of the history or version checking stuff, and I changed the SWF parameter to try and open the security up, as follows: param name=AllowScriptAccess value=always Any ideas how to get the calls to work? How does the compile location get stored into the SWF (if thats whats happening)? Cheers, Tim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] F2B3: Javascript security
On 5/22/06, FineLine [EMAIL PROTECTED] wrote: I'm trying to develop a Flex app that calls a _javascript_ function in the container page. I did a simple test app using the call() method of the ExternalInterface API, and it worked fine with the HTML page and the SWF file in the original compile folder. But when I moved both files, the attempt to run the _javascript_ produces the following ActionScript error box: snip The original folder is granted some special permissions during Flex Builder installation. I don't know exactly how that works, but you should be able to look it up in the docs. Running the page off a web server should work without any problems. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] itemRenderer/dataGrid rollOverColor question
I've got a dataGrid setup, with each cell having an itemRenderer associated with it. The itemRenderer is setting the text color based on the value in each cell, via a setStyle(color, ) call. The problem is that this prevents my rollOverColor declaration in my DataGrid from working (you can still see the color behind each cell around the border, but the cell itself doesn't retain the rollOverColor). I tried setting the rollOverColor in the itemRenderer code itself with no luck. Is there a way to set the opacity of the cell to 0 that would allow the underlying default colors from the dataGrid itself to bleed through? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex 2b3 - Clear Selected Item in List
On 5/22/06, porsoc [EMAIL PROTECTED] wrote: In flex 1.5 there was a clearSelected() method on the list control that would unselect the any items from the list. I can not find this or similiar functionality in flex 2.0. Any one have any suggestions? Try setting selectedItem/selectedItems to null. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Is anyone else having trouble accessing components?
Ok, here's the rub. I have the base mxml file that is referencing an external actionscript file. Now in Fb2 things were great, champagne fell from the heavens, etc, etc. However upon switching to bf3, I seem to be having a problem accessing properties custom components, but standard one as well, even though the are on the state and when i write the code, it is seen because it brings up a list of auto complete properties. Howerver upon saving and/or compiling it returns an error the states I am referencing an undefinde property that names the component id as the undefined. Is anyone else having this issue with components in fb3? Talk to the Ro... Ro Flash Dude -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Fwd: logging via rpc - crash, change to filter?
This weekend i created a logging target, which passes the values to the server via rcp. The problem is, that rpc itself logs something internally, which results in a endless recursion. When i create a filter for my log target it works. But this imposes a second question: When i create a filter like test, only test logs get displayed. How can i filter the other way round, say a filter like test displays all logs but test? Also wouldn't it be nice to have RegExp for filtering? Cheers, Ralf -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Cairngorm Flex Data Services
Joao, You ask some excellent questions. Within Adobe Consulting, we're currently focussed on establishing some best-practice guidance here, but as always our best-practice guidance is based upon field experience as much as possible. We're running a number of projects right now with Flex 2, Cairngorm 2 and Flex Data Services, and would hope to share some of this material through our Adobe Consulting blogs in the near future. I'd be equally as interested to hear your own approaches. I'll circle with some of the team internally here, and we'll see if we can't blog some ideas shortly. Best, Steven Steven WebsterPractice Director (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6108 m: +44 (0)7917 428 947[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João FernandesSent: 22 May 2006 14:57To: flexcoders@yahoogroups.comSubject: [flexcoders] Cairngorm Flex Data Services Hi there, Where does messaging and data-services fit in cairngorm? Should I put them define them in the serviceLocator like my remote Objects? How to handle conflict/message notifications ? should my command implement a new interface? How about messaging? Thanks, João FernandesDep. Informática - Área de DesenvolvimentoCofina mediaAvenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGALTel (+351) 213 185 200 . Fax (+351) 213 540 370[EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] F2B3: NetStream onMetaData request
(no real request...just a wouldn't it be nice; explain if I'm missing something though)Wouldn't it be nice to add an event listener for onMetaData? This is so we don't have to do the following (per LiveDocs): an instance of a Netstream subclass. Netstream is a sealed class, which means that properties or methods cannot be added to a Netstream object at runtime. However, you can create a subclass of Netstream and define your event handler in the subclass or make the subclass dynamic and add the event handler function to an instance of the subclass.the object referenced by the client property of a Netstream instance.Creating a subclass isn't a prob but it sure would be nice to use an event listener. :-) -- John C. Bland III do what I can do when I can do it. - Chris Tucker, Money Talkshttp://www.gotoandstop.org - Home of FMUG.az -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] SOAP dateTime to ActionScript date conversion
I'm having problems with Flex2 (b3) properly converting my SOAP dateTimes to ActionScript dates. The object in the ResultEvent shows it as a String instead of a Date: 2006-05-22T05:00:00.000Z The WSDL definition: element name=inventoryDate nillable=true type=dateTime/ XML generated from the web service: ns_inventoryDate:inventoryDate xmlns:ns_inventoryDate='http://myapp.mycompany.com/jaws'2006-05-22T05:00:00.000Z/ns_inventoryDate:inventoryDate 1) Why is flex deserializing this as a String instead of a Date? 2) Is there a data formatter that will let me specify the format of a string and convert it to a Date? The Date object's String constructor will not accept the format above. The debugger shows all of the date's properties as NaN. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
AW: [flexcoders] SOAP dateTime to ActionScript date conversion
Hi, i had the same problem var dateReg:RegExp = /^(\d{4})\-(\d{2})\-(\d{2})T(\d{2})\:(\d{2})\:(\d{2})/; var result:Object = dateReg.exec(soapDateValue); return new Date(Number(result[1]), Number(result[2]) -1, Number(result[3]), Number(result[4]), Number(result[5]), Number(result[6])); Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von yomahz Gesendet: Montag, 22. Mai 2006 18:28 An: flexcoders@yahoogroups.com Betreff: [flexcoders] SOAP dateTime to ActionScript date conversion I'm having problems with Flex2 (b3) properly converting my SOAP dateTimes to ActionScript dates. The object in the ResultEvent shows it as a String instead of a Date: 2006-05-22T05:00:00.000Z The WSDL definition: element name=inventoryDate nillable=true type=dateTime/ XML generated from the web service: ns_inventoryDate:inventoryDate xmlns:ns_inventoryDate='http://myapp.mycompany.com/jaws'2006-05-22T05:00:00.000Z/ns_inventoryDate:inventoryDate 1) Why is flex deserializing this as a String instead of a Date? 2) Is there a data formatter that will let me specify the format of a string and convert it to a Date? The Date object's String constructor will not accept the format above. The debugger shows all of the date's properties as NaN. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
WG: [flexcoders] Flex2B3 - Problems with the garbage collector
Hi, I am still having problems with the gc (see below), could anyone help me? Thanks, Harald -Ursprüngliche Nachricht- Von: Manish Jethani [mailto:[EMAIL PROTECTED] Gesendet: Montag, 22. Mai 2006 17:13 An: Harald Dehn Betreff: Re: [flexcoders] Flex2B3 - Problems with the garbage collector Hi Harald, I'm not aware of any further improvements. Flexcoders is the best place to ask (as some people from Flash Player team might be hanging out there). Manish On 5/22/06, Harald Dehn [EMAIL PROTECTED] wrote: Hi Manish, sorry vor contacting you directly, but I still have problems with the gc as described below. Do you know if there will be any improvements of the gc in the final release of Flex2 and FP9? Thanks for your time, Harald Von: Harald Dehn Gesendet: Donnerstag, 18. Mai 2006 10:18 An: 'flexcoders@yahoogroups.com' Betreff: AW: [flexcoders] Flex2B3 - Problems with the garbage collector Hi, thanks for your response, but I still have the problem that it takes serveral minutes to free unsused memeory. And If I leave the application alone it never comes back to the memory usage of the beginning (round about 4.5 MB). There seems to be a bug in the gc. Harald Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Manish Jethani Gesendet: Mittwoch, 17. Mai 2006 18:27 An: flexcoders@yahoogroups.com Betreff: Re: [flexcoders] Flex2B3 - Problems with the garbage collector Wichtigkeit: Hoch On 5/17/06, Harald Dehn [EMAIL PROTECTED] wrote: I do have some questions about the garbage collector. I have written a small sample which fills a container with thousand buttons (see below). When I start the application it uses round about 4MB of Memory. After adding the buttons, moving around with the mouse and removing all buttons it uses 14MB. The documentation says that the garbage collector should run every 60 seconds. But with my test application the amount of memory always rise for minutes. After round about 10 minutes the used memory decreases to 6.5 MB. Where is my mistake? I haven't looked, but I don't think we have an API similar to Java's System.gc(). i.e. you can't request the VM to run garbage collection using code. I'm not aware of any runtime parameters either. What about circular references? Could the garbage collector remove the following construct when no other references for the TestParent- and TestChild instances exists? Yes. The new garbage collector uses a combination of reference counting and the mark and sweep algorithm [1]. Circular references aren't supposed to be a problem anymore. [1]: http://www.osnews.com/story.php?news_id=6864 Is there functionality in the Flex similar to the IDispose interface in .NET? The Dispose method of the interface will be called by the .NET framework or could called programmatically, it's the place where a class could free all used resources, eventlistener, etc. Or finalize() in Java. No, there's not such thing in Flex. Before letting an object go, you should call a method on it directly to make sure it's cleaned up. For example, before removing a VideoDisplay from the display list, you should ensure that stop() and close() are called on it (common issue when using a VideoDisplay inside a Repeater). -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: SOAP dateTime to ActionScript date conversion
Thanks, that works great. --- In flexcoders@yahoogroups.com, Harald Dehn [EMAIL PROTECTED] wrote: Hi, i had the same problem... var dateReg:RegExp = /^(\d{4})\-(\d{2})\-(\d{2})T(\d{2})\:(\d{2})\:(\d{2})/; var result:Object = dateReg.exec(soapDateValue); return new Date(Number(result[1]), Number(result[2]) -1, Number(result[3]), Number(result[4]), Number(result[5]), Number(result[6])); Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von yomahz Gesendet: Montag, 22. Mai 2006 18:28 An: flexcoders@yahoogroups.com Betreff: [flexcoders] SOAP dateTime to ActionScript date conversion I'm having problems with Flex2 (b3) properly converting my SOAP dateTimes to ActionScript dates. The object in the ResultEvent shows it as a String instead of a Date: 2006-05-22T05:00:00.000Z The WSDL definition: element name=inventoryDate nillable=true type=dateTime/ XML generated from the web service: ns_inventoryDate:inventoryDate xmlns:ns_inventoryDate='http://myapp.mycompany.com/jaws'2006-05-22T05:0 0:00.000Z/ns_inventoryDate:inventoryDate 1) Why is flex deserializing this as a String instead of a Date? 2) Is there a data formatter that will let me specify the format of a string and convert it to a Date? The Date object's String constructor will not accept the format above. The debugger shows all of the date's properties as NaN. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: SOAP dateTime to ActionScript date conversion
If you are just interested in displaying the date in MXML, here is an easy way using a date formatter. mx:DateFormatter id=df formatString=MM/DD/ at L:NN A/ mx:Text text={df.format(yourDate)}/ The text would show something like 05/22/06 at 5:00 AM. Just add or remove the different formatString options to meet your needs. -TH --- In flexcoders@yahoogroups.com, yomahz [EMAIL PROTECTED] wrote: Thanks, that works great. --- In flexcoders@yahoogroups.com, Harald Dehn harald.dehn@ wrote: Hi, i had the same problem... var dateReg:RegExp = /^(\d{4})\-(\d{2})\-(\d{2})T(\d{2})\:(\d{2})\:(\d{2})/; var result:Object = dateReg.exec(soapDateValue); return new Date(Number(result[1]), Number(result[2]) -1, Number(result[3]), Number(result[4]), Number(result[5]), Number(result[6])); Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von yomahz Gesendet: Montag, 22. Mai 2006 18:28 An: flexcoders@yahoogroups.com Betreff: [flexcoders] SOAP dateTime to ActionScript date conversion I'm having problems with Flex2 (b3) properly converting my SOAP dateTimes to ActionScript dates. The object in the ResultEvent shows it as a String instead of a Date: 2006-05-22T05:00:00.000Z The WSDL definition: element name=inventoryDate nillable=true type=dateTime/ XML generated from the web service: ns_inventoryDate:inventoryDate xmlns:ns_inventoryDate='http://myapp.mycompany.com/jaws'2006-05- 22T05:0 0:00.000Z/ns_inventoryDate:inventoryDate 1) Why is flex deserializing this as a String instead of a Date? 2) Is there a data formatter that will let me specify the format of a string and convert it to a Date? The Date object's String constructor will not accept the format above. The debugger shows all of the date's properties as NaN. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads? t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+ des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+p rac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads? t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Softwar e+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best +pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads? t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Softw are +design+and+developmentw4=Macromedia+flexw5=Software+development+be st+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads? t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+d eve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5 s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads? t=msk=Software+development+best+practice w1=Web+site+design+developmentw2=Computer+software+developmentw3=So ftw are+design+and+developmentw4=Macromedia+flexw5=Software+development +be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: TabNavigator Accordion crashing when on another state
Are you sure that setting creationPolicy=all on the Accordion's container doesn't remove the null error? -TH --- In flexcoders@yahoogroups.com, Josh Buhler [EMAIL PROTECTED] wrote: Just wondering if anyone here has found a workaround to the issue that's described in this thread from the labs forums: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm? catid=584threadid=1153391enterthread=y Essentially, if I create an app with two states, and place an Accordion or TabNavigator on the second state, when I try to activate a new tab or view one of the other panes in the Accordion, the Debug player will throw the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.managers::HistoryManager$/save() at mx.containers::ViewStack/::hideEffectEndHandler() at mx.containers::ViewStack/::commitSelectedIndex() at mx.containers::ViewStack/mx.containers:ViewStack::commitProperties() at mx.containers::TabNavigator/ mx.containers:TabNavigator::commitProperties() at mx.core::UIComponent/validateProperties() at mx.managers::LayoutManager/::validateProperties() at mx.managers::LayoutManager/::doPhasedInstantiation() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] SOAP dateTime to ActionScript date conversion
1) Why is flex deserializing this as a String instead of a Date? [Pete] This would be a bug. Are you on the beta program and are you able to log a bug? If not, let me know and I can help. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex Builder Java dev setup best practice?
I'm wondering if anyone can suggest the best way to set up a Flex Builder (beta 3 as eclipse plug-in) project that will also contain Java classes (accessed via Flex Remoting and/or Data Services). Is it best to set up two projects, one for Flex and one for Java? Can I have both in one project and just switch perspectives? I'm relatively new to eclipse and am looking for someone to suggest the best way to do this considering that I need to work in both environments simultaneously. Thanks in advance... -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] How does FileReference work? f2b3
You need to keep the FileReference variable from going out of scope. In the examples, the FileReference variable is within the function. Moving it into the class fixes the example. mitch -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dima Ulich Sent: Monday, May 22, 2006 5:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How does FileReference work? f2b3 In f2b2 filereference worked fine, but now I can't get it to work. I have used example I found in help, but with no luck. Debug shows that there was #2037 error (Functions called in incorrect sequence, or earlier call was unsuccessful.) Am I doing anything wrong or is there a bug in fileReference class? Ulich Dima __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: TabNavigator Accordion crashing when on another state
Yeah, I tried that, but it didn't make a difference. The weird thing was that the error only happened when running the swf within an HTML page. If I ran the swf by itself, either in the browser or stand-alone player, it worked fine.- JoshOn May 22, 2006, at 11:47 AM, Tim Hoff wrote: Are you sure that setting creationPolicy="all" on the Accordion's container doesn't remove the null error? -TH --- In flexcoders@yahoogroups.com, Josh Buhler [EMAIL PROTECTED] wrote: Just wondering if anyone here has found a workaround to the issue that's described in this thread from the labs forums:http://www.adobe.com/cfusion/webforums/forum/messageview.cfm? catid=584threadid=1153391enterthread=yEssentially, if I create an app with two states, and place an Accordion or TabNavigator on the second state, when I try to activate a new tab or view one of the other panes in the Accordion, the Debug player will throw the following error:TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.managers::HistoryManager$/save() at mx.containers::ViewStack/::hideEffectEndHandler() at mx.containers::ViewStack/::commitSelectedIndex() at mx.containers::ViewStack/mx.containers:ViewStack::commitProperties() at mx.containers::TabNavigator/ mx.containers:TabNavigator::commitProperties() at mx.core::UIComponent/validateProperties() at mx.managers::LayoutManager/::validateProperties() at mx.managers::LayoutManager/::doPhasedInstantiation() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex Buider don't import mx package
Hi,I am trying import mx package in Action Acript Project but the Flex Buider don't show me this package. If i try import this package the Flex Builder show me a message could not be found. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: How to use e4x
The xml returned defines it's own namespace: private function onInit ():void{ var loader:URLLoader = new URLLoader(); var request:URLRequest = new URLRequest (http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml); loader.addEventListener(Event.COMPLETE, onComplete); loader.load(request); } private function onComplete (event:Event):void { var loader:URLLoader = URLLoader(event.target); var externalXML:XML = XML (loader.data); var xml_ns:Namespace = externalXML.namespace (); var cubes:XMLList = externalXML.xml_ns::Cube.xml_ns::Cube.xml_ns::Cube; for each (var currency:XML in cubes) { trace ([EMAIL PROTECTED]); } } --- In flexcoders@yahoogroups.com, Jesús Iglesias [EMAIL PROTECTED] wrote: Hi, This is my code on F2b3. I load the Euro foreign exchange reference rates from http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml. It seems like all is fine but nothing happens. XML is well received, Alert.show(externalXML.toXMLString()) shows the xml, but then the processing seems to fail whithout no error. Does anybody know way? private function onInit():void{ var loader:URLLoader = new URLLoader(); var request:URLRequest = new URLRequest(http://www.ecb.int/stats/eurofxref/eurofxref- daily.xml); loader.addEventListener(Event.COMPLETE, onComplete); loader.load(request); } private function onComplete(event:Event):void { var loader:URLLoader = URLLoader(event.target); externalXML = new XML(loader.data); for each (var currency:XML in externalXML.Cube.Cube.Cube) { Alert.show([EMAIL PROTECTED]); } } thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex Builder Java dev setup best practice?
Here's a link that was really helpful for me:http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:DebuggingYou'll have to adjust some of the steps because they're for a previous Beta, but you'll figure it out. HTH,TomOn 5/22/06, flexabledev [EMAIL PROTECTED] wrote: I'm wondering if anyone can suggest the best way to set up a Flex Builder (beta 3 as eclipse plug-in) project that will also contain Java classes (accessed via Flex Remoting and/or Data Services). Is it best to set up two projects, one for Flex and one for Java? Can I have both in one project and just switch perspectives? I'm relatively new to eclipse and am looking for someone to suggest the best way to do this considering that I need to work in both environments simultaneously. Thanks in advance... -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] [flex coders]Flex Buider don't import mx package
Hi,I am trying import mx package in Action Acript Project but the Flex Buider don't show me this package. If i try import this package the Flex Builder show me a message could not be found. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Event not bubbling when using PopUpManager
Hi all,I'm launching a popUp with a custom component inside through PopUpManager. This custom component has a button that when pressed dispatches an event. The launcher application is subscribed to this event but the event never gets to the listener. Here's the code:FILE: Launcher.mxml?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolutecreationComplete=init() mx:Script ![CDATA[ import mx.containers.TitleWindow; import mx.managers.PopUpManager ; public function init():void {addEventListener(testEvent,myListenerFunc);} public function launch():void { var win:TitleWindow = PopUpManager.createPopUp(this,TitleWindow,true) as TitleWindow;win.title = Hello World;PopUpManager.centerPopUp(win); win.addChild (new FloatingPanel());//win.addEventListener(testEvent,myListenerFunc); } public function myListenerFunc(evt:Event):void {trace (aquí); } ]] /mx:Script mx:Button label=launch click=launch()//mx:ApplicationFILE: FloatingPanel.mxml?xml version= 1.0 encoding=utf-8?mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml width=100% height=100% mx:Script ![CDATA[ import flash.events.Event; public function launch():void {dispatchEvent(new Event(testEvent,true)); } ]] /mx:Script mx:Button label=hello click=launch()//mx:CanvasAm I missing something about event bubbling? If I uncomment the line //win.addEventListener(testEvent,myListenerFunc); then all works fine. But in the code I'm working on can't use this workarround because I don't know which will be the raised events. Thanks in advancebestX. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Array filter method
Thanks for the response. The problem in my code is that I have a local variable named the same as the input parameter 'element:*' of the callback function. If you modify the callback function to the following you will see the behavior that I was describing. private function isArray(elem:*, index:int, arr:Array):Boolean { trace(this); var elem : String = test; if (index 0) { return true; } return false; } With your info I was able to find and fix my problem. As for the this parameter (#2) I can't still figure it out. If I run your example in my system, the trace(this) statement in the callback function outputs the name of the AS file where the callback function sits. Thanks, -Sergio --- In flexcoders@yahoogroups.com, Francis Cheng [EMAIL PROTECTED] wrote: Hi Sergio, Perhaps I'm misunderstanding your question, but I can't reproduce issue #1. The following call to the filter method returns a multidimensional array: import flash.display.Sprite; var arr:Array = [[-1,-2,-3],[3,5,4], foo]; function isArray(elem:*, index:int, arr:Array):Boolean { trace(this); if (elem is Array) { return true; } return false; } var mySprite:Sprite = new Sprite(); var newArr:Array = arr.filter(isArray, mySprite); trace(newArr[0][0]); // -1 trace(newArr[0][1]); // -2 trace(newArr[0][2]); // -3 trace(newArr[1][0]); // 3 trace(newArr[1][1]); // 5 trace(newArr[1][2]); // 4 trace(newArr[2]); // undefined As for issue # 2, the thisObject param, it allows you to dictate what the this reference points to inside the callback function. Notice that I trace the value of this in the isArray() function. If the thisObject param is null, the value of this in isArray is the global object, but in my example, I create an instance of Sprite and pass that as the thisObject, so that the this reference points to the instance of Sprite named mySprite. Francis -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sergio_trejo_r Sent: Tuesday, May 16, 2006 1:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Array filter method Hi, two questions regarding the filter method in the Array class. 1) In a two dimensional array the filter method seems to convert the input array into a single dimension array by concatenating the elements of the second array into a CSV string. Is this the expected behavior? 2) Has anyone used the thisObject parameter of the filter method? It is documented but I haven't found and example and I can't seem to make it work. thanks! -Sergio Yahoo! Groups Sponsor -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Including External Files
Greetings - Per the Flex documentation, I'm trying to include an external AS file, as follows: mx:Script source=Assets/Models/touchPlans.as/ The file touchPlans.as exists in the specified location, however when compiling, I get this error: Unable to open included file: C:\Proto\Assets\Components\Assets\Models\touchPlans.as. Here's the AS file in question: // ActionScript file [Bindable] public var touchPlanDP:Array = [ {Thumb:'Assets/Images/cardPlan.png', Name:'Welcome Card'}, {Thumb:'Assets/Images/eCardPlan.png', Name:'E-Card'}, {Thumb:'Assets/Images/multiCardPlan.png', Name:'Multi-Card'}, ]; I've also tried to using Models as a straight XML file as the source and received a Model Can't be Used for Array Collection error. Basically, I'm just trying to get all of my data providers, etc out of my mxml (while the services are being written) and with little luck so far. Is there a way to make a dataProvider be a custom component? cheers, ethan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Login System
Hey Bill, In beta 3 where is the coldfusion wizard because it doesn't show on the create new poject menu? --- In flexcoders@yahoogroups.com, Bill Sahlas [EMAIL PROTECTED] wrote: Here's a Login sample app that uses the RemoteObject.setRemoteCredentials(username, password) and the ColdFusion CFLOGIN container. Unzip it to your web server's doc root. In flex builder create a new Flex project of type ColdFusion Flash Remoting Service. Fill out the prompts and specify LoginTest.mxml as your Main application file. Here's a code snippet from the app and it breaks down like this In the MXML ... private function logIn():void { // all this does is set the credentials - these are not sent over until the first actual request is made // set the RemoteObject cf.setRemoteCredentials(this.username.text, this.password.text); loginbtn.enabled = false; logoutbtn.enabled = true; } private function logOut():void { //Alert.show(logout); loginbtn.enabled = true; logoutbtn.enabled = false; cf.setRemoteCredentials(null, null); cf.logout(); cf.logoutuser(); } ... ... mx:FormItem direction=horizontal mx:Button id=loginbtn label=Login click=logIn();/ mx:Button id=logoutbtn label=Logout click=logOut() enabled=false/ /mx:FormItem The CFML included in the app uses the CFLOGIN structure as per CF best practices of usage of this feature. Also note that as part of the new Super Wizard for Flex Builder 2.0 produced by the CF team includes an option to build-in a login scheme (includes a well-formatted login page with user name and password field prompts and the appropriate cfc backend logic). Bill From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, May 19, 2006 4:12 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Login System On Thursday 18 May 2006 17:52, s_hernandez01 wrote: code up the login system. Would anybody know how to start that, or know of any references that would help me get started. I know that I'd have the Flash send the username/password to the CF over HTTPS. The CF creates a per-session token and gives that back to the Flash. The Flash then gives that token as the first argument to all other server functions. Obviously some small wibbles with CF keeping track of tokens, validating and expiring them etc., but I'm not gonna write it all out here :-) -- Tom Chiverton 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 St James's Court Brown Street Manchester M2 2JF. 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 Law Society. 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 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
[flexcoders] Re: Flex Builder Java dev setup best practice?
Thanks Tom, that really helps! I knew there had to be something out there... Martin --- In flexcoders@yahoogroups.com, Tom Bray [EMAIL PROTECTED] wrote: Here's a link that was really helpful for me: http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:Debugging You'll have to adjust some of the steps because they're for a previous Beta, but you'll figure it out. HTH, Tom On 5/22/06, flexabledev [EMAIL PROTECTED] wrote: I'm wondering if anyone can suggest the best way to set up a Flex Builder (beta 3 as eclipse plug-in) project that will also contain Java classes (accessed via Flex Remoting and/or Data Services). Is it best to set up two projects, one for Flex and one for Java? Can I have both in one project and just switch perspectives? I'm relatively new to eclipse and am looking for someone to suggest the best way to do this considering that I need to work in both environments simultaneously. Thanks in advance... -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design developmenthttp://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software developmenthttp://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and developmenthttp://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flexhttp://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practicehttp://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw -- YAHOO! GROUPS LINKS - Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED][EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Event not bubbling when using PopUpManager
Hi Xavi,I don't know if this could be of help to you:http://www.darronschall.com/weblog/archives/000224.cfmPlease tell me if is related to your problem Best,C.2006/5/22, Xavi Beumala [EMAIL PROTECTED]: Hi all,I'm launching a popUp with a custom component inside through PopUpManager. This custom component has a button that when pressed dispatches an event. The launcher application is subscribed to this event but the event never gets to the listener. Here's the code:FILE: Launcher.mxml?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolutecreationComplete=init() mx:Script ![CDATA[ import mx.containers.TitleWindow; import mx.managers.PopUpManager ; public function init():void {addEventListener(testEvent,myListenerFunc);} public function launch():void { var win:TitleWindow = PopUpManager.createPopUp(this,TitleWindow,true) as TitleWindow;win.title = Hello World;PopUpManager.centerPopUp(win); win.addChild (new FloatingPanel());//win.addEventListener(testEvent,myListenerFunc); } public function myListenerFunc(evt:Event):void {trace (aquí); } ]] /mx:Script mx:Button label=launch click=launch()//mx:ApplicationFILE: FloatingPanel.mxml?xml version= 1.0 encoding=utf-8?mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml width=100% height=100% mx:Script ![CDATA[ import flash.events.Event; public function launch():void {dispatchEvent(new Event(testEvent,true)); } ]] /mx:Script mx:Button label=hello click=launch()//mx:CanvasAm I missing something about event bubbling? If I uncomment the line //win.addEventListener(testEvent,myListenerFunc); then all works fine. But in the code I'm working on can't use this workarround because I don't know which will be the raised events. Thanks in advancebestX. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- ::| Carlos Rovira::| http://www.carlosrovira.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Strange thing happening with Flex 2 Beta 3 (eclipse plugin) - possible bug?
I've got a combo box being populated via code: mx:ComboBox width=150 id=comboSearchType change=chg(event); mx:dataProvider mx:Array mx:String /mx:String mx:StringBasic Info/mx:String mx:StringVM-Detail/mx:String mx:StringPaging/mx:String mx:StringTechData/mx:String mx:StringSimple Freedom/mx:String mx:StringSID/mx:String /mx:Array /mx:dataProvider /mx:ComboBox Anyways, when I run this the first time I don't see the Simple Freedom entry (the space for it is there and if I click on it I see Simple Freedom in the combo box), if I scroll all the way up, Basic Info is blank, again, I can click on it and see it in the box, when I scroll back down SID is blank, the space for it is there and if I click on it I see it in the box. I can recreate the problem. Is this a bug? something up with the Plugin version or what? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Event not bubbling when using PopUpManager
Hi Carlos,that was it!! Thanks so muchX.On 5/22/06, Carlos Rovira [EMAIL PROTECTED] wrote: Hi Xavi,I don't know if this could be of help to you:http://www.darronschall.com/weblog/archives/000224.cfm Please tell me if is related to your problem Best,C.2006/5/22, Xavi Beumala [EMAIL PROTECTED] : Hi all,I'm launching a popUp with a custom component inside through PopUpManager. This custom component has a button that when pressed dispatches an event. The launcher application is subscribed to this event but the event never gets to the listener. Here's the code:FILE: Launcher.mxml?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolutecreationComplete=init() mx:Script ![CDATA[ import mx.containers.TitleWindow; import mx.managers.PopUpManager ; public function init():void {addEventListener(testEvent,myListenerFunc);} public function launch():void { var win:TitleWindow = PopUpManager.createPopUp(this,TitleWindow,true) as TitleWindow;win.title = Hello World;PopUpManager.centerPopUp(win); win.addChild (new FloatingPanel());//win.addEventListener(testEvent,myListenerFunc); } public function myListenerFunc(evt:Event):void {trace (aquí); } ]] /mx:Script mx:Button label=launch click=launch()//mx:ApplicationFILE: FloatingPanel.mxml?xml version= 1.0 encoding=utf-8?mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml width=100% height=100% mx:Script ![CDATA[ import flash.events.Event; public function launch():void {dispatchEvent(new Event(testEvent,true)); } ]] /mx:Script mx:Button label=hello click=launch()//mx:CanvasAm I missing something about event bubbling? If I uncomment the line //win.addEventListener(testEvent,myListenerFunc); then all works fine. But in the code I'm working on can't use this workarround because I don't know which will be the raised events. Thanks in advancebestX. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- ::| Carlos Rovira::| http://www.carlosrovira.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] mx.automation
IAutomationIdHelper IAutomationMouseSimulator IAutomationObject IAutomationObjectContainer IInteractionReplayer Anyone know how these are used? Any examples out there? --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] mx.automation
Hi Michael, http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/automation/IAutomationObject.html This site lists the details about the IAutomationObject, and also lists its known implementing classes: ComboBox http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/controls/ComboBox.html, Container http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/core/Container.html, ListBase http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/controls/listClasses/ListBase.html, Loader http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/controls/Loader.html, MenuBar http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/controls/MenuBar.html, PopUpButton http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/controls/PopUpButton.html, Repeater http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/core/Repeater.html, UIComponent http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/core/UIComponent.html, UITextField http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/core/UITextField.html Take a stroll through the Docs and see where various existing classes use these Interfaces. Regards, Graham Weldon e. [EMAIL PROTECTED] w. http://graham.weldon.ath.cx [EMAIL PROTECTED] wrote: IAutomationIdHelper IAutomationMouseSimulator IAutomationObject IAutomationObjectContainer IInteractionReplayer Anyone know how these are used? Any examples out there? --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL
Re: [flexcoders] Event not bubbling when using PopUpManager
great! : )2006/5/22, Xavi Beumala [EMAIL PROTECTED]: Hi Carlos,that was it!! Thanks so muchX.On 5/22/06, Carlos Rovira [EMAIL PROTECTED] wrote: Hi Xavi,I don't know if this could be of help to you:http://www.darronschall.com/weblog/archives/000224.cfm Please tell me if is related to your problem Best,C.2006/5/22, Xavi Beumala [EMAIL PROTECTED] : Hi all,I'm launching a popUp with a custom component inside through PopUpManager. This custom component has a button that when pressed dispatches an event. The launcher application is subscribed to this event but the event never gets to the listener. Here's the code:FILE: Launcher.mxml?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolutecreationComplete=init() mx:Script ![CDATA[ import mx.containers.TitleWindow; import mx.managers.PopUpManager ; public function init():void {addEventListener(testEvent,myListenerFunc);} public function launch():void { var win:TitleWindow = PopUpManager.createPopUp(this,TitleWindow,true) as TitleWindow;win.title = Hello World;PopUpManager.centerPopUp(win); win.addChild (new FloatingPanel());//win.addEventListener(testEvent,myListenerFunc); } public function myListenerFunc(evt:Event):void {trace (aquí); } ]] /mx:Script mx:Button label=launch click=launch()//mx:ApplicationFILE: FloatingPanel.mxml?xml version= 1.0 encoding=utf-8?mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml width=100% height=100% mx:Script ![CDATA[ import flash.events.Event; public function launch():void {dispatchEvent(new Event(testEvent,true)); } ]] /mx:Script mx:Button label=hello click=launch()//mx:CanvasAm I missing something about event bubbling? If I uncomment the line //win.addEventListener(testEvent,myListenerFunc); then all works fine. But in the code I'm working on can't use this workarround because I don't know which will be the raised events. Thanks in advancebestX. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- ::| Carlos Rovira::| http://www.carlosrovira.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- ::| Carlos Rovira::| http://www.carlosrovira.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS
RE: [flexcoders] mx.automation
Don't get excited about these because they've been removed since Beta 3. Sorry 'bout that. The automation features are being redesigned to have less impact on SWF size, and they won't be ready in time for the Flex 2 release; they'll be released later. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Graham Weldon Sent: Monday, May 22, 2006 2:13 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] mx.automation Hi Michael, http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/automation/IAutomationObject.html This site lists the details about the IAutomationObject, and also lists its known implementing classes: ComboBox http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/controls/ComboBox.html, Container http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/core/Container.html, ListBase http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/controls/listClasses/ListBase.html, Loader http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/controls/Loader.html, MenuBar http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/controls/MenuBar.html, PopUpButton http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/controls/PopUpButton.html, Repeater http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/core/Repeater.html, UIComponent http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/core/UIComponent.html, UITextField http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/core/UITextField.html Take a stroll through the Docs and see where various existing classes use these Interfaces. Regards, Graham Weldon e. [EMAIL PROTECTED] w. http://graham.weldon.ath.cx [EMAIL PROTECTED] wrote: IAutomationIdHelper IAutomationMouseSimulator IAutomationObject IAutomationObjectContainer IInteractionReplayer Anyone know how these are used? Any examples out there? --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- 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:
[flexcoders] Re: FlexBuilder bug: unwanted, incorrect code completion
To make it a little more clear, I was converting this:onlineUsersPanel.users = new ArrayCollection( [ 'tom','suzy','megan','troy' ]); Into this:onlineUsersPanel.users = new ArrayCollection( [ {label:'tom'}, {label:'suzy'}, {label:'megan'}, {label:'troy'} ]); But Flexbuilder kept adding + where I didn't want it.-TomOn 5/22/06, Tom Bray [EMAIL PROTECTED] wrote:Check out his snippet:onlineUsersPanel.users = new ArrayCollection( [ {label:'tom'}, {label:'suzy'}, + 'megan','troy']); Notice how there's a double quote, a plus sign, a new line, and another double quote on the next line. I was in the process of converting each of the strings in the array into anonymous objects and putting them on their own lines so I could add attributes cleanly. Flexbuilder inserts the quotes and plusses for me when I create the line breaks, which is incorrect (and really annoying). I looked around for a way to turn this off in the preferences, but it doesn't appear to be an option. -Tom -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] FlexBuilder bug: unwanted, incorrect code completion
Hi Tom, The option is turned off by going to: Window Preferences Flex Editors Actionscript Editor and turn off the Wrap string automatically option. Regards, Graham Weldon w. http://graham.weldon.ath.cx Tom Bray wrote: Check out his snippet: onlineUsersPanel.users = new ArrayCollection( [ {label:'tom'}, {label:'suzy'}, + 'megan','troy']); Notice how there's a double quote, a plus sign, a new line, and another double quote on the next line. I was in the process of converting each of the strings in the array into anonymous objects and putting them on their own lines so I could add attributes cleanly. Flexbuilder inserts the quotes and plusses for me when I create the line breaks, which is incorrect (and really annoying). I looked around for a way to turn this off in the preferences, but it doesn't appear to be an option. -Tom -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: TabNavigator Accordion crashing when on another state
Josh, I had the same trouble and had also posted on here about it looking for answer. I was able to get a reply from an Adobe person via the Adobe/Macromedia forums - set the historyManagementEnabled attribute = false for the tab, accordion, etc. This is a bug with the current beta version but this setting provides a work around (bug information was submitted by the person who responded to me) good luck Ethan --- In flexcoders@yahoogroups.com, Josh Buhler [EMAIL PROTECTED] wrote: Yeah, I tried that, but it didn't make a difference. The weird thing was that the error only happened when running the swf within an HTML page. If I ran the swf by itself, either in the browser or stand- alone player, it worked fine. - Josh On May 22, 2006, at 11:47 AM, Tim Hoff wrote: Are you sure that setting creationPolicy=all on the Accordion's container doesn't remove the null error? -TH --- In flexcoders@yahoogroups.com, Josh Buhler flexcoder@ wrote: Just wondering if anyone here has found a workaround to the issue that's described in this thread from the labs forums: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm? catid=584threadid=1153391enterthread=y Essentially, if I create an app with two states, and place an Accordion or TabNavigator on the second state, when I try to activate a new tab or view one of the other panes in the Accordion, the Debug player will throw the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.managers::HistoryManager$/save() at mx.containers::ViewStack/::hideEffectEndHandler() at mx.containers::ViewStack/::commitSelectedIndex() at mx.containers::ViewStack/mx.containers:ViewStack::commitProperties () at mx.containers::TabNavigator/ mx.containers:TabNavigator::commitProperties() at mx.core::UIComponent/validateProperties() at mx.managers::LayoutManager/::validateProperties() at mx.managers::LayoutManager/::doPhasedInstantiation() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: set node selected on a tree
I have not done this in 2.0 yet, but in 1.5 you want to set selectedNode, not selectedItem. Also in 1.5, you have to get a reference to the node somehow. Usually I traverse(recursively, or using the index) the tree and compare the node values to whatever I need to find. If the tree was fairly static, I would build an asociative array of node references to simplify random access. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jesús Iglesias Sent: Monday, May 22, 2006 6:25 PM To: flexcoders@yahoogroups.com Subject: Fw: [flexcoders] Re: set node selected on a tree Please, I had no response to this. On Flex2b3. I have a tree with an object as dataProvider. In response a some events of my aplication I need to select one node from the tree. The problem is I don't know how to do it. I tried treExplorer.selectedItem=treExplorer.getChildAt(i); but it does nothin. Even more, how would I select a child node? and a child of a child node? Thanks. -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] FlexBuilder bug: unwanted, incorrect code completion
Nice! Thanks, Graham.On 5/22/06, Graham Weldon [EMAIL PROTECTED] wrote: Hi Tom, The option is turned off by going to: Window Preferences Flex Editors Actionscript Editor and turn off the Wrap string automatically option. Regards, Graham Weldon w. http://graham.weldon.ath.cx Tom Bray wrote: Check out his snippet: onlineUsersPanel.users = new ArrayCollection( [ {label:'tom'}, {label:'suzy'}, + 'megan','troy']); Notice how there's a double quote, a plus sign, a new line, and another double quote on the next line. I was in the process of converting each of the strings in the array into anonymous objects and putting them on their own lines so I could add attributes cleanly. Flexbuilder inserts the quotes and plusses for me when I create the line breaks, which is incorrect (and really annoying). I looked around for a way to turn this off in the preferences, but it doesn't appear to be an option. -Tom -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]?subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: TabNavigator Accordion crashing when on another state
Ethan - Thanks for the info - I just found the updated thread on labs, and got your message a few minutes later. I added the historyManagementEnabled = false, and it worked great.Hopefully this one will get fixed soon, as it's something I could see happening fairly often if not fixed.- JoshOn May 22, 2006, at 4:39 PM, ekokurtz wrote: Josh, I had the same trouble and had also posted on here about it looking for answer. I was able to get a reply from an Adobe person via the Adobe/Macromedia forums - set the historyManagementEnabled attribute = false for the tab, accordion, etc. This is a bug with the current beta version but this setting provides a work around (bug information was submitted by the person who responded to me) good luck Ethan --- In flexcoders@yahoogroups.com, Josh Buhler [EMAIL PROTECTED] wrote: Yeah, I tried that, but it didn't make a difference. The weird thing was that the error only happened when running the swf within an HTML page. If I ran the swf by itself, either in the browser or stand- alone player, it worked fine.- Josh On May 22, 2006, at 11:47 AM, Tim Hoff wrote: Are you sure that setting creationPolicy="all" on the Accordion's container doesn't remove the null error? -TH --- In flexcoders@yahoogroups.com, Josh Buhler flexcoder@ wrote: Just wondering if anyone here has found a workaround to the issuethat's described in this thread from the labs forums: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=584threadid=1153391enterthread=y Essentially, if I create an app with two states, and place anAccordion or TabNavigator on the second state, when I try to activatea new tab or view one of the other panes in the Accordion, the Debugplayer will throw the following error: TypeError: Error #1009: Cannot access a property or method of a nullobject reference.at mx.managers::HistoryManager$/save()at mx.containers::ViewStack/::hideEffectEndHandler()at mx.containers::ViewStack/::commitSelectedIndex()at mx.containers::ViewStack/mx.containers:ViewStack::commitProperties ()at mx.containers::TabNavigator/mx.containers:TabNavigator::commitProperties()at mx.core::UIComponent/validateProperties()at mx.managers::LayoutManager/::validateProperties()at mx.managers::LayoutManager/::doPhasedInstantiation()at mx.core::UIComponent/::callLaterDispatcher2()at mx.core::UIComponent/::callLaterDispatcher()-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] 1.5 migration: How are you handling the loss of undefined and null states for vars?
Title: 1.5 migration: How are you handling the loss of undefined and null states for vars? This has definitely become my biggest issue. I have been depending on checking for uninitialized variables containing undefined or null, but in 2.o this is no longer possible. I can see coming up with some values that are very unlikely to be duplicated as initial values for string and numbers, but boolean variables are a bigger problem. I guess will have to create a flag variable for each boolean and set its value when the main variable is first modified, then check it to determine the intialize status when needed. Does anyone have any clever approaches to this? Tracy -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: 1.5 migration: How are you handling the loss of undefined and null states for vars?
Objects still support undefined and null. Can you think of a way to bind objects to your boolean variables (like an associative array hashmap)? -TH --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: This has definitely become my biggest issue. I have been depending on checking for uninitialized variables containing undefined or null, but in 2.o this is no longer possible. I can see coming up with some values that are very unlikely to be duplicated as initial values for string and numbers, but boolean variables are a bigger problem. I guess will have to create a flag variable for each boolean and set its value when the main variable is first modified, then check it to determine the intialize status when needed. Does anyone have any clever approaches to this? Tracy -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Calling all 1.5 Skinning experts
Alright, got a stumper...least for me. Most basic graphical skinning with the Flash exporting of swc involves the base assets - datagrid, combobox, button, etc. Right, so checking out the base ComboBox assets - there's only skinning for the base control (the dropdown arrow control on the right) but I need to alter the actual textInput section (aka text_mc in code). But then looking through all the assetsthere's no text field assets. So how do I alter the base text movieclip of the comboBox? As of livedocs (http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentationfile=0581.htm): The following table lists Flex controls and their master skin symbols. In addition, it specifies the programmatic skin files, if any, that you edit to reskin this symbol. All the components listed in this table can be graphically reskinned using the Pulse theme files described in Skinning resources. TextInput or any variation isn't listed. The closest idea I've come to this is the follow: http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=2857.html The idea is to customize the RectBorder class with your extensionbut I'm not even sure this is possible in Flex. Now all that aside, when you set a ComboBox's property of editable=true it uses the text input instead of the normal skin. Is there a way to get that look *without* changing the editable property? I'm going to be digging away at this but anyone that has delved into this please help out :) Really wish flex 1.5 had the framework classes like flex 2 does -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: set node selected on a tree
I hacked a example from the docs. Looks like it works. ?xml version=1.0 encoding=utf-8? !-- Tree control example. -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml mx:Script ![CDATA[ import mx.controls.List; import mx.collections.ICollectionView; import mx.collections.*; import mx.controls.treeClasses.*; [Bindable] public var selectedNode:Object; [Bindable] public var XLC:XML; // Event handler for the Tree control change event. public function initApp(){ var xm:ITreeDataDescriptor=myTree.dataDescriptor; var xml:XMLListCollection=new XMLListCollection(treeData); myTree.expandItem(treeData.node[0],true,false); var item=treeData.node.node[0]; myTree.selectedItem=item; } public function treeChanged(event:Event) : void { selectedNode=Tree(event.target).selectedItem; } ]] /mx:Script mx:XMLList id=treeData node node label=Mail Box node label=Inbox node label=Marketing/ node label=Product Management/ node label=Personal/ /node node label=Outbox node label=Professional/ node label=Personal/ /node node label=Spam/ node label=Sent/ /node /node /mx:XMLList mx:Panel title=Tree Control Example height=75% width=75% paddingTop=10 paddingLeft=10 paddingRight=10 paddingBottom=10 mx:Label text=Select a node in the Tree control./ mx:HDividedBox width=100% height=100% mx:Tree id=myTree width=50% height=100% labelField=@label showRoot=false dataProvider={new XMLListCollection(treeData)} change=treeChanged(event) creationComplete=initApp()/ mx:TextArea height=100% width=50% text=Selected Item: [EMAIL PROTECTED]/ /mx:HDividedBox /mx:Panel /mx:Application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] 1.5 migration: How are you handling the loss of undefined and null states for vars?
Title: 1.5 migration: How are you handling the loss of undefined and null states for vars? Either create a flag variable for each Boolean property, or use type Object or * rather than Boolean for your true-false-or-unknown properties. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Monday, May 22, 2006 4:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] 1.5 migration: How are you handling the loss of undefined and null states for vars? This has definitely become my biggest issue. I have been depending on checking for uninitialized variables containing undefined or null, but in 2.o this is no longer possible. I can see coming up with some values that are very unlikely to be duplicated as initial values for string and numbers, but boolean variables are a bigger problem. I guess will have to create a flag variable for each boolean and set its value when the main variable is first modified, then check it to determine the intialize status when needed. Does anyone have any clever approaches to this? Tracy -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex 2b3 webservice returned error message --- usability issue?
Yesterday, I developed a simple web app using cairngorm. I made a simple mistake when trying to use a coldfusion cfc through webservice. It seemed like if you serve a cf function as a webservice, all the variables declared with cfargument are requied, doesn't matter if you use requied="yes" or not.I forgot about this. and instead used webservice tag to call the function without passing any paramters. The followings are the exceptions printed out by flex:TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.dgtech.business::Services/__materialDelegate_fault() at flash.events::EventDispatcher/dispatchEvent() at mx.rpc::AbstractService/dispatchEvent() at mx.rpc.soap.mxml::WebService/dispatchEvent() at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent() at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokePendingCall() at mx.rpc.soap::Operation/send() at mx.rpc.soap.mxml::Operation/send() at mx.rpc::AbstractService/http://www.adobe.com/2006/actionscript/flash/proxy::callProperty() at com.dgtech.business::LoadMaterialDelegate/getMaterials() at com.dgtech.commands::GetMaterialsCommand/execute() at org.nevis.cairngorm.control::FrontController/::executeCommand() at flash.events::EventDispatcher/dispatchEvent() at com.dgtech.view::applicationMain/loadMaterial() at com.dgtech.view::applicationMain/___Button2_click() From the error message, there is no way you can tell that the error is because of the missing parameter. It took me a long time to figure it out eventually. Initially I thought it was something wrong with the way that I setup my event.call.resultHandler function.So I was just wondering if it's possible for flex to give some more useful/meaningful error messages for the errors related to rpc calls.Thanks,Larry -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: 1.5 migration: How are you handling the loss of undefined and null states for vars?
Objects still support undefined and null No; type Object can store null but not undefined. Only an untyped var (indicated by foo:*) can store undefined. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Monday, May 22, 2006 4:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: 1.5 migration: How are you handling the loss of undefined and null states for vars? Objects still support undefined and null. Can you think of a way to bind objects to your boolean variables (like an associative array hashmap)? -TH --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: This has definitely become my biggest issue. I have been depending on checking for uninitialized variables containing undefined or null, but in 2.o this is no longer possible. I can see coming up with some values that are very unlikely to be duplicated as initial values for string and numbers, but boolean variables are a bigger problem. I guess will have to create a flag variable for each boolean and set its value when the main variable is first modified, then check it to determine the intialize status when needed. Does anyone have any clever approaches to this? Tracy -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] PopupManager breaks ComboBox
Hi I am experiencing some problems with ComboBoxes within Forms that have been loaded by PopupManager I have a custom form that contains a ComboBox. When this form is loaded statically in MXML, there are no problems. However, if I use PopupManager to load the form (modal or non-modal), The ComboBox within the form will close as soon as it's opened. i.e. When it is clicked on, the box will drop down and pop straight back up. If I press the mouse on the ComboBox but do not release, I can get it to stay open, but it disappears when I release the mouse. The form is loaded like this: var pForm:IFlexDisplayObject = PopUpManager.createPopUp(parent,formClass,modal); and within the form, the combobox is declared normally like: mx:ComboBox width=200 id=cb_sites labelField=site_name / the dataProvider for the comboBox is loaded at runtime but I get the same problem even if I hard-code the datasource -Alex -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] DataGrid cell edit and Row color problem
Dear all, i have need to change the row color after the one of the cell have been edit. people says that it can use dg.setPropertiesAt(2, {backgroundColor:0xFF}); i find it work ^_^, but i have also add other properties by 1) dg.setPropertiesAt(2, {backgroundColor:0xFF,color:0xFF}); 2) dg.setPropertiesAt(2, {backgroundColor:0xFF}); dg.setPropertiesAt(2, {color:0xFF}); 3) updated_style.backgroundColor = 0xFF; updated_style.color= 0xFF; updated_style.fontStyle = italic; dg.setPropertiesAt(2,updated_style); only the backgroundColor change , is that any method? thx capho -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Tree inside of Datagrid
Hi Everyone, Wondering if anyone has been able to put a tree control inside of a datagrid control. I'm working with Beta3. Any ideas on this is greatly appreciated. Cheers, Tim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: 1.5 migration: How are you handling the loss of undefined and null states for vars?
Thanks Gordon. I was wondering if that had changed from an older sample I had seen. Ahh, Special Types. Good to know. -TH--- In flexcoders@yahoogroups.com, "Gordon Smith" [EMAIL PROTECTED] wrote: Objects still support undefined and null No; type Object can store null but not undefined. Only an untyped var (indicated by foo:*) can store undefined. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Monday, May 22, 2006 4:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: 1.5 migration: How are you handling the loss of undefined and null states for vars? Objects still support undefined and null. Can you think of a way to bind objects to your boolean variables (like an associative array hashmap)? -TH --- In flexcoders@yahoogroups.com, "Tracy Spratt" tspratt@ wrote: This has definitely become my biggest issue. I have been depending on checking for uninitialized variables containing undefined or null, but in 2.o this is no longer possible.I can see coming up with some values that are very unlikely to be duplicated as initial values for string and numbers, but boolean variables are a bigger problem.I guess will have to create a flag variable for each boolean and set its value when the main variable is first modified, then check it to determine the intialize status when needed.Does anyone have any clever approaches to this?Tracy -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] CF, Flexmessaging and FDS2: Unknown destination 'ColdFusionGateway'
I'm trying to get Ben Forta's CF/FDS2/gateway example going http://www.forta.com/blog/index.cfm/2006/2/1/Getting-Started-With-ColdFusion-And-Flex-Enterprise-Services and keep hitting Unknown destination 'ColdFusionGateway' this means that FDS2 can't find ColdFusion's gateway, yes? - FDS2 (localhost:8700) can't talk to CF (installed on IIS). The FlexMessaging gateway verifies in the CF admin. I *did* install FDS2 after installing the CF connectivity (mystic upgrade), though... I'm also calling the mxml file so it compiles on the server (not in a FB project) I was really hoping Simon's answer was it...but no... http://www.mail-archive.com/flexcoders@yahoogroups.com/msg24916.html. any suggestions on things to try? below is more of the error and a copy of my flex-message-service.xml at C:\fds2\jrun4\servers\default\samples\WEB-INF\flex thanx barry.b [MessagingError message=Unknown destination 'ColdFusionGateway'.] at mx.messaging.config::ServerConfig$/getChannelSet() at mx.messaging::MessageAgent/mx.messaging:MessageAgent::initChannelSet() at mx.messaging::MessageAgent/mx.messaging:MessageAgent::internalSend() at mx.messaging::Consumer/subscribe() at Flex2CF/initApp() ?xml version=1.0 encoding=UTF-8? service id=message-service class=flex.messaging.services.MessageService messageTypes=flex.messaging.messages.AsyncMessage adapters adapter-definition id=actionscript ... / adapter-definition id=jms ... / adapter-definition id=cfgateway class=coldfusion.flex.CFEventGatewayAdapter/ /adapters destination id=ColdFusionGateway adapter ref=cfgateway / properties gatewayid*/gatewayid gatewayhostmy.IP.adderss.NFP/gatewayhost allowedIPsmy.IP.adderss.NFP/allowedIPs /properties channels channel ref=my-rtmp/ channel ref=my-polling-amf/ /channels /destination /service -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Tree inside of Datagrid
have you tried making a custom listRenderer and have that be a component that extends hbox and put the tree in that? Hi Everyone, Wondering if anyone has been able to put a tree control inside of a datagrid control.nbsp; I'm working with Beta3. Any ideas on this is greatly appreciated. Cheers, Tim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS nbsp;Visit your group flexcoders on the web.nbsp; nbsp;To unsubscribe from this group, send an email to:nbsp;[EMAIL PROTECTED]nbsp; nbsp;Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] [BETA3] I am still having a problem.
var foo:XMLList = capitalColl.children ();foo.appendChild(new XML ( "capital label='ME' value='Augusta'/")); I tried to execute it. I can see that it show me follow message. --- TypeError: Error #1086: The appendChild method only works on lists containing one item. --- Have you Any idea other? Thank you, Bryan. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] DataGrid cell edit and Row color problem
I assume you are not using Flex 2 as I am pretty sure setPropertiesAt is no longer supported. But even in 1.5, setPropertiesAt can only be used to set a very small amount of styles/properties. Color I know is not one of them. You can set backgroundColor, icon and maybe one or two others. Otherwise, probably best to use a customer cellRenderer that contains a method which updates that cell's styles on edit, etc.. Hope that helps. Karl Karl Johnson Cynergys Systems, Inc. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sinacapho Sent: Monday, May 22, 2006 9:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid cell edit and Row color problem Dear all, i have need to change the row color after the one of the cell have been edit. people says that it can use dg.setPropertiesAt(2, {backgroundColor:0xFF}); i find it work ^_^, but i have also add other properties by 1) dg.setPropertiesAt(2, {backgroundColor:0xFF,color:0xFF}); 2) dg.setPropertiesAt(2, {backgroundColor:0xFF}); dg.setPropertiesAt(2, {color:0xFF}); 3) updated_style.backgroundColor = 0xFF; updated_style.color= 0xFF; updated_style.fontStyle = italic; dg.setPropertiesAt(2,updated_style); only the backgroundColor change , is that any method? thx capho Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~- -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Including External Files
how about this ? (adding a slash) mx:Script source=/Assets/Models/touchPlans.as/ On 5/23/06, Ethan Miller [EMAIL PROTECTED] wrote: Greetings -Per the Flex documentation, I'm trying to include an external ASfile, as follows:mx:Script source=Assets/Models/touchPlans.as/The file touchPlans.as exists in the specified location, however when compiling, I get this error:Unable to open included file:C:\Proto\Assets\Components\Assets\Models\touchPlans.as.Here's the AS file in question:// ActionScript file[Bindable] public var touchPlanDP:Array = [{Thumb:'Assets/Images/cardPlan.png',Name:'Welcome Card'},{Thumb:'Assets/Images/eCardPlan.png',Name:'E-Card'},{Thumb:'Assets/Images/multiCardPlan.png', Name:'Multi-Card'},];I've also tried to using Models as a straight XML file as the sourceand received a Model Can't be Used for Array Collection error.Basically, I'm just trying to get all of my data providers, etc out of my mxml (while the services are being written) and with littleluck so far. Is there a way to make a dataProvider be a customcomponent?cheers, ethan Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free.http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM~- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * 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 Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] DataGrid cell edit and Row color problem
I think you need to have your renderer implement one of the interfaces like mx.controls.listClasses.IDropInListItemRenderer but not 100 percent sure. it might give you somewhere to look.. I assume you are not using Flex 2 as I am pretty sure setPropertiesAt is no longer supported. But even in 1.5, setPropertiesAt can only be used to set a very small amount of styles/properties. Color I know is not one of them. You can set backgroundColor, icon and maybe one or two others. Otherwise, probably best to use a customer cellRenderer that contains a method which updates that cell's styles on edit, etc.. Hope that helps. Karl Karl Johnson Cynergys Systems, Inc. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sinacapho Sent: Monday, May 22, 2006 9:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid cell edit and Row color problem Dear all, nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; i have need to change the row color after the one of the cell have been edit. people says that it can use nbsp;nbsp;nbsp;nbsp; dg.setPropertiesAt(2, {backgroundColor:0xFF}); nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; i find it work ^_^, but i have also add other properties by 1) dg.setPropertiesAt(2, {backgroundColor:0xFF,color:0xFF}); 2) dg.setPropertiesAt(2, {backgroundColor:0xFF}); nbsp;nbsp; dg.setPropertiesAt(2, {color:0xFF}); 3) updated_style.backgroundColor = quot;0xFFquot;; nbsp;nbsp; updated_style.color nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp;nbsp;nbsp;nbsp; = quot;0xFFquot;; nbsp;nbsp; updated_style.fontStyle nbsp;nbsp;nbsp;nbsp;nbsp; = quot;italicquot;; nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp; dg.setPropertiesAt(2,updated_style); only the backgroundColor change , is that any method? thx capho Yahoo! Groups Sponsor ~--gt; Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~-gt; -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS nbsp;Visit your group flexcoders on the web.nbsp; nbsp;To unsubscribe from this group, send an email to:nbsp;[EMAIL PROTECTED]nbsp; nbsp;Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] FlexSession sample code? Documentation?
Hi, I wanted to off the right click option while it creates a swf file in the browser. Nothing get displayed on the right click. e.g. Macromedia Flash Player 8.0, I don't want anything. Can anyone put any light on this? Regards, Avik Chakrabarty On Thu, May 11, 2006 at 11:31 AM, Tom Bray wrote: Any scraps of information about FlexSession you can throw us would be greatly appreciated. Even just a high level overview or hello_world-esque snippet would be nice. Thanks, Tom Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM ~- -- 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, Avik Chakrabarty India -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] [BETA3] I am still having a problem.
Hi, As you can see below, I solved the problem. private function addChildAtTree ():void{var foo:XMLList = capitalColl.children ();var foo_0 :XMLList = foo[0].children();var fooColl :XMLListCollection = new XMLListCollection ( foo_0 );fooColl.addItem ( new XML ( "capital label='ME' value='Augusta'/" ) );Tree2.invalidateList();} But I wanna know if you have any idea other. Let me know it. Thank you, Bryan. - Original Message - From: Bryan Choi To: flexcoders Sent: Tuesday, May 23, 2006 12:02 PM Subject: [flexcoders] [BETA3] I am still having a problem. var foo:XMLList = capitalColl.children ();foo.appendChild(new XML ( "capital label='ME' value='Augusta'/")); I tried to execute it. I can see that it show me follow message. --- TypeError: Error #1086: The appendChild method only works on lists containing one item. --- Have you Any idea other? Thank you, Bryan. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] [BETA3] I am still having a problem.
Use the dataDescriptor for the tree- here is an example from some base code i posted earlier about selecting a tree node item - but the jist of it is : var xm:ITreeDataDescriptor=myTree.dataDescriptor; xm.addChildAt(treeData.node.node[0], node label='BitchWhoCodes'/,0); FULL CODE FOLLOWS :) ,,--- ?xml version=1.0 encoding=utf-8? !-- Tree control example. -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml mx:Script ![CDATA[ import mx.controls.List; import mx.collections.ICollectionView; import mx.collections.*; import mx.controls.treeClasses.*; [Bindable] public var selectedNode:Object; [Bindable] public var XLC:XML; // Event handler for the Tree control change event. public function initApp(){ var xm:ITreeDataDescriptor=myTree.dataDescriptor; var xml:XMLListCollection=new XMLListCollection(treeData); myTree.expandItem(treeData.node[0],true,false); myTree.expandItem(treeData.node.node[0],true,false); xm.addChildAt(treeData.node.node[0], node label='BitchWhoCodes'/,0); var item=treeData.node.node[0]; myTree.selectedItem=item; } public function treeChanged(event:Event) : void { selectedNode=Tree(event.target).selectedItem; } ]] /mx:Script mx:XMLList id=treeData node node label=Mail Box node label=Inbox node label=Marketing/ node label=Product Management/ node label=Personal/ /node node label=Outbox node label=Professional/ node label=Personal/ /node node label=Spam/ node label=Sent/ /node /node /mx:XMLList mx:Panel title=Tree Control Example height=75% width=75% paddingTop=10 paddingLeft=10 paddingRight=10 paddingBottom=10 mx:Label text=Select a node in the Tree control./ mx:HDividedBox width=100% height=100% mx:Tree id=myTree width=50% height=100% labelField=@label showRoot=false dataProvider={new XMLListCollection(treeData)} change=treeChanged(event) creationComplete=initApp()/ mx:TextArea height=100% width=50% text=Selected Item: [EMAIL PROTECTED]/ /mx:HDividedBox /mx:Panel /mx:Application Hi, As you can see below, I solved the problem. private function addChildAtTree ():void { var foo:XMLList = capitalColl.children (); var foo_0 :XMLList = foo[0].children(); var fooColl :XMLListCollection = new XMLListCollection ( foo_0 ); fooColl.addItem ( new XML ( capital label='ME' value='Augusta'/ ) ); Tree2.invalidateList(); } But I wanna know if you have any idea other. Let me know it. Thank you, Bryan. - Original Message - From: Bryan Choi To: flexcoders Sent: Tuesday, May 23, 2006 12:02 PM Subject: [flexcoders] [BETA3] I am still having a problem. var foo:XMLList = capitalColl.children (); foo.appendChild(new XML ( capital label='ME' value='Augusta'/)); I tried to execute it. I can see that it show me follow message. --- TypeError: Error #1086: The appendChild method only works on lists containing one item. --- Have you Any idea other? Thank you, Bryan. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2B3 Accordion creationPolicy=all
The help docs recommend the following code to instantiate all controls for every panel in the accordion container when the application starts:?xml version="1.0"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" mx:Accordion id="myAccordion" creationPolicy="all" ... /mx:Accordion .../mx:ApplicationIn this sample: http://www.iepl.net/cairngorm2viewStates.html, there is an accordion container (Application View State 1 at 800X600) with the following code: ?xml version="1.0" encoding="utf-8"?mx:Accordion xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" creationPolicy="all" xmlns:content="code.view.content.*" content:Content1 label="Content 1"/ content:Content2 label="Content 2"/ content:Content3 label="Content 3"/ content:Content4 label="Content 4"//mx:AccordionThe content components are just colored VBox's:?xml version="1.0" encoding="utf-8"?mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" horizontalAlign="center" verticalAlign="middle" width="100%" height="100%" creationPolicy="all" styleName="content2" mx:Text text="Content 2" width="100%" styleName="contentText"//mx:VBoxThe first time that the accordionpanels are selected, you can physically see that the components are being created. After that, there isn't a delay or flicker. Is this the way that is supposed to be used to make sure that the children are created before they are displayed?Thanks,Tim Hoff -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.