Hi Vaibhav,
ImageResource my file is just a set of images "Embed", inside it I have
mapped images exactly the way you recommended above. My point is not to
replicate the image (source attribute of the mx: Image), that I do with
"Embed" like you said, I would like to use only one object mx:Image in
different mx:HBox. For example, using a mx:TextInput in different mx:Box :
...
public function addTextInput():void
{
var txt:TextInput = new TextInput();
txt.width = 100;
box1.addChild(txt);
box2.addChild(txt);
box3.addChild(txt);
}
]]>
</mx:Script>
<mx:Box id="box1" />
<mx:Box id="box2" />
<mx:Box id="box3" />
...
but when this code runs only in the picture is box3. When you add it in a
mx:Container she leaves the mx:Container earlier. Does anyone know how to
remain an object Display mx:Container in more than window (mx:Box) one at a
time? What is changed in one of the objects will be reflected to the other
because they are the same object, but in different locations of the screen.
Someone already implemented this?
Thanks,
Arthur Rocha.
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.