Positioning / Scrolling problem with Flex popup

后端 未结 3 530
误落风尘
误落风尘 2021-01-27 01:28

I\'m trying to work out a specific problem I\'m having with positioning in Flex using the PopUpManager. Basically I\'m wanting to create a popup which will scroll with the paren

3条回答
  •  遥遥无期
    2021-01-27 01:36

    PopUpManager adds another layer which is independent of the original Application.
    So you probably don't want to use PopUpManager if you want it to stay relative to the first layer. You can just use a TitleWindow on top of a Canvas.

    You might have had this:

    
        
            
        
    
        
    
    

    But instead you will want to try something like this:

    
        
            
        
    
        
    
    

    You will need to decide for yourself what the best x,y values are for your application.

    If you also want to make this TitleWindow draggable/moveable, then you can do so with the Sprite.startDrag() function.

    Let me know if this helps!

提交回复
热议问题