Hello,
This is the second message with the same problem. Somehow the other one did not appear on the list (or wasnt processed yet, sorry for any double messages). I have edited the message a bit to update what i have found so far.
I am having a small little problem. Im dynamically loading one application into another using SWFLoader. This all works very well, however, the layout mechanism doesnt work anymore. After some digging this is quite logical because if you walk down the parent chain of the loaded SWF you come across a parent that's of type
mx.core.FlexLoader which does not implement the IFlexDisplayObject or the IUIComponent interface. Besides that you come across an instance of the SystemManager which does not implement the IUIComponent interface.
So if im correct this means that the chain of layout shizzle is broken there. My question: does any1 know how to fix this problem or work around this?
What i found so far:
1.
A resize of any sub-objects of the loaded application do not (allways) result in a resize event dispatced by the application itself. This can be solved by adding a listener to the sub-object and use the setActualSize to update its with and height. This however is no option when you want the sub-object to resize to the application.
2.
If the application resizes, the loader is not informed. This can be solved by calling the parentChanged method on the loaded application so that it will see the loader as its parent.
Greetz Erik
Thnx.
Greetz Erik
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Software development tool | Software development | Software development services |
| Home design software | Software development company |
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___

