[flexcoders] Test 1
Sorry test
[flexcoders] Padding in status message
Hi, is there a way to apply a padding-right to the status message in a Panel container? I have a custom Panel with an icon at the right corner and I want a padding to the status message. I tried using: mx:Panel status=Test test test statusStyleName=statusResult .statusResult { padding-right:50; } but the the status text is always aligned to the right edge overlapping my icon. In case it doesn't work how can I emulate nbsp; in Flex? Thanks.
[flexcoders] onError similar to javascript window.onerror ?
In Ajax I use the javascript window.onerror event to intercept every error occurred on the page. I then use XmlHttpRequest to send the error messages to a back-end database that collect all errors and finally I leave the error to bubble up. I would like to do the same thing in Flex, but I don't find any equivalent of window.onerror. So, how can I intercept every error ( without using a sort of global try catch ) before it open the Flash alert window? -- FABIO SERRA - faser(at)faser.net PGP available
[flexcoders] Change locale at runtime and menuitem
I tried everything, but I can't succeed to change the locale at runtime using a menuitem. I built a menuitem in this way mx:XMLList id=menuList !-- VIEW -- menuitem label={resourceManager.getString(Settings.BUNDLE,'menubar.view')} and in this way too private var menubarXML:XMLList = menuitem label={resourceManager.getString('Faser','menubar.one')} menuitem label={resourceManager.getString('Faser','menubar.two')} menuitem label={resourceManager.getString('Faser','menubar.three')} / /menuitem /menuitem /; In the first case the locale has changed, but only if the menuitem is one level depth. In the second case the menuitem label never change. Do you have any clue? Here I uploaded a simple demo http://faser.net/public/tmp/locale/MenuBar.html -- FABIO SERRA - faser(at)faser.net PGP available
Re: [flexcoders] AS 3 and Flex naming convention
Muzak wrote: There's a non-official guide here: http://blog.dclick.com.br/2007/02/13/adobe_flex_coding_guidelines_english/ http://blog.dclick.com.br/wp-content/uploads/adobe-flex-coding-guidelines-v12-english.pdf Thank you, it is very interesting and I follow the most part of the rules. I haven't found any suggestion how to name event and event handlers. Looking at UIComponent.as it seems that events doesn't have any special suffix (eg itemSelectedEvt or itemSelectedEvent) instead of function handler that always use the handler suffix (eg updateCompleteHandler(event:FlexEvent):void). I don't like very much to use a suffix for event handlers because at some point they create a semantic friction, but if I have to do I would probably prefer to use the prefix on (onCreationCompletePod) as in the dashboard application: http://examples.adobe.com/flex3/labs/dashboard/srcview/index.html -- FABIO SERRA - faser(at)faser.net PGP available -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Test
-- FABIO SERRA - faser(at)faser.net PGP available
[flexcoders] AS 3 and Flex naming convention
Do you know if there are naming conventions and coding style guide for Flex/AS3 endorsed by Adobe or by Flex User Group? -- FABIO SERRA - faser(at)faser.net PGP available