Oh I see. I was thinking the dropdown was a child clip of the combobox so
puting the combobox itself on the upper most layer would do so to the
dropdown as well.
Anytime bro I'm glad you got it sorted out,
M.
On 4/14/06, Radley Marx <[EMAIL PROTECTED]> wrote:
>
>
>
>
> You were in the right direction. After picking up your clues I found
> a workaround on MM livedocs:
>
> <snip>
>
> To use it correctly you first have to know what instance have to be
> set on top: Its not the component itself. Its the mc called
> "__dropdown" (with two "__").
>
> So with this workaround its working fine:
>
> var comboName=new Object
>
> comboName.onMouseDown=function() {
>
> a=_root.getNextHighestDepth()
> comboName.__dropdown.swapDepths(a)
> }
>
>
>
> So everytime Combobox gets clicked the dropdownmenu will be displayed
> on Top. It no longer disappears behind other mc's
>
>
> </snip>
>
>
> thnx for pointing me in the right direction! =)
>
>
> -radley
>
>
>
>
>
> On Apr 14, 2006, at 3:33 AM, elibol wrote:
>
> > Yes it seems like the items that are dynamically loaded into the
> > combo boxes
> > were not available in the library. I'm a bit confused though
> > Radley, after
> > exposing the combobox in your root.swf library were the dropdowns
> > working?
> > I'm not sure if you've put the comboboxes onto the root.
> >
> > anyway, the way to solve this would be to make the depth of the
> > combobox
> > who's y position is lowers depth lower than the rest.
> >
> > let's say cb1, cb2, cb3 are you combo boxes and target is your
> > movieclip
> > that they're on, where 1 has the lowest y position and 3 has the
> > highest.
> >
> > var i = target.getNextHighestDepth();
> >
> > cb3.swapDepths(i);
> > cb2.swapDepths(++i);
> > cb1.swapDepths(++i);
> >
> > just remember, anything with a depth greater than 1048575 cannot be
> > removed
> > using removeMovieClip(), I would not recommend using
> > getNextHighestDepth for
> > this reason but this is one way of explaining how you can avoid the
> > overlapping.
> >
> > Hope this helps,
> >
> > M.
> >
> > On 4/13/06, Radley Marx <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>
> >> Hey all,
> >>
> >> I'm using a few comboBoxes in my current project. The comboBoxes are
> >> all in child.swf which is loaded into the root.swf.
> >>
> >> At first, the drop-downs wouldn't appear when the comboBox bar is
> >> pressed. Once I added a comboBox to the root.swf Library they
> >> appeared to work fine, except now I'm having overlap issues.
> >>
> >> In the first case, the top bar is visible. When pressed, the drop-
> >> down menu somehow appears underneath everything else on the child.swf
> >> stage. Would this have anything to do with needing a comboBox in the
> >> root.swf library??
> >>
> >> In the 2nd case, I have three combo boxes all together on the stage
> >> with a long comboBox about 150 pixels above the other two. When this
> >> comboBox is selected, the drop menu appears underneath the lower two
> >> comboBoxes, instead of above them.
> >>
> >> Solution? What am I missing here??
> >>
> >> thnx =)
> >>
> >> -radley
> >>
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> ---
> >> ------
> >> Radley Marx
> >> [EMAIL PROTECTED]
> >> 310.220.4088
> >> http://www.radleymarx.com
> >> ---------------------------------------------------------------------
> >> ---
> >> ------
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> [email protected]
> >> 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
> >>
> > _______________________________________________
> > [email protected]
> > 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
> >
>
>
>
>
> ------------------------------------------------------------------------
> ------
> Radley Marx
> [EMAIL PROTECTED]
> 310.220.4088
> http://www.radleymarx.com
> ------------------------------------------------------------------------
> ------
>
>
>
>
> _______________________________________________
> [email protected]
> 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
>
_______________________________________________
[email protected]
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