HZNM.COM
welcome to my space
X
Search:  
 HOME   Frustrations with comboBox focus
Frustrations with comboBox focus
Published by: wktd 2010-03-18
Welcome to:hznm.com

  • I've got a movie that loads a movieClip which has several comboboxes and listboxes in it.

    After figuring out that I needed to lockroot my loaded mc so that the components worked, now I'm fighting the battle to remove the focus areas so those green rectangles don't stay active.
    gskinner.com: gBlog: Flash CS3 Components Revealed::
    I'll recommend venting frustration in the Adobe Flash Forum. . I tried it extensively with the ComboBox and ColorPicker V3 Components, and i found that: . ColorPicker is opened via code, stage focus is not given to the component.
    http://www.gskinner.com/blog/archives/2007/04/flash_cs3_compo.html
    HOME

    I managed to set up listeners for most of the components (side question here...is there a way to set up one listener for several components just to remove the focus??), and got everything working EXCEPT...

    I can't get rid of the green rectangle on the dropdown for the comboboxes!!

    I'm removing the focus from the combobox itself with the following:

    var bag_cbListener:Object = new Object();
    this.bag_cb.addEventListener("change", bag_cbListener);
    bag_cbListener.change = function() {
    bag_cb.drawFocus="";
    bag_cb.dropdown.drawFocus="";//this doens't seem to affect the dropdown at all
    Musings about os development , assembly language , game ::
    Although it seems easy at first , it requires some attention and focus to execute . well written automation scripts save time and reduce frustration . Then we need to determine what pattern is to be used , eg combobox uses
    http://blogs.msdn.com/samathew/default.aspx
    HOME
    }
    and I've tried to set up a listener specifically for the dropdown, but that didn't work...

    I put the files up at http://www.brianwpiper.com/combobox.zip and you can see the problem if you run the test.swf, which loads in the testCB.swf.

    Thanks!!

    edit added...

    I had thought that I had fixed the problem on the one listbox I had also, but then I scrolled the list, which apparently isn't handled within the "change" function, so now I guess I need ANOTHER listener to handle the scrolling...this seems a little crazy...

    Thanks!!


  • Here's the command...found it in AdvancED ActionScript Components...

    _global.BB.diff_cb.drawFocus = null;
    _global.BB.diff_cb.dropdown.drawFocus = null;

    Works like a charm, and no listener required!!


  • Anyone??





  • Challenging Books For A 14 Year Old?
    First guitar : acoustic or electric?

    You are looking at:hznm.com's Frustrations with comboBox focus, click hznm.com to home
  • straight thread vs tapered thread
  • conduit fill table
  • stumped
  • how many conductors in conduit by code
  • changing 240v to 120v for baseboard
  • simpson 260 7 vs 260 8
  • 3 way switch off and still some power
  • replacing aluminum wiring and fuse panel
  • 6 3 wire for 60a subpanel
  • protecting 6 3 run to sub panel
  • electric motor question
  • high wire
  • looking for 120 v baseboard heater
  • mains electric in bathroom
  •  
  • greenlee gt 11 tester
  • i need sparky help
  • receptacle or line issue
  • transfer switches theory
  • cant get my baseboard heaters working
  • what did i miss
  • lost in the mire
  • dimmer
  • wiring baffle
  • trailer tailight question
  • electrical tool kit question
  • bad outlet
  • can i buy this or make this
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 hznm.com        Site made:CFZ