[flexcoders] nested viewstack does not initialize in time
I have a simple navigation interface with a navbar on the left, and a content section on the right. The navbar is composed of several main sections (canvases), each of which has several sub sections (a linkbar bound to a viewstack). The content area has a main viewstack with a canvas for each main section, and each of those has a viewstack that is bound to the subsection linkbars in the navbar. The problem is that only the first of the subsection (nested) viewstacks is initialized at runtime. When the user clicks on any section other than the first, that section expands, but is empty, because the linkbar's dataProvider is still null. It's only the second time it's selected that it's displayed. When the nav section is expanded (which could be 1 minute after loading), the dataProvider of the linkbar is still null. Is there some way to force it to initialize all of the nested viewstacks? I tried to do this in Application.creationComplete(), but when I iterated through the main viewstack and attempted to list the child controls of its canvases (there should be 1 viewstack in each), I got an exception because they had 0 children at that point. Any ideas? Here's the app, right-click for source. To see the problem, try clicking on a different section twice. The first time it fails, and the second time it works normally. http://thosmos.com/develop/mockup/bin/darkroom.html T
Re: [flexcoders] nested viewstack does not initialize in time
creationPolicy=all I'll let someone else reply telling you why that's a bad idea. On 10/20/07, Thomas Spellman [EMAIL PROTECTED] wrote: I have a simple navigation interface with a navbar on the left, and a content section on the right. The navbar is composed of several main sections (canvases), each of which has several sub sections (a linkbar bound to a viewstack). The content area has a main viewstack with a canvas for each main section, and each of those has a viewstack that is bound to the subsection linkbars in the navbar. The problem is that only the first of the subsection (nested) viewstacks is initialized at runtime. When the user clicks on any section other than the first, that section expands, but is empty, because the linkbar's dataProvider is still null. It's only the second time it's selected that it's displayed. When the nav section is expanded (which could be 1 minute after loading), the dataProvider of the linkbar is still null. Is there some way to force it to initialize all of the nested viewstacks? I tried to do this in Application.creationComplete(), but when I iterated through the main viewstack and attempted to list the child controls of its canvases (there should be 1 viewstack in each), I got an exception because they had 0 children at that point. Any ideas? Here's the app, right-click for source. To see the problem, try clicking on a different section twice. The first time it fails, and the second time it works normally. http://thosmos.com/develop/mockup/bin/darkroom.html T
RE: [flexcoders] nested viewstack does not initialize in time
Thanks Doug. I just found that immediately after sending my email. J What I did is set it to creationPolicy=queued, which seems to get it done fast enough. I assume the reason it's a bad idea is because it's a performance hit at start up, especially since that main viewstack is holding 90% of the stuff of the app, and also because it might instantiate stuff the user never uses? If so, then I think creationPolicy=all or queued will be fine since the app isn't that big, and is basically just a simple status and config console app, and will be run over an intranet. Now that I know what I'm looking for, I'll do some searching for possible negative repercussions of using it. Thanks T From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug McCune Sent: Saturday, October 20, 2007 11:39 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] nested viewstack does not initialize in time creationPolicy=all I'll let someone else reply telling you why that's a bad idea. On 10/20/07, Thomas Spellman [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I have a simple navigation interface with a navbar on the left, and a content section on the right. The navbar is composed of several main sections (canvases), each of which has several sub sections (a linkbar bound to a viewstack). The content area has a main viewstack with a canvas for each main section, and each of those has a viewstack that is bound to the subsection linkbars in the navbar. The problem is that only the first of the subsection (nested) viewstacks is initialized at runtime. When the user clicks on any section other than the first, that section expands, but is empty, because the linkbar's dataProvider is still null. It's only the second time it's selected that it's displayed. When the nav section is expanded (which could be 1 minute after loading), the dataProvider of the linkbar is still null. Is there some way to force it to initialize all of the nested viewstacks? I tried to do this in Application.creationComplete(), but when I iterated through the main viewstack and attempted to list the child controls of its canvases (there should be 1 viewstack in each), I got an exception because they had 0 children at that point. Any ideas? Here's the app, right-click for source. To see the problem, try clicking on a different section twice. The first time it fails, and the second time it works normally. http://thosmos.com/develop/mockup/bin/darkroom.html T
[flexcoders] Re: Flex is becoming unviable
It there was a way that I could load the modules in the background while the user is doing other things would be great, then it would be there right when I need it. A quick Google search would have shown you that this is possible with modules, by doing ModuleManager.getModule(MyModule.swf).load();, this will load the module but not display it, so when it's time for you to display it it's already been loaded. However the only time you should really do that is if you're sure the user is going to use that module while using your app. One of the most common cases for using modules seems to be when you have sections of your app (e.g. a preferences section) which the user isn't always going to require - so you only load that when they want it. -D
[flexcoders] Best Practices: navigating through content
Hi list, I'm building an application that will contain a ViewStack with multiple pages. After some experimenting I'm confused about the best practice for using the ViewStack as a content holder. I'd like any advice anyone might have on best practices please. -- Situation -- I'm loading content via xml: 4 categories with each 50 pages full of content (text, images, mp3's and pre-CS3 swf's). The user should be able to navigate through these categories and each category's pages, using fancy transitional effects, AND be able to use History to go backwards and forwards through the path using a back/next button. -- Solutions -- 1. I could fill the ViewStack each time the categoryIndex changes with the amount of pages it has in the xml. That way I can easily navigate through them. However, when adding an image to each page, the memory begins to clog up. So I bound the source with an additional condition: source={(visible) ? model.selectedPage : null} This works nicely, but now I get the feeling I'm not using the ViewStack's functionalities correctly. Using this method the ViewStack has 49 invisible page-objects without content and one currently visible with the correct content in it. Doesn't feel right for some reason. 2. I could add just one Page object to the stage instead of using a ViewStack and bind model.currentPage to its content. However, this way I can't use Effects to turn the page, nor States for a History functionality. So this isn't really an option. 3. I could build my own PageManager that contains 2 pages. One for the current content and another one to swap with, using an Effect. This manager should also be able to keep track of States and add them to a custom HistoryManager. The problem is that this will probably take up a lot of time, and I'm sure there must be a far easier way using the default components in Flex. -- Question -- There must be many more examples around but I can't find the right keywords to describe the situation. I hope someone has been working on the same implementation as I am, and is willing to share his (or hers) experience with me / us all. Thanks in advance, Bart Wttewaall
[flexcoders] dataGridColumn width problems
I have a datagrid inside a container that can change width. The DG is 100% width, it has 4 columns. I would like the last 3 columns to be a specific size while the first column takes up whatever space is left. Right now, when my DG loads the columns are almost all the same size, then if you resize the DG making it wider then smaller the last 3 columns slowly take over the first column until there is almost nothing left. At first I tried giving widths to the last 3 columns so they would be set, I thought this would work just like html tables for example. That didn't work, so I tried binding (DG.width - the other 3 columns widths) as the width of the first column but this causes amazingly slow performance when resizing the DG...you can actually see the DG columns jumping to catch up with the resized window, it's really ugly and makes my app feel like it is crawling. here is an example: mx:DataGrid id=myDG width=100% height=100% resizableColumns=false mx:columns mx:DataGridColumn minWidth=135 width={myDG.width - 225}/ // 20 extra pixles for scrollbar. mx:DataGridColumn minWidth=80 width=80 / mx:DataGridColumn minWidth=90 width=90 / mx:DataGridColumn minWidth=35 width=35 / /mx:columns /mx:DataGrid I'm not sure what to do here...how come the DGcolumns have min widths but no max width? I have searched this list and didn't see any other posts about this problem, does this not effect other people? Thanks in advance for your help, this list is awesome.
[flexcoders] Re: Tree with edit
Thank you very much. This is indeed what I needed to get it working. I did not know you can invoke an event like that :) Again, thanks Karen. --- In flexcoders@yahoogroups.com, Karen [EMAIL PROTECTED] wrote: Here are the steps I'm using for something similar: In the click event handler for your edit button treeReference.editable = true; treeReference.dispatchEvent(new ListEvent( ListEvent.ITEM_EDIT_BEGINNING, false, false, 0, indexOfItemToEdit) ); On your tree set itemEditEnd=editEnd(event) In editEnd treeReference.editable=false; --- In flexcoders@yahoogroups.com, nocturnal_world nocturnal_world@ wrote: Hello, I just joined this group hoping to find an answer to this flex project I am working on. Basically what I need to do is, I have a tree, it has a folder and some items in it. Then I have this button called edit. What I want to do is, if I select an item on the tree, then I click on the edit button, the selected item on the tree becomes editable. I know it sounds simple, but I can't do it. I have been trying to solve this on my own even though I have no proper training on flex. Hope you guys can point me to the right direction. Thanks in advance.
[flexcoders] Opening a Flex 2 project in Flex 3?
Hi all, I'm trying to open a project built in Flex 2, but when I look at my files in the design view no content shows up... anyone experience this?? Idea's on a fix? Thanks! - Ken BEGIN:VCARD VERSION:2.1 X-MS-SIGNATURE:YES N;LANGUAGE=en-us:Bromberger;Ken FN:Ken Bromberger TEL;HOME;VOICE:+1 (206) 905-9427 TEL;CELL;VOICE:+1 (206) 427-0683 X-MS-OL-DEFAULT-POSTAL-ADDRESS:2 URL;WORK:www.locomango.com EMAIL;INTERNET:[EMAIL PROTECTED] X-MS-CARDPICTURE;TYPE=JPEG;ENCODING=BASE64: /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQY GBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYa KCgoKCgoKCg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 /9k= X-MS-OL-DESIGN;CHARSET=utf-8:card xmlns=http://schemas.microsoft.com/office/outlook/12/electronicbusinesscards; ver=1.0 layout=top bgcolor=ffimg xmlns= align=tleft area=48 use=cardpicture/fld xmlns= prop=name align=left dir=ltr style=b color=00 size=10/fld xmlns= prop=telcell align=left dir=ltr color=00 size=8label align=right color=626262Mobile/label/fldfld xmlns= prop=telhome align=left dir=ltr color=00 size=8label align=right color=626262Home/label/fldfld xmlns= prop=email2 align=left dir=ltr color=00 size=8/fld xmlns= prop=webwork align=left dir=ltr color=00 size=8/fld xmlns= prop=blank size=8/fld xmlns= prop=blank size=8/fld xmlns= prop=blank size=8/fld xmlns= prop=blank size=8/fld xmlns= prop=blank size=8/fld xmlns= prop=blank size=8/fld xmlns= prop=blank size=8/fld xmlns= prop=blank size=8/fld xmlns= prop=blank size=8/fld xmlns= prop=blank size=8/fld xmlns= prop=blank size=8//card REV:20070420T063850Z END:VCARD
[flexcoders] Re: Flex is becoming unviable
I think the framework caching is right way to make swf files smaller. But even i know not all apps for flash player not use flex framework i think this 500kb framework file must be loaded not when user try use some flex app, but in stealth like flash player update (i don't know it is possible) but i think this is one way to make swfs file smaller and user don't worry of 500kb dowload. Or maybe break framework in smaller files, and this files loaded and cached in persistent cache on demmand. Or maybe let developers specify what they using and mxmlc compile a new framework file (copy of original and still assigned by adobe for persistent cache) and this new part framework file append of other parts user dowloaded. I don't know if this options are possible, only ideas... One think i know is i will be extremely happy if adobe can make swf files small. --- In flexcoders@yahoogroups.com, dave_defusion [EMAIL PROTECTED] wrote: It there was a way that I could load the modules in the background while the user is doing other things would be great, then it would be there right when I need it. A quick Google search would have shown you that this is possible with modules, by doing ModuleManager.getModule(MyModule.swf).load();, this will load the module but not display it, so when it's time for you to display it it's already been loaded. However the only time you should really do that is if you're sure the user is going to use that module while using your app. One of the most common cases for using modules seems to be when you have sections of your app (e.g. a preferences section) which the user isn't always going to require - so you only load that when they want it. -D
[flexcoders] softphone development
Hello firends out there, we are working on a softphone in flex and action script and i want to know if there is someone with experience and get some help from. we have the phone well develop but we donot have the know how of connecting to the radius server. i dont know if is not possible. thank you all
[flexcoders] combobox - setIndex function
This might seem rudimentary to some but others may find it as useful as I have found. I do a lot of database work and have found lots of plain silly ways for setting the selectedIndex value of a combobox but this one is clean and simple and, most of importantly, it works. I found something that worked out on the net somewhere and then modified it so I could pass the name of the combobox and a value. This allows me to reuse the code easily. private function setIndex(oCbo:Object,sValue:String):void { var val:String; val= sValue ; for (var i: int = 0; i oCbo.dataProvider.length; i++) { if ( val == oCbo.dataProvider[i].data) { oCbo.selectedIndex = i; break; } } } As you can see, it just grabs the combobox and churns through it looking for a value to match. Enjoy! Randy Cooper http://www.randycooper.net
[flexcoders] Detect fullscreen availability without engaging fullscreen?
So, I'd like to remove the fullscreen button from my game if the movie has been embedded such that fullscreen is unavailable. I expected to find hasFullscreen() or something in flash.system.Capabilities, but there's nothing I can find. Right now, I'm iterating Application.application.parameters, but that seems kind of ridiculously fragile. Is there really no formal method to determine whether fullscreen is available?
[flexcoders] Re: Flex 3 beta 2 RemoteObject and DjangoAMF
Thanks for the tip. However, I prefer to work with Python instead of Java.
[flexcoders] radar chart
Hi All, I want to develop a radar chart using FLEX 2.0.1. I didn't found any sample on radar chart, can anyone help regarding developing radar charts. Thanks in advance. Regards Girish
[flexcoders] Data grid - select all checkbox - drag and drop
Hey all, I am currently working on this drap and drop functionality on a data grid, where there is custom checkbox being used. The functionality that I am trying to accomplish is to drag all the line items checked, into a box component living inside an accordion on left side of the panel. And also showing a counter label on the box. This is very much similar to all the inbox/outlook kind of features that we see all the time. Somehow, I am not able to get the datagrid drag and drop not working as seamless as needed. Could someone please take a look at this code and let me know what I am missing. Code: http://meetandbuy.com/VISA/dragDropCheckBox.zip http://meetandbuy.com/VISA/dragDropCheckBox.zip Thank you, Kal
[flexcoders] Data grid - select all checkbox - drap and drop
Hey all, I am currently working on one of the functionalities using drag and drop feature with the datagrid. I am also using the custom checkbox renderer inside the data grid. What I am trying to accomplish is to select all/select the line items in the datagrid and drag them into a box component living inside an accordion panel on the left side. I also want to have a counter label living on top of the box, showing the count of the number of items dropped. This is very much similar to the kind of feature we see in inbox/outlook functionalities. Somehow I am not able to refine the drag feature of the datagrid and the whole functionality doesnt seem as seamless. Could someone please take a look at my code and see what I am missing. Thank you. Code: http://meetandbuy.com/VISA/dragDropCheckBox.zip Regards, Kal
Re: [flexcoders] Opening a Flex 2 project in Flex 3?
- Original Message - From: Ken Bromberger To: flexcoders@yahoogroups.com Sent: Sunday, October 21, 2007 7:48 PM Subject: [flexcoders] Opening a Flex 2 project in Flex 3? Hi all, I'm trying to open a project built in Flex 2, but when I look at my files in the design view no content shows up. anyone experience this?? Idea's on a fix? Thanks! - Ken Have you tried cleaning the project? I just copied my files from my flex 2 project into a new flex 3 project and had no problems, though I rarely use the design view. Paul
Re: [flexcoders] radar chart
http://www.fusioncharts.com/ these are flash based charts that can be used in a flex app- including a radar chart. I don't have any resources for 'building' such charts, but these are pretty cool. d. On 10/21/07, girish_ok [EMAIL PROTECTED] wrote: Hi All, I want to develop a radar chart using FLEX 2.0.1. I didn't found any sample on radar chart, can anyone help regarding developing radar charts. Thanks in advance. Regards Girish
RE: [flexcoders] Detect fullscreen availability without engaging fullscreen?
What is Capabilites.playerType? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Sent: Sunday, October 21, 2007 1:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Detect fullscreen availability without engaging fullscreen? So, I'd like to remove the fullscreen button from my game if the movie has been embedded such that fullscreen is unavailable. I expected to find hasFullscreen() or something in flash.system.Capabilities, but there's nothing I can find. Right now, I'm iterating Application.application.parameters, but that seems kind of ridiculously fragile. Is there really no formal method to determine whether fullscreen is available?
RE: [flexcoders] Opening a Flex 2 project in Flex 3?
Clean and rebuild? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ken Bromberger Sent: Sunday, October 21, 2007 11:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Opening a Flex 2 project in Flex 3? Hi all, I'm trying to open a project built in Flex 2, but when I look at my files in the design view no content shows up... anyone experience this?? Idea's on a fix? Thanks! - Ken
[flexcoders] custom mxml-manifest file updates not noticed in F3B2
Hey, Has anyone else experienced this. I've added components to my custom mxml-manifest file which is loaded into the compiler via a modified flex-config file. I do not get any compiler error from the other components listed in the manifest. But i'm getting 'Could not resolve' erros from the new entries. Also i do not get any errors if I rename an existing entry in the manifest to an invalid name. regards, Bjorn
[flexcoders] Restrict user from doing anything when cursor is busy?
Can I restrict the user from interacting while the cursor has the busy symbol? This would be WAY easier than doing a bunch of error checking for me :).
Re: [flexcoders] Re: Flex is becoming unviable
I like the idea of the Flash Player loading the framework RSL in stealth mode piece by piece when the connection is idle. But we really need to know if the user has the RSL. If they do then we know basic apps are down to 200kb to 400kb. Remember, this *is* comparable to HTML websites with graphics. Once loaded a SWF can be much faster due to only grabbing data. Now you must also consider that most users have broadband and 400kb loads in about 5 seconds. So who is your target audience? They may watch as the preloader zooms across once and you spent way too much time worrying about it. You also realize that those still on dial up are used to slowness on the internet. If a user is on dial up every website they go to takes time to load. The difference is that HTML websites start to give you a preview piece by piece of the site. I thought that possibly a scale 9 background image of the complete application can show in the background of the preloader. Give them a preview of what they get if they wait. some thoughts, - SWF's are cached once they are downloaded (users may have initial load time - show custom message) - RSL Framework (already available but no way to check if user has framework cached) - Flash Player stealth mode downloads the RSL framework in the background during idle network time - RSL Framework broken up into smaller chunks - Super compression of swfs??? (how much are they compressed already?) - Preloader application preview image while loading (sort of like the thumbnail for images or videos in explorer) On 10/21/07, danielvlopes [EMAIL PROTECTED] wrote: I think the framework caching is right way to make swf files smaller. But even i know not all apps for flash player not use flex framework i think this 500kb framework file must be loaded not when user try use some flex app, but in stealth like flash player update (i don't know it is possible) but i think this is one way to make swfs file smaller and user don't worry of 500kb dowload. Or maybe break framework in smaller files, and this files loaded and cached in persistent cache on demmand. Or maybe let developers specify what they using and mxmlc compile a new framework file (copy of original and still assigned by adobe for persistent cache) and this new part framework file append of other parts user dowloaded. I don't know if this options are possible, only ideas... One think i know is i will be extremely happy if adobe can make swf files small. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, dave_defusion [EMAIL PROTECTED] wrote: It there was a way that I could load the modules in the background while the user is doing other things would be great, then it would be there right when I need it. A quick Google search would have shown you that this is possible with modules, by doing ModuleManager.getModule(MyModule.swf).load();, this will load the module but not display it, so when it's time for you to display it it's already been loaded. However the only time you should really do that is if you're sure the user is going to use that module while using your app. One of the most common cases for using modules seems to be when you have sections of your app (e.g. a preferences section) which the user isn't always going to require - so you only load that when they want it. -D
RE: [flexcoders] Re: Flex is becoming unviable
I'm not sure I agree. If I had a store, I might start bringing down the pages of the shopping cart after the catalog was up and running, just in case the user decided to buy something. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dave_defusion Sent: Sunday, October 21, 2007 4:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex is becoming unviable It there was a way that I could load the modules in the background while the user is doing other things would be great, then it would be there right when I need it. A quick Google search would have shown you that this is possible with modules, by doing ModuleManager.getModule(MyModule.swf).load();, this will load the module but not display it, so when it's time for you to display it it's already been loaded. However the only time you should really do that is if you're sure the user is going to use that module while using your app. One of the most common cases for using modules seems to be when you have sections of your app (e.g. a preferences section) which the user isn't always going to require - so you only load that when they want it. -D
RE: [flexcoders] dataGridColumn width problems
Binding probably won't work. Try setting resizable=false on the last three columns. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of joshuagatcke Sent: Sunday, October 21, 2007 8:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dataGridColumn width problems I have a datagrid inside a container that can change width. The DG is 100% width, it has 4 columns. I would like the last 3 columns to be a specific size while the first column takes up whatever space is left. Right now, when my DG loads the columns are almost all the same size, then if you resize the DG making it wider then smaller the last 3 columns slowly take over the first column until there is almost nothing left. At first I tried giving widths to the last 3 columns so they would be set, I thought this would work just like html tables for example. That didn't work, so I tried binding (DG.width - the other 3 columns widths) as the width of the first column but this causes amazingly slow performance when resizing the DG...you can actually see the DG columns jumping to catch up with the resized window, it's really ugly and makes my app feel like it is crawling. here is an example: mx:DataGrid id=myDG width=100% height=100% resizableColumns=false mx:columns mx:DataGridColumn minWidth=135 width={myDG.width - 225}/ // 20 extra pixles for scrollbar. mx:DataGridColumn minWidth=80 width=80 / mx:DataGridColumn minWidth=90 width=90 / mx:DataGridColumn minWidth=35 width=35 / /mx:columns /mx:DataGrid I'm not sure what to do here...how come the DGcolumns have min widths but no max width? I have searched this list and didn't see any other posts about this problem, does this not effect other people? Thanks in advance for your help, this list is awesome.