Re: [Flashcoders] Focus Highlight with Components
I'm betting whatever function calls onRollOver has a function body like so: function(){ doScrollBarOverEffect(); maybeDoSomeOtherStuff(); highlightDataGrid(); // may not have such a descriptive name, but either a function or some procedural code would cause it. } On 5/5/06, elibol <[EMAIL PROTECTED]> wrote: Oh sorry, I don't have much experience with the v2 data grid. I think though you can pinpoint what is happening by overriding the scroll bars onRollOver event. Maybe if you could examine the source you would find out what the onRollOver may be delegated to. You might be able to see which event causes the effect, and maybe from there find an externalized method to disable it. From here though if there is no external method, you could always just override the function. Another way would be to just get rid of the movieclip that shows the effect, if it's dynamically drawn though you might not be able to do this. M. On 5/5/06, John Giotta <[EMAIL PROTECTED]> wrote: > > Thanks elibol, but not it. > > You'd have to see it for yourself if I'm not making any sense. > > I have a Datagrid in on SWF and another SWF is loading it. > Whenever the ScrollBar of the Datagrid is focused, a light green halo > forms around the entire Datagrid. That's what I want gone. > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Focus Highlight with Components
Oh sorry, I don't have much experience with the v2 data grid. I think though you can pinpoint what is happening by overriding the scroll bars onRollOver event. Maybe if you could examine the source you would find out what the onRollOver may be delegated to. You might be able to see which event causes the effect, and maybe from there find an externalized method to disable it. From here though if there is no external method, you could always just override the function. Another way would be to just get rid of the movieclip that shows the effect, if it's dynamically drawn though you might not be able to do this. M. On 5/5/06, John Giotta <[EMAIL PROTECTED]> wrote: Thanks elibol, but not it. You'd have to see it for yourself if I'm not making any sense. I have a Datagrid in on SWF and another SWF is loading it. Whenever the ScrollBar of the Datagrid is focused, a light green halo forms around the entire Datagrid. That's what I want gone. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Focus Highlight with Components
John, I get rid of the green halo border with this: _root._focusrect = _global.useFocusRect = false; It has effect on every element on the flash movie. I hope this will help you. Regards, Dimitrios Bendilas - Original Message - From: "John Giotta" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Friday, May 05, 2006 8:37 PM Subject: Re: [Flashcoders] Focus Highlight with Components Thanks elibol, but not it. You'd have to see it for yourself if I'm not making any sense. I have a Datagrid in on SWF and another SWF is loading it. Whenever the ScrollBar of the Datagrid is focused, a light green halo forms around the entire Datagrid. That's what I want gone. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Focus Highlight with Components
Thanks elibol, but not it. You'd have to see it for yourself if I'm not making any sense. I have a Datagrid in on SWF and another SWF is loading it. Whenever the ScrollBar of the Datagrid is focused, a light green halo forms around the entire Datagrid. That's what I want gone. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Focus Highlight with Components
I think what you want is _focusrect. It's a MovieClip property, so you would have to target the movieclip instances that are recieving focus. myMC._focusrect = false; M. On 5/3/06, John Giotta <[EMAIL PROTECTED]> wrote: > datagrid.rollOverColor = yourBackgroundColor; > datagrid.textRollOverColor = yourTextColor; I want to get rid of the light green glow around the Datagrid when ever the ScrollBar is focused. Not the row roll over. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Focus Highlight with Components
datagrid.rollOverColor = yourBackgroundColor; datagrid.textRollOverColor = yourTextColor; I want to get rid of the light green glow around the Datagrid when ever the ScrollBar is focused. Not the row roll over. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Focus Highlight with Components
change these properties datagrid.rollOverColor = yourBackgroundColor; datagrid.textRollOverColor = yourTextColor; datagrid inherits from the List -- check out setting styles in the help. From: [EMAIL PROTECTED] on behalf of John Giotta Sent: Tue 5/2/2006 4:55 PM To: Flashcoders mailing list Subject: [Flashcoders] Focus Highlight with Components Is there a way to remove the Focus highlight color on the Datagrid? No matter what I've tried I still get a green focus color. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Focus Highlight with Components
Is there a way to remove the Focus highlight color on the Datagrid? No matter what I've tried I still get a green focus color. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com