[flexcoders] Re: showBusyCursor
Hey, i had the same issue. The busy courser is available, if you use import mx.rpc.http.mxml.HTTPService instead of import mx.rpc.http.HTTPService For some reason there are two versions of httpRequest.. the mxml one does suprt the busyCourser property. hth, Max --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: Is this property available for HTTPService that is set in ActionScript? service = new HTTPService(); service.showBusyCursor = true; does not work for me. Thanks
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
[flexcoders] AS3 uint, bit shifting and promotion rules
Hi, If I store a uint into a Array element as var i:uint = uint.MAX_VALUE; foo[10] = i; trace(foo[10]) retrieves foo[10] as a signed int and performs a .toString() on it for printing. I tested this with big values for uint, trace() would print negative numbers. My question then is, does an foo[10] loose the type information of i ? Specifically I am doing something like (foo[10] 8 ) 0xff - in this case should I explicitly do one of : a. (uint(foo[10]) 8) 0xff b. uint((foo[10] 8) 0xff c. uint(uint(foo[10]) 8) 0xff to make sure that the shifting always happens in a unsigned manner. Basically I would like to know if AS3 always autopromotes foo[10] to a int, whether result of bit shift or bit is a int (not a uint) -srp
[flexcoders] Re: AS3 uint, bit shifting and promotion rules
err please ignore this question. I was testing this incorrectly. Have it working now. Thanks. -srp --- In flexcoders@yahoogroups.com, saju_flex [EMAIL PROTECTED] wrote: Hi, If I store a uint into a Array element as var i:uint = uint.MAX_VALUE; foo[10] = i; trace(foo[10]) retrieves foo[10] as a signed int and performs a .toString() on it for printing. I tested this with big values for uint, trace() would print negative numbers. My question then is, does an foo[10] loose the type information of i ? Specifically I am doing something like (foo[10] 8 ) 0xff - in this case should I explicitly do one of : a. (uint(foo[10]) 8) 0xff b. uint((foo[10] 8) 0xff c. uint(uint(foo[10]) 8) 0xff to make sure that the shifting always happens in a unsigned manner. Basically I would like to know if AS3 always autopromotes foo[10] to a int, whether result of bit shift or bit is a int (not a uint) -srp
[flexcoders] Re: FW: How can I tell length or size of object ( not array ) but object ..
Ok thx. Sean. --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: It is probably MUCH faster to use a for-in loop to count the fields. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Friday, January 04, 2008 1:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] FW: How can I tell length or size of object ( not array ) but object .. forwarding Dimitrios Gianninas RIA Developer and Team Lead Optimal Payments Inc. -Original Message- From: [EMAIL PROTECTED] mailto:flexcoders-owner%40yahoogroups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders-owner%40yahoogroups.com ] On Behalf Of Jethro Grassie Sent: Friday, January 04, 2008 4:08 PM To: [EMAIL PROTECTED] mailto:flexcoders-owner%40yahoogroups.com Subject: Re: How can I tell length or size of object ( not array ) but object .. ObjectUtil.getClassInfo(myobj).properties.length; --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , helihobby helihobby@ wrote: Is there a way to know a size of an object ( hash table ) without doing a for loop ? as in: var o:Object = new Object(); o.a = aa; o.b = bb; o.length or o.size does not work ? So how can I know size without doing a loop every time ? Regards, Sean. -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
[flexcoders] Multi languages
Hi all I want make a page direction in flex in multi languages mean that when i choose English the page contents direction is from left to right and when I use Arabic The page direction is from right to left and so on.
[flexcoders] Re: Distributed compilation in FlexBuilder?
incredibuild is an excellent product... http://www.xoreax.com/main.htm I have not used it with the flex compiler, but used it extensively with C++ and Java. It would be worth taking a look. I worked on a project where the build time from a clean environment was 7 hours and I had a dev team of just over 100 people. That's a full working day - just about - per person, just to do a clean build. This cut it down to about 15 minutes. That saved me 100 man days a week and improved the quality and stability of our code and dramatically reduced the integration times between component groups because everyone built everything more often. We were one team of 6 or 7 in the company I worked for, most bigger than ours. If you have ever been on a project like that you'll understand the need. --- In flexcoders@yahoogroups.com, Lachlan Cotter [EMAIL PROTECTED] wrote: Hi Flexcoders, This may be wishful thinking, but does anyone know if there is any way to set up parallel, distributed compiles in FlexBuilder? or otherwise with MXMLC running in some other environment? Cheers, Lach
[flexcoders] Re: Flex SSL over AMF with ColdFusion services-config.xml
Trace now shows it is using the secure channel. Having both secure and unsecure channels in the ColdFusion destination appears to working correctly. I've been monitoring both types of requests and all is working well now. But, I plan to keep an eye on it. I appreciate all the help. Don --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: If you use Flex Builder in debug mode then the Console panel will show trace output. However, if you're using a debug Flash Player plugin in a browser (or the debug standalone Flash Player), then so long as you have setup a mm.cfg file in your user directory, the flashlog.txt file will appear in the predefined log location. For windows, mm.cfg would likely need to be setup in C:\Documents and Settings\yourusername\mm.cfg ...and specify: ErrorReportingEnable=1 TraceOutputFileEnable=1 Then trace output will appear in: C:\Documents and Settings\yourusername\Application Data\Macromedia\Flash Player\Logs\flashlog.txt On windows I use tail.exe from cygwin to monitor the file. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nasawebguy Sent: Thursday, January 03, 2008 10:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex SSL over AMF with ColdFusion services-config.xml Thanks Peter. My assumption was that if I'm loading via https, the secure channel would be used. If not, the unsecure channel would be used. I can try the TraceTarget, but where is the flashlog located? Don --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote: If you're loading your SWF via HTTPS then you should be able to make secure connections from the Flash Player. As for the right channel being automatically selected, it depends on whether channel failover happens correctly. I didn't see a destination configuration below, but if the channels snippet represents the list of channels for your destination, then I believe it will try to connect using the SecureAMFChannel first and fall back to the AMFChannel on failing. While this might be useful in development, I wouldn't suggest it for deployment - especially if you really do have a requirement to connect to a secure endpoint. Can you add mx:TraceTarget / to your MXML, recompile, and then debug or look at flashlog.txt for more information about what might be going wrong in the channel connection phase? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nasawebguy Sent: Wednesday, January 02, 2008 8:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex SSL over AMF with ColdFusion services-config.xml When I use smartsniff/Charles, my remoteObject content is not encrypted/https/port 443. IE/Firefox shows SSL to the user, eventhough the data is NOT actually encrypted over AMF! Below is my services-config.xml file and remoteObject code snips. I've been researching this all day with no clear solution. As I understand it so far, I should be able to use two channels in my ColdFusion destination and the correct channel would be used automatically. Not the case. I need https pages to use SSL and http pages to not. I tried splitting them up into two destinations, ColdFusion and ColdFusionSecure, in the same services-config, but I keep getting errors that ColdFusionSecure cannot be found, when it is used at the remoteObject destination. I'd appreciate any suggestions. Thanks, Don channels channel ref=my-secure-cfamf/ channel ref=my-cfamf/ /channels channel-definition id=my-cfamf class=mx.messaging.channels.AMFChannel endpoint uri=http://{server.name}:{server.port}/flex2gateway/; class=flex.messaging.endpoints.AMFEndpoint/ properties polling-enabledfalse/polling-enabled serialization instantiate-typesfalse/instantiate-types /serialization /properties /channel-definition channel-definition id=my-secure-cfamf class=mx.messaging.channels.SecureAMFChannel endpoint uri=https://{server.name}:{server.port}/flex2gateway/; class=flex.messaging.endpoints.SecureAMFEndpoint/ properties add-no-cache-headersfalse/add-no-cache-headers polling-enabledfalse/polling-enabled serialization instantiate-typesfalse/instantiate-types /serialization /properties /channel-definition mx:RemoteObject id=cfdata showBusyCursor=true destination=ColdFusion source=flex.secure.send mx:method name=sendUpdate
[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!
[flexcoders] how to duplicate component
Hi, For my flexReport (www.kemelyon.com/flexreport) I need to make a duplicate of a component. For example, if I want to print a chart, I need to take that chart, resize it and add it to a page. My problem is that a component can only be draw inside a container at a time, so if I add it to the page it desapears from the original container. I don't want to use getBitmapData either because that way when I resize it will lose quality. What I want is having a method like: var chart2:ColumnChart = cloneComponent(chart1); or getVectorData(chart1); Hope someone can help me, Regards, Frederico Garcia
Re: [flexcoders] Multi languages
NileAge, Mail wrote: I want make a page direction in flex in multi languages mean that when i choose English the page contents direction is from left to right and when I use Arabic sorry but the flash client (ver 9.x) doesn't yet support BIDI. have to wait for maybe version 10.
[flexcoders] Re: Mock objects in AS3
Hi, Sorry for being out of the conversation for a few days. I ran into a problem while trying to do this using hxasm. If I write out the bytecode for a class definition to a ByteArray, and the class inherits from a custom class that is part of my swf rather than a standard class like Object, then Loader#loadBytes will throw an exception indicating that the class couldn't be found. I couldn't overcome this behavior no matter what LoaderContext I passed to the loadBytes method. I don't know enough about linking in AS3 to explain what is going on behind the scenes here, though I'm sure that some Adobe employees would expect this behavior and could explain the reason for it very easily To make the behavior more concrete, I would be happy to share my code with you folks. Drew, I will message you offline. I am very happy to see that other people are interested in working on this problem also. The Metal Hurlant blog post looks potentially promising. Adam --- In flexcoders@yahoogroups.com, Drew Bourne [EMAIL PROTECTED] wrote: Hi Christophe, Ohh neatness! Thanks for the heads up, I had no idea Haxe had that feature. I'm going to spend some time on this tonight tomorrow. cheers, Drew On 03/01/2008, at 9:53 PM, Christophe Herreman wrote: Hi Drew, just FYI: Adam and I talked about this some days ago. I pointed him to the fact that you could easily convert the Haxe code to AS3 using a flag for the Haxe compiler. In case you are interested, I have uploaded the hxasm code and the as3 version here:http:// www.herrodius.com/upload/hxasm.zip @Adam: Did you make some more progress? regards, Christophe 2008/1/2, Drew Bourne [EMAIL PROTECTED]: As the author of that mock framework Adam linked to I thought I should chip in with my thoughts on the issues that have been raised. Regarding having to hand code the implementation of the class you want to mock I have found that with a couple of snippet templates for TextMate I can write them quite quickly. If you are going to hand-code stubs for use in testing without using a framework you are adding behaviour to a class which means you should then be testing that class too. To ease some of the pain until we can generate mock objects from interfaces I intend to bundle a bunch of support classes that provide mocks for many of the core flash class (think URLLoader, EventDispatcher, Socket, etc). Speak up if you've got suggestions for the classes you would like to see included initially. I have a couple of ideas about what we would need to be able to generate the mock classes: 1) Generate the .as for the mock from reflection information at runtime, then compile the generated .as at runtime with a self-hosted compiler (AS3 compiler in AS3) then load it via Loader.loadBytes and flash.utils.getDefinitionByName 2) Write an AS3 Parser in something like Java or Ruby that would provide access to the Abstract Syntax Tree from which we can generate the mock class, then compile the generated .as with mxmlc along with the test suite. By implementing a tool that provides the AST for an AS3 class we open up the doors for lots of fun like generating mocks, AOP, code mutation (think adding hooks for code coverage reporting, mutation testing, additional metadata directives) There is work in the Tamarin project for a self-hosted compiler however last I checked it wasn't far enough along for our purposes. The hxASM library looks interesting and could definately be an avenue worth exploring for this. Adam, I would be interested in collaborating on getting a port of hxASM to AS3 so that we can generate the necessary bytecodes to create mocks from an interface at runtime. cheers, Drew -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org
[flexcoders] Is This a Know BUG?
When populating a datagrid with more than one page of data you get a scrollbar. When you column sort, the header moves over a bit to allow room for an arrow. Then if you scroll using the mouse and dragging the scroll bar, the heading moves again, this time over the top of the arrow and looking ordinary. This is for Right aligned fields only. Regards Dale Fraser
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] 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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Max Frigge Sent: Saturday, January 05, 2008 12:57 AM To: flexcoders@yahoogroups.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] 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 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=Ahu06i62 sR8HDtDypao8Wcj9tAcJ%20
RE: [flexcoders] Is This a Know BUG?
Please file a bug with a test case. Is this Flex 2 or 3? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Saturday, January 05, 2008 10:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is This a Know BUG? When populating a datagrid with more than one page of data you get a scrollbar. When you column sort, the header moves over a bit to allow room for an arrow. Then if you scroll using the mouse and dragging the scroll bar, the heading moves again, this time over the top of the arrow and looking ordinary. This is for Right aligned fields only. Regards Dale Fraser
RE: [flexcoders] Is This a Know BUG?
It's Flex builder 3. Where do I file a bug exactly. Regards Dale Fraser From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Sunday, 6 January 2008 6:08 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Is This a Know BUG? Please file a bug with a test case. Is this Flex 2 or 3? _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Saturday, January 05, 2008 10:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is This a Know BUG? When populating a datagrid with more than one page of data you get a scrollbar. When you column sort, the header moves over a bit to allow room for an arrow. Then if you scroll using the mouse and dragging the scroll bar, the heading moves again, this time over the top of the arrow and looking ordinary. This is for Right aligned fields only. Regards Dale Fraser