This content has been marked as final. Show 3 replies
"dallas_idiot" <email@example.com> wrote in message
> So i am using the FIG Callout component for Flex, but in my project when I
> maximize the component, go into the DetailView state, the component jumps
> around on the screen.
> In my app I click on a Sprite which displays the FIG Callout. If I drag
> Sprite around then click on the maximize button on the FIG Callout, before
> increasing in size the FIG Callout jumps back to where it was when it was
> instantiated on the stage. So if I add at x=100 and y=100 but then drag
> sprite to (x,y) of (200, 400) before the FIG maximizes it jumps back to
> then to 200, 400 and increases in size.
Are you doing anything after the drag is over to change the component's
I figured out the issue. The FIG Callout components updateDisplayList always resets the components placement to its starting x,y. Not sure why they coded it like that I would think they would want to leave it only or set it to its current x,y?
Anyway, I made the decision to comment out the resetting of the xy.
can we see your example, i did one too, i played a little with it and did some interesting things. soon i will put the source so anyone can see it. put i am cleaning it a little.