[flexcoders] Error #1009: null has no properties.
Hi, I am working with view states. Here, i am getting problem when i moved to next state by clicking a button. the moment i click the button, that takes me to new state and there i have accordian component. here, when i want to brose through the accordian it is showing error as follows:TypeError: Error #1009: null has no properties.at mx.managers::HistoryManager$/save()at mx.containers::Accordion/::commitSelectedIndex()at mx.containers::Accordion/mx.containers:Accordion::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()Thanks Regards,Sreedhar Yahoo! India Answers: Share what you know. Learn something new. Click here Send instant messages to your online friends - 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.
[flexcoders] Help with renderer in DataGrid
I am struggling with trying to figure out the best way to implement a renderer that would conditionally display iconic buttons in a DataGrid column if the Row has been selected. Also, when variableRowHeight is set to true how does one make sure that text is vertically centered in the rows whose height has increased due to the custom renderer? -- 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] Error #1009: null has no properties.
Hi, If you are using mx:AdChild on the Accordion, try setting the property of the AddChild tag's creationPolicy to 'all'. This way all the children are created and you shouldn't get this error, I had same issues with the TabNavigator. Any other options, well I don't know about yet ;-) The null has no properties just means that the instance that Flex expected to go to is not created yet. Peace, MikeOn 5/8/06, sreedhar reddy [EMAIL PROTECTED] wrote: Hi, I am working with view states. Here, i am getting problem when i moved to next state by clicking a button. the moment i click the button, that takes me to new state and there i have accordian component. here, when i want to brose through the accordian it is showing error as follows:TypeError: Error #1009: null has no properties.at mx.managers::HistoryManager$/save()at mx.containers::Accordion/::commitSelectedIndex()at mx.containers::Accordion/mx.containers:Accordion::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()Thanks Regards,Sreedhar Yahoo! India Answers: Share what you know. Learn something new. Click here Send instant messages to your online friends - 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. -- What goes up, does come down. -- 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] Weird behavior with Flex 1.5 and ISAPI Filter
Tom, I dont get any _javascript_ error and I get the generated code is the one expected. I tested with FF and IE, with Flash Player 8 and 8.5 and nothing works. For 1 ½ year everything worked fine with this configuration and now I cant have it working. I even copied a working instance of my server from the production server with no luck. João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: segunda-feira, 8 de Maio de 2006 12:57 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Weird behavior with Flex 1.5 and ISAPI Filter If I use http://mydevbox/myflexapp.mxml http://mydevbox:%7bmyflexcontainerPort%7d/myflexapp.mxml (IIS with ISAPI Filter) it shows movie not loaded. Do you get a _javascript_ error or anything ? If you look at the HTML source of the page, is it trying to load from somewhere that isn't mapped or something... Just shooting in the dark. 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 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] Calendar pop-up window out of the bound
I ran into this problem (along with PopUpMenuButton and several other comonents), digging into it now, guess I will have to override showSubMenu() or similar method to get the pop-up back in bound.will report back if I found the solution. On 5/8/06, dodenoros [EMAIL PROTECTED] wrote: HiDateField component is used in application for display and choose thedate. Pressing on browse date button the calendar pops up. But thecalendar is out of bounds of flex window, so half of it is not visible. What is the parameter that enables to locate the calendar in specificplace (note that the DateFiled is used and not the separate window).ThanksDavid Yahoo! Groups Sponsor ~-- Home is just a click away. Make Yahoo! your home page now.http://us.click.yahoo.com/DHchtC/3FxNAA/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] Calendar pop-up window out of the bound
Hi David,Looks like a bug. Where exactly is the DateField placed, when it goes out of the bounds. Could you share the code/log a bug for this.Thanks,Anant.On 5/8/06, dodenoros [EMAIL PROTECTED] wrote: HiDateField component is used in application for display and choose thedate. Pressing on browse date button the calendar pops up. But thecalendar is out of bounds of flex window, so half of it is not visible. What is the parameter that enables to locate the calendar in specificplace (note that the DateFiled is used and not the separate window).ThanksDavid Yahoo! Groups Sponsor ~-- Home is just a click away. Make Yahoo! your home page now.http://us.click.yahoo.com/DHchtC/3FxNAA/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] Flex 2 - i18n
http://livedocs.macromedia.com/labs/1/flex20beta2/1159.html -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Devis Sent: Monday, May 08, 2006 5:30 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 2 - i18n HI, we are develop a beta PDM program with Flex 2, into a J2EE architecture. I wish to use I18n for message and UI Label component client side, i have read that flex 2 support i18n but i have not found documentation about this, can you help me. Devis - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, May 08, 2006 1:55 PM Subject: Re: [flexcoders] Flex 2 - i18n On Mon, May 8, 2006 at 12:21 PM, in message [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: hi, sorry for this post again... but can you give me some docs or examples please Of what ? i18n is a big subject - what are you trying to do ? 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 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 -- 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] Installing Flex 2 beta 2 with flash remoting against multi-home ColdFusion.
Can anybody point me to documentation or explanation of just what one needs to put into the endpoint uri parameter in the flex-enterprise-services.xml file? I think I am close to getting the phones example running. I can get the Flex frame work to run, I can see the container in the browser. But, the ColdFusion connector does not seem to be working. I get the following error. Error: faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed' at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler() at flash.events::EventDispatcher/dispatchEvent() at mx.messaging::MessageAgent/fault() at mx.messaging::Producer/fault() at mx.messaging::ChannelSet/::faultPendingSends() at mx.messaging::ChannelSet/handleChannelFault() at flash.events::EventDispatcher/dispatchEvent() at mx.messaging::Channel/mx.messaging:Channel::connectFailed() at mx.messaging.channels::NetConnectionChannel/mx.messaging.channels:NetConnectionChannel::connectFailed() at mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler() Seeing the messages about the AMFChannel apparently failing, I presume the problem is that I do not have the correct parameter in the flex-enterprise-services.xml file. My system: Win 2000 server. IIS 5 ColdFusion MX 7.01 Multi-server configuration. I have a website named ian-flex defined in IIS pointed to the directory C:\websites\flex. My hosts file is configured to return this directory for the host header of http://ian-flex. The Phones application is installed into this directory. The website is configured to run under the CF instance of Playground. I have tried many combinations of values for the URI parameter for this line in the C:\JRun4\servers\playground\cfusion.ear\cfusion.war\WEB-INF\flex\flex-enterprise-services.xml file. endpoint uri=http//ian-flex{context.root}/flex2gateway/ class=flex.messaging.endpoints.AMFEndpoint/ TIA -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. -- 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. ---BeginMessage--- I am trying to install the new Flex 2 Beta 2 application in order to test it out and see what I can do with combining it with Cold Fusion. To get started, I am trying to get the phones example up and running. My system: Windows Server 2000. CFMX 7 Enterprise in Multi-home configuration. (Mystic Beta 2 installed, I believe) Flex 2 Builder Beta 2 installed. I have created an IIS virtual website on my workstation server named Flex with its home directory of C:\WebSites\Flex. I connected this website to a ColdFusion instance called Playground. I have confirmed that the website is properly running HTML and CFML. I then installed the phones example code into the Flex home directory and tested the ColdFusion part. Thus I have the following directories. C:\WebSites\Flex\Phones\CF C:\WebSites\Flex\Phones\Flex All this seemed to go find and dandy. But when I open Flex Builder and try to define the phones project I run into trouble. I select File - New - Flex Project. I select the ColdFusion Flash Remoting Service option and Next. I then get the following error. Server root is invalid. Could not locate flex-config.xml or flex-enterprise-services.xml. I am not sure what I am supposed to do here. I have many copies of both of these files. I have tried C:\JRun4\servers\playground\cfusion.ear\cfusion.war\WEB-INF\flex which I know contains a flex-enterprise-services.xml file. And C:\JRun4\servers\playground\cfusion.ear\cfusion.war\WEB-INF\cfform which I know contains a flex-config.xml file.
[flexcoders] Re: WebService Trouble PRT 2
http://www.mail-archive.com/flexcoders@yahoogroups.com/ --- In flexcoders@yahoogroups.com, Faisal Abid [EMAIL PROTECTED] wrote: Sorry for posting agan , i lost the previous emails due to a thunderbird crash an im posting this again *Okay look this is my code so far What am i doing wrong?? This is my hotjobs.as file* var hotjobs_service: String = ; function buildMyUrl(country:String,state:String,city:String,job:String) { hotjobs_service = http://hotjobs.yahoo.com/rss/0/ + country + / + state + / + city + /-/ + job + ; } *then in my xml file this is the code relating to that* !-- Action Script -- mx:Script source=Imports/Scripts/hotjobs.as /mx:Script !-- All Http Services -- mx:HTTPService id=hotjobs_service_call url="" useProxy=false /mx:HTTPService !-- End Of http Services -- *then on my button in one of the states* mx:SetEventHandler target={search} name=click mx:handlerbuildMyUrl(input_country.text,input_state.text,input_city.text,input_job.text);currentState='Jobs_Results';hotjobs_service_call.send()/mx:handler /mx:SetEventHandler _*After all this it gives me an error*_!! -- 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: Weird behavior with Flex 1.5 and ISAPI Filter
Just curious, but do you have the IE ActiveX hotfix applied? Sounds like something similar to what I saw with the hotfix applied, although I'm not using IIS. --- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: Hi there, I'm having this issue with my devbox, I use IIS 5 ISAPI Filter to map to my flex container. For 1 ½ year everything worked fine but now, no swf is displayed. If I have errors in my code, the compiler throws them but if no error is found I get movie not loaded and nothing displays on the log files. If I use http://mydevbox:{myflexcontainerPort}/myflexapp.mxml http://mydevbox:%7bmyflexcontainerPort%7d/myflexapp.mxml it renders with no problem. If I use http://mydevbox/myflexapp.mxml http://mydevbox:% 7bmyflexcontainerPort%7d/myflexapp.mxml (IIS with ISAPI Filter) it shows movie not loaded. I already reinstalled the box from scratch and nothing seems to work again, I'm running out of ideas. João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] mailto:[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] Re: Error #1009: null has no properties.
I doubt that this has anything to do with the view states. You probably have a field or binding in the accordion control that isn't being initialized or set to to a value before the control is shown. Just a thought. Tim Hoff --- In flexcoders@yahoogroups.com, sreedhar reddy [EMAIL PROTECTED] wrote: Hi, I am working with view states. Here, i am getting problem when i moved to next state by clicking a button. the moment i click the button, that takes me to new state and there i have accordian component. here, when i want to brose through the accordian it is showing error as follows: TypeError: Error #1009: null has no properties. at mx.managers::HistoryManager$/save() at mx.containers::Accordion/::commitSelectedIndex() at mx.containers::Accordion/mx.containers:Accordion::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() Thanks Regards, Sreedhar - Yahoo! India Answers: Share what you know. Learn something new. Click here Send instant messages to your online friends - 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] Re: Weird behavior with Flex 1.5 and ISAPI Filter
No I havent, Anyway its solved, there was missing a mapping for the connector. We found out because without those mappings it worked (dont ask me how). Anyway, thanks for helping, João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lowder Sent: segunda-feira, 8 de Maio de 2006 17:27 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Weird behavior with Flex 1.5 and ISAPI Filter Just curious, but do you have the IE ActiveX hotfix applied? Sounds like something similar to what I saw with the hotfix applied, although I'm not using IIS. --- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: Hi there, I'm having this issue with my devbox, I use IIS 5 ISAPI Filter to map to my flex container. For 1 ½ year everything worked fine but now, no swf is displayed. If I have errors in my code, the compiler throws them but if no error is found I get movie not loaded and nothing displays on the log files. If I use http://mydevbox:{myflexcontainerPort}/myflexapp.mxml http://mydevbox:%7bmyflexcontainerPort%7d/myflexapp.mxml it renders with no problem. If I use http://mydevbox/myflexapp.mxml http://mydevbox:% 7bmyflexcontainerPort%7d/myflexapp.mxml (IIS with ISAPI Filter) it shows movie not loaded. I already reinstalled the box from scratch and nothing seems to work again, I'm running out of ideas. João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] mailto:[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 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: Error thrown when opening a TitleWindow
Try commenting out the three PopUpManager calls and see what happens. The winBanco TitleWindow is defined as part of your application, but you are also instantiating it as a popup window. This is probably not what you want. If you want winBanco to be a draggable popup window, move the definition to a separate mxml file and reference the filename, minus the extension, in the PopUpManager calls. --- In flexcoders@yahoogroups.com, Misael [EMAIL PROTECTED] wrote: Can someone tell me why this code keeps throwing an error? It says: TypeError: Error #1009: null has no properties. at mx.containers.utilityClasses::CanvasLayout/measure() at mx.core::Application/mx.core:Application::measure() at mx.core::UIComponent/::measureSizes() at mx.core::UIComponent/validateSize() at mx.core::Container/validateSize() at mx.managers::LayoutManager/validateSize() at mx.managers::LayoutManager/::doPhasedInstantiation() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() In fact, it happens only on the first time i show the window, otherwise it works fine. I´m experiencing such errors in other places too, such as on another window with an accordeon, and many input field on its children, but like this problem above, when i try to set the value of those fields only those in the first container of the accordeon are writable. The rest, only if i close the window and open it again. How to deal with this? Thanks in advance! ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute mx:Script![CDATA[ import mx.managers.PopUpManager; private function showWindow(winObj:TitleWindow):void { PopUpManager.addPopUp(winObj,this , true); PopUpManager.centerPopUp(winObj); winObj.visible = true; } private function closeWin(winObj:TitleWindow):void { PopUpManager.removePopUp(winObj); winObj.visible = false; } private function formBanco():void { xBancoCodigo.text=''; xBancoNome.text=''; xBancoObs.text=''; showWindow(winBanco); } ]] /mx:Script mx:Accordion width=150 y=50 left=22 height=150 historyManagementEnabled=false mx:Canvas label=Bancos width=100% height=80 mx:LinkButton x=10 y=10 label=Novo banco click=formBanco();/ /mx:Canvas /mx:Accordion mx:TitleWindow showCloseButton=true close=closeWin (winBanco); creationPolicy=auto id=winBanco visible=false x=201 y=125 layout=absolute width=359 height=261 title=Novo banco mx:Label x=10 y=10 text=Código:/ mx:TextInput id=xBancoCodigo x=75 y=8 width=225/ mx:Label x=10 y=40 text=Nome:/ mx:TextInput id=xBancoNome x=75 y=38 width=225/ mx:Label x=10 y=68 text=Descrição/ mx:TextArea x=75 y=68 width=225 height=88 id=xBancoObs/ mx:Label x=54 y=10 text=* color=#ff/ mx:Label x=81 y=164 text=* Campos obrigatórios color=#ff id=lblObFieldsBanco/ mx:Label x=48 y=40 text=* color=#ff/ mx:Button x=185 y=189 label=Enviar id=subBtnBanco enabled=false/ mx:Button x=254 y=189 label=Cancelar id=closeBtnBanco click=closeWin(winBanco);/ /mx:TitleWindow /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] Flex 2.0 b2: XML
You can delete any portion of an XML document by using the 'delete' operator in e4x. -deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tyombria Sent: Saturday, May 06, 2006 12:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2.0 b2: XML Hi. How can I remove child from XML object? There is no method 'removeChild'... Although I can 'appendChild', 'insertBefore...', 'setChildren'... -- 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] reading id3 tags off external mp3 files?
Can anyone send me a quick example of how to read id3s on mp3s?...my code doesnt work and i am not sure waht i am doing wrong -arpit\ - Original Message From: arpit mathur [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Sunday, May 7, 2006 6:27:18 AMSubject: [flexcoders] reading id3 tags off external mp3 files?hi allI have been trying to read id3 tags off an mp3 file but have been unable to do so. My code fires the ID3 handler unction but when at that moment i try to parse the id3 array of the sound object, it comes up as 0. its really frustrating. Is it something i am doing wrong ? Here is my code : ?xml version="1.0" encoding="utf-8"? mx:Script ![CDATA[ import flash.util.trace; import flash.net.URLRequest; import flash.media.Sound; import flash.media.SoundChannel; import flash.events.*; private var song:SoundChannel; private var soundFactory:Sound; public function playSong(url) { var request:URLRequest = new URLRequest(url); soundFactory = new Sound(); soundFactory.addEventListener(Event.ID3, id3Handler); var sc = new SoundLoaderContext(15000,true); soundFactory.load(request, sc); } private function id3Handler(event:Event):void { trace(event.currentTarget.id3.length); //comes up 0 } ]] /mx:Script mx:Button label="play" click="playSong('worldwide_suicide2.mp3')" x="105" y="202"/ mx:TextArea x="105" y="30" width="165" height="164" id="txt"/ mx:Button x="205" y="202" label="check" click="{this.txt.text+= 'check' + String(this.soundFactory.id3.TIT1+'\ n')}"/ /mx:ApplicationAny help would be appreciatedthanksarpit -- 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] How can I sort a hash in Actionscript?
If I have an Object (there's no hash class in Actionscript 3 right??), is there a way to sort it according to one of it's member's properties? For example: var o:Object = new Object(); o['something'] = new Thing(); Thing(o['something']).order= 20; o['another'] = new Thing(); Thing(o['another']).order= 10; o['somethingelse'] = new Thing(); Thing(o['somethingelse']).order= 30; I want to loop through o, in the order of it's member's order property. I can do this in java and perl and php, but actionscript (unbelivably) has no Hash object, right? And Object doesn't implement ICollectionView. Is there anything else I can do here using the API? 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] Re: Error thrown when opening a TitleWindow
Ok, I´ve done it but still doesnt work. I´ve created the winBanco.mxml file ?xml version=1.0 encoding=utf-8?mx:TitleWindow xmlns:mx= http://www.adobe.com/2006/mxml xmlns=* layout=absolute mx:StringValidator id=valBancoCodigo source={xBancoCodigo} property=text required=true requiredFieldError=Você precisa digitar o código do banco valid=handleValid(event,subBtnBanco) invalid=handleValid(event,subBtnBanco) / mx:StringValidator id=valBancoNome source={xBancoNome} property=text required=true requiredFieldError=Você precisa digitar o nome do banco valid=handleValid(event,subBtnBanco) invalid=handleValid(event,subBtnBanco) / mx:Label x=10 y=10 text=Código:/ mx:TextInput id=xBancoCodigo x=75 y=8 width=225/ mx:Label x=10 y=40 text=Nome:/ mx:TextInput id=xBancoNome x=75 y=38 width=225/ mx:Label x=10 y=68 text=Descrição/ mx:TextArea x=75 y=68 width=225 height=88 id=xBancoObs/ mx:Label x=54 y=10 text=* color=#ff/ mx:Label x=81 y=164 text=* Campos obrigatórios color=#ff id=lblObFieldsBanco/ mx:Label x=48 y=40 text=* color=#ff/ mx:Button x=185 y=189 label=Enviar id=subBtnBanco click=cadBanco(); enabled=false/ mx:Button x=254 y=189 label=Cancelar id=closeBtnBanco click=closeWin(winBanco);/ /mx:TitleWindowAnd now am using this new main MXML application: ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml xmlns=* layout=absolute mx:Script![CDATA[ import mx.managers.PopUpManager; import mx.containers.TitleWindow; private function closeWin(winObj:TitleWindow):void { PopUpManager.removePopUp(winObj); winObj.visible = false; } private function formBanco():void { PopUpManager.addPopUp(winBanco,this , true); PopUpManager.centerPopUp(winBanco); }]] /mx:Script mx:Accordion width=150 y=50 left=22 height=150 historyManagementEnabled=false mx:Canvas label=Bancos width=100% height=80 mx:LinkButton x=10 y=10 label=Novo banco click=formBanco();/ /mx:Canvas /mx:Accordion /mx:Application What´s wrong? Now i get a Implicit coercion of a value of type 'Class' to an unrelated type 'mx.core:IFlexDisplayObject 'Or better, can you tell me a simple way of dealing with Windows, perhaps I´m doing it all wrong here... Basically, what I want is to show this modal window (draggable) with input fields which will be sent to DB via an HTTPRequest. And what about accordeon problem? On 5/8/06, Doug Lowder [EMAIL PROTECTED] wrote: Try commenting out the three PopUpManager calls and see what happens. The winBanco TitleWindow is defined as part of your application, but you are also instantiating it as a popup window. This is probably not what you want. If you want winBanco to be a draggable popup window, move the definition to a separate mxml file and reference the filename, minus the extension, in the PopUpManager calls. --- In flexcoders@yahoogroups.com, Misael [EMAIL PROTECTED] wrote: Can someone tell me why this code keeps throwing an error? It says: TypeError: Error #1009: null has no properties. at mx.containers.utilityClasses::CanvasLayout/measure() at mx.core::Application/mx.core:Application::measure() at mx.core::UIComponent/::measureSizes() at mx.core::UIComponent/validateSize() at mx.core::Container/validateSize() at mx.managers::LayoutManager/validateSize() at mx.managers::LayoutManager/::doPhasedInstantiation() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() In fact, it happens only on the first time i show the window, otherwise it works fine. I´m experiencing such errors in other places too, such as on another window with an accordeon, and many input field on its children, but like this problem above, when i try to set the value of those fields only those in the first container of the accordeon are writable. The rest, only if i close the window and open it again. How to deal with this? Thanks in advance! ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute mx:Script![CDATA[ import mx.managers.PopUpManager; private function showWindow(winObj:TitleWindow):void { PopUpManager.addPopUp(winObj,this , true); PopUpManager.centerPopUp(winObj); winObj.visible = true; } private function closeWin(winObj:TitleWindow):void { PopUpManager.removePopUp(winObj); winObj.visible = false; } private function formBanco():void { xBancoCodigo.text=''; xBancoNome.text=''; xBancoObs.text=''; showWindow(winBanco); } ]] /mx:Script mx:Accordion width=150 y=50 left=22 height=150 historyManagementEnabled=false mx:Canvas label=Bancos width=100% height=80 mx:LinkButton x=10 y=10 label=Novo banco click=formBanco();/ /mx:Canvas /mx:Accordion mx:TitleWindow showCloseButton=true close=closeWin (winBanco); creationPolicy=auto id=winBanco visible=false x=201 y=125 layout=absolute width=359 height=261 title=Novo banco mx:Label x=10 y=10 text=Código:/
[flexcoders] Is it possible to dynamically get a PrintScreen Image?
I've got a dynamic application that can be in any number of view-states. Generally speaking, no two states are the same. I've got a method set up to change the view-state by listening to the mouse wheel. The has the effect of zooming the view-state of my application. I put that in quotes because it does not really zoom the application (ie, with a Flex effect or Flash tween), it simply changes and updates the view-state. What I would like to do is the following : 1) Take a snapshot of the current visual state 2) Load that snapshot into a dynamic snapshot view at the top level such that it is the only visible element on the screen. 3) Zoom into the snapshot view using the Flex zoom effect while loading all my updated view-state in the background. 4) When my updated view-state has loaded in the background, remove (or hide) the top-level snapshot view. Can anyone tell me if this idea of taking a dynamic snapshot is possible and, if so, how I can go about accomplishing it? A way to incorporate CacheAsBitmap or something similar? If I have been unclear, or you need more information, please don't hesitate to ask. -- 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: Adding a close button to a tab? (Flex 1.5)
I found the solution I needed from the archive dated June 8, 2005 (wow!) This is great, because now I can "close" my tabs in my TabNavigator.There are 2 other problems, though:1. if I create a new child, the previously "closed" tab re-appears as a tab-less child. So visually, I have tab0, then a gap for tab1, then tab2. Is there a way to keep the closed tab hidden and width=0? Do I have to track which tabs are close and set the visibility=false and width=0 all over again?2. Is there a way to re-order the tabs? Say, I close tab1. Open tab2. Then reopen tab1. How can I put tab1 appears after tab2, instead of placing it between tab0 and tab2? I tried destroyChild, but I can't seem to resurrect the child... :| Yikes...Any guide is greatly appreciated.- ptrisnadi I think you're going to run into a few more complications. When you 'close' the tab, as I learned from Ali, you'll really have to do the following: Set the tab's visibility to false. Set the tab's width to 0. However, when you resize the stage, you're going to run into another issue. Flex is going to recalculate the tabbar and then rebuild the tabs. So invisible tabs will suddenly have a new width. You'll need to add a resize handler that determines which tabs are 'closed' or by this point, for your user, since the tabs will have a visibility of false, set their size to 0 again. Then, you'll see the tabbar freaks out and spaces the tabs in a staggered format. To get around this, your resize handler needs to get a width to set the size of the tabbar. I'd use the width of the parent tabnavigator and do the following: --- view.appView['tabBar'].setSize(view.appView.width,'22'); And to remove the tabs, you'll need something like: public function setNavigation() : Void { var tab0 = view.appView["tabBar"].getChildAt(0); var tab1 = view.appView["tabBar"].getChildAt(1); tab0.visible = false; tab0.width = 0; tab1.visible = false; tab1.width = 0; view.appView['tabBar'].setSize(view.appView.width,'22'); } On click, you can get the selectedIndex of the tab that was clicked, and pass it over to the setNavigator function as a parameter and set the visiblity to false and size to 0. Dave On 6/8/05, Eric Raymond [EMAIL PROTECTED] wrote: Each tab correponds to a view (in a viewstack). --- In flexcoders@yahoogroups.com, dave buhler [EMAIL PROTECTED] wrote: Hi Eric, Are the tabs specific to an underlying view or are the tabs meant to be closeButtons, similar to what you might find for a TitleWindow? Dave On 6/7/05, Eric Raymond [EMAIL PROTECTED] wrote: Is there a way to add a close button to a tab in a tabbar? That is, we'd like to put a graphic image of an "x" in some tabs in our application that are "closeable". I think there are two issues here: 1) Adding an extra icon to the tab As a hack, we could get away with "prepending" the close image the existing tab icon. 2) Detecting a click in the close icon As far as I know, the tabbar grabs all mouse/click events. Any ideas? -- 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] onMouseWheel -- Works in MXML, not when embedded into HTML
My app is listening for the onMouseWheel event. If I directly view the mxml application, it works just fine. If, however, I embed the swf into an html (in my case JSP) page, the onMouseWheel is never triggered in the swf -- only in the parent html page (which scrolls up and down accordingly). How can I get around this? -- 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] Creating a two item grid row with addChild. Need big time help.
I am working with some test code to create a two item grid row using add child. I can create a single item grid row, and have it output my test but it does work when I try to add two items. I return from my cfc, an array that holds all the information to populate this. Depending on how many I return, I need to create a new grid for each set. 0,1:2,3:4,5... First off this is how it should look if I were to hardcode it. And I had 0,1 returned. mx:Grid id=displayGrid1 width=90% mx:GridRow -- SELLING SIDE ITEM -- mx:GridItem mx:Canvas width=100% mx:Label x=10 y=10 text=Label id=listAgentId1 fontWeight=bold/ mx:Label x=30 y=36 text=Gross Agent Commission:/ mx:Label x=50 y=62 text=Transaction Fee:/ mx:Label x=53 y=88 text=Eamp;O Fee:/ mx:Label x=53 y=114 text=Addtional Transaction Fee:/ mx:Label x=30 y=140 text=Total HomeSmart Fees: fontWeight=bold/ mx:Label x=53 y=166 text=Agent Current Balance:/ mx:Label x=30 y=192 text=Net Commission: fontWeight=bold/ mx:TextInput x=275 y=34/ mx:TextInput x=275 y=60/ mx:TextInput x=275 y=86/ mx:TextInput x=275 y=112/ mx:TextInput x=275 y=138/ mx:TextInput x=275 y=164/ mx:TextInput x=275 y=190/ /mx:Canvas /mx:GridItem !-- BUYING SIDE ITEM -- mx:GridItem width=529 mx:Canvas width=100% height=100% mx:Label x=10 y=10 text=Label id=saleAgentId1 fontWeight=bold/ mx:Label x=30 y=36 text=Gross Agent Commission:/ mx:Label x=50 y=62 text=Transaction Fee:/ mx:Label x=53 y=88 text=Eamp;O Fee:/ mx:Label x=53 y=114 text=Addtional Transaction Fee:/ mx:Label x=30 y=140 text=Total HomeSmart Fees: fontWeight=bold/ mx:Label x=53 y=166 text=Agent Current Balance:/ mx:Label x=30 y=192 text=Net Commission: fontWeight=bold/ mx:TextInput x=275 y=34/ mx:TextInput x=275 y=60/ mx:TextInput x=275 y=86/ mx:TextInput x=275 y=112/ mx:TextInput x=275 y=138/ mx:TextInput x=275 y=164/ mx:TextInput x=275 y=190/ /mx:Canvas /mx:GridItem /mx:GridRow /mx:Grid This is the test code that I am trying to use to create a two item grid row. This does not work, it will not display the text component created. for (var i:Number=0;iresult.length;i++){ // COMPONENTS var myGrid:Grid = new Grid(); var myGridRow: GridRow = new GridRow(); var myGridItem: GridItem = new GridItem(); var myCanvas: Canvas = new Canvas(); var testText: Text = new Text(); // GRID SETTINGS myGrid.id = grid + i; myGrid.percentWidth = 100; // GRID ROW SETTINGS myGridRow.id = gridRow + i; // GRID LIST ITEM SETTINGS myGridItem.id = gridItem + i; myGridItem.width = 445; // CANVAS SETTINGS myCanvas.id = canvas + i; myCanvas.percentWidth = 100; // TEST testText.text = This is a test + i; // ADDING CHILDRENS mainBox.addChild(myGrid); myGrid.addChild(myGridRow); myGridRow.addChild(myGridItem); myGridItem.addChild(myCanvas); myCanvas.addChild(testText); myGridRow.addChild(myGridItem); myGridItem.addChild(myCanvas); myCanvas.addChild(testText); } When I do something like this. It does work, but it only creates one row. And outputs all the text componets in that row. for (var i:Number=0;iresult.length;i++){ // COMPONENTS var myGrid:Grid = new Grid(); var myGridRow: GridRow = new GridRow(); var myGridItem: GridItem = new GridItem(); var myCanvas: Canvas = new Canvas(); var testText: Text = new Text(); // GRID SETTINGS myGrid.id = grid + i; myGrid.percentWidth = 100; // GRID ROW SETTINGS myGridRow.id = gridRow + i; // GRID LIST ITEM SETTINGS myGridItem.id = gridItem + i; myGridItem.width = 445; // CANVAS SETTINGS myCanvas.id = canvas + i; myCanvas.percentWidth = 100; // TEST testText.text = This is a test + i; // ADDING CHILDRENS mainBox.addChild(myGrid); myGrid.addChild(myGridRow); myGridRow.addChild(myGridItem); myGridItem.addChild(myCanvas); myCanvas.addChild(testText); } -- 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: Is it possible to dynamically get a PrintScreen Image?
I wonder if you could use the print function result, but bypass sending it to the printer. TH --- In flexcoders@yahoogroups.com, Raheen M Shabbazz [EMAIL PROTECTED] wrote: I've got a dynamic application that can be in any number of view-states. Generally speaking, no two states are the same. I've got a method set up to change the view-state by listening to the mouse wheel. The has the effect of zooming the view-state of my application. I put that in quotes because it does not really zoom the application (ie, with a Flex effect or Flash tween), it simply changes and updates the view-state. What I would like to do is the following : 1) Take a snapshot of the current visual state 2) Load that snapshot into a dynamic snapshot view at the top level such that it is the only visible element on the screen. 3) Zoom into the snapshot view using the Flex zoom effect while loading all my updated view-state in the background. 4) When my updated view-state has loaded in the background, remove (or hide) the top-level snapshot view. Can anyone tell me if this idea of taking a dynamic snapshot is possible and, if so, how I can go about accomplishing it? A way to incorporate CacheAsBitmap or something similar? If I have been unclear, or you need more information, please don't hesitate to ask. -- 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] Gui component events inside mx:Repeater
I've got the following GUI component that updates a value inside an mx:Model I've defined: mx:ComboBox x=625 y=0 id=cbStartTime rowCount=10 dataProvider={hours.hour} change=timeRange.STARTTIME=cbStartTime.selectedItem.data/ I'm in the process of adding a mx:Repeater construct around one of my GUI panels that contains about 4 ComboBoxes (including the one above) and a 20-column DataGrid. I'm not able to drill-down as before (cbStartTime.selectedItem.data has no meaning when using a Repeater apparently. Likewise, my relative positioning of GUI components (where the x of the current is based on the right edge of the previous component) won't work for similiar reasons). I need the GUI replicated n number of times for n different views based on a selection from a check box elsewhere in the GUI, so I think using a Repeater is the way to go, but how do I access specific values (like x, selectedIndex, etc..) of the current component being repeated? I wrapped my GUI component (a panel with many sub-components) as follows: mx:TabNavigator width=100% height=100% mx:Repeater id=rp dataProvider={mockStations} mx:Canvas width=100% height=100% label={rp.currentItem} id=sta1 where mockStations is just a 3-length array of Strings. I didn't have any luck with a similiar construct where I could drill-down using rp.currentItem to get access to the values I need. Also, I get a compile-time error about implicit coercion between data types when I use my old DataGridColumn stuff along with a Repeater as well. -- 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 get each node as required
Hi guys, I am in the process of creating a tree that may end up with ALOT of nodes, so would like to get the nodes back as the user expands a node. I am guessing this is quite a common thing to require, so can anyone point me to an exmaple I can grab and look at? Cheers -- 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: Gui component events inside mx:Repeater
Each control (Repeater, comboBox) needs to utilyze binding. If you use an arrayCollection as the dataProvider for all your controls, you can easily manipulate and bind the data that resides in the model (preferably modelLocator). TH --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: I've got the following GUI component that updates a value inside an mx:Model I've defined: mx:ComboBox x=625 y=0 id=cbStartTime rowCount=10 dataProvider={hours.hour} change=timeRange.STARTTIME=cbStartTime.selectedItem.data/ I'm in the process of adding a mx:Repeater construct around one of my GUI panels that contains about 4 ComboBoxes (including the one above) and a 20-column DataGrid. I'm not able to drill-down as before (cbStartTime.selectedItem.data has no meaning when using a Repeater apparently. Likewise, my relative positioning of GUI components (where the x of the current is based on the right edge of the previous component) won't work for similiar reasons). I need the GUI replicated n number of times for n different views based on a selection from a check box elsewhere in the GUI, so I think using a Repeater is the way to go, but how do I access specific values (like x, selectedIndex, etc..) of the current component being repeated? I wrapped my GUI component (a panel with many sub-components) as follows: mx:TabNavigator width=100% height=100% mx:Repeater id=rp dataProvider={mockStations} mx:Canvas width=100% height=100% label={rp.currentItem} id=sta1 where mockStations is just a 3-length array of Strings. I didn't have any luck with a similiar construct where I could drill-down using rp.currentItem to get access to the values I need. Also, I get a compile-time error about implicit coercion between data types when I use my old DataGridColumn stuff along with a Repeater as well. -- 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: Gui component events inside mx:Repeater
You might also wan't to check this out: http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=231 Cheers, Tim --- In flexcoders@yahoogroups.com, "djbrown_rotonews" [EMAIL PROTECTED] wrote: I've got the following GUI component that updates a value inside an mx:Model I've defined: mx:ComboBox x="625" y="0" id="cbStartTime" rowCount="10" dataProvider="{hours.hour}" change="timeRange.STARTTIME=cbStartTime.selectedItem.data"/ I'm in the process of adding a mx:Repeater construct around one of my GUI panels that contains about 4 ComboBoxes (including the one above) and a 20-column DataGrid. I'm not able to drill-down as before (cbStartTime.selectedItem.data has no meaning when using a Repeater apparently. Likewise, my relative positioning of GUI components (where the x of the current is based on the right edge of the previous component) won't work for similiar reasons). I need the GUI "replicated" n number of times for n different views based on a selection from a check box elsewhere in the GUI, so I think using a Repeater is the way to go, but how do I access specific values (like x, selectedIndex, etc..) of the "current" component being repeated? I wrapped my GUI component (a panel with many sub-components) as follows: mx:TabNavigator width="100%" height="100%" mx:Repeater id="rp" dataProvider="{mockStations}" mx:Canvas width="100%" height="100%" label="{rp.currentItem}" id="sta1" where mockStations is just a 3-length array of Strings. I didn't have any luck with a similiar construct where I could drill-down using rp.currentItem to get access to the values I need. Also, I get a compile-time error about implicit coercion between data types when I use my old DataGridColumn stuff along with a Repeater as well. -- 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 can I sort a hash in Actionscript?
ActionScript 3.0 does have a hash class, named Dictionary, which you can find in the flash.utils package. You can rewrite your o Object as a Dictionary, but ActionScript 3.0 doesn't have the equivalent of the 'sort' keyword in Perl where you can do something like: // Perl code foreach $key (sort keys %hash) {} Unless I'm mistaken, you'd have to write code to sort the Dictionary, so you may not find this a satisfactory solution. On the other hand, you can use the Array.sortOn() method to sort the objects. You just have to create a separate indexed array to do it, the following builds on your example code: // create an indexed array that holds the objects in sorted order var oSorted:Array = new Array(); // add your items to the indexed array for each (var item in o) { oSorted.push(item); } // sort the indexed array based on the order property oSorted.sortOn(order, Array.NUMERIC); // Now you can iterate through the sorted array for (var i=0; ioSorted.length; i++) { trace(oSorted[i].order); } HTH, Francis -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rigidcode Sent: Monday, May 08, 2006 11:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How can I sort a hash in Actionscript? If I have an Object (there's no hash class in Actionscript 3 right??), is there a way to sort it according to one of it's member's properties? For example: var o:Object = new Object(); o['something'] = new Thing(); Thing(o['something']).order= 20; o['another'] = new Thing(); Thing(o['another']).order= 10; o['somethingelse'] = new Thing(); Thing(o['somethingelse']).order= 30; I want to loop through o, in the order of it's member's order property. I can do this in java and perl and php, but actionscript (unbelivably) has no Hash object, right? And Object doesn't implement ICollectionView. Is there anything else I can do here using the API? 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.
[flexcoders] Out of memory error
Hey All, I am seeing the following error right now An out of memory error has occurred. You can prevent these errors in the future by increasing your heap size before you start the workbench using the vmargs Xmx command line option Any help would be greatly appreciated. Thanks CHAITU VADLAPATLA SOFTWARE ENGINEER T8DESIGN.COM | P 319.266.7574 - x145 | 877.T8IDEAS | F 888.290.4675 This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you. -- 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] WebService Flex 2.0
WebService calls are asynchronous... [NotTested]: mx:Script ![CDATA[ public function GetHelloWorld():void { CustomerServices.HelloWorldws.addEventListener(result, HelloWorldwsResult); CustomerServices.HelloWorldws.send (); } public function HelloWorldwsResult(event:ResultEvent):void { CustomerServices.HelloWorldws.removeEventListener(result, HelloWorldwsResult); temp = CustomerServices.HelloWorld.result; mx.controls.Alert.show(temp); } ]] /mx:Script mx:WebService wsdl=http://localhost/Flex2T_WebServiceTest/Service1.asmx?wsdl id=CustomerServices fault=mx.controls.Alert.show(event.fault.faultstring) /mx:WebService mx:Button click=this.GetHelloWorld(); label=Push Me/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vestcomprogrammer Sent: Monday, May 08, 2006 2:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] WebService Flex 2.0 I have the follwing code and I have to click on the button twice to get the value that the web services send back. Is there a way to fix this problem? mx:Script ![CDATA[ public function GetHelloWorld():void { CustomerServices.HelloWorld.send(); temp = CustomerServices.HelloWorld.result; mx.controls.Alert.show(temp); } ]] /mx:Script mx:WebService wsdl=http://localhost/Flex2T_WebServiceTest/Service1.asmx?wsdl id=CustomerServices fault=mx.controls.Alert.show(event.fault.faultstring) /mx:WebService mx:Button click=this.GetHelloWorld(); label=Push Me/ -- 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] Individual Tab Header Colors
I read a great post recently that showed how to apply styles to individual tab headers in a tabNavigator with AS3. And like an idiot, I failed to bookmark it. Does anyone have a quick link that shows how to do this? I searched, but came up dry. As always - 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.
[flexcoders] Flex 2 beta 3 available
Title: Flex 2 beta 3 available Just to say that Flex 2 Beta 3 is already available on labs ! João Fernandes -- 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 2 beta 3 available
Title: Flex 2 beta 3 available Hi,I just downloaded the new flash player 9(mac version), but I get this error:VerifyError: Error #1014: Class flash.util::Timer could not be found. at mx.managers::SystemManager/initialize() at mx.managers::SystemManager/::initHandler()Does anyone know why this is?These area swfs builded with beta 2.It seems like none of my swfs work anymore:(This is on the mac.Thanks so much,JohnJoão Fernandes [EMAIL PROTECTED] wrote: Just to say that Flex 2 Beta 3 is already available on labs ! João Fernandes How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. -- 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: Flex 2 beta 3 available
http://labs.adobe.com/wiki/index.php/Flex:Beta_2_to_Beta_3_Changes import flash.utils.Timer --- In flexcoders@yahoogroups.com, JB [EMAIL PROTECTED] wrote: Hi, I just downloaded the new flash player 9(mac version), but I get this error: VerifyError: Error #1014: Class flash.util::Timer could not be found. at mx.managers::SystemManager/initialize() at mx.managers::SystemManager/::initHandler() Does anyone know why this is? These area swfs builded with beta 2. It seems like none of my swfs work anymore:( This is on the mac. Thanks so much, John João Fernandes [EMAIL PROTECTED] wrote: Flex 2 beta 3 available Just to say that Flex 2 Beta 3 is already available on labs ! João Fernandes -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.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.
RE: [flexcoders] Validation framework and changing the way tooltips get triggered (F2B2)
If you're using Flex 2, check out triggerEvent in the Validator class. That allows you to specify which event triggers the validation. I believe by default this happens when you remove focus from the component, but you can use triggerEvent to customize the behavior. -deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pk_wasp Sent: Friday, May 05, 2006 6:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Validation framework and changing the way tooltips get triggered (F2B2) At the moment the validators will highlight a field in error and if you mouse over it, it will display the error message. Is it possible (this could be a feature request if its not too late :) ), to select the way this is triggered?. Rather then just only having the mouseOver event triggering the display of the error message tooltips, allow other events to trigger it as well e.g. when a users tabs to a field that is in error, we can show the error message tooltip on a focusIn event - this might be handy for Call Centre Applications where users tend to prefer to use the keyboard rather then the mouse etc. maybe a displayTriggerEvent attribute in the validators or something :) cheers -- 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] Flex 2 beta 3 available
Title: Flex 2 beta 3 available You need to re-build your swfs to be compliant with the Beta 3 source code and be sure to use the player that is packaged with the Beta 3 build. There should be documentation on the labs site that call out code changes in the Flex framework and in the Player that were made between the betas. -deepa From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JB Sent: Monday, May 08, 2006 6:18 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 2 beta 3 available Hi, I just downloaded the new flash player 9(mac version), but I get this error: VerifyError: Error #1014: Class flash.util::Timer could not be found. at mx.managers::SystemManager/initialize() at mx.managers::SystemManager/::initHandler() Does anyone know why this is? These area swfs builded with beta 2. It seems like none of my swfs work anymore:( This is on the mac. Thanks so much, John João Fernandes [EMAIL PROTECTED] wrote: Just to say that Flex 2 Beta 3 is already available on labs ! João Fernandes How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. -- 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 2 beta 3 available
Title: Flex 2 beta 3 available Hi Deepa and Geoffrey,Thank so much for your help.I just am re-compiling everything,and it sounds like this will fix everything.I also am reading the documentation on labs.Thanks very much for your help. I am still a newbie, but still stoked!JohnDeepa Subramaniam [EMAIL PROTECTED] wrote: You need to re-build your swfs to be compliant with the Beta 3 source code and be sure to use the player that is packaged with the Beta 3 build. There should be documentation on the labs site that call out code changes in the Flex framework and in the Player that were made between the betas. -deepa From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JB Sent: Monday, May 08, 2006 6:18 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 2 beta 3 available Hi, I just downloaded the new flash player 9(mac version), but I get this error: VerifyError: Error #1014: Class flash.util::Timer could not be found. at mx.managers::SystemManager/initialize() at mx.managers::SystemManager/::initHandler() Does anyone know why this is? These area swfs builded with beta 2. It seems like none of my swfs work anymore:( This is on the mac. Thanks so much, John Jo�o Fernandes [EMAIL PROTECTED] wrote:Just to say that Flex 2 Beta 3 is already available on labs ! Jo�o Fernandes How low will we go? Check out Yahoo! Messengerâs low PC-to-Phone call rates. Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. -- 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] Individual Tab Header Colors
you can getChildAt() to get the individual button instance then setStyle() on it. see if this work.On 5/9/06, Tim Hoff [EMAIL PROTECTED] wrote: I read a great post recently that showed how to apply styles toindividual tab headers in a tabNavigator with AS3.And like an idiot,I failed to bookmark it.Does anyone have a quick link that shows howto do this?I searched, but came up dry. As always - thanks,Tim Hoff Yahoo! Groups Sponsor ~--Everything you need is oneclick away. Make Yahoo! your home pagenow. http://us.click.yahoo.com/AHchtC/4FxNAA/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] Individual Tab Header Colors
Close... that should be getTabAt(), not getChildAt(). The tabs are actually grandchildren of the TabNavigator; they are children of the TabBar that is a child of the TabNavigator. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jeremy lu Sent: Monday, May 08, 2006 7:03 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Individual Tab Header Colors you can getChildAt() to get the individual button instance then setStyle() on it. see if this work. On 5/9/06, Tim Hoff [EMAIL PROTECTED] wrote: I read a great post recently that showed how to apply styles to individual tab headers in a tabNavigator with AS3.And like an idiot, I failed to bookmark it.Does anyone have a quick link that shows how to do this?I searched, but came up dry. As always - thanks, Tim Hoff Yahoo! Groups Sponsor ~-- Everything you need is oneclick away. Make Yahoo! your home pagenow. 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 * 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] Individual Tab Header Colors
thanks Gordon, another new api scrub ? :-)On 5/9/06, Gordon Smith [EMAIL PROTECTED] wrote: Close... that should be getTabAt(), not getChildAt(). The tabs are actually grandchildren of the TabNavigator; they are children of the TabBar that is a child of the TabNavigator. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jeremy lu Sent: Monday, May 08, 2006 7:03 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Individual Tab Header Colors you can getChildAt() to get the individual button instance then setStyle() on it. see if this work. On 5/9/06, Tim Hoff [EMAIL PROTECTED] wrote: I read a great post recently that showed how to apply styles to individual tab headers in a tabNavigator with AS3.And like an idiot, I failed to bookmark it.Does anyone have a quick link that shows how to do this?I searched, but came up dry. As always - thanks, Tim Hoff Yahoo! Groups Sponsor ~-- Everything you need is oneclick away. Make Yahoo! your home pagenow. 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 * 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 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] Draw Box Crop Tool?
Hello,This is probably a noob question..but here goes.anyone know to turn this into a MXML component What i really want is to be able to drag a box like on this site : http://www.myheritage.com/FP/Company/faceSamples.php?s=1u=g0lang=ENclick the pic then click the image crop tool.i just basically want that as a component so i can extract the X,Y coordinates of the verticies. this.createEmptyMovieClip(box ,1)//box.lineStyle(thickness,0xCOLORCODE) //You must have the 0x before you put the color codebox.lineStyle(1,0x00 ) //Sets the thickness to 1 and the line color to black//box.beginFill(0xCOLORCODE) box.beginFill(0x00) //Sets the fill inside the box to yellow//This will move the box so that you can start drawing (x,y)box. moveTo(0,0) //Move it to 0 x and 0 y//The line to method will draw a line from 0 x and 0 y (Which was set above) to the x and y you set it to movebox. lineTo(0,20) //Move from 0 x and 0 y to 0 x and 20 ybox.lineTo( 20,20) //Move 20 x and stay at 20 ybox. lineTo(20,0) //Stay at 20 x and move up to 0 ybox.lineTo(0, 0) //Go back to origanal spot//Moves the box to 100 x box._x = 100//Moves the box to 100 ybox. _y = 200//When you press on the box a fuction is activatedbox. onPress = function() { //This will make the output box say Wow you did it! trace (Wow you did it!)} -- 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:States and caching
Is there a way to force states to recreate children objects? Using the RemoveChild does not delete the child instance. Any insight into this matter? - Sof -- 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: Flex 2 B 2: TileList, ItemRenderer, and events.
seems Beta 3 addressed this...yeehaw! DK On 5/8/06, Douglas Knudsen [EMAIL PROTECTED] wrote: Ok, banging my head on this for far too long. I have a Flex app using a TileList and a custom ItemRenderer called ThumbNail.mxml. ThumbNail.mxml is composed of say two images, a up arrow and a down arrow for example. I really want to be able to make it so that if the user clicks on the up or down arrow, a event can be dispatched to the container the TileList lives in. I can't get this to work. So, say we have in main.mxml, i truncated this to only the drillUp caseI would expect that if the image in the Thumbnail component was clicked, a event would be dispatched up and the event listener in main.mxml would hear it. mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* height=100% width=100% creationComplete=initMe() mx:Script ![CDATA[ public function initMe():void { employees.addEventListener(MouseEvent.CLICK,handleChoice) ; } public function handleChoice( event:MouseEvent) : void { Alert.show('somethign was clicked...but what?'); } /mx:Script mx:TileList id=employees height=100% itemRenderer=ThumbNail dataProvider={employeesDataIN} width=100% x=0 y=0 /mx:TileList /mx:HBox and ThumbNail.mxml looks somethign like mx:VBox mx:Metadata [Event(drillUp)] /mx:Metadata mx:Script ![CDATA[ public function drillUp(event : Event) : void { dispatchEvent(new Event('drillUp',true)); } /mx:Script mx:Image id=daDown source={upArrow} mouseDown=drillUp( event ) toolTip=Click to drill up. / /mx:VBox -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- 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: Gui component events inside mx:Repeater
In the snippet I've included below, {hours.hour} is just a reference to some static XML that contains 24 strings (one for each hour), with the value I want associated with each (ie, 23:00 etc...) timeRange is a model that contains the current endTime (another ComboBox, in the same nature as startTime) and startTime combo box selections that get passed as arguments to a jsp call. How would I modify my cbStartTime definition to enable the timeRange.STARTTIME=cbSTartTime.selectedItem.data (it's a compile- time syntax error if left as is when using a Repeater) when using a Repeater? --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Each control (Repeater, comboBox) needs to utilyze binding. If you use an arrayCollection as the dataProvider for all your controls, you can easily manipulate and bind the data that resides in the model (preferably modelLocator). TH --- In flexcoders@yahoogroups.com, djbrown_rotonews djbrown_rotonews@ wrote: I've got the following GUI component that updates a value inside an mx:Model I've defined: mx:ComboBox x=625 y=0 id=cbStartTime rowCount=10 dataProvider={hours.hour} change=timeRange.STARTTIME=cbStartTime.selectedItem.data/ -- 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] wierdness with flex2beta3 flexstore demo app and FF
just did a player 9 install in IE http://flexapps.macromedia.com/flex2beta3/flexstore/flexstore.html comes up fine in FF, I get a flash message saying content required FP8 (but 9 is installed) anyone else get this too or is it just me? -- 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.