Re: [flexcoders] Big problem with font embedding
Usually you don't need to embed all characters. For normal use it's ok to just embed all upper/lower case, numbers and sings. If you restrict it to those symbols your file size should be way less. For Chinese text it's probably best to embed another font for those symbols and use it whenever needed. hth, Max - Original Message From: cesarerocchi [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, April 20, 2008 5:28:36 PM Subject: [flexcoders] Big problem with font embedding Hi, I want my application to have Lucida Grande font. Since I am not sure that every platform has it locally installed, I embedded it. I created an swf with Flash CS3, as explained in the tutorial. (To find the tutorial look for Embedding fonts from SWF files in Google. Adobe does not provide any decent direct link) I added ALL the characters. The result is a ~900Kb swf. I embed my font in Flex using: @font-face { src:url(font. swf); fontFamily: Lucida Grande; } Sometimes I load text which is Japanese or Chinese. Instead of the text I see squares. How can I solve? Thanks in advance, -c. !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-reco { margin-bottom:20px;padding:0px;} #ygrp-reco #reco-head { font-weight:bold;color:#ff7900;} #reco-grpname{ font-weight:bold;margin-top:10px;} #reco-category{ font-size:77%;} #reco-desc{ font-size:77%;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] UK rapid addressing web api
Hi Glenn, I was just thinking that it might be possible to utilize the Yahoo! Maps API. I am not very familiar with it (or rapid addressing in general), but I think you can send a geocode request with the entered address data and in case it does not exist you get a response from Yahoo! with suggested results. Maybe you can then use the results and ask the user which of them his address is. Or you could already send a request once he entered country and city and then use the Yahoo result to suggest postcodes to the user... Or did I get the purpose of rapid addressing wrong? Cheers, Max - Original Message From: Ian M. Jones [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, March 31, 2008 9:43:57 PM Subject: Re: [flexcoders] UK rapid addressing web api Hi Glenn, Have you looked at QuickAddress? Just had a quick look on their website, looks like they have software targeted at those wanting to use web technologies. It's not a public interface though, you need to install their software on your own servers. http://www.qas.co.uk/products/capture-name-and-address-data/pro-web.htm Worth a look if this is a possible route for you rather than using a public service. Regards, Ian IMiJ Software http://www.imijsoft.com http://www.ianmjones.net (blog) On 31 Mar 2008, at 09:56, Glenn Williams wrote: oh great!!! I think I better just up-sticks and move to the USA, only us English could think of letting someone ‘own’ the postcode! the more I look into this the depressed I’m getting lol I refuse to make the application users have to enter the address data though, rapid addressing is just the kind of thing that should be automated in applications. I’ll keep you posted of how this works out, and by the looks of things – how much it6 costs me! Glenn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links Like movies? Here's a limited-time offer: Blockbuster Total Access for one month at no cost. http://tc.deals.yahoo.com/tc/blockbuster/text4.com
Re: [flexcoders] UK rapid addressing web api
Hi Glenn, I was just thinking that it might be possible to utilize the Yahoo! Maps API. I am not very familiar with it (or rapid addressing in general), but I think you can send a geocode request with the entered address data and in case it does not exist you get a response from Yahoo! with suggested results. Maybe you can then use the results and ask the user which of them his address is. Or you could already send a request once he entered country and city and then use the Yahoo result to suggest postcodes to the user... Or did I get the purpose of rapid addressing wrong? Cheers, Max - Original Message From: Ian M. Jones [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, March 31, 2008 9:43:57 PM Subject: Re: [flexcoders] UK rapid addressing web api Hi Glenn, Have you looked at QuickAddress? Just had a quick look on their website, looks like they have software targeted at those wanting to use web technologies. It's not a public interface though, you need to install their software on your own servers. http://www.qas.co.uk/products/capture-name-and-address-data/pro-web.htm Worth a look if this is a possible route for you rather than using a public service. Regards, Ian IMiJ Software http://www.imijsoft.com http://www.ianmjones.net (blog) On 31 Mar 2008, at 09:56, Glenn Williams wrote: oh great!!! I think I better just up-sticks and move to the USA, only us English could think of letting someone ‘own’ the postcode! the more I look into this the depressed I’m getting lol I refuse to make the application users have to enter the address data though, rapid addressing is just the kind of thing that should be automated in applications. I’ll keep you posted of how this works out, and by the looks of things – how much it6 costs me! Glenn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links Special deal for Yahoo! users friends - No Cost. Get a month of Blockbuster Total Access now http://tc.deals.yahoo.com/tc/blockbuster/text3.com
Re: [flexcoders] UK rapid addressing web api
Hi Glenn, I was just thinking that it might be possible to utilize the Yahoo! Maps API. I am not very familiar with it (or rapid addressing in general), but I think you can send a geocode request with the entered address data and in case it does not exist you get a response from Yahoo! with suggested results. Maybe you can then use the results and ask the user which of them his address is. Or you could already send a request once he entered country and city and then use the Yahoo result to suggest postcodes to the user... Or did I get the purpose of rapid addressing wrong? Cheers, Max - Original Message From: Ian M. Jones [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, March 31, 2008 9:43:57 PM Subject: Re: [flexcoders] UK rapid addressing web api Hi Glenn, Have you looked at QuickAddress? Just had a quick look on their website, looks like they have software targeted at those wanting to use web technologies. It's not a public interface though, you need to install their software on your own servers. http://www.qas.co.uk/products/capture-name-and-address-data/pro-web.htm Worth a look if this is a possible route for you rather than using a public service. Regards, Ian IMiJ Software http://www.imijsoft.com http://www.ianmjones.net (blog) On 31 Mar 2008, at 09:56, Glenn Williams wrote: oh great!!! I think I better just up-sticks and move to the USA, only us English could think of letting someone ‘own’ the postcode! the more I look into this the depressed I’m getting lol I refuse to make the application users have to enter the address data though, rapid addressing is just the kind of thing that should be automated in applications. I’ll keep you posted of how this works out, and by the looks of things – how much it6 costs me! Glenn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links Special deal for Yahoo! users friends - No Cost. Get a month of Blockbuster Total Access now http://tc.deals.yahoo.com/tc/blockbuster/text3.com
Re: [flexcoders] Again: Moving windows with keyboard?
What I do when that happens is to unplug my external display (using laptop) and then plug it back in. The windows will rearrange to one screen and thus the lost windows are coming back. - Original Message From: Josh McDonald [EMAIL PROTECTED] To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Thursday, March 27, 2008 4:28:06 PM Subject: [flexcoders] Again: Moving windows with keyboard? Is there any way to move windows that are off-screen using the keyboard in eclipse under OS X? Reset perspective only takes you back to the last saved setup, and you can't always rescue off-screen palettes using spaces. Having to delete my perspective and create another is a real PITA given how often OS X forgets how you have your multi-monitors set up. -J -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] com Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: [flexcoders] Again: Moving windows with keyboard?
Mhh.. that sucks. Totally agree on your 2008 opinion. It's ridiculous that people have to deal with stuff like that. There might be some way to solve that with Apple script or Automator, but who wants to put effort in solving things that shouldn't exist in the first place. Let me know when you find a solution.. Max - Original Message From: Josh McDonald [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, March 27, 2008 5:16:18 PM Subject: Re: [flexcoders] Again: Moving windows with keyboard? Dammit, not all the damned windows come back :( This is so much fucking work it's not funny. It's 2008, and nobody should be having stupid problems like this. -J On Thu, Mar 27, 2008 at 4:13 PM, Josh McDonald [EMAIL PROTECTED] com wrote: Genius! -J On Thu, Mar 27, 2008 at 4:09 PM, Max Frigge [EMAIL PROTECTED] com wrote: What I do when that happens is to unplug my external display (using laptop) and then plug it back in. The windows will rearrange to one screen and thus the lost windows are coming back. - Original Message From: Josh McDonald [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ups.com [EMAIL PROTECTED] ups.com Sent: Thursday, March 27, 2008 4:28:06 PM Subject: [flexcoders] Again: Moving windows with keyboard? Is there any way to move windows that are off-screen using the keyboard in eclipse under OS X? Reset perspective only takes you back to the last saved setup, and you can't always rescue off-screen palettes using spaces. Having to delete my perspective and create another is a real PITA given how often OS X forgets how you have your multi-monitors set up. -J -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] com Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] com -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] com Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: [flexcoders] [Offtopic] Flex Email Application
Mh.. that's really weird. I am too busy at the moment to put together some test cases. I will do that as soon as I find the time.. probably the weekend after this one. Has anyone of the flexmdi crew ever an experience like that.. or must it be one of my customizations that's causing it? - Original Message From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, March 27, 2008 2:30:04 AM Subject: Re: [flexcoders] [Offtopic] Flex Email Application On Wednesday 26 Mar 2008, Max Frigge wrote: you can close a window opened by double click in contacts as well as dragging it.. (close button works but the other two don't!?) New message from contacts works fine. All three balls and dragging. and you cant drag any other windows?? Not the inital one, and not the popup from double clicking a message in inbox. These also don't respond to hover or click on the balls. If all that's the case then I have no clue what's going on there ... Well, there aren't any errors thrown. -- Tom Chiverton Helping to paradigmatically evolve cross-platform applications on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] [Offtopic] Flex Email Application
Tom was testing my app using Linux... some panels could not be dragged and the control buttons didn't work either.. but i guess it has something to do with my dirty customizing.. By the way.. are there any infos on a new flexmdi release yet :-) Max - Original Message From: Ben Clinkinbeard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, March 27, 2008 10:59:51 PM Subject: Re: [flexcoders] [Offtopic] Flex Email Application Not sure exactly which issue you're referring to but none of those items jump out as being familiar. Ben On Thu, Mar 27, 2008 at 2:45 AM, Max Frigge [EMAIL PROTECTED] com wrote: Mh.. that's really weird. I am too busy at the moment to put together some test cases. I will do that as soon as I find the time.. probably the weekend after this one. Has anyone of the flexmdi crew ever an experience like that.. or must it be one of my customizations that's causing it? - Original Message From: Tom Chiverton tom.chiverton@ halliwells. com To: [EMAIL PROTECTED] ups.com Sent: Thursday, March 27, 2008 2:30:04 AM Subject: Re: [flexcoders] [Offtopic] Flex Email Application On Wednesday 26 Mar 2008, Max Frigge wrote: you can close a window opened by double click in contacts as well as dragging it.. (close button works but the other two don't!?) New message from contacts works fine. All three balls and dragging. and you cant drag any other windows?? Not the inital one, and not the popup from double clicking a message in inbox. These also don't respond to hover or click on the balls. If all that's the case then I have no clue what's going on there ... Well, there aren't any errors thrown. -- Tom Chiverton Helping to paradigmatically evolve cross-platform applications on: http://thefalken. livejournal. com * * * * This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells. com. - - -- -- Flexcoders Mailing List FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt Search Archives: http://www.mail- archive.com/ flexcoders% 40yahoogroups. comYahoo! Groups Links Never miss a thing. Make Yahoo your homepage. Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] [Offtopic] Flex Email Application
Hey, sorry for the late response. I will upload a debug version tonight and post it as soon as possible. - Original Message From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, March 25, 2008 8:28:43 PM Subject: Re: [flexcoders] [Offtopic] Flex Email Application On Thursday 20 Mar 2008, Tom Chiverton wrote: Any ideas why this could happen on a Linux system?? Nope. I even tried middle clicking ! At home the hover effect on the balls work, but they still don't do anything. Dragging doesn't work either. Could you put a debug build (on an alternative URL) up ? -- Tom Chiverton Helping to greatly synthesize high-yield supply-chains on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] [Offtopic] Flex Email Application
Ok.. just uploaded a debug version to: http://mail.osfeeling.com/debug/ The only thing is that the login mechanism is still the same. Thus you will be redirected to the other version after creating a temp account. But once you have created it the session will also be accepted by the debug version and you can access it without getting kicked to the login page. Cheers, Max - Original Message From: Max Frigge [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, March 26, 2008 6:57:32 PM Subject: Re: [flexcoders] [Offtopic] Flex Email Application Hey, sorry for the late response. I will upload a debug version tonight and post it as soon as possible. - Original Message From: Tom Chiverton tom.chiverton@ halliwells. com To: [EMAIL PROTECTED] ups.com Sent: Tuesday, March 25, 2008 8:28:43 PM Subject: Re: [flexcoders] [Offtopic] Flex Email Application On Thursday 20 Mar 2008, Tom Chiverton wrote: Any ideas why this could happen on a Linux system?? Nope. I even tried middle clicking ! At home the hover effect on the balls work, but they still don't do anything. Dragging doesn't work either. Could you put a debug build (on an alternative URL) up ? -- Tom Chiverton Helping to greatly synthesize high-yield supply-chains on: http://thefalken. livejournal. .com * * * * This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells. com. - - -- -- Flexcoders Mailing List FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt Search Archives: http://www.mail- archive.com/ flexcoders% 40yahoogroups. comYahoo! Groups Links Looking for last minute shopping deals? Find them fast with Yahoo! Search. Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] [Offtopic] Flex Email Application
Ahhmm.. that's a bit too short for me :-) What I understood: you can close a window opened by double click in contacts !? close button works but the other two don't!? hover effects work everywhere!? On Wednesday 26 Mar 2008, Max Frigge wrote: Ok.. just uploaded a debug version to: http://mail.osfeeling.com/debug/ Windows opened by double clicking a name in contacts drag, have hover effects on the three balls, and close OK. Windows opened by double clicking a message in the list don't drag, have hover effects or close. -- Tom Chiverton Helping to efficiently exploit cross-media design-patterns on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] [Offtopic] Flex Email Application
sorry.. damn shortcut send the message but i was still writing. Bit clumsy today. So here we go again: What I understood: you can close a window opened by double click in contacts as well as dragging it.. (close button works but the other two don't!?) hover effects work everywhere.. and you cant drag any other windows?? If all that's the case then I have no clue what's going on there ... On Wednesday 26 Mar 2008, Max Frigge wrote: Ok.. just uploaded a debug version to: http://mail.osfeeling.com/debug/ Windows opened by double clicking a name in contacts drag, have hover effects on the three balls, and close OK. Windows opened by double clicking a message in the list don't drag, have hover effects or close. -- Tom Chiverton Helping to efficiently exploit cross-media design-patterns on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links Never miss a thing. Make Yahoo your homepage. Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] [Offtopic] Flex Email Application
That is an issue I mentioned here in the list a while ago: http://tech.groups.yahoo.com/group/flexcoders/message/105862 It takes about 15 seconds after the actual data is transferred until the file appears on the desktop (as non temp). I couldn't figure out yet why this is happening. I think it has something to do with the way i deliver the data to the client. The back end parses a MIME file and extracts the data from there. Then the data is base64 decoded and send to the client. Didn't have the time yet to try it another way. But I guess Flash would prefer to directly access the file on the server?!? I would actually like it better to just let the browsers DL manager do the work anyway... Max - Original Message From: Ben Clinkinbeard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, March 21, 2008 7:33:46 AM Subject: Re: [flexcoders] [Offtopic] Flex Email Application I can't download the PDF. I get the temp file on my desktop but it never seems to finish. Ben On Thu, Mar 20, 2008 at 1:05 PM, Ben Clinkinbeard ben.clinkinbeard@ gmail.com wrote: Sounds good. On Thu, Mar 20, 2008 at 11:33 AM, Max Frigge [EMAIL PROTECTED] com wrote: Deal. I will have to modify it a bit though because some stuff isn't scalable because I used PNG skins in some cases. Will sort that out for you. Would be great if I can do that after I finished my research report (8th of April).. is that alright? - Original Message From: Ben Clinkinbeard ben.clinkinbeard@ gmail.com To: [EMAIL PROTECTED] ups.com Sent: Friday, March 21, 2008 2:11:11 AM Subject: Re: [flexcoders] [Offtopic] Flex Email Application On first glance this looks pretty great. I will make you a deal- I will participate if you contribute your OS X skin back to flexmdi :) I had wanted to create one but ran out of time and why bother if you already did. Deal? Ben On Thu, Mar 20, 2008 at 10:21 AM, Max Frigge [EMAIL PROTECTED] com wrote: Hi folks, please don't shoot me for posting my own project! It is NOT for any marketing reasons or anything like that. And yes I do know that most guys in here are busy people. I am a student who needs participants for his BA graduate and I figured the community might want to support me. I need at least 30 participants (more would be better though) within the next days.. so please check out the link and maybe send it to someone who might be interested too. Show me what the community is capable of ;-) The application is my first Flex App and is pretty much a version of Apple's Mail developed in Flex. If you don't want to participate. . that's fine. Maybe you can at least drop me a line about what you think. in that case it's probably best to send it directly rather than the mailing list Here is the link Here some tech specs: - Developed in FB2 - Components used: - flexmdi (good work guys) - Ali's externalMouseWheel - Back end: AMFPHP - Dev. time: way to long (started Nov. '07) Thanks for listening! (and remember.. no shooting *duck*) Max Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] HTML IN FLEX
Can you please post a link to those folks' project? - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, March 13, 2008 11:29:38 AM Subject: RE: [flexcoders] HTML IN FLEX The HTMLLoader represents some 16MB of code. It ain’t gonna get integrated anytime soon. My blog has some ways to do limited HTML-like things, and some folks recently published a separate open source effort to do HTML rendering in Flex. HTML support is not the same as browser support. Browser support also includes Javascript engines. From:[EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Josh McDonald Sent: Wednesday, March 12, 20085:27 PM To: [EMAIL PROTECTED] ups.com Subject: Re: [flexcoders] HTML INFLEX Are there plans to allow embedding of instances of thehost browser in Flash 10? Or is most stuff re: flash 10 still a secret / up in the air? :D -J On Thu, Mar 13, 2008 at 10:23 AM, Max Frigge [EMAIL PROTECTED] com wrote: Only works for AIR apps.. sad but true :-/ - Original Message From: kpjj31 joe.g.james@ kp.org To: [EMAIL PROTECTED] ups.com Sent: Thursday, March 13, 2008 11:10:47 AM Subject: [flexcoders] HTML IN FLEX Can someone please tellme if th mx:HTML tag only works when building air apps and not in flex. Thank you. _ _ _ _ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail. yahoo.com -- Therefore, send not to know For whom the bell tolls, It tolls forthee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] com !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} .bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} .MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} .replbq{margin:4;} -- Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] Re: Images in Rich Text Control
Totally agree. It would be a huge advancement to have a decent RTE that really is a RTE. In my opinion it is not very rich to make text bold or centered. That are the most basic things.. there's nothing rich about it. What I am wondering about is whether this is some kind of weird Adobe policy and they simply don't want that feature or is there some real issue that makes it impossible? I reckon its the first.. and don't get it why someone would give a damn about major improvements!? Pretty much the same with Apple not including Flash support for the IPhone.. it's well possible but for some stupid reasons (one of them probably money ;-) they just don't do it. Arrrgg - Original Message From: Amy [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, March 7, 2008 3:35:28 PM Subject: [flexcoders] Re: Images in Rich Text Control --- In [EMAIL PROTECTED] ups.com, phil swenson phil.swenson@ ... wrote: I entered a feature request for image support in the Flex Rich Text Control. Unfortunately they marked it deferred, so I guess they decided it's not worth doing for Flex 4 :( If you agree with me that this feature is a good idea please vote for it: http://bugs. adobe.com/ jira/browse/ SDK-14576 Think of all the cool tools that could use this simple feature: bug tracking systems, flex wiki editor, email editor, word processor, forum text entry widget, note taker, many more. Right now you either have to use javascript or write your own widget. If Adobe wants to really make RIA a desktop app replacement this feature is a no brainer. I was able to insert images into a Rich Text control in VB/Delphi 13 years ago! If it would work the way images work in htmlText I think it's not worth it. They need to get the images to truly work within the flow of the text before this makes any sense IMO. !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] Flash Player on the iPhone
Hey, all I know (have read about) is this: http://www.riapedia.com/2008/02/12/flash_iphone_coming_soon_flex_support Cheers, Max - Original Message From: essuark [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, February 23, 2008 11:42:48 PM Subject: [flexcoders] Flash Player on the iPhone So now that Jobs released a SDK for the iPhone, does anyone have any ideas, know anyone, heard anything to when iPhone users will get a flash player? thanks Ralph !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] Re: Is it possible to have 2 children of viewstack visible?
Thanks for the hint. I found something that Tink calls PairedStackEffect.. I have no time right no to try it out but the example shows exactly what I was looking for. For everyone else who is looking for this.. it can be found on http://www.tink.ws/blog/pairedstackeffect-fade-squash/ Cheers, Max - Original Message From: Jim Hayes [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 20, 2008 9:06:49 PM Subject: RE: [flexcoders] Re: Is it possible to have 2 children of viewstack visible? Tink did some work on a papervision 3d cube (and other) transition effect on states, (or possibly viewstack, can’t remember) which I think has the same attribute – you can see both states at one time. The source is on his site somewhere. http://www.tink. ws/blog/ , it may give you some clues. -Original Message- From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Max Frigge Sent: 20 February 2008 04:52 To: [EMAIL PROTECTED] ups.com Subject: Re: [flexcoders] Re: Is it possible to have 2 children of viewstack visible? Hi Jason, I tried to avoid the states because it is so much more comfortable to use the viewstack with tabs and so forth. But if I would try to go the States way.. how would I best organize it when I have two complex components? Should I completely remove on child and ad the other.. where each child would be a component and the transition would remove the child after its animation has finished?? Do I get this right? And in regards to the other answer. The WipeEffect is not what I want. I need both children to be visible at the same time so that you can see the second one sliding in while the first one is sliding out.. Cheers, Max - Original Message From: jmfillman [EMAIL PROTECTED] net To: [EMAIL PROTECTED] ups.com Sent: Wednesday, February 20, 2008 4:52:19 AM Subject: [flexcoders] Re: Is it possible to have 2 children of viewstack visible? Max, I would think that States with transition effects would be the easiest way to do this. Jason --- In [EMAIL PROTECTED] ups.com, m.frigge [EMAIL PROTECTED] . wrote: Knock.. knock.. nobody knows this?? A simple no it doesn't work would be alright too :-) ??? --- In [EMAIL PROTECTED] ups.com, Max Frigge m.frigge@ wrote: Hi, I am trying to create a slide effect for a ViewStack. Therefor I would need to have 2 children visible at the same time, so that you can see the second child sliding in while the first one is sliding out. Is that possible or am I on the wrong path? I want something like this: ?xml version=1.0 ? !-- containers\navigato rs\VSLinkEffects .mxml -- mx:Parallel id=toSecond mx:Move duration=400 xFrom={search. x} xTo={search. width} target={search} / mx:Move duration=400 xFrom={-custInfo. width} xTo={custInfo. x} target={custInfo} / /mx:Parallel mx:ViewStack id=myViewStack borderStyle= solid width=200 creationPolicy= all mx:Canvas id=search label=Search mx:Label text=Search Screen/ /mx:Canvas mx:Canvas id=custInfo label=Customer Info mx:Label text=Customer Info/ /mx:Canvas /mx:ViewStack mx:Button click=toSecond. play() label=Play Effect / /mx:Application _ _ _ _ _ _ __ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools. search.yahoo. com/newsearch/ category. php? category=shopping Looking for last minute shopping deals? Find them fast with Yahoo! Search. _ _ _ _ _ _ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. _ _ _ _ _ _ !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad
Re: [flexcoders] No right mouse button functionality? Really?
There are some workarounds, but it is not natively supported.. Maybe this might help you... http://www.flex-flex.net/blog/article.asp?id=27 - Original Message From: Brad Bueche [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, February 21, 2008 9:30:45 AM Subject: [flexcoders] No right mouse button functionality? Really? I've been googling trying to find out how to turn off the player menu and enable right mouse button clicks. So far it looks like you cant do it. Am I missing something here? brad !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] Re: Is it possible to have 2 children of viewstack visible?
Hi Jason, I tried to avoid the states because it is so much more comfortable to use the viewstack with tabs and so forth. But if I would try to go the States way.. how would I best organize it when I have two complex components? Should I completely remove on child and ad the other.. where each child would be a component and the transition would remove the child after its animation has finished?? Do I get this right? And in regards to the other answer. The WipeEffect is not what I want. I need both children to be visible at the same time so that you can see the second one sliding in while the first one is sliding out.. Cheers, Max - Original Message From: jmfillman [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 20, 2008 4:52:19 AM Subject: [flexcoders] Re: Is it possible to have 2 children of viewstack visible? Max, I would think that States with transition effects would be the easiest way to do this. Jason --- In [EMAIL PROTECTED] ups.com, m.frigge [EMAIL PROTECTED] . wrote: Knock.. knock.. nobody knows this?? A simple no it doesn't work would be alright too :-) ??? --- In [EMAIL PROTECTED] ups.com, Max Frigge m.frigge@ wrote: Hi, I am trying to create a slide effect for a ViewStack. Therefor I would need to have 2 children visible at the same time, so that you can see the second child sliding in while the first one is sliding out. Is that possible or am I on the wrong path? I want something like this: ?xml version=1.0 ? !-- containers\navigato rs\VSLinkEffects .mxml -- mx:Parallel id=toSecond mx:Move duration=400 xFrom={search. x} xTo={search. width} target={search} / mx:Move duration=400 xFrom={-custInfo. width} xTo={custInfo. x} target={custInfo} / /mx:Parallel mx:ViewStack id=myViewStack borderStyle= solid width=200 creationPolicy= all mx:Canvas id=search label=Search mx:Label text=Search Screen/ /mx:Canvas mx:Canvas id=custInfo label=Customer Info mx:Label text=Customer Info/ /mx:Canvas /mx:ViewStack mx:Button click=toSecond. play() label=Play Effect / /mx:Application _ _ _ _ _ _ __ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools. search.yahoo. com/newsearch/ category. php? category=shopping !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none
Re: [flexcoders] Sort of OT: RSS Feeds
Hi, when click the link View Feed XML in the upper right corner you get the raw xml data. The location is: http://feeds.feedburner.com/writersguidelinesdatabase?format=xml Hope this helps, Max - Original Message From: Amy [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 20, 2008 4:25:22 PM Subject: [flexcoders] Sort of OT: RSS Feeds OK, I'd like to try building a mashup application for practice, and I found a site with a bunch of RSS feeds. I've read several tutorials, and none of those tutorials cover a basic question I have, which is how do you locate the actual RSS feed that would be usable in Flex on a site that offers RSS feeds? I'm looking at this page, which is supposed to let me at the RSS feed for one of the things I want to mash up: http://feeds. feedburner. com/writersguide linesdatabase But nothing I click looks like I could consume it in Flex. If anyone has any guidance on how to find the actual raw RSS link or how to use what you get when you click one of the other links, I'd appreciate it! Thanks; Amy !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
[flexcoders] Is it possible to have 2 items in viewstack visible?
Hi, I am trying to create a slide effect for a ViewStack. Therefor I would need to have 2 children visible at the same time, so that you can see the second child sliding in while the first one is sliding out. Is that possible or am I on the wrong path? I want something like this: ?xml version=1.0? !-- containers\navigators\VSLinkEffects.mxml -- mx:Parallel id=toSecond mx:Move duration=400 xFrom={search.x} xTo={search.width} target={search}/ mx:Move duration=400 xFrom={-custInfo.width} xTo={custInfo.x} target={custInfo}/ /mx:Parallel mx:ViewStack id=myViewStack borderStyle=solid width=200 creationPolicy=all mx:Canvas id=search label=Search mx:Label text=Search Screen/ /mx:Canvas mx:Canvas id=custInfo label=Customer Info mx:Label text=Customer Info/ /mx:Canvas /mx:ViewStack mx:Button click=toSecond.play() label=Play Effect / /mx:Application Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] Need help creating a custom rich text editor using flexmdi
Mh.. I just noticed that the problem occurs with RichText editor within a flexmdi Panel in general. So i narrowed it down and created a little example.. source view enabled. Just format the text in one window and then focus the other one. The text format disappears right away. I also tried the same just using the PopUp manager (on which the flexmdi is based on) but there it works. So I assume that it must be a problem of the flexmdi. Is someone of the developers online maybe, who could have a look pleease?? http://www.osfeeling.com/rte_test/main.html Thanks, Max - Original Message From: Max Frigge [EMAIL PROTECTED] To: Flexcoders flexcoders@yahoogroups.com Sent: Friday, February 8, 2008 9:40:24 PM Subject: [flexcoders] Need help creating a custom rich text editor using flexmdi Hi there, I am trying to separate the rich text controls from the rich text editor, so that I can have the controls at a different place instead of inside the rich text editor. I am using flexmdi (a window component) to create a window based UI. I have one window that carries the textArea and another one that carries all the rich text controls (font, fonsize, alignment, ...). I use it exactly the same way it is done in the flex rich text editor, but instead of referencing to a textArea inside the component I have a reference to it, which is set when i create the text format window. I can format the text in my external format window, but as soon as I click back on the text area (in another window) I loose all the text format and it goes back to standard format. I have no clue how to fix this. Can anyone please give me some advise on how to either fix it or search for reason why it acts like that? Best Regards, Max Looking for last minute shopping deals? Find them fast with Yahoo! Search. !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
[flexcoders] Need help creating a custom rich text editor using flexmdi
Hi there, I am trying to separate the rich text controls from the rich text editor, so that I can have the controls at a different place instead of inside the rich text editor. I am using flexmdi (a window component) to create a window based UI. I have one window that carries the textArea and another one that carries all the rich text controls (font, fonsize, alignment, ...). I use it exactly the same way it is done in the flex rich text editor, but instead of referencing to a textArea inside the component I have a reference to it, which is set when i create the text format window. I can format the text in my external format window, but as soon as I click back on the text area (in another window) I loose all the text format and it goes back to standard format. I have no clue how to fix this. Can anyone please give me some advise on how to either fix it or search for reason why it acts like that? Best Regards, Max Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] AMFPHP1.9 problem
Hi, usually when I get the Channel disconnected message, I have an error in my php script. Have you tried to use that function with the service browser. It should give you a more detailed error message. Max - Original Message From: mixmi2004 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, February 3, 2008 12:49:45 AM Subject: [flexcoders] AMFPHP1.9 problem Hi all Why channel disconnected? what I was doing wrong.No errors on the PHP side.My services-config. xml ok. main.mxml ?xml version=1.0 encoding=utf- 8? mx:Application xmlns:mx=http://www.adobe. com/2006/ mxml layout=absolute mx:RemoteObject id=services destination= amfphp source=TestF. ServiceClass mx:method name=sendUserObjec tToPHP result=sendUserObj ectToPHP_ resultHandler( event) fault=faultHandler (event)/ /mx:RemoteObject mx:Script ![CDATA[ import com.phiphou. application. User; import mx.rpc.events. FaultEvent; import mx.rpc.events. ResultEvent; import mx.controls. Alert; private function faultHandler( fault:FaultEvent ):void { Alert.show(fault. fault.faultStrin g, fault.fault. faultCode. toString( )); } public function sendUserObjectToPHP () :void { var u:User = new User(); u.login = bob; u.pswd = 007 services.getOperati on('sendUserObje ctToPHP') .send(u); } private function sendUserObjectToPHP _resultHandler( evt:ResultEvent) :void { var u:User = evt.result as User; infos.text = u.logged.toString( ); //infos.text = evt.result.toString (); } ]] /mx:Script mx:TextArea x=10 y=10 id=infos height=72/ mx:Button x=10 y=90 label=sendObj click=sendUserObje ctToPHP() / /mx:Application php ServiceClass. php ?php require_once( 'com/test/ application/ User.php' ); class ServiceClass { function sendUserObjectToPHP ($u){ //settype($u, object); $u-logged= true; return $u; } } ? User.php ?php class User { var $_explicitType = com.test.applicati on.User; var $login; var $pswd; var $logged; function User() { } } ? and User.as package com.test.applicatio n { [RemoteClass( alias=com. test.application .User)] [Bindable] public dynamic class User { public var login:String; public var pswd:String; public var logged:Boolean; public function User() { } } } !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;}
Re: [flexcoders] Re: Need help creating a custom rich text editor using flexmdi
Hey Ben, thanks for you effort. I tried to dig a bit deeper, but without any useful result. First of all i can't set the focusStyleName of the component. Due to the fact that you mentioned it is a Panel inherited property... is it possible that this property only exists in FB3 (I am using FB2) Anyway it is is a weird behavior. I guess the point were things are going wrong is in MDIManager.as around line 470 where the executeDefaultBehavior method comes to case WINDOW_FOCUS_START and WINDOW_FOCUS_END. As soon as you set a styleName there .. even though the style name doesn't exist.. you loose the text format. At that place I changed the line with mgrEvent.window.styleName of the focus_end event to the same stylename used for the focus_start event, which worked around the bug just like you said it would. And you were right, it doesn't feel good when the style doesn't change. The only thing that really worked was setting alpha properties. I also tried setting style properties using setStyle instead of applying a styleName. If you do that it kinda half works. In my case I can change the style and then type text that is displayed using the format settings. When I then make the WINDOW_FOCUS_START event fire the settings are still in effect. The only thing that does not work is that when I make changes in the RTE controls and then focus the window with the textArea the settings of the text I type from then on are set back.. but changes done before stay active. Jesus christ .. sorry. I know you probably won't understand what I try to say but this behavior and my lack of English skills make it really difficult to describe :-). Where must the heart of the problem be?!?!? Do u reckon it is somewhere in Container or UIComponent?? Thanks, Max - Original Message From: ben.clinkinbeard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, February 9, 2008 1:37:09 AM Subject: [flexcoders] Re: Need help creating a custom rich text editor using flexmdi Well, I have good news and bad news and then a little bit more good news. Good news: There is a workaround. The problem happens when the window's style gets changed, as happens when focus switches. As a result, setting the focusStyleName and noFocusStyleName to the same value will prevent the loss of formatting. Can be done by adding these attributes to each window: focusStyleName= foo noFocusStyleName= foo Bad news (besides the fact that having windows that look the same regardless of focus kind of sucks): This behavior is inherited from Panel (MDIWindow's super class). If you create a Panel with a RTE inside it and then set the Panel's styleName property you will see the same issue. This happens even if the style contains nothing but a background color so it doesn't seem like the text field's style is getting overridden, which makes this a bit stranger. (Kinda) good news part 2: There is an update release of flexmdi coming early next week that will make it easier to implement the workaround. Your windows would still not have focus-specific styles though. Hopefully this workaround is enough to keep you afloat. I am going to see if I can dig a bit deeper on why this happens in the first place and will likely post to the group with what I found out... or to report my futility and ask for help. Thanks, Ben --- In [EMAIL PROTECTED] ups.com, Max Frigge [EMAIL PROTECTED] . wrote: You are a lifesaver!! Thanks a lot. If there's anything I can to to support your investigation. .. just let me know. Thanks, Max - Original Message From: ben.clinkinbeard ben.clinkinbeard@ ... To: [EMAIL PROTECTED] ups.com Sent: Saturday, February 9, 2008 12:58:32 AM Subject: [flexcoders] Re: Need help creating a custom rich text editor using flexmdi Hi Max, Thanks for pointing this out. To be honest I've never used the RTE component so I don't have much of an idea how it works or why this would be happening. I should be able to investigate later today though and will follow up with anything I figure out. Thanks, Ben --- In [EMAIL PROTECTED] ups.com, Max Frigge m.frigge@ . wrote: Mh.. I just noticed that the problem occurs with RichText editor within a flexmdi Panel in general. So i narrowed it down and created a little example.. source view enabled. Just format the text in one window and then focus the other one. The text format disappears right away. I also tried the same just using the PopUp manager (on which the flexmdi is based on) but there it works. So I assume that it must be a problem of the flexmdi. Is someone of the developers online maybe, who could have a look pleease? ? http://www.osfeelin g.com/rte_ test/main. html Thanks, Max
Re: [flexcoders] Re: Need help creating a custom rich text editor using flexmdi
You are a lifesaver!! Thanks a lot. If there's anything I can to to support your investigation... just let me know. Thanks, Max - Original Message From: ben.clinkinbeard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, February 9, 2008 12:58:32 AM Subject: [flexcoders] Re: Need help creating a custom rich text editor using flexmdi Hi Max, Thanks for pointing this out. To be honest I've never used the RTE component so I don't have much of an idea how it works or why this would be happening. I should be able to investigate later today though and will follow up with anything I figure out. Thanks, Ben --- In [EMAIL PROTECTED] ups.com, Max Frigge [EMAIL PROTECTED] . wrote: Mh.. I just noticed that the problem occurs with RichText editor within a flexmdi Panel in general. So i narrowed it down and created a little example.. source view enabled. Just format the text in one window and then focus the other one. The text format disappears right away. I also tried the same just using the PopUp manager (on which the flexmdi is based on) but there it works. So I assume that it must be a problem of the flexmdi. Is someone of the developers online maybe, who could have a look pleease? ? http://www.osfeelin g.com/rte_ test/main. html Thanks, Max - Original Message From: Max Frigge [EMAIL PROTECTED] . To: Flexcoders [EMAIL PROTECTED] ups.com Sent: Friday, February 8, 2008 9:40:24 PM Subject: [flexcoders] Need help creating a custom rich text editor using flexmdi Hi there, I am trying to separate the rich text controls from the rich text editor, so that I can have the controls at a different place instead of inside the rich text editor. I am using flexmdi (a window component) to create a window based UI. I have one window that carries the textArea and another one that carries all the rich text controls (font, fonsize, alignment, ...). I use it exactly the same way it is done in the flex rich text editor, but instead of referencing to a textArea inside the component I have a reference to it, which is set when i create the text format window. I can format the text in my external format window, but as soon as I click back on the text area (in another window) I loose all the text format and it goes back to standard format. I have no clue how to fix this. Can anyone please give me some advise on how to either fix it or search for reason why it acts like that? Best Regards, Max Looking for last minute shopping deals? Find them fast with Yahoo! Search. !-- #ygrp-mkp{ border:1px solid #d8d8d8;font- family:Arial; margin:14px 0px;padding: 0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a; font-size: 85%;font- weight:bold; line-height: 122%;margin: 10px 0px;} #ygrp-mkp #ads{ margin-bottom: 10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff; text-decoration: none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family: Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight: bold;font- size:78%; line-height: 122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom: 10px;padding: 0 0;} -- !-- #ygrp-mlmsg {font-size:13px; font-family: arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit; font:100% ;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height: 1.22em;} #ygrp-text{ font-family: Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family: Arial; clear:both;} #ygrp-vitnav{ padding-top: 10px;font- family:Verdana; font-size: 77%;margin: 0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin: 25px 0;white-space: nowrap;color: #666;text- align:right; } #ygrp-actbar .left{ float:left;white- space:nowrap; } ..bld{font-weight: bold;} #ygrp-grft{ font-family: Verdana;font- size:77%; padding:15px 0;} #ygrp-ft{ font-family: verdana;font- size:77%; border-top: 1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom: 10px;} #ygrp-vital{ background-color: #e0ecee;margin- bottom:20px; padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77% ;font-family: Verdana;font- weight:bold; color:#333; text-transform: uppercase; } #ygrp-vital ul{ padding:0;margin: 2px 0;} #ygrp-vital ul li{ list-style-type: none;clear: both;border: 1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight: bold;color: #ff7900;float: right;width: 2em;text- align:right; padding-right: .5em;} #ygrp-vital ul li .cat{ font-weight: bold;} #ygrp-vital a{ text-decoration: none;} #ygrp-vital
Re: [flexcoders] Actionscript replace characters from a string
Hey, you can use the replace function, but use a RegExp instead of a String. Then you can set the global flag so that any will be replaced instead of only the first one. Here an example: var myPattern:RegExp = /sh/g; var str:String = She sells seashells by the seashore.; trace(str.replace(myPattern, sch)); // She sells seaschells by the seaschore. example taken from: http://livedocs.adobe.com/flex/201/langref/String.html#replace() (definitely worth a look!) hth, Max - Original Message From: hworke [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, February 5, 2008 10:47:24 PM Subject: [flexcoders] Actionscript replace characters from a string Hi, I am trying to replace all the (Space) characters from a given string. The replace function of the string class only remove the first instance. Is there any builtin function that will remove all? !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: [flexcoders] Problem sending swedish characters from flex to php (amfphp)
Hey, have you checked the charset settings in your gateway.php?? cheers, Max - Original Message From: ericbichara [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 28, 2008 6:59:30 AM Subject: [flexcoders] Problem sending swedish characters from flex to php (amfphp) Hi all, Im having some problems sending special characters (swedish characters ä, ö, and å) from Flex to a Database through AMFPHP. When inserting these types of characters directly from php in the database, everything works fine. ie INSERT INTO TABLEX VALUES ('äää'); And fetching from the database into php and to Flex also works like a charm. Im guessing its something to do with my phpenconding when recieving the characters from Flex or something with amfphp. Any ideas would be greatly appreaciated. Btw, im using Flex2/3, Amfphp 1.9beta2, and a mySQL db. /Eric !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} .bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} .MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} .replbq{margin:4;} -- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] magnifying glass component
I reckon that one is done with a simple mask effect. Just have a bigger image in another layer and then let the magnifier be your mask of the bigger one. Then you could move the scaled image a little bit according to your mouse position so that you get into the corners. At least that could be another way to realise it.. - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, January 23, 2008 11:37:12 AM Subject: Re: [flexcoders] magnifying glass component i think all you need to do is use the Matrix Class and play around with the scaling option - Original Message From: Ben Marchbanks [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ups.com Sent: Tuesday, January 22, 2008 4:25:48 PM Subject: [flexcoders] magnifying glass component Anybody know if there is a flex magnifier/zoom component available ? I am looking to produce a magnifying glass effect similar to this flash version http://www.usflashm ap.com/component /flash_magnifyin g_glass.htm Looking for last minute shopping deals? Find them fast with Yahoo! Search. !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] Error when try to run simple example get method from flex to php
Mh sounds like the php script can't be called. I guess you are sure that the file is there.. so maybe there is something wrong with your file permissions??? Just an idea... Max - Original Message From: Harry Saputra [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 20, 2008 1:22:57 AM Subject: [flexcoders] Error when try to run simple example get method from flex to php I try to run example from : http://www.adobe. com/devnet/ flex/articles/ php_getstarted. html in my apache2.2 that have installed with php and flex module. ..mxml file : ?xml version=1.0 encoding=utf- 8? mx:Application xmlns:mx=http://www.adobe. com/2006/ mxml layout=absolute backgroundColor= #f6f6f6 backgroundGradientC olors=[# f6f6f6, #bb] mx:Label x=10 y=10 text=Submit form using get method fontSize=20 fontWeight= bold/ mx:HRule x=10 y=49 width=80%/ mx:HTTPService id=form1 url=show.php method=GET resultFormat= text result={textarea1. text = String(event. result)} mx:request username{username .text}/username /mx:request /mx:HTTPService mx:TextInput id=username x=10 y=71/ mx:Button x=178 y=71 label=Submit click=form1. send()/ mx:Label x=10 y=101 text=Result / mx:TextArea x=10 y=118 width=234 height=188 id=textarea1 / /mx:Application And show.php file : ?php // send a response back to the client print You submitted the following form information: \n; foreach ($_REQUEST as $k =? $v) { print$k = $v\n; } ? And error : [RPC Fault faultString= HTTP request error faultCode=Server. Error.Request faultDetail= Error: [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2032: Stream Error. URL: show.php?username= Halo]. URL: show.php] at mx.rpc::AbstractInv oker/http://www.adobe. com/2006/ flex/mx/internal ::faultHan dler() at mx.rpc::Responder/ fault() at mx.rpc::AsyncReques t/fault() at ::DirectHTTPMessage Responder/ errorHandler( ) at flash.events: :EventDispatcher /flash.events: EventDispatcher: :dispatchEventFu n ction() at flash.events: :EventDispatcher /dispatchEvent( ) at flash.net::URLLoade r/flash.net: URLLoader: :redirectEvent( ) Please help to solve this.. !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad
Re: [flexcoders] navigation toolbar icon
Mh there must be a favicon.ico in your root folder. If you change that it should do the trick. Then it is important to make the browser reload the new image. I think you have to restart the browser.. should find a 100% working way on google though. Max - Original Message From: hworke [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 22, 2008 9:15:40 AM Subject: [flexcoders] navigation toolbar icon Hello, I am using Tomcat for my Flex application so on my browser's navigation toolbar(the place where we write url in a browser) the Tomcat's icon appears. I want to put a different icon there- how do I do that. Regards, !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] itemclick event doent work for subment
Hey, it should be enough to apply the itemClick listener.. that event should be dispatched on subItem clicks too. - Original Message From: jwaladeep [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, January 18, 2008 2:06:06 PM Subject: [flexcoders] itemclick event doent work for subment i have this problem with menu itemClick event for submenu. I have flex 2.0.1 version and flex website says that , itemClick event doesn't work for submenus. (http://livedocs. adobe.com/ flex/2/docs/ ww... Is there any way by which i could detect click event for submenu ? My sample code goes this way . public function initMenu():void { var myMenu:Menu= new Menu(); myMenu.dataProvider = instructionMenu; myMenu.labelField= @label; myMenu.addEventList ener(itemClick , changeHandler) ; popB.popUp = myMenu; } dataProvider is an xmllistcollection containing submenu. I add this menu in a popupbutton (popB). thanks !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] Re: [SYD-ANN] Sydney Flex and AIR Pre-Release Tour With Danny Dura
I am glad he did though. Didn't know until now. - Original Message From: Chris Velevitch [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, January 18, 2008 8:54:16 AM Subject: Re: [flexcoders] Re: [SYD-ANN] Sydney Flex and AIR Pre-Release Tour With Danny Dura On Jan 16, 2008 3:02 PM, Jeff Houser [EMAIL PROTECTED] com wrote: With all due respects to Chris, is it appropriate to ask that such announcements do not get posted to the list? I do not wish to see a multitude of announcements for events I cannot attend. I appreciate what you are saying and I don't this that often. It's just there are some people on certain global lists who aren't aware of the local lists and local groups and by posting to the list, and so by posting the occasional announcement, hopefully, they do become aware of us. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group m: 0415 469 095 www.flashdev. org.au Sydney Flash Platform Developers Group January Meeting Date: Thu 24th January 2008 Details RSVP: http://sydneyflashd ev2008prelauncht our.eventbrite. com/ !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] Re: addchild
import mx.core.UIComponent; - Original Message From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, January 18, 2008 5:28:02 PM Subject: Re: [flexcoders] Re: addchild Ok thanks, I tried that, Now I get this error, Type was not found or was not a compile-time constant: UIComponent. rueter007 wrote: you cannot add sprites directly that way. you can do the following. var ballParent: UIComponent = new UIComponent( ); ballParent.addChild (ball); vbox.addChild( ballParent) ; and ofcourse, you have to set the width, height etc. - venkat http://www.venkatj. com http://www.venkatj. com --- In [EMAIL PROTECTED] ups.com mailto:flexcoders% 40yahoogroups. com, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: This is the entire ball class package com.oreilly. programmingflex. states { import flash.display. Sprite; public class Ball extends Sprite { private var radius:Number; private var color:uint; public function Ball(radius: Number=40, color:uint=0xff ) { this.radius = radius; this.color = color; init(); } public function init():void { graphics.beginFill( color); graphics.drawCircle (0, 0, radius); graphics.endFill( ); } } } Sherif Abdou wrote: it means that the ball is not a IUIcomponenet which it is required for it to be added on stage, show me a bit of the ball class code so i can know - Original Message From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: [EMAIL PROTECTED] ups.com mailto:flexcoders% 40yahoogroups. com Sent: Thursday, January 17, 2008 11:38:26 PM Subject: Re: [flexcoders] addchild OK thanks. Now when I try to use addChild, I get this error. What does it mean ? myball=new Ball; addChild(myball) ; TypeError: Error #1034: Type Coercion failed: cannot convert com.oreilly. programmingflex. states::Ball@ 5787299 to mx.core.IUIComponen t. at mx.core::Container/http://www.adobe. com/2006/ flex/mx/internal ::addingChild http://www.adobe. com/2006/ flex/mx/internal ::addingChild http://www.adobe. com/2006/ flex/mx/internal ::addingChild() at mx.core::Container/ addChildAt( ) at mx.core::Container/ addChild( ) at Main/::initializeHa ndler() at Main/___Application 1_initialize( ) at flash.events: :EventDispatcher /flash.events: EventDispatcher: :dispatchEventFu nction() at flash.events: :EventDispatcher /dispatchEvent( ) at mx.core::UIComponen t/dispatchEvent( ) at mx.core::UIComponen t/set processedDescriptor s() at mx.core::Container/ createComponents FromDescriptors( ) Sherif Abdou wrote: addChild not addchild - Original Message From: [EMAIL PROTECTED] org mailto:info1% 40reenie. org [EMAIL PROTECTED] org mailto:info1% 40reenie. org To: [EMAIL PROTECTED] ups.com mailto:flexcoders% 40yahoogroups. com Sent: Thursday, January 17, 2008 11:03:15 PM Subject: [flexcoders] addchild I have a ball class. I can make a ball. How do I add it to the stage ? I have seem plenty of examples, and they use addchild. Every time I try to use addchild, I get this error: Error: Call to a possibly undefined method addChild. or if I try to attach it to an existing element such as mx:VBox id=vbox vbox.addchild( ball); I get :Error: Access of undefined property vbox. So what can I put addchild on ? - - - - - - Never miss a thing. Make Yahoo your homepage. http://us.rd. yahoo.com/ evt=51438/ *http://www. yahoo.com/ r/hs http://us.rd. yahoo.com/ evt=51438/ *http://www. yahoo.com/ r/hs http://us.rd. yahoo.com/ evt=51438/ *http://www. yahoo.com/ r/hs - - - - - - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://us.rd. yahoo.com/ evt=51733/ *http://mobile. yahoo.com/ ;_ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ%20 http://us.rd. yahoo.com/ evt=51733/ *http://mobile. yahoo.com/ ;_ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ%20 !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial,
Re: [flexcoders] Set form item to invalid
var event:ValidationResultEvent = new ValidationResultEvent(invalid); passwordConfirmValidator.dispatchEvent(event); doesn't do anything... sorry for being dump mate, but I only have minimum knowledge when it comes to custom events. :-) - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, January 18, 2008 4:41:22 PM Subject: Re: [flexcoders] Set form item to invalid just dispatch a fake event from the validator and that should work. - Original Message From: m.frigge [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ups.com Sent: Thursday, January 17, 2008 11:38:24 PM Subject: [flexcoders] Set form item to invalid Hey, is there an easy way to set a formItem to invalid, so that it appears as if a validator did not validate successful. I can set the errorString to get the tooltip, but the red border style is missing. Cheers, Max Looking for last minute shopping deals? Find them fast with Yahoo! Search. !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] DataGrid Refresh
Hey I am not quite sure about this, but it should be either: yourDataProvider.refresh(); or you could try dataGrid.validateNow(); HTH (and I am not telling any crap ;) - Original Message From: Dale Fraser [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 15, 2008 4:16:07 PM Subject: [flexcoders] DataGrid Refresh I have a datagrid and am programmatically updating some entries in the selected row. I have tried both selectedItem. columnName = “blah” and changing the bound dataProvider. Both work, but the grid does not refresh. If I do a column sort it refreshes and I see the changed data. Regards Dale Fraser http://learncf. com !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} .bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} .MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} .replbq{margin:4;} -- Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: [flexcoders] How to use flexmdi framework in flex builder 2.0.1
Hi, i am using the flexmdi in FB2 and it works like a charm. I use the source files though... why are u so keen in using the swc files. I reckon it's very nice to have the source there so that you can easily customize it. So my advice would to use the source instead.. Cheers, Max - Original Message From: Joseph Balderson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Cc: ben.clinkinbeard [EMAIL PROTECTED] Sent: Friday, January 11, 2008 9:24:27 AM Subject: Re: [flexcoders] How to use flexmdi framework in flex builder 2.0.1 I'm also having problems getting FlexMDI working with FB 2.01. I keep getting the errors Unable to load SWC flexmdi.swc and An internal build error has occurred. Please check the Error Log. I checked the catalog.xml in the swc, and it's compiled for Flex 3, which is probably why FB is having a coniption fit. versions swc version=1.1 / flex version=3.0 build=172357 / /versions We're using it on a project that requires Flex 2.01 for now, so Fx3 is not an option. Ben, do you have a version of the FlexMDI swc compiled in Flex 2.01? ___ Joseph Balderson, Flash Platform Developer | http://joeflash.ca Writing partner, Community MX | http://www.communitymx.com Abobe Certified Developer Trainer gt_shrikant wrote: hi, i downloaded the source along with SWC, and i tried to use this flexmdi in one mine project. i have flex builder 2.0.1. i added the flexmdi.swc to library path using add swc, and added namespace defination at tag. i didnt got any tag which works……… and it shows error like cannot resolve component implementation. later i removed the swc and i added the source folder to library path …… then also it is not worked ………. so what might b the reason…. plese post the exact step-by-setp instructions what to do after downloaded the .ZIP folder……. so i may help lots of begnniers… thnx shrikant -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: [flexcoders] Tree style
Hi, you can use an iconFunction to set custom icons explained here: http://blog.flexexamples.com/2007/11/15/creating-a-custom-icon-function-on-a-flex-tree-control/ You can change the backGround by using styles like backgroundColor, backgroundImage and so on http://livedocs.adobe.com/flex/2/langref/mx/controls/Tree.html#styleSummary - Original Message From: NileAge, Mail [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, January 9, 2008 11:13:49 PM Subject: [flexcoders] Tree style Hi all I want make a tree style mean that I want change the tree icon and the tree bg !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: [flexcoders] HitTest Problems with Button that includes white
Just to solve the mystery... The Button was overlapping with a TextInput, thats why there was a part of the Button not catching the event (the Button was on top though?!) ... *wups* - Original Message From: Max Frigge [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 6, 2008 9:49:56 PM Subject: Re: [flexcoders] HitTest Problems with Button that includes white Thanks Alex, that's very kind of you. I will try to get it fixed once more on my own before i start bothering you with debugging :-). I didn't really have the time yet for a second look at it. (..might come back to soon though ;-) Cheers, Max - Original Message From: Alex Harui [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ups.com Sent: Sunday, January 6, 2008 6:07:09 PM Subject: RE: [flexcoders] HitTest Problems with Button that includes white If you post a debug swf, I might be able to look into it, but it might be several days before I get to it. Is the skin programmatic or graphical? From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf Of Max Frigge Sent: Saturday, January 05, 2008 12:57 AM To: [EMAIL PROTECTED] ups.com Subject: Re: [flexcoders] HitTest Problems with Button that includes white Hey, the skin has no transparent areas. I even changed it to a solid black square, but i still have certain areas where the button doesn't fire the over event. One area where that happens is in the center and about 2x2 pixels large i guess.. I have absolutely no idea why that is happening. Anyone who experienced the same issues? Cheers, Max - Original Message From: Dave Glasser [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ups.com Sent: Thursday, January 3, 2008 11:53:41 PM Subject: Re: [flexcoders] HitTest Problems with Button that includes white The white is probably not the color of the button skin, but the color of the parent container showing through. The skin has probably not painted those pixels any color at all, so they're not generating mouseover events for the skin/button. I've solved this problem before by making sure all of the pixels on the skin were painted with some value, even if I wanted them fully transparent. The ones that I wanted to be transparent, I just painted with an alpha value of 0. This all occurs in the updateDisplayList( ) method of the skin. m.frigge [EMAIL PROTECTED] com wrote: Hey there, I hope you all had a great new years. I have got a problem with a button skin. The skin contains a white area and it seems that it doesn't recognize that area when I roll over with my mouse. The Skin always jumps back to the normal state (instead of keeping the over skin). Can I tell Flex that it should just use the skins shape for the hitTest and ignore colors?! Cheers, Max Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. Never miss a thing. Make Yahoo your homepage. !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font
Re: [flexcoders] Set menuBar dataProvider per AS
my bad. The component was already created at the time where I assigned the eventListener. I shouldn't develop late at night :-) Sorry for bothering and thanks anyway! Cheers, Max - Original Message From: Deepa Subramaniam [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, January 10, 2008 10:13:39 AM Subject: RE: [flexcoders] Set menuBar dataProvider per AS Try calling your setUpMenuBar( ) method on the MenuBar's creationComplete event and add menuBarRef.validate Now() after setting the dataProvider property. validateNow( ) forces the menuBar to do an invalidation pass, which calls the MenuBar's commitProperties method which is necessary to get the data wired up to the MenuBar correctly. -Original Message- From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of m.frigge Sent: Wednesday, January 09, 2008 8:56 AM To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] Set menuBar dataProvider per AS Hi, I had a working MenuBar until I had to change my application structure. Now I can't bind the dataProvider anymore in the menuBar's mxml tag. So I tried something like this... [Bindable] private var menuBarCollection: XMLListCollectio n; private function setUpMenuBar( event:Event) :void{ menuBarCollection = new XMLListCollection( menubarList) ; menuBarRef.dataProv ider = menuBarCollection; } The function is called on the MenuBar's Initialize event and menuBarList is a XMLList, that was working fine before. I also tried to use other events as well as things like invalidateNow( ) after I set the dataProvider, but the MenuBar doesn't get any items!? Any ideas would be appreciated. Thanks, Max -- Flexcoders Mailing List FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt Search Archives: http://www.mail- archive.com/ flexcoders% 40yahoogroups. com Yahoo! Groups Links !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
Re: [flexcoders] Open Source ActionScript HTML/CSS broswer released
Where is the problem with the iframe trick.. I reckon it's a nice way to combine flex and hmtl. I mean html support by the Flash player would be great event though I guess the performance will be better when its rendered directly by the browser.. or am I wrong? And does anyone know (and is allowed to talk about it ;-) if Adobe is planning on integrating an html renderer in the next Flash player version ??? - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, January 9, 2008 5:46:34 AM Subject: RE: [flexcoders] Open Source ActionScript HTML/CSS broswer released Someone is looking into opensourcing my code. From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Jim Hayes Sent: Tuesday, January 08, 2008 10:42 AM To: [EMAIL PROTECTED] ups.com Subject: RE: [flexcoders] Open Source ActionScript HTML/CSS broswer released On a (somewhat) related note, has anyone had a chance to play with the code that Alex Harui posted here: http://blogs. adobe.com/ aharui/2008/ 01/html_and_ flex_1.html ? I'm actually looking for something to display html tables, some horrible hackery on my part got it to display more or less what I'm wanting, but I'm lacking time to take it much further in the near future (and I fear it may be beyond my skill in any case). In fact, the html I have to display is horrible, so it's probably a no go without me re-writing it in any case(in which case divs may be better for our purposes). Alex, are you OK with it being open sourced (say google code)? Is anyone interested in working on it ? (Many thanks for posting it, by the way, it's much appreciated, as is the wrapper project below.) I've only had the briefest of looks at the wrapper project, but saw in the docs that table support is yet to come. regards, Jim. -Original Message- From: [EMAIL PROTECTED] ups.com on behalf of flashcodersny Sent: Mon 07/01/2008 23:17 To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] Open Source ActionScript HTML/CSS broswer released Motion Color Inc. today open-sourced a public beta version of Wrapper, formerly used for closed-sourced projects. Wrapper is a cross-browser compliant HTML/CSS rendering engine written in ActionScript that sits on top of your standards compliant HTML page. Wrapper eliminates cross-browser issues and makes integrating ActionScript and HTML/CSS projects possible without needing to compile. Wrapper will be available free from http://code. google.com/ p/htmlwrapper _ _ _ _ _ _ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London , W1W 5PA , UK . VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. _ _ _ _ _ _ !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{
Re: [flexcoders] Php-flex communication pointers
Hi, you might want to have a look at http://www.amfphp.org/ as well as http://blogs.adobe.com/mikepotter/2006/02/flex_and_php_a_1.html and http://blogs.adobe.com/mikepotter/2006/03/using_flex_and.html hth, Max - Original Message From: YOGESH JADHAV [EMAIL PROTECTED] To: [EMAIL PROTECTED]; flexcoders@yahoogroups.com Sent: Wednesday, January 9, 2008 4:58:44 PM Subject: [flexcoders] Php-flex communication pointers Hi all, I am looking for some help/ tutorial/ sample-code which can guide a flex newbie on how to communicate to remote database. I want to display, say an image username taken from a serverdatabase( say msql) , setup a http service using php, display it in flex( say tile list), reflect the changes made in list to database at runtime. I know little bit of php, mysql. So i can convert data to xml format. But I confused about E4x and how to set up httpservice, how to use it. are there any security issue? Is there any alternate way? if yes which one is better? I have googled a bit for this, but most of the good examples are using coldfusion, json, asp etc. Thanks in advance Regards, Yogesh !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] Multiple Files Download
You can start the download before the other one is done, but you can only open on fileReference window at a time. If remember correctly you have to catch the Event.OPEN of the fileReference and then initiate the next download. HTH, Max - Original Message From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 8, 2008 1:31:08 AM Subject: Re: [flexcoders] Multiple Files Download On Monday 07 Jan 2008, fopyjay wrote: For a single file, I would use a FileReference ('download' method). But this is not possible for multiple files... Why can't you issue more than one download() at a time ? If it 'just wont' then maybe there's a 'download done' event you can trigger the next download from ? -- Tom Chiverton Helping to globally exploit one-to-one platforms on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- 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 Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] Re: Multiple Files Download
Mh.. looks good, but it says upload though. Does it work for multiple downloads too?? Would be great... - Original Message From: Anthony DeBonis [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 8, 2008 4:03:49 AM Subject: [flexcoders] Re: Multiple Files Download We have used this component by Ryan Favroand it works great; http://ryanfavro. newmediateam. com/blog/ index.cfm/ 2006/8/12/ Flex-2-Multi- File-Upload- Example It's wired to CF in this example but could work with any backend. !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] Re: Multiple Files Download
In my case it would be download from server to desktop in a Flex application. - Original Message From: Anthony DeBonis [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 8, 2008 6:04:20 AM Subject: [flexcoders] Re: Multiple Files Download Are you taking download to client desktop or download to server? Air or Flex Application !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: [flexcoders] Skin is jumping on resize
Ok i figured out the it was the shadow i created in Flash (did that with Soften Fill Edges). What do you guys recommend to create shadows for your skins??? Do you simply create a Filter, or would that slow an application down. - Original Message From: m.frigge [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 8, 2008 5:31:49 AM Subject: [flexcoders] Skin is jumping on resize Hey, too make it short I uploaded an example. You can resize the window in the bottom right corner. Some lines start jumping when u resize and that looks pretty ugly. The skin in the example skinning fla file has got hair lines too and there it works fine. I traced window position, width, height and so forth because I thought they might be in subpixels but everything looks fine. Any ideas how to avoid this? Here is the example: http://16-bits. com/skintest/ windowtest. html And I also uploaded my skin.fla file here: http://16-bits. com/skintest/ my_flex_skin. fla Cheers, Max !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders]
Hey.. have you tried width and height? - Original Message From: yourName [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 8, 2008 5:27:43 PM Subject: [flexcoders] Can anyoe tell how to control the radius/diameter size of radio button thanks in advance iI want to shrink the radio button size !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] HitTest Problems with Button that includes white
Thanks Alex, that's very kind of you. I will try to get it fixed once more on my own before i start bothering you with debugging :-). I didn't really have the time yet for a second look at it. (..might come back to soon though ;-) Cheers, Max - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 6, 2008 6:07:09 PM Subject: RE: [flexcoders] HitTest Problems with Button that includes white If you post a debug swf, I might be able to look into it, but it might be several days before I get to it. Is the skin programmatic or graphical? From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf Of Max Frigge Sent: Saturday, January 05, 2008 12:57 AM To: [EMAIL PROTECTED] ups.com Subject: Re: [flexcoders] HitTest Problems with Button that includes white Hey, the skin has no transparent areas. I even changed it to a solid black square, but i still have certain areas where the button doesn't fire the over event. One area where that happens is in the center and about 2x2 pixels large i guess.. I have absolutely no idea why that is happening. Anyone who experienced the same issues? Cheers, Max - Original Message From: Dave Glasser [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ups.com Sent: Thursday, January 3, 2008 11:53:41 PM Subject: Re: [flexcoders] HitTest Problems with Button that includes white The white is probably not the color of the button skin, but the color of the parent container showing through. The skin has probably not painted those pixels any color at all, so they're not generating mouseover events for the skin/button. I've solved this problem before by making sure all of the pixels on the skin were painted with some value, even if I wanted them fully transparent. The ones that I wanted to be transparent, I just painted with an alpha value of 0. This all occurs in the updateDisplayList( ) method of the skin. m.frigge [EMAIL PROTECTED] com wrote: Hey there, I hope you all had a great new years. I have got a problem with a button skin. The skin contains a white area and it seems that it doesn't recognize that area when I roll over with my mouse. The Skin always jumps back to the normal state (instead of keeping the over skin). Can I tell Flex that it should just use the skins shape for the hitTest and ignore colors?! Cheers, Max Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text
Re: [flexcoders] Re: Placing the label in a Panel
Thanks for that bit of information :-) That will definitely safe me some work. I am trying to customize the Panel header at the moment, so that you are able to place some control elements in the header. My approach is pretty simple though. I just create a mxml component and add it as a child to the header. I am keen in seeing your approach. Cheers, Max - Original Message From: ben.clinkinbeard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 7, 2008 2:08:31 AM Subject: [flexcoders] Re: Placing the label in a Panel If I remember correctly you have to get access to and move the titleTextField, which is private, so you'd have to do it from within SuperPanel (or your subclass of it). I should also mention that the FlexMDI project (http://code. google.com/ p/flexmdi/) used Wietse's work as a starting point and added a lot of functionality that you might find useful. We will be releasing an update very soon whose main feature is to allow you to customize the title bars of your windows very easily. HTH, Ben --- In [EMAIL PROTECTED] ups.com, m.frigge [EMAIL PROTECTED] . wrote: Hi there, I was trying to customize a Panel or better to say extend the Super Panel of Wietse Veenstra and I can't figure out how to place the components label. I increased the headerHeight and want the label to be placed vertically to the top and horizontally centered. I know that it must be the second child inside the titleBar after chasing the titleBar childs in a for loop, but changing its x and y values doesn't move it?!? Any ideas? Thanks, Max !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] HitTest Problems with Button that includes white
Hey, the skin has no transparent areas. I even changed it to a solid black square, but i still have certain areas where the button doesn't fire the over event. One area where that happens is in the center and about 2x2 pixels large i guess.. I have absolutely no idea why that is happening. Anyone who experienced the same issues? Cheers, Max - Original Message From: Dave Glasser [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, January 3, 2008 11:53:41 PM Subject: Re: [flexcoders] HitTest Problems with Button that includes white The white is probably not the color of the button skin, but the color of the parent container showing through. The skin has probably not painted those pixels any color at all, so they're not generating mouseover events for the skin/button. I've solved this problem before by making sure all of the pixels on the skin were painted with some value, even if I wanted them fully transparent. The ones that I wanted to be transparent, I just painted with an alpha value of 0. This all occurs in the updateDisplayList( ) method of the skin. m.frigge [EMAIL PROTECTED] com wrote: Hey there, I hope you all had a great new years. I have got a problem with a button skin. The skin contains a white area and it seems that it doesn't recognize that area when I roll over with my mouse. The Skin always jumps back to the normal state (instead of keeping the over skin). Can I tell Flex that it should just use the skins shape for the hitTest and ignore colors?! Cheers, Max !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] best layout practices
Hey, I haven't even read the article yet to be honest, but it looks very well. I hope you can find something useful in there... http://www.adobe.com/devnet/flex/articles/fig_pt1.html Cheers, Max - Original Message From: dnk [EMAIL PROTECTED] To: flexcoders list flexcoders@yahoogroups.com Sent: Sunday, January 6, 2008 10:55:39 AM Subject: [flexcoders] best layout practices good day, I was wondering, is there a document or tutorial pertaining to best practices for building layouts? I understand all of the mvc aspect of things and all (for the overall programming) . But while building my layouts, I am concerned I may be using too many containers, or building a layout which may not be efficient or overly complicated. Thanks! !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: [flexcoders] RichTextEditor without a Panel around it
ups.. that was easier than i thought :-). I just had a look at Flex's RTE component and it was using mxml instead of pure as3. So i just copied the component and changed the component's base from Panel to Vbox.. and that was pretty much it *g*. Nice... if everything in Flex would be that easy ;-). Greets, Max - Original Message From: m.frigge [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, December 27, 2007 10:03:16 PM Subject: [flexcoders] RichTextEditor without a Panel around it Hey there, I hope you all enjoyed your Christmas Days. I was trying to make use of the RichtTextEditor component, but i can't really implement it in my application because it is wrapped in a Panel?!? Is there any chance to let the Panel disappear, or does anyone know if there is a RichText control component that just offers the options to edit text? Cheers, Max !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] Re: Application Structure
Yeah I would ask them if there where any. I haven't published anything yet. It's gonna be a student research, which I have to do. I hope I will figure out some interesting opinions and trends to create a nice mail client with that results in mind. I will let you know as soon as there is something online ;-). At the moment I stick to Apple's Mail software and it's structure and I will also adopt some stuff from yahoo, of which i think that it is way cooler than gmail... I actually never really understood the hype around gmail?!? I don't think there is anything super special about it, except maybe that your mails with the same subject are grouped.. or did I miss anything? Cheers, Max - Original Message From: simonjpalmer [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, December 24, 2007 8:14:00 PM Subject: [flexcoders] Re: Application Structure Ask your users and if their ideal solution is a bit annoying for you to code, then suck it up. If you are really mimicking email systems then there are lots of precedents out there, all of which have had millions of dollars of UI design invested in them. If you can't ask your users it may be smart to borrow some ideas from Outlook/gmail/ yahoo/hotmail. Pretty much all of them have different grids for different message lists in one form or another - especially for spam. --- In [EMAIL PROTECTED] ups.com, Max Frigge [EMAIL PROTECTED] . wrote: Thanks for your reply. That's the approach I did. Data structure is the same all the time. It's just sometimes a bit annoying because you always have to call functions to get the ArrayCollection that is used at the moment when you want to edit it. But I will keep on going that way, since you reckon that it's appropriate as well. Cheers, Max - Original Message From: rueter007 [EMAIL PROTECTED] .. To: [EMAIL PROTECTED] ups.com Sent: Monday, December 24, 2007 6:48:25 AM Subject: [flexcoders] Re: Application Structure One grid should work. you anyway have multiple sets of data. dont need to repeat the grid if the display structure of the data is the same. - venkat http://www.venkatj. com --- In [EMAIL PROTECTED] ups.com, m.frigge m.frigge@ . wrote: What would you recommend when you need several sets of data for a dataGrid, like inbox trash junk in an email application. Would you rather use one dataGrid and then change the dataProvider or would you create a viewStack that contains a dataGrid for each set of data? Max !-- #ygrp-mkp{ border:1px solid #d8d8d8;font- family:Arial; margin:14px 0px;padding: 0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a; font-size: 85%;font- weight:bold; line-height: 122%;margin: 10px 0px;} #ygrp-mkp #ads{ margin-bottom: 10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff; text-decoration: none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family: Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight: bold;font- size:78%; line-height: 122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom: 10px;padding: 0 0;} -- !-- #ygrp-mlmsg {font-size:13px; font-family: arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit; font:100% ;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height: 1.22em;} #ygrp-text{ font-family: Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family: Arial; clear:both;} #ygrp-vitnav{ padding-top: 10px;font- family:Verdana; font-size: 77%;margin: 0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin: 25px 0;white-space: nowrap;color: #666;text- align:right; } #ygrp-actbar .left{ float:left;white- space:nowrap; } ..bld{font-weight: bold;} #ygrp-grft{ font-family: Verdana;font- size:77%; padding:15px 0;} #ygrp-ft{ font-family: verdana;font- size:77%; border-top: 1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom: 10px;} #ygrp-vital{ background-color: #e0ecee;margin- bottom:20px; padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77% ;font-family: Verdana;font- weight:bold; color:#333; text-transform: uppercase; } #ygrp-vital ul{ padding:0;margin: 2px 0;} #ygrp-vital ul li{ list-style-type: none;clear: both;border: 1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight: bold;color: #ff7900;float: right;width: 2em;text- align:right; padding-right: .5em;} #ygrp-vital ul li .cat{ font-weight: bold;} #ygrp-vital a{ text-decoration: none;} #ygrp-vital a:hover{ text-decoration: underline
Re: [flexcoders] Re: Application Structure
Thanks for your reply. That's the approach I did. Data structure is the same all the time. It's just sometimes a bit annoying because you always have to call functions to get the ArrayCollection that is used at the moment when you want to edit it. But I will keep on going that way, since you reckon that it's appropriate as well. Cheers, Max - Original Message From: rueter007 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, December 24, 2007 6:48:25 AM Subject: [flexcoders] Re: Application Structure One grid should work. you anyway have multiple sets of data. dont need to repeat the grid if the display structure of the data is the same. - venkat http://www.venkatj. com --- In [EMAIL PROTECTED] ups.com, m.frigge [EMAIL PROTECTED] . wrote: What would you recommend when you need several sets of data for a dataGrid, like inbox trash junk in an email application. Would you rather use one dataGrid and then change the dataProvider or would you create a viewStack that contains a dataGrid for each set of data? Max !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} ..bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} ..MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} ..replbq{margin:4;} -- Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: [flexcoders] Re: Select next DataGrid item after one removed
Oh sweet.. you fixed it. I didn't even know there is such thing called ViewCourser. Thanks heaps!! It works perfectly fine on my system too. About being to complicated.. that's exactly what I reckon. Even though the Flex components are really powerful, it's sometimes a pain in the ass to achieve some simple goals. I think you have to know the component's structure very well to get all the good things out of it, otherwise it takes ages. Cheers, Max - Original Message From: Muzak [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, December 24, 2007 4:28:19 AM Subject: Re: [flexcoders] Re: Select next DataGrid item after one removed If you sort by a column in your example it doesn't work anymore either. Yeah I noticed that too :( You'll have to use a Sort and ViewCorsor to make this work. You'll also have to uase callLater in order to set the new selected index after removing the selected item. Tried a few things with the earlier mentioned disableAutoUpdate/enableAutoUpdate, but can't seem to get it right with a Sort and ViewCursor. Either the selectedIndex gets set properly, but the view (datagrid) isn't update properly (the item is visually not selected, but tracing dg.selectedIndex returns the correct value), or the datagrid does show a selectedItem (visually), but not the correct one. Using a delay (callLater) fixes that, but then you may run into problems when hitting the delete button continously (allthough it works fine here). All in all, I think this is much more complicated than it should be. The following seems to work: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=appInit(); mx:Script ![CDATA[ import mx.utils.ObjectUtil; import mx.collections.SortField; import mx.collections.IViewCursor; import mx.collections.Sort; private var fnSort:Sort; private function appInit():void { trace(Application ::: appInit); // create sort on lastname var fnSort:Sort = new Sort(); fnSort.fields=[new SortField(lastname)]; // apply sort to collection ac.sort = fnSort; ac.refresh(); } private function deleteClickHandler(evt:Event):void { trace(Application ::: deleteClickHandler); var index:int = dg.selectedIndex; trace(- index: +index); var item:Object = dg.selectedItem; var vc:IViewCursor = ac.createCursor(); trace(- cursor: +vc); // move viewcursor to selected dg item vc.findFirst(item); trace(- current: +ObjectUtil.toString(vc.current)); // remove current item in ViewCursor // you'll need to check if item is valid before removing it vc.remove(); ac.refresh(); callLater(refreshIndex, [index]); } private function refreshIndex(value:int):void { trace(Application ::: refreshIndex); // make sure to check if value is valid (not out of bounds) trace(- value: +value); dg.selectedIndex = value; trace(- selectedIndex: +dg.selectedIndex); } ]] /mx:Script mx:ArrayCollection id=ac mx:Object firstname=Jimi lastname=Hendrix dataID=0 / mx:Object firstname=Frank lastname=Zappa dataID=1 / mx:Object firstname=Miles lastname=Davis dataID=2 / mx:Object firstname=Harry lastname=Connick Jr. dataID=3 / mx:Object firstname=John lastname=Coltrane dataID=4 / mx:Object firstname=Dizzy lastname=Gillespie dataID=5 / mx:Object firstname=Charlie lastname=Parker dataID=6 / mx:Object firstname=Jimi lastname=Hendrix dataID=7 / mx:Object firstname=Frank lastname=Zappa dataID=8 / mx:Object firstname=Miles lastname=Davis dataID=9 / mx:Object firstname=Harry lastname=Connick Jr. dataID=10 / mx:Object firstname=John lastname=Coltrane dataID=11 / mx:Object firstname=Dizzy lastname=Gillespie dataID=12 / mx:Object firstname=Charlie lastname=Parker dataID=13 / /mx:ArrayCollection mx:VBox mx:DataGrid id=dg dataProvider={ac} / mx:Button id=delete_btn label=delete click=deleteClickHandler(event) / /mx:VBox /mx:Application - Original Message - From: m.frigge [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, December 23, 2007 11:27 AM Subject: [flexcoders] Re: Select next DataGrid item after one removed Hrr, this thing is driving me nuts. I found out why it is not working in my Application. It is because I sort by column as soon as the Data is loaded. If you sort by a column in your example it doesn't work anymore either. How can I fix this? Greets, Max -- 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 Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [flexcoders] Re: Select next DataGrid item after one removed
Strange.. works for me too. Must have messed something up before. Sorry for that. Only little thing that is not 100% satisfying me is that when u click delete extremely quick, it doesn't work fine anymore. But I guess I have to live with that. Thanks for your effort mate! Max - Original Message From: Muzak [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, December 23, 2007 4:18:07 PM Subject: Re: [flexcoders] Re: Select next DataGrid item after one removed The following works for me: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ private function deleteClickHandler(evt:Event):void { trace(Application ::: deleteClickHandler); var index:int = dg.selectedIndex; ac.disableAutoUpdate(); ac.removeItemAt(index); dg.selectedIndex = index; ac.enableAutoUpdate(); } ]] /mx:Script mx:ArrayCollection id=ac mx:Object firstname=Jimi lastname=Hendrix / mx:Object firstname=Frank lastname=Zappa / mx:Object firstname=Miles lastname=Davis / mx:Object firstname=Harry lastname=Connick Jr. / mx:Object firstname=John lastname=Coltrane / mx:Object firstname=Dizzy lastname=Gillespie / mx:Object firstname=Charlie lastname=Parker / /mx:ArrayCollection mx:VBox mx:DataGrid id=dg dataProvider={ac} / mx:Button id=delete_btn label=delete click=deleteClickHandler(event) / /mx:VBox /mx:Application - Original Message - From: m.frigge [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, December 23, 2007 5:13 AM Subject: [flexcoders] Re: Select next DataGrid item after one removed Mh my Dataprovider is an ArrayCollctionboth, but methods do not work. I still have the same effect. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: You might also try using callLater to set the index, to give the DG time to re-render. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Saturday, December 22, 2007 11:13 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Select next DataGrid item after one removed Disable the dataprovider from dispatching events before manipulating it and enable it again afterwards. Assuming you're using an ArrayCollection as dataProvider, the following works: var index:int = dg.selectedIndex; ac.disableAutoUpdate(); ac.removeItemAt(index); dg.selectedIndex = index; ac.enableAutoUpdate(); regards, Muzak - Original Message - From: m.frigge [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, December 22, 2007 4:40 PM Subject: [flexcoders] Select next DataGrid item after one removed Hey there, I hava a DataGrid and when I click a Delete Button, the selected item gets removed (obviously). But then I want the next item to be selected, so that you can keep on pressing Delete and remove one item after the other.. as it is in Yahoo mail. So I tried something like this: oldIndex = grid.selectedIndex; removeItem(grid.selectedIndex) // functioin that removes item from arrayCollection grid.selectedIndex = oldIndex; = but then it always selects one after the one I want to be selected. So I tried something like this: oldIndex = grid.selectedIndex; removeItem(grid.selectedIndex) // functioin that removes item from arrayCollection grid.selectedIndex = oldIndex -1; = but then it always selects one before the one I want to be selected. Strange.. isnt it? Any ideas why this is happening.. Cheers, Max -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs