• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2433
  • Last Modified:

PopUpManager position against right value

I am adding a Panel to my applicationWindow and need it to always be positioned 50px from the right of the window but i cannot find a method of doing this without setting the [Panel].x value and using the resize event of the parent which is very messy, most controls when added to stage via the Flex Builder designer view can have a right value set but this doesnt seem to be in existence when programatically adding the Panel.

Any ideas would be gratefully recieved

Thanks in advance
0
Robinsonx6
Asked:
Robinsonx6
  • 3
1 Solution
 
PluckaCommented:
[Panel].right = 50;
0
 
Gary BenadeCommented:
yourpanel.setStyle("right", 50);
0
 
Robinsonx6Author Commented:
sorry i accepted the wrong answer how do i change that please
0
 
Robinsonx6Author Commented:
points where for hobbit72 as his solution was the working one not Pluka, sorry Pluka

my browser seems to mess up
0
 
Robinsonx6Author Commented:
Thank you angelIII for sorting out my mistake, it might be good idea to put information on the acceptance screen where we set the grade for the solution so we can check we clicked the correct answer
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now