Re: [flexcoders] Re: Changing the speed of sound?
Thanks James, I'll have a read of that link. Where did you get the java code from? Cheers, nick On 25 February 2010 00:27, jamesfin james.alan.finni...@gmail.com wrote: Hi Nick, This will get ugly quickly as this isn't as easy as it sounds, pardon the pun. ;) You need to do some pitch-shifting to the audio stream before sending it along to play. Here's a good discussion on it http://www.dspdimension.com/admin/pitch-shifting-using-the-ft/ Here's a working java sample which you might want to play with before porting it over to as3 unless you want to just convert prior to streaming http://www.mediafire.com/?ze3mymjguim Let us know what you end up doing as this could be a nice AS3 component. Thx, james
[flexcoders] Using embedded fonts in modules
Hey, I'm having loads of trouble getting my embedded font to display in modules. I am embedding the font in a style tag in my parent application, and I'd like to use this font inside my modules. Is there a way in which I can share this embedded font throughout my application (including modules) without having to embed the font into each individual module SWF? Thanks! -- View this message in context: http://old.nabble.com/Using-embedded-fonts-in-modules-tp27714393p27714393.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Searching in FlexBuilder
A while back I switched from FB Standalone to the FB Plugin primarily becuase I found that when searching using FB Standalone the results window only show the number of matches in a file: UIComponent.as - .. (5 matches) whereas the plugin showed each line that matched: UIComponent.as - line 124 . line 251 . This was a huge productivty gain as I could quickly see which matches were false or I was not interested in without needing to open the file and search through it. Now suddenly the serching has switched back to only showing the number of matches in each file again, I think this possibly coincided with my installing the latest AIR2 beta. Does anyone know how to get back the standard eclipse style searching rather than the adobe crippled searching.
Re: [flexcoders] Strategies for switching between testing and deployment addresses
Hey David, If you have a local DNS you could setup a subdomain for the production IP and edit your windows hosts file to override it to point locally... Tracy mentioned FlashVars, that's a real easy way. You've help me enough in the world of 4D so I'll ping something over if you need it... Cheers, Nick On 22 February 2010 02:00, David Adams dpad...@gmail.com wrote: I've been writing some small programs that use HTTPService calls to fetch data from a back-end. During testing, I'm using 127.0.0.1 or an IP address on my subnet. When I deploy, I update the IP address in service definitions to the right external address and build the app. Or at least I mean to. It's all too easy to accidentally change the addresses for internal testing and then forget to switch them back before building. Is there a best practice or simple strategy for putting the IP address somewhere outside of the source code that it can easily be edited without a rebuild? Thanks for any advice.
Re: [flexcoders] Strategies for switching between testing and deployment addresses
We keep out URL's in an external XML file which is deployed on different environments. When app loads make a call to the Servlet and gets the URL's. The Servlet returns the configuration according to the environment that it is deployed on. HTH, C From: Nick Middleweek n...@middleweek.co.uk To: flexcoders@yahoogroups.com Sent: Thu, February 25, 2010 2:32:28 PM Subject: Re: [flexcoders] Strategies for switching between testing and deployment addresses Hey David, If you have a local DNS you could setup a subdomain for the production IP and edit your windows hosts file to override it to point locally... Tracy mentioned FlashVars, that's a real easy way. You've help me enough in the world of 4D so I'll ping something over if you need it... Cheers, Nick On 22 February 2010 02:00, David Adams dpad...@gmail. com wrote: I've been writing some small programs that use HTTPService calls to fetch data from a back-end. During testing, I'm using 127.0.0.1 or an IP address on my subnet. When I deploy, I update the IP address in service definitions to the right external address and build the app. Or at least I mean to. It's all too easy to accidentally change the addresses for internal testing and then forget to switch them back before building. Is there a best practice or simple strategy for putting the IP address somewhere outside of the source code that it can easily be edited without a rebuild? Thanks for any advice.
[flexcoders] advanced datagrid in popped up titlewindow issue
i have a flex (3.5 SDK) advanced datagird that works fine in the app's main layout but when moved into a popup titlewindow it won't fill with data. a normal datagrid in the same titlewindow component using the same datasource works fine. component creation data passed in: idResultWindow=IdentifyResultWindow(PopUpManager.createPopUp(this,IdentifyResultWindow,false)); idResultWindow.dataSource=featureAttributes; datagrid in question (in idResultWindow): mx:AdvancedDataGrid x=10 y=10 id=attributesData initialize=layerGroup.refresh(); width=100% height=100% mx:dataProvider mx:GroupingCollection id=layerGroup source={dataSource} mx:grouping mx:Grouping mx:GroupingField name=layer/ /mx:Grouping /mx:grouping /mx:GroupingCollection /mx:dataProvider mx:columns mx:AdvancedDataGridColumn headerText= dataField=attribute/ mx:AdvancedDataGridColumn headerText= dataField=value/ /mx:columns /mx:AdvancedDataGrid gone blind looking thru these few lines of code now kind of stumped, anyone have any ideas? thanks.
[flexcoders] Do I need a crossdomain policy file?
I am hosting a Flex based application on Amazon Cloud. The swf file for this app would be served from a url which looks something like https://ec-sfdkmds-sifdhsu.pilot-1.amazonaws.com. This swf would be needed to make http calls to url https://ec2.amazonaws.com...which is essentially the same domain, but a different host. Would I need a croosdomain policy file on https://ec2.amazonaws.com ? ..and are there any Flash Player/Browser version related dependencies here ? Thanks DD
Re: [flexcoders] advanced datagrid in popped up titlewindow issue
It's a bit hard without seeing the full code: http://pastebin.com/ But... It might be worth changing your attributesData.initialize to a function call and perform the layerGroup.refresh() inside that function. But just before that call drop in a break point and debug what the grouping.source is... Just an idea. On 25 February 2010 13:55, Paul Hastings paul.hasti...@gmail.com wrote: i have a flex (3.5 SDK) advanced datagird that works fine in the app's main layout but when moved into a popup titlewindow it won't fill with data. a normal datagrid in the same titlewindow component using the same datasource works fine. component creation data passed in: idResultWindow=IdentifyResultWindow(PopUpManager.createPopUp(this,IdentifyResultWindow,false)); idResultWindow.dataSource=featureAttributes; datagrid in question (in idResultWindow): mx:AdvancedDataGrid x=10 y=10 id=attributesData initialize=layerGroup.refresh(); width=100% height=100% mx:dataProvider mx:GroupingCollection id=layerGroup source={dataSource} mx:grouping mx:Grouping mx:GroupingField name=layer/ /mx:Grouping /mx:grouping /mx:GroupingCollection /mx:dataProvider mx:columns mx:AdvancedDataGridColumn headerText= dataField=attribute/ mx:AdvancedDataGridColumn headerText= dataField=value/ /mx:columns /mx:AdvancedDataGrid gone blind looking thru these few lines of code now kind of stumped, anyone have any ideas? thanks.
Re: [flexcoders] using a class once throughout the all app
I'm interested in this... So you're findings are that if you have say 5 MXML components and each component uses and imports the popupManager class/ package it is bloating the SWF file 5 times what it should be rather than just importing it once? On 25 February 2010 06:35, ZIONIST stinas...@yahoo.com wrote: Hi guys, in my research on how to reduce the size of a flex application swf, i was led to believe that classes are one of the factors that contribute to the size of any flex swf and in order to reduce the size, one has to make sure he only calls the classes that are needed. but again i noticed that certain classes are used more than once in an app, take for example, popup class, i my have about three titlewindow custom components that i use for popup and on each i call the popup class. is there a way to call all classes used only once in the main app file and use them throughout the all application like the way we use css and if so will that help bring down the size of the complete application?
RE: [flexcoders] Do I need a crossdomain policy file?
I think you will. Flash Player is very strict about what it considers the same domain. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dogra_daman Sent: Thursday, February 25, 2010 8:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Do I need a crossdomain policy file? I am hosting a Flex based application on Amazon Cloud. The swf file for this app would be served from a url which looks something like https://ec-sfdkmds- https://ec-sfdkmds-sifdhsu.pilot-1.amazonaws.com. sifdhsu.pilot-1.amazonaws.com. This swf would be needed to make http calls to url https://ec2. https://ec2.amazonaws.com...which amazonaws.com...which is essentially the same domain, but a different host. Would I need a croosdomain policy file on https://ec2. https://ec2.amazonaws.com amazonaws.com ? ..and are there any Flash Player/Browser version related dependencies here ? Thanks DD
RE: [flexcoders] advanced datagrid in popped up titlewindow issue
Probably a timing issue. Binding is difficult to debug. Make sure your dataSource var is bindable. Initialize might be too early. Test the content in a handler function and also check it in a creationComplete handler. I rarely use initialize for any data oriented work. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nick Middleweek Sent: Thursday, February 25, 2010 9:15 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] advanced datagrid in popped up titlewindow issue It's a bit hard without seeing the full code: http://pastebin. http://pastebin.com/ com/ But... It might be worth changing your attributesData.initialize to a function call and perform the layerGroup.refresh() inside that function. But just before that call drop in a break point and debug what the grouping.source is... Just an idea. On 25 February 2010 13:55, Paul Hastings paul.hastings@ mailto:paul.hasti...@gmail.com gmail.com wrote: i have a flex (3.5 SDK) advanced datagird that works fine in the app's main layout but when moved into a popup titlewindow it won't fill with data. a normal datagrid in the same titlewindow component using the same datasource works fine. component creation data passed in: idResultWindow=IdentifyResultWindow(PopUpManager.createPopUp(this,IdentifyRe sultWindow,false)); idResultWindow.dataSource=featureAttributes; datagrid in question (in idResultWindow): mx:AdvancedDataGrid x=10 y=10 id=attributesData initialize=layerGroup.refresh(); width=100% height=100% mx:dataProvider mx:GroupingCollection id=layerGroup source={dataSource} mx:grouping mx:Grouping mx:GroupingField name=layer/ /mx:Grouping /mx:grouping /mx:GroupingCollection /mx:dataProvider mx:columns mx:AdvancedDataGridColumn headerText= dataField=attribute/ mx:AdvancedDataGridColumn headerText= dataField=value/ /mx:columns /mx:AdvancedDataGrid gone blind looking thru these few lines of code now kind of stumped, anyone have any ideas? thanks.
[flexcoders] Re: using a class once throughout the all app
that's what i understood from the research though am not sure if am right, which is why am asking. i have an app and i complied as rsl and used modules too which brought down the size to 172 kb for the main app and 140 kb for one of the modules and 80 kb for the other. i kinda loads fast but am thinking that the size can come down a little more. so am exploring ways to shed atleast 70 kbs from the main app. am all out of ideas.
[flexcoders] Embedded Flash in ASP.Net Page
Hi FlexCoders, I am using ASP.Net as my server technology in development of Flex apps. When I embed the Flash (swf file) into my ASP.Net page and set the height to percentage (say 100% or 80%), the flash object is like cut off at the middle. Setting it to a numeric value, say 1000, the flash object displays properly. Any workaround on this issue? I need to set the height to 100% because I want the application to take up as much space of the page. Inputs highly appreciated. Thanks. Regards, Angelo
Re: [flexcoders] advanced datagrid in popped up titlewindow issue
Ah yes... of course... creationComplete_handler. I had this problem when setting up form validation and the fields on the form weren't actually initialized themselves... something like that. On 25 February 2010 16:09, Tracy Spratt tr...@nts3rd.com wrote: Probably a timing issue. Binding is difficult to debug. Make sure your dataSource var is bindable. Initialize might be too early. Test the content in a handler function and also check it in a creationComplete handler. I rarely use initialize for any data oriented work.
RE: [flexcoders] Re: Changing the speed of sound?
SampleDataEvent Here is an example: http://www.kelvinluck.com/tag/sourcecode/ HTH Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net/ http://keithreinfeld.home.comcast.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nick Middleweek Sent: Thursday, February 25, 2010 2:31 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Changing the speed of sound? Thanks James, I'll have a read of that link. Where did you get the java code from? Cheers, nick On 25 February 2010 00:27, jamesfin james.alan.finni...@gmail.com wrote: Hi Nick, This will get ugly quickly as this isn't as easy as it sounds, pardon the pun. ;) You need to do some pitch-shifting to the audio stream before sending it along to play. Here's a good discussion on it http://www.dspdimension.com/admin/pitch-shifting-using-the-ft/ Here's a working java sample which you might want to play with before porting it over to as3 unless you want to just convert prior to streaming http://www.mediafire.com/?ze3mymjguim Let us know what you end up doing as this could be a nice AS3 component. Thx, james No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.733 / Virus Database: 271.1.1/2708 - Release Date: 02/24/10 13:34:00 image001.jpgimage002.jpg
[flexcoders] Vertical separator in MenuBar
Hello Everyone, My client has requested that a MenuBar be separated by vertical lines in the way that is enabled by default in the LinkBar. It does not look like this is possible using MenuBar styles. Does anyone know another way to do it? Thank you for any guidance, Orville
[flexcoders] Re: Accessing 'change' property in a dynamically-created TextInput.
So simple - thanks. L. --- In flexcoders@yahoogroups.com, Peeyush Tuli peeyus...@... wrote: myTextInput.addEventListener( flash.events.Event.CHANGEfile:///C:/Documents%20and%20Settings/peeyushtuli/My%20Documents/flex3_documentation/langref/flash/events/Event.html#CHANGE,myChangeHandler); On Thu, Feb 25, 2010 at 4:44 AM, Laurence lmacne...@... wrote: Suppose I have the following code: var myTextInput:TextInput = new TextInput(); this.addChild(myTextInput); How do I access the 'change' property of that TextInput? If I try: myTextInput.change=myChangeHandler() it gives me a error: Access of possibly undefined property change through a reference with static type mx.controls:TextInput. So, how do I tell that dynamically-created TextInput what to do when its value is changed? Thanks, Laurence MacNeill Mableton, Georgia, USA
Re: [flexcoders] Embedded Flash in ASP.Net Page
Hi Angelo, Embedding a SWF file in an ASP.Net page is the same as embedding it in an .html page, the SWF is rendered on the client and the browser doesn't care about the server-side technology. If I were you, I'd create a blank html page on your web server and between the BODY tags put similar code that can be found on Step 4 of this link: http://www.w3schools.com/flash/flash_inhtml.asp See what happens then... HTH, Nick On 25 February 2010 16:53, Angelo Anolin angelo_ano...@yahoo.com wrote: Hi FlexCoders, I am using ASP.Net as my server technology in development of Flex apps. When I embed the Flash (swf file) into my ASP.Net page and set the height to percentage (say 100% or 80%), the flash object is like cut off at the middle. Setting it to a numeric value, say 1000, the flash object displays properly. Any workaround on this issue? I need to set the height to 100% because I want the application to take up as much space of the page. Inputs highly appreciated. Thanks. Regards, Angelo
[flexcoders] Re: Missing component in flexbuilder 3
OK, I won't argue whether it's a UIComponent or not. But I also believe that if it RadioButtonGroup shows up in the component list a component that extends RadioButtonGroup should show up in the custom components list. Any ideas on either; Why it doesn't? or How to fix it? Paul --- In flexcoders@yahoogroups.com, Peeyush Tuli peeyus...@... wrote: RadioButtonGroup is not a desendant of UIComponent as mentioned in the livedocs so Tim might be right.But what's really interesting is that how does the mx:RadioButtonGroup manage to be visible in the controls section. ~Peeyush http://www.mds.asia On Thu, Feb 25, 2010 at 7:09 AM, aceoohay pa...@... wrote: FlexBuilder 3.0 build 3.0.2.214193, sdk 3.5.0 I am extending the RadioButtonGroup, which is a UIcomponent, I believe. I have created a number of similar components based on TextInput, ComboBox, etc. and they all show up in the components panel of FlexBuilder. Is there a component name length restriction? ValidatedRadioButtonGroup is 25 characters long. Paul --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tim Statler tim.statler@ wrote: That typically means that the custom component doesn't extend UIComponent or another Flex component based on UIComponent. If it already extend one of those types, I'm not sure why else it wouldn't show up. What SDK/Builder version are you using? Tim On Wed, Feb 24, 2010 at 1:46 PM, aceoohay pauls@ wrote: I created a a component called ValidatedRadioButtonGroup. Intellisense finds it, I can use it and everything is good. Flexbuilder does not show it in the components panel. Which means I can't easily drag it onto forms during development. Any ideas? Paul
Re: [flexcoders] Using embedded fonts in modules
It should just work if you are using Flex components. If you are rolling your own component you’ll need to copy how we derive the fontContext. On 2/25/10 2:32 AM, Hanpan j...@sceneshift.com wrote: Hey, I'm having loads of trouble getting my embedded font to display in modules. I am embedding the font in a style tag in my parent application, and I'd like to use this font inside my modules. Is there a way in which I can share this embedded font throughout my application (including modules) without having to embed the font into each individual module SWF? Thanks! -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Vertical separator in MenuBar
Use Flex 4 and start with the MenuBar prototype on my blog. On 2/25/10 9:52 AM, creativepragmatic creativepragma...@gmail.com wrote: Hello Everyone, My client has requested that a MenuBar be separated by vertical lines in the way that is enabled by default in the LinkBar. It does not look like this is possible using MenuBar styles. Does anyone know another way to do it? Thank you for any guidance, Orville -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] Re: Vertical separator in MenuBar
Thanks Alex. I am still on Flex 3 so I wound up splitting each MenuBar item into its own MenuBar, enclosed them in an HBox and placed a VRule between each item. Orville
[flexcoders] RadioButtonGroup does not appear as child of container.
When I execute the following code; for each (var field:Object in fieldsContainer.getChildren()) { trace('field[id]=' + field[id] + '|flash.utils.getQualifiedClassName(field)=' + flash.utils.getQualifiedClassName(field)) } I see all of my components except my RadioButtonGroup. I can address the RadioButtonGroup by id, but I need to be able to find all RadioButtonGroups that exist in a container. How does one go about doing this? Paul
[flexcoders] Re: Vertical separator in MenuBar
Here's a starting point for you. To get a leg up on this the next time around you need to do something special like this, dive into the base class source code (menubar.as in this case) and look around to get a feel for what is happening within the default component. For this question, I dove right in and noticed that the updateDisplayList was looping through each menu item. From there I created a new class based upon MenuBar and over-rode the updateDisplayList method. Voila, a quick and easy answer. Also, it would be considerate for all who respond to these type of questions to post working code that can be easily pasted into FB as well as describe in detail what you did to solve it. It doesn't help too much when we push off the answer and not explain how to solve it the next time. I spent 10 minutes to create the sample and respond which will go a long way for all the other developers who will google flex MenuBar vertical line. MenuBarWithVerticalLine.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:local=* local:LocalMenuBar id=myMenuBar labelField=@label mx:XMLList menuitem label=MenuItem A menuitem label=SubMenuItem A-1 enabled=false/ menuitem label=SubMenuItem A-2/ /menuitem menuitem label=MenuItem B/ menuitem label=MenuItem C/ menuitem label=MenuItem D menuitem label=SubMenuItem D-1 type=radio groupName=one/ menuitem label=SubMenuItem D-2 type=radio groupName=one selected=true/ menuitem label=SubMenuItem D-3 type=radio groupName=one/ /menuitem /mx:XMLList /local:LocalMenuBar /mx:Application LocalMenuBar.as package{ import mx.controls.MenuBar; import mx.controls.menuClasses.IMenuBarItemRenderer; public class LocalMenuBar extends MenuBar{ public function LocalMenuBar(){ super(); } // we are overriding the updateDisplayList so we can // get some of the painting action for our vertical bars... override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{ // let the base class draw-up the menu... super.updateDisplayList(unscaledWidth, unscaledHeight); // setup the line style... graphics.clear(); graphics.lineStyle(1, 0x00, .25); // time to draw the vertical lines // skip the first one as we don't // need a vertical bar before the first menu item for (var i:int = 1; i menuBarItems.length; i++){ var item:IMenuBarItemRenderer = menuBarItems[i]; graphics.moveTo(item.x, 2); graphics.lineTo(item.x, unscaledHeight - 2); } } } } --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Use Flex 4 and start with the MenuBar prototype on my blog. On 2/25/10 9:52 AM, creativepragmatic creativepragma...@... wrote: Hello Everyone, My client has requested that a MenuBar be separated by vertical lines in the way that is enabled by default in the LinkBar. It does not look like this is possible using MenuBar styles. Does anyone know another way to do it? Thank you for any guidance, Orville -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Re: using a class once throughout the all app
There is no way there will be five copies of TItleWIndow if you have five subclasses of TitleWindow. You can use –link-report to verify. You can also use the link-report to see what is in each SWF to see if you can identify what you don’t need right away. On 2/25/10 7:45 AM, stinasius stinas...@yahoo.com wrote: that's what i understood from the research though am not sure if am right, which is why am asking. i have an app and i complied as rsl and used modules too which brought down the size to 172 kb for the main app and 140 kb for one of the modules and 80 kb for the other. i kinda loads fast but am thinking that the size can come down a little more. so am exploring ways to shed atleast 70 kbs from the main app. am all out of ideas. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] addPopUp above application but below component
i have an application that has a header title bar running along the top. i have a window that slides in from the top of the screen. right now it slides in from above the screen over the header title bar. what would be the easiest way to make it so that it is below the header title bar but above everything else? dorkie dork
Re: [flexcoders] Embedded Flash in ASP.Net Page
Hi Nick, I actually did this, but still the Flash does not render properly in IE8. I thought at first that it may be because I was only running the application in the Visual Studio web development server but then when I moved the application to be hosted on IIS, the embedded flash still does not take the height in percentage. The only recourse I have as of now is to set the height to a certain pixel. But setting the height in actual pixel has also some drawbacks because if I set the height too large, then the vertical scrollbar of the browser appears, while setting it too low, some of the flash application is cropped. I haven't tested the same in other browsers since security policy in the office limits us the use of IE8 only. I don't know if a javascript hack could solve this. Perhaps, when the page is loading, a javascript will get the content height of the browser and set the value accordingly for the embedded flash object. Any thoughts? I will post the minimal ASP.net codes I have tomorrow. Thanks. Angelo From: Nick Middleweek n...@middleweek.co.uk To: flexcoders@yahoogroups.com Sent: Thu, 25 February, 2010 14:38:58 Subject: Re: [flexcoders] Embedded Flash in ASP.Net Page Hi Angelo, Embedding a SWF file in an ASP.Net page is the same as embedding it in an .html page, the SWF is rendered on the client and the browser doesn't care about the server-side technology. If I were you, I'd create a blank html page on your web server and between the BODY tags put similar code that can be found on Step 4 of this link: http://www.w3school s.com/flash/ flash_inhtml. asp See what happens then... HTH, Nick On 25 February 2010 16:53, Angelo Anolin angelo_anolin@ yahoo.com wrote: Hi FlexCoders, I am using ASP.Net as my server technology in development of Flex apps. When I embed the Flash (swf file) into my ASP.Net page and set the height to percentage (say 100% or 80%), the flash object is like cut off at the middle. Setting it to a numeric value, say 1000, the flash object displays properly. Any workaround on this issue? I need to set the height to 100% because I want the application to take up as much space of the page. Inputs highly appreciated. Thanks. Regards, Angelo
Re: [flexcoders] Re: Missing component in flexbuilder 3
I think that's a reasonable expectation. I would file a bug at http://bugs.adobe.com/flex . But I also believe that if it RadioButtonGroup shows up in the component list a component that extends RadioButtonGroup should show up in the custom components list. Tim
[flexcoders] Re: Vertical separator in MenuBar
Your solution was a nice, proper method in contrast to my quick and dirty shortcut. Thank you for your help James. Orville
[flexcoders] Re: RadioButtonGroup does not appear as child of container.
It would appear that one doesn't do this. I wrapped my custom RadioButtonGroup in a custom box, and it works. Paul --- In flexcoders@yahoogroups.com, aceoohay pa...@... wrote: When I execute the following code; for each (var field:Object in fieldsContainer.getChildren()) { trace('field[id]=' + field[id] + '|flash.utils.getQualifiedClassName(field)=' + flash.utils.getQualifiedClassName(field)) } I see all of my components except my RadioButtonGroup. I can address the RadioButtonGroup by id, but I need to be able to find all RadioButtonGroups that exist in a container. How does one go about doing this? Paul
RE: [flexcoders] addPopUp above application but below component
Don't use PopUp, but rather a normal component, so you can control the order in the display list, which determines the z-order. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dorkie dork from dorktown Sent: Thursday, February 25, 2010 5:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] addPopUp above application but below component i have an application that has a header title bar running along the top. i have a window that slides in from the top of the screen. right now it slides in from above the screen over the header title bar. what would be the easiest way to make it so that it is below the header title bar but above everything else? dorkie dork
Re: [flexcoders] advanced datagrid in popped up titlewindow issue
On Thu, Feb 25, 2010 at 9:14 PM, Nick Middleweek n...@middleweek.co.ukwrote: It's a bit hard without seeing the full code: http://pastebin.com/ But... It might be worth changing your attributesData.initialize to a function call and perform the layerGroup.refresh() inside that function. But just before that call drop in a break point and debug what the grouping.source is... Just an idea. and a pretty darned good idea too :-) that fixed it. thanks. i guess it was a timing issue specific to advanced datagrid (datagrid in same popup worked just fine). thanks again.
Re: [flexcoders] advanced datagrid in popped up titlewindow issue
On Thu, Feb 25, 2010 at 10:09 PM, Tracy Spratt tr...@nts3rd.com wrote: Probably a timing issue. Binding is difficult to debug. Make sure your dataSource var is bindable. Initialize might be too early. Test the content in a handler function and also check it in a creationComplete handler. I rarely use initialize for any data oriented work. yeah i tried doing the grouping refresh in the creationComplete event but that didn't seem to work when i first tried it but now it does ;-) thanks for idea assist guys.
[flexcoders] Comparing ArrayCollections and showing the matches
Can someone point me to an example of how to compare 2 ArrayCollections and create a new one based on what matches? I am creating an application that has a friends list for chatting. When a user logs into the server and the server updates a user list (into an ArrayCollection) I need to compare that all users list to an ArrayCollection of 'friends' (by username) and then update a third dynamic AC that is the data provider for a List. I guess the best way to state what I am trying to accomplish is that I am looking for the same functionality as Yahoo Messenger, MSN Messenger, etc. When a user logs in the system alerts me that my friend is logged in so I can chat with them Does that make sense? Thanks!
[flexcoders] Now that Flex 4 is out is it really worth learning Flex 3?? Your opinion please.
I purchased all the Flex 3 learning material but was told last weeek that Flex 4 was totally different and that I was wasting my time learning Flex 3. Should I quit learning Flex 3 or stat with Flex 4? There are only 3 ebooks out about Flex 4. Thanks for your answers. Fred.
Re: [flexcoders] RadioButtonGroup does not appear as child of container.
RadioButtonGroup is not a display object. Maybe scan all the children and if you find a RadioButton see what it’s group is? On 2/25/10 3:00 PM, aceoohay pa...@compuace.com wrote: When I execute the following code; for each (var field:Object in fieldsContainer.getChildren()) { trace('field[id]=' + field[id] + '|flash.utils.getQualifiedClassName(field)=' + flash.utils.getQualifiedClassName(field)) } I see all of my components except my RadioButtonGroup. I can address the RadioButtonGroup by id, but I need to be able to find all RadioButtonGroups that exist in a container. How does one go about doing this? Paul -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Now that Flex 4 is out is it really worth learning Flex 3?? Your opinion please.
On 2/26/10, fred44455 wrote: I purchased all the Flex 3 learning material but was told last weeek that Flex 4 was totally different and that I was wasting my time learning Flex 3. Some aspects of Flex are very different between 3 and 4. The most visible change is probably the new component model, which will require some getting used to. But the core ActionScript language doesn't change all that much, so overall I feel that understanding Flex 3 is still the best starting point for learning Flex 4. Jochem -- Jochem van Dieten http://jochem.vandieten.net/
[flexcoders] Re: using a class once throughout the all app
Hey i think i came across something very useful. first i have to say if your app is big, split it up into modules. and also use rsl. now i came across this in the flex help. have not tried it yet but it looks like it might help brind down the size of the modules. here it is Reducing module size Module size varies based on the components and classes that are used in the module. By default, a module includes all framework code that its components depend on, which can cause modules to be large by linking classes that overlap with the application's classes. To reduce the size of the modules, you can optimize the module by instructing it to externalize classes that are included by the application. This includes custom classes and framework classes. The result is that the module includes only the classes it requires, while the framework code and other dependencies are included in the application. To externalize framework classes with the command-line compiler, you generate a linker report from the application that loads the modules. You then use this report as input to the module's load-externs compiler option. The compiler externalizes all classes from the module for which the application contains definitions. This process is also necessary if your modules are in a separate project from your main application in Flex Builder. Create and use a linker report with the command-line compiler Generate the linker report and compile the application:mxmlc -link-report=report.xml MyApplication.mxml The default output location of the linker report is the same directory as the compiler. In this case, it would be in the bin directory. Compile the module and pass the linker report to the load-externs option:mxmlc -load-externs=report.xml MyModule.mxml