Still Looking for an answer :( On Mar 14, 10:20 am, kaal <[email protected]> wrote: > HI , please refer to the following code snippet > > <mx:SWFLoader loadForCompatibility="true" source="http://localhost: > 8090/CacheFpsTest-debug/mySwf.swf" id="swf" x="0" y="161" > click="clicked()" complete=" t=(swf.content as MovieClip)"/> > <mx:Canvas x="269" y="94" borderColor="#000000" borderStyle="solid"> > <mx:SWFLoader id="swf1" complete="Alert.show(swf1.width.toString())"/ > > </mx:Canvas> > > public function call():void{ > Neighbour_mc = > Class(swf.content.loaderInfo.loader.contentLoaderInfo.applicationDomain.getDefinition("cco")); > var m_NeighbourPanel:MovieClip = new > Neighbour_mc(); > swf1.addEventListener(Event.COMPLETE,function > complere():void{ > }); > swf1.load(m_NeighbourPanel); > > } > > <mx:Button x="238" y="422" label="Button" click="call()"/> > > The problem is , when i load the swf file from the swfloader , > everything is perfect , now i have to copy the loaded swf file and > make another object , for example i have to drag the swf file and in > the proxy i have to show the loaded swf file , for that i came up with > this solution , use the content and convert into class and make the > object of that class and load into another swfloader , but it has one > problem , when i load the second swf file the 0,0 of my swfloader > become the center point of the loaded swf file . I need to know is the > any other way to duplicate the loaded swf file or how to fix the above > mentioned problem > > Regards > Rahul Kamra
-- 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.

