[flexcoders] Update AIR application from a local system path.
My Problem is i want to update my AIR application from a local system path, it can be central download location or a third app which is monitoring the updates, which downloads the new AIR file to the central location. I have tried using installFromAIRFile method from the ApplicationUpdaterUI class to update my application, but no success. I suspect I might be using this message incorrectly. I have attached below the code snippet what i have tried. public function updateApplication1():void{ var airFile:File = File.desktopDirectory.resolvePath(UtilityWizard.air); _appUpdater = new ApplicationUpdaterUI(); _appUpdater.updateURL = airFile.url; _appUpdater.addEventListener(UpdateEvent.INITIALIZED, updateIntializeHandler); _appUpdater.addEventListener(StatusFileUpdateEvent.FILE_UPDATE_STATUS, fileUpdateStatusHandler); _appUpdater.addEventListener(StatusUpdateErrorEvent.UPDATE_ERROR, updateErrorHandler); _appUpdater.initialize(); } private function updateIntializeHandler(e:UpdateEvent):void { var airFile:File = File.desktopDirectory.resolvePath(UtilityWizard.air); _appUpdater.installFromAIRFile(airFile); } private function fileUpdateStatusHandler(e:StatusFileUpdateEvent):void{ Alert.show(e.available.toString()); } private function updateErrorHandler(e:StatusUpdateErrorEvent):void{ Alert.show(e.text); } Please guide me to the correct path, or that is something not possible. Thanks in advance Vishal
[flexcoders] Job Posting
Hi All friends! I have created a group on facebook I Feel The Pain as you might be all known to the fact about the suituation in Kashmir and therefore due to the conflict lots of unemployment had increased and lots of talented youth are out of job. Please join this group and do post the job openings you find near you or in the offices you are working. At least if we can do nothing we can even post 1 job posting we find on our newspapers. So let us join together and help Kashmir. I humbly invite all my friends and good human beings who wanna to help those who are in need. I dont ask money but few minutes of your precious life for good cause. and Let us say *I Feel The Pain* and write on your email signatures a line Join *I Feel The Pain* on Facebook, I am doing the same right after this email. -- With Regards Shabir Ahmad Gilkar Srinagar Kashmir JK Voice: +91 9419942501 email: shabirgil...@gmail.com URL: http://shabirgilkar.wordpress.com Skype: shabirgilkar
[flexcoders] spark ButtonBar selectedIndex out of view
I have a spark ButtonBar with a horizontalLayout. The width of the ButtonBar is small ...so the end buttons don't show. When I set the selectedIndex to one of the end buttons...its not coming into view. How can I ensure the selectedItem is in view? thanks s:HGroup s:ButtonBar id=buttonbar1 width=500 requireSelection=true s:layout s:HorizontalLayout / /s:layout s:dataProvider s:ArrayCollection source=['Button1', 'Button2', 'Button3', 'Button4', 'Button5', 'Button6', 'Button7', 'Button8'] / /s:dataProvider /s:ButtonBar s:TextInput id=t1 text=7/ s:Button label=selectIndex click=buttonbar1.selectedIndex = Number(t1.text)/ /s:HGroup
[flexcoders] SystemManager and RSL linkage
I am building my flex 3 project using the external RSL support. What confuses me is that when I try to use the SystemManager (and thus import it) my swf increases in size (~250KBs). Why is that? Is not SystemManager included in the RSL? Can somebody explain? Any ideas on what classes are included in the RSL? TIA, Fotis
[flexcoders] Re: BlazeDS + Hibernate: how to not send PersistentMaps to the client?
Hello, The following article gives the basic idea: http://famvdploeg.com/blog/2008/08/blazeds-and-hibernate-proxied-objects/ In my case, I used a custom Map implementation, called ExternalMap, that is used to transfer map data over BlazeDS (so that I can map it to my custom HashCollection on the client side). In the HibernatePropertyProxy mentioned in the article, I simply overrode the following method: @Override public Object getInstanceToSerialize(Object instance) { // TODO Auto-generated method stub Object instanceToSerialize = null; if (instance instanceof Map) { instanceToSerialize = new ExternalMap(); PersistentMap map = (PersistentMap)instance; for (Object key : map.keySet()) { ((Map)instanceToSerialize).put(key, map.get(key)); } } else { instanceToSerialize = super.getInstanceToSerialize(instance); } return instanceToSerialize; } Hope this may be useful. Regards, -- Sébastien 2010/5/10 Sébastien Tromp sebastien.tr...@gmail.com Hello, I am using Flex and the client side, Java + Hibernate on the server, and BlazeDS to communicate between them. One typical scenario I am facing is: - Create a new bean in the Java code, and persist it using Hibernate's getTemplate().save(myObject) - Send this object to the client using BlazeDS. However, if myObject has a Map attribute, Hibernate populates it with a PersistentMap, thus sending it to the client. Is there a way I could use to _not_ send PersistentMaps, but rather standard HashMaps? Thank you for your help, -- Sébastien Tromp
Re: [flexcoders] Use a Popup as itemEditor in Datagrids
Hi Alex, Thanks for Quick reply. Yes, it is not readonly but editedItemRenderer is readonly. Now, My 50% problem is solved but 50% is still remaining. After closing popup and returning focus to grid, cell is opened in edit mode. I want this cell in renderer mode. How should I dispatch itemEditEnd event from popup so after closing the popup, cell will not goes to edit mode? Thanks In advance Sachin dev tripathi -- View this message in context: http://old.nabble.com/Use-a-Popup-as-itemEditor-in-Datagrids-tp7071004p28523124.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Force CSS compilation (SDK 4 release feature).
Hi Oleg, Either patch the compiler (sigh) to remove this warning http://stackoverflow.com/questions/1499748 or set -show-unused-type-selector-warnings=false in Flex compiler section of your project properties in Flash Builder 4. http://stackoverflow.com/questions/840611/flex-the-css-type-selector-was-not-processed-because-the-type-was-not-used-in-th Could remove the warning only, not sure whether style will be compiled into resulted SWF. -- Best regards, Andriy Panas On 8 May 2010 20:11, Oleg Sivokon olegsivo...@gmail.com wrote: Hi, we were compiling against SDK 4 beta 2, and now are trying to move to the release SDK build. The problem is that in beta CSS styles would compile even though they aren't used, now the compiler tries to be smart, when it's less needed, and it doesn't compile the stiles... * sigh * I'm getting warning: C:\projects\exemplars\trunk\src\styles\main.css(93): Warning: The CSS type selector 'ToolTip' was not processed, because the type was not used in the application. The thing is, this style is used in modules, and we have 5 modules that use the same style for the tooltip - I don't want to compile this style 5 times... I've tried forcing the importing of ToolTip and Alert (these two are giving the issues), but since the main module is using RSLs, the imports are ignored, the compiler still thinks it has to omit these styles... * double sigh * Is there a way to prevent this awesome program from guessing what I wanted to do? Why try to guess and decide instead of me? Worst case - ask... Why assume?.. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: flexcoders-dig...@yahoogroups.com flexcoders-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: flexcoders-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] magnifying glass effect in Flex : Solution
Hi I have created a sample here with Flex for magnifying glass in flex: http://devsachinonflex.blogspot.com/2010/04/magnifying-glass-in-flex.html Sachin dev tripathi Flex Developer -- View this message in context: http://old.nabble.com/magnifying-glass-effect-in-Flex-%3A-Solution-tp28523159p28523159.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Force CSS compilation (SDK 4 release feature).
Hi Oleh, Just found out about -keep-all-type-selectors compiler option, this must be helpful in your case http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html http://forums.adobe.com/thread/483614 -- Best regards, Andriy Panas On 11 May 2010 14:51, Andriy Panas a.pa...@gmail.com wrote: Hi Oleg, Either patch the compiler (sigh) to remove this warning http://stackoverflow.com/questions/1499748 or set -show-unused-type-selector-warnings=false in Flex compiler section of your project properties in Flash Builder 4. http://stackoverflow.com/questions/840611/flex-the-css-type-selector-was-not-processed-because-the-type-was-not-used-in-th Could remove the warning only, not sure whether style will be compiled into resulted SWF. -- Best regards, Andriy Panas On 8 May 2010 20:11, Oleg Sivokon olegsivo...@gmail.com wrote: Hi, we were compiling against SDK 4 beta 2, and now are trying to move to the release SDK build. The problem is that in beta CSS styles would compile even though they aren't used, now the compiler tries to be smart, when it's less needed, and it doesn't compile the stiles... * sigh * I'm getting warning: C:\projects\exemplars\trunk\src\styles\main.css(93): Warning: The CSS type selector 'ToolTip' was not processed, because the type was not used in the application. The thing is, this style is used in modules, and we have 5 modules that use the same style for the tooltip - I don't want to compile this style 5 times... I've tried forcing the importing of ToolTip and Alert (these two are giving the issues), but since the main module is using RSLs, the imports are ignored, the compiler still thinks it has to omit these styles... * double sigh * Is there a way to prevent this awesome program from guessing what I wanted to do? Why try to guess and decide instead of me? Worst case - ask... Why assume?.. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: flexcoders-dig...@yahoogroups.com flexcoders-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: flexcoders-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Force CSS compilation (SDK 4 release feature).
Hi Andriy. Thanks, it appears that it was partially my fault. I've miscopied the namespace (missed one letter :) so, that must be just a wrong warning... what it should be telling is that it doesn't know what namespace URI refers to, and not that the class isn't used. Otherwise the -keep-all-type-selectors should've worked. I'll file a bug on this one and post back the link when I find the time. Best. Oleg
[flexcoders] Resource bundles/ locales?
Hi, I'm looking at Resource bundles and Locales and trying to get an understanding of how they are working in a project I've just come from. Has anyone seen this before?... We have a component who's label was bound to a Class.property... mx:Button id=me label={Labels.SAVE_LABEL} / In the Labels Class, we have a bunch of properties, the .save looking as below... public static var SAVE_LABEL : String = labels::search.save; ... and we also have ResourceBundles project which has multiple locale folders; there is a labels.properties file in each which have many key-value pair's including this one... . . search.save=Save . . . This seems pretty neat and better than using label={...@resource(bundle='labels', key='search.save')} everywhere. Has anyone seen this before and do you know how it is working? Thanks, Nick
Re: [flexcoders] Does Flex 4 SDK require Flash Player 10.1?
Calling: isDebugSWF = new Error().getStackTrace().search(/:[0-9]+]$/m) -1; was preventing my swf from loading in the release version of the Flash Player (worked fine in the debug version). I had this code in the constructor of one of my classes. thanks On Mon, May 10, 2010 at 12:26 PM, Alex Harui aha...@adobe.com wrote: Sounds like there is an exception being thrown when running in the release player. The release player just eats exceptions and stops running code until the next frame. If code that would run later sets up code to run in the next frame, then that code won’t run. There could be a timing dependency if you are loading CSS modules and depending on the styles at startup. There could be a stage-size dependency where the SWF instance doesn’t have its final size until a bit later than you might expect. That can cause some math to go negative and generate an exception. During startup, almost everything is run from callLater as we validate components. I would set UIComponentGlobals.catchCallLaterExceptions=true and listen for “callLaterError” events on the systemManager and if you get one, addChild a TextField to the SystemManager and display the error. On 5/9/10 11:50 PM, dorkiedorkfromdorkt...@gmail.com dorkiedorkfromdorkt...@gmail.com wrote: On some machines our app appears to only load when using the debug player: Does not finish loading: Manufacturer: Adobe Windows Flash Player: WIN 10,1,53,38 Flash Player Debugger: false Operating System: Windows XP Language: en CPU Architecture: x86 Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729) Works: Manufacturer: Adobe Windows Flash Player: WIN 10,1,53,38 Flash Player Debugger: true Operating System: Windows XP Language: en CPU Architecture: x86 Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729) On Mon, May 10, 2010 at 1:26 AM, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: Shouldn't the playerglobal.swc tell me if I'm using api's that require 10.1 when I set the required Flash Player version to 10.0.0 in the Flex Compiler project options? On some machines we can load our site and in others it is stalling about a quarter of the way through the second preloader progress bar. On Sun, May 9, 2010 at 11:38 PM, Alex Harui aha...@adobe.com wrote: Are you using the official Flex 4 release build or some nightly build? TLF and the Flex SWCs should have no requirements on 10.1. They will use 10.1 APIs if they exist though. But if your code is trying to do 10.1 things like recycle textlines or set up a global error handler you could run into trouble. On 5/9/10 9:44 AM, dorkiedorkfromdorkt...@gmail.com http://dorkiedorkfromdorkt...@gmail.com dorkiedorkfromdorkt...@gmail.com http://dorkiedorkfromdorkt...@gmail.com wrote: How would I be able to determine that? Is TLF one of them? On Sun, May 9, 2010 at 2:16 AM, Alex Harui aha...@adobe.com http://aha...@adobe.com wrote: No, 10.1 is not required, but if you setup your SWF to require 10.1 APIs your SWF may not run on 10.0. On 5/8/10 11:36 PM, dorkiedorkfromdorkt...@gmail.com http://dorkiedorkfromdorkt...@gmail.com http://dorkiedorkfromdorkt...@gmail.com dorkiedorkfromdorkt...@gmail.com http://dorkiedorkfromdorkt...@gmail.com http://dorkiedorkfromdorkt...@gmail.com wrote: I'm using Flash Player 10,0,45,2 and the project is not loading completely. Does Flex 4 SDK require FP 10.1? It loads fine if I use that version. JP -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Resource bundles/ locales?
Hi Nick, Have a closer look at the source code that you are dealing with, you are telling us only half of the story. Search for IResourceManager, resourceManager and getString in your source code. -- Best regards, Andriy Panas
[flexcoders] Re: Resource bundles/ locales?
OK, found the answer to this one... Basically, the static vars are being looped and replaced with the actual bundle.properties key-value. Hope this helps someone, it did me :) On 11 May 2010 14:42, Nick Middleweek n...@middleweek.co.uk wrote: Hi, I'm looking at Resource bundles and Locales and trying to get an understanding of how they are working in a project I've just come from. Has anyone seen this before?... We have a component who's label was bound to a Class.property... mx:Button id=me label={Labels.SAVE_LABEL} / In the Labels Class, we have a bunch of properties, the .save looking as below... public static var SAVE_LABEL : String = labels::search.save; ... and we also have ResourceBundles project which has multiple locale folders; there is a labels.properties file in each which have many key-value pair's including this one... . . search.save=Save . . . This seems pretty neat and better than using label={...@resource(bundle='labels', key='search.save')} everywhere. Has anyone seen this before and do you know how it is working? Thanks, Nick
Re: [flexcoders] Resource bundles/ locales?
Yep - it's funny what you find when you spend a little longer digging around... But I thought it was some undocumented waay of using resource bundles... Pretty cool stuff. Cheers Andriy :) Nick On 11 May 2010 16:01, Andriy Panas a.pa...@gmail.com wrote: Hi Nick, Have a closer look at the source code that you are dealing with, you are telling us only half of the story. Search for IResourceManager, resourceManager and getString in your source code. -- Best regards, Andriy Panas
[flexcoders] Re: Updating Static vars
--- In flexcoders@yahoogroups.com, Joshua w...@... wrote: Thanks for the input... I might give that a whirl. just as an FYI for me, or I guess an FMI can you do what I was trying to do initially? I'm still doing some searching, but not finding much on updating static vars or partially calling a constructor... Oh, that just gave me an idea. I'm pretty sure you can have static setters and getters (in your case you need to look at the getter). HTH; Amy
Re: [flexcoders] SystemManager and RSL linkage
SystemManager and its dependencies are always in the SWF because it is their code that loads the RSLs. However, importing it should not change the size of your SWF since it should already be in the SWF. Unless you’ve built out a completely different loading class. On 5/11/10 2:59 AM, fotis.chatzinikos fotis.chatzini...@gmail.com wrote: I am building my flex 3 project using the external RSL support. What confuses me is that when I try to use the SystemManager (and thus import it) my swf increases in size (~250KBs). Why is that? Is not SystemManager included in the RSL? Can somebody explain? Any ideas on what classes are included in the RSL? TIA, Fotis -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] spark ButtonBar selectedIndex out of view
Maybe put the ButtonBar in a Scroller or put a Scroller in the ButtonBar skin? On 5/11/10 1:14 AM, bhaq1972 mbha...@hotmail.com wrote: I have a spark ButtonBar with a horizontalLayout. The width of the ButtonBar is small ...so the end buttons don't show. When I set the selectedIndex to one of the end buttons...its not coming into view. How can I ensure the selectedItem is in view? thanks s:HGroup s:ButtonBar id=buttonbar1 width=500 requireSelection=true s:layout s:HorizontalLayout / /s:layout s:dataProvider s:ArrayCollection source=['Button1', 'Button2', 'Button3', 'Button4', 'Button5', 'Button6', 'Button7', 'Button8'] / /s:dataProvider /s:ButtonBar s:TextInput id=t1 text=7/ s:Button label=selectIndex click=buttonbar1.selectedIndex = Number(t1.text)/ /s:HGroup -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Use a Popup as itemEditor in Datagrids
You may not be able to prevent another edit session from ITEM_EDIT_END, but there should be an ITEM_EDIT_BEGINNING right after that you can use to cancel the editing of that renderer. On 5/11/10 4:51 AM, DevSachin talktosachin2...@rediffmail.com wrote: Hi Alex, Thanks for Quick reply. Yes, it is not readonly but editedItemRenderer is readonly. Now, My 50% problem is solved but 50% is still remaining. After closing popup and returning focus to grid, cell is opened in edit mode. I want this cell in renderer mode. How should I dispatch itemEditEnd event from popup so after closing the popup, cell will not goes to edit mode? Thanks In advance Sachin dev tripathi -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] Hiding a viewstack item from a linkbar
I know how to do it with a TabNavigator, but how can I include a module in my viewstack, but not show it in my LinkBar?
Re: [flexcoders] Re: Take that Mr Jobs!
I'm confused... did you resolve this issue? It sounds like you ported it to FB4, back to FB3, reverted the properties file and it worked? Did you ever get the release build to work in FB4? Brendan On Mon, May 10, 2010 at 10:58 PM, mitek17 mite...@gmail.com wrote: Well, I know that no one needs release builds, but I tried to investigate this a bit. It looks like that the new properties in .actionscript file are causing the corruption in projects with libraries. If you open the FB4 project in FB3 (strangely, it does not complain) it won't make the release build as well. If you revert the changes in .* files everything is OK. PS This is a good achievement - the most simple piece of Flex Builder - exporting the release version was always buggy, and now it looks greater than ever. I am looking forward to see what will happen to it in Creative Builder 5. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, mitek17 mite...@... wrote: Does the Export Release Version suppose to work in FB4? Just curious. https://bugs.adobe.com/jira/browse/FB-26842 -- Brendan Meutzner http://www.meutzner.com/blog/ http://www.riajobs.com
RE: [flexcoders] Updating Static vars
Is is possible to update all the variables that are affected by a change to the affiliate? If you make them static getters rather than static vars, they can return something different every time you access them. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Joshua Sent: Monday, May 10, 2010 2:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Updating Static vars Hello I've got a situation as follows 1. I have a class called MessageStrings.as that I use for storing static consts and variables used throughout my project. 2. Recently, we started an affiliate program where I need to make modifications to the MessageStrings to change company names, email addresses, etc depending on which affiliate is loading the page (from url string) 3. Instead of copying a bunch of static vars like public static var CONTACT_US:String = Hello, contact us by phone at: +PHONE; public static var CONTACT_US_AFFILIATE:String = Hello, contact us by phone at: +PHONE_AFFILIATE; and switching all the references I have to MessageStrings for affiliate info I would like to do public static var CONTACT_US:String = Hello, contact us by phone at: +getPhone(); and have a new variable (static var) called THE_AFFILIATE that gets set by a static function and getPhone returns a static var depending on what THE_AFFILIATE is set to. where getPhone is something like this public static function getPhone():String { var retPhone:String = ; switch (THE_AFFILIATE) { case MY_BUSINESS: retPhone = SUPPORT_PHONE; break; case AFFILIATE: retPhone = SUPPORT_PHONE_AFFILIATE; break; } return retPhone; } So, this almost works, problem is that the class (MessageStrings) sets all the variables intially and then when I set the Affiliate info later, the static vars are not updated, and therefore do not reflect the text I want to see. Is is possible to update all the variables that are affected by a change to the affiliate? Kinda like calling the constructor again, but that won't work cause it resets my affiliate variable?
Re: [flexcoders] spark ButtonBar selectedIndex out of view
You can use the getScrollPositionDeltaToElement() function of the layout and add the x value of the returned point to the horizontalScrollPosition. Basically something like this (not tested): buttonbar1.layout.horizontalScrollPosition += buttonbar1.layout.getScrollPositionDeltaToElement(buttonbar1.selectedIndex).x; Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, May 11, 2010 at 9:14 AM, bhaq1972 mbha...@hotmail.com wrote: I have a spark ButtonBar with a horizontalLayout. The width of the ButtonBar is small ...so the end buttons don't show. When I set the selectedIndex to one of the end buttons...its not coming into view. How can I ensure the selectedItem is in view? thanks s:HGroup s:ButtonBar id=buttonbar1 width=500 requireSelection=true s:layout s:HorizontalLayout / /s:layout s:dataProvider s:ArrayCollection source=['Button1', 'Button2', 'Button3', 'Button4', 'Button5', 'Button6', 'Button7', 'Button8'] / /s:dataProvider /s:ButtonBar s:TextInput id=t1 text=7/ s:Button label=selectIndex click=buttonbar1.selectedIndex = Number(t1.text)/ /s:HGroup
Re: [flexcoders] How to layer popup windows
Hi Alex, No, I was not specifying the childList and never understood the implication of using that argument. I updated my code however, same result. My top level popup, or the one I want on top specifies the parent as the main application and uses APPLICATION childList arg. My small middle layer popup specifies the module as the parent and specifies PARENT as the childList however, when the middle layer popup displayes on top of the top level popup. Should this be working or am I still missing something? Not sure if it makes a difference, but the actual code for displaying the popups is in the main application and it is being called from the module. Thanks, Greg On Tue, May 11, 2010 at 12:44 AM, Alex Harui aha...@adobe.com wrote: Are you using the childLIst parameter of PopUpManager? On 5/10/10 11:30 AM, Greg Hess flexeff...@gmail.com wrote: Hi All, My application employs a modular architecture(main applications responsibility is just to load and unload modules). My module displays a popup window who's parent is the main application that covers the entire UI. Unfortunately, while this popup is displayed certain events occur in the module that it handles by displaying some small notification popups over UI components that are hidden by the big popup window, however the notification popups layer over the big popup. In reading the PopupManager docs I thought by simply assigning the module as the parent of my notification popups would resolve the issue by adding the popups to the module layer and not the top application layer, but it is not working and I am not sure if this is supported with the parent argument to addPopUp or I am doing something wrong. Does anyone know how I can show popups in different layers per say? Any help much appreciated. Greg -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] How to layer popup windows
The Application and all popups are parented by the SystemManager. The SystemManager divides its children into four childlists (application, popup, tooltip, cursor). The Application childlist is the lowest so that children in the popup childlist float over them, tooltips float over the application and popups and cursors float over everything. The popup children probably should’ve been called “floating” or something like that. The PopUpManager always adds a popup over all the other children currently in the childlist specified in addPopUp/createPopUp, so depending on the order and childlist specified, you can get different things at different levels. I suspect you want the top level popup to go in the popup childlist On 5/11/10 12:52 PM, Greg Hess flexeff...@gmail.com wrote: Hi Alex, No, I was not specifying the childList and never understood the implication of using that argument. I updated my code however, same result. My top level popup, or the one I want on top specifies the parent as the main application and uses APPLICATION childList arg. My small middle layer popup specifies the module as the parent and specifies PARENT as the childList however, when the middle layer popup displayes on top of the top level popup. Should this be working or am I still missing something? Not sure if it makes a difference, but the actual code for displaying the popups is in the main application and it is being called from the module. Thanks, Greg On Tue, May 11, 2010 at 12:44 AM, Alex Harui aha...@adobe.com wrote: Are you using the childLIst parameter of PopUpManager? On 5/10/10 11:30 AM, Greg Hess flexeff...@gmail.com http://flexeff...@gmail.com wrote: Hi All, My application employs a modular architecture(main applications responsibility is just to load and unload modules). My module displays a popup window who's parent is the main application that covers the entire UI. Unfortunately, while this popup is displayed certain events occur in the module that it handles by displaying some small notification popups over UI components that are hidden by the big popup window, however the notification popups layer over the big popup. In reading the PopupManager docs I thought by simply assigning the module as the parent of my notification popups would resolve the issue by adding the popups to the module layer and not the top application layer, but it is not working and I am not sure if this is supported with the parent argument to addPopUp or I am doing something wrong. Does anyone know how I can show popups in different layers per say? Any help much appreciated. Greg -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] Error #2063: Error attempting to execute IME command anyone?
Hi, I am getting this error and I cannot seem to find why. I googled for it but couldn't find anything useful to get rid of it. Has anyone encountered this? Error #2063: Error attempting to execute IME command. at flash.system::IME$/set enabled() at mx.managers::FocusManager/focusInHandler()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\FocusManager.as:642] at flash.display::Stage/set focus() Running flex 4, windows. i run this code if (Capabilities.hasIME) { if (IME.enabled) { Alert.show(IME is installed and enabled.); } else { Alert.show(IME is installed but not enabled. Please enable your IME and try again.); } } else { Alert.show(IME is not installed. Please install an IME and try again.); } and it tells me that IME is installed but not enabled. If I try to set enabled to true I get another error. Error: Error #2063: Error attempting to execute IME command. at flash.system::IME$/set enabled() on the line that sets enabled to true Any input is appreciated; 10x, C
Re: [flexcoders] Error #2063: Error attempting to execute IME command anyone?
This seems to be for an unexpected error in the IME OS library. Which version of Windows? Which IME is installed? Which Browser and Player Version? Is it only one one system or everywhere you try it? Anything else unusual? Are you running an automated test where the app is not the active window? Is there some other app that might be fighting for control of the IME? On 5/11/10 2:40 PM, claudiu the_bran...@yahoo.com wrote: Hi, I am getting this error and I cannot seem to find why. I googled for it but couldn't find anything useful to get rid of it. Has anyone encountered this? Error #2063: Error attempting to execute IME command. at flash.system::IME$/set enabled() at mx.managers::FocusManager/focusInHandler()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\FocusManager.as:642] at flash.display::Stage/set focus() Running flex 4, windows. i run this code if (Capabilities.hasIME) { if (IME.enabled) { Alert.show(IME is installed and enabled.); } else { Alert.show(IME is installed but not enabled. Please enable your IME and try again.); } } else { Alert.show(IME is not installed. Please install an IME and try again.); } and it tells me that IME is installed but not enabled. If I try to set enabled to true I get another error. Error: Error #2063: Error attempting to execute IME command. at flash.system::IME$/set enabled() on the line that sets enabled to true Any input is appreciated; 10x, C -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] Folder-style dragOver highlight on tree
I'm maintaining some code which has a dragEnter handler which sets selectedIndex in order to highlight the destination tree node Can anyone point me at some sample code to do this, or a public method to highlight the item without selecting it? The showDropFeedback method draws a line between items, which is not the desired effect. Thanks.
[flexcoders] Flex/ColdFusion Developer seeking employment
Hello Everyone, I am a looking for a position as a Flex and/or ColdFusion Developer. I have four years experience using Flex and eight years experience using ColdFusion. I have developed and supported several applications in my career and have a full understanding of all the phases of the application lifecycle including design, development, testing, support and maintenance. In addition to my extensive developer experience, I have excellent communication skills. I always maintain a professional demeanor when communicating with internal and external clients. Experience has taught me how to build strong relationships within all departments in an organization. I can work independently, with a team as well as cross-team. For additional information please feel free to contact me via email at tinascurl...@gmail.com. Sincerely, Bettina M. Scurlock tinascurl...@gmail.com
[flexcoders] Forcing the TreeIterRenderer to Render a Node
Hi All, I have a Custom TreeItemRenderer where i have couple of Images and a label. When i updated the data structure which is used for rendering the Node it doesn't refresh the Images properly. I tried calling invalidate() and updateDataList() after refreshing the dataProvider with no luck. Is there any other way of forcing the Renderer to apply the changes ?? Thanks
[flexcoders] Re: Take that Mr Jobs!
Hi Brendan, No, export release does not work in FB4. At least in the project with RSL libraries. I didn't have time to fully isolate the problem and check the single project release, then without RSLs, etc, but it seems that newly added properties are killing export release. I am glad we have not bought FB4 yet, as it is not suitable for production yet. PS Why do you need it anyway? (c) Apple fanboys standard reply :) Dmitri. --- In flexcoders@yahoogroups.com, Brendan Meutzner bmeutz...@... wrote: I'm confused... did you resolve this issue? It sounds like you ported it to FB4, back to FB3, reverted the properties file and it worked? Did you ever get the release build to work in FB4? Brendan On Mon, May 10, 2010 at 10:58 PM, mitek17 mite...@... wrote: Well, I know that no one needs release builds, but I tried to investigate this a bit. It looks like that the new properties in .actionscript file are causing the corruption in projects with libraries. If you open the FB4 project in FB3 (strangely, it does not complain) it won't make the release build as well. If you revert the changes in .* files everything is OK. PS This is a good achievement - the most simple piece of Flex Builder - exporting the release version was always buggy, and now it looks greater than ever. I am looking forward to see what will happen to it in Creative Builder 5. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, mitek17 mitek17@ wrote: Does the Export Release Version suppose to work in FB4? Just curious. https://bugs.adobe.com/jira/browse/FB-26842 -- Brendan Meutzner http://www.meutzner.com/blog/ http://www.riajobs.com