|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Bring forward something in flexI have a lot titlewindow in the application. But the main panel which wrote by mxml is always covered by some titlewindow. How can I bring the main panel forward when I clicked it ?
|
|
|
Re: Bring forward something in flexIt is related to the order that you declare component in your mxml ... The latter the better.
C ________________________________ From: j2me_soul <j2me_soul@...> To: flexcoders <flexcoders@...> Sent: Friday, July 3, 2009 11:36:20 AM Subject: [flexcoders] Bring forward something in flex I have a lot titlewindow in the application. But the main panel which wrote by mxml is always covered by some titlewindow. How can I bring the main panel forward when I clicked it ? ________________________________ 200万种商品,最低价格,疯狂诱惑你 |
|
|
Re:Re: Bring forward something in flexHow can I change the order at runtime?
If I wanna bring some component forward. Just like the titlewindow, the titlewindow clicked bring to the most head of the screen. 在2009-07-03,"claudiu ursica" <the_braniak@...> 写道: It is related to the order that you declare component in your mxml ... The latter the better. C From: j2me_soul <j2me_soul@...> To: flexcoders <flexcoders@...> Sent: Friday, July 3, 2009 11:36:20 AM Subject: [flexcoders] Bring forward something in flex I have a lot titlewindow in the application. But the main panel which wrote by mxml is always covered by some titlewindow. How can I bring the main panel forward when I clicked it ? 200万种商品,最低价格,疯狂诱惑你 |
|
|
Re: Bring forward something in flexThe initial layout is related tot he order you declare things in MXML, but that doesn't help him move children around by clicking on something in the background. Take a look at SwapChildren and/or SwampChildrenAt: http://livedocs.adobe.com/flex/3/langref/flash/display/DisplayObjectContainer.html#swapChildren() http://livedocs.adobe.com/flex/3/langref/flash/display/DisplayObjectContainer.html#swapChildrenAt() claudiu ursica wrote: > > > It is related to the order that you declare component in your mxml ... > The latter the better. > > C > > ------------------------------------------------------------------------ > *From:* j2me_soul <j2me_soul@...> > *To:* flexcoders <flexcoders@...> > *Sent:* Friday, July 3, 2009 11:36:20 AM > *Subject:* [flexcoders] Bring forward something in flex > > I have a lot titlewindow in the application. But the main panel which > wrote by mxml is always covered by some titlewindow. How can I bring > the main panel forward when I clicked it ? > > > > ------------------------------------------------------------------------ > 200 万种商品,最低价格,疯狂诱惑你 > <http://count.mail.163.com/redirect/footer.htm?f=http://gouwu.youdao.com> > > > > -- Jeffry Houser, Technical Entrepreneur Adobe Community Expert: http://tinyurl.com/684b5h http://www.twitter.com/reboog711 | Phone: 203-379-0773 -- Easy to use Interface Components for Flex Developers http://www.flextras.com?c=104 -- http://www.theflexshow.com http://www.jeffryhouser.com -- Part of the DotComIt Brain Trust |
|
|
Re:Re: Bring forward something in flexIt very useful to me. Thanks Jeffry!
在2009-07-03,"Jeffry Houser" <jeff@...> 写道: The initial layout is related tot he order you declare things in MXML, but that doesn't help him move children around by clicking on something in the background. Take a look at SwapChildren and/or SwampChildrenAt: http://livedocs.adobe.com/flex/3/langref/flash/display/DisplayObjectContainer.html#swapChildren() http://livedocs.adobe.com/flex/3/langref/flash/display/DisplayObjectContainer.html#swapChildrenAt() claudiu ursica wrote: It is related to the order that you declare component in your mxml ... The latter the better. C From: j2me_soul <j2me_soul@...> To: flexcoders <flexcoders@...> Sent: Friday, July 3, 2009 11:36:20 AM Subject: [flexcoders] Bring forward something in flex I have a lot titlewindow in the application. But the main panel which wrote by mxml is always covered by some titlewindow. How can I bring the main panel forward when I clicked it ? 200 万种商品,最低价格,疯狂诱惑你 -- Jeffry Houser, Technical Entrepreneur Adobe Community Expert: http://tinyurl.com/684b5hhttp://www.twitter.com/reboog711 | Phone: 203-379-0773 -- Easy to use Interface Components for Flex Developers http://www.flextras.com?c=104 -- http://www.theflexshow.comhttp://www.jeffryhouser.com -- Part of the DotComIt Brain Trust |
|
|
Re:Re: Bring forward something in flexHere's an easy fix:
parent.setChildIndex(obj,i); Where parent is the container (can be "this"), obj is the child object you want to re-order, and i is the stack index of the position amongst the parent's children. The higher i is, the closer to the front it is. i cannot be higher than the number of children. --- In flexcoders@..., j2me_soul <j2me_soul@...> wrote: > > It very useful to me. Thanks Jeffry! > > > > ÔÚ2009-07-03£¬"Jeffry Houser" <jeff@...> дµÀ£º > > > > > > > The initial layout is related tot he order you declare things in MXML, but that doesn't help him move children around by clicking on something in the background. > > Take a look at SwapChildren and/or SwampChildrenAt: > http://livedocs.adobe.com/flex/3/langref/flash/display/DisplayObjectContainer.html#swapChildren() > http://livedocs.adobe.com/flex/3/langref/flash/display/DisplayObjectContainer.html#swapChildrenAt() > > claudiu ursica wrote: > > It is related to the order that you declare component in your mxml ... The latter the better. > > C > > > > From: j2me_soul <j2me_soul@...> > To: flexcoders <flexcoders@...> > Sent: Friday, July 3, 2009 11:36:20 AM > Subject: [flexcoders] Bring forward something in flex > > > I have a lot titlewindow in the application. But the main panel which wrote by mxml is always covered by some titlewindow. How can I bring the main panel forward when I clicked it ? > > > > > > 200 ÍòÖÖÉÌÆ·,×îµÍ¼Û¸ñ,·è¿ñÓÕ»óÄã > > > > > -- > Jeffry Houser, Technical Entrepreneur > Adobe Community Expert: http://tinyurl.com/684b5hhttp://www.twitter.com/reboog711 | Phone: 203-379-0773 > -- > Easy to use Interface Components for Flex Developers > http://www.flextras.com?c=104 > -- > http://www.theflexshow.comhttp://www.jeffryhouser.com > -- > Part of the DotComIt Brain Trust > |
| Free embeddable forum powered by Nabble | Forum Help |