RE: [Flashcoders] load flex swf into flash CS3 project

2007-12-20 Thread Merrill, Jason
Also I've found that when trying to add a MovieClip instance to a UIComponent in Flex, the whole app just quits. Though technically there is nothing wrong with doing this, Flex components react badly to display objects that are not desensants of UIComponent. Interesting, I haven't encountered

Re: [Flashcoders] load flex swf into flash CS3 project

2007-12-20 Thread Jamie S
I guess i'm thinking specifically of mx.core.Container Objects. Although you can use addChild() to add any DisplayObject, unless that DisplayObject implements IUIConponent, it wont work. Jamie On Dec 20, 2007 7:23 AM, Merrill, Jason [EMAIL PROTECTED] wrote: Also I've found that when trying to

Re: [Flashcoders] load flex swf into flash CS3 project

2007-12-20 Thread Cory Petosky
You can use mx.core.Container.rawChildren.addChild to add any DisplayObject to a Flex container. On 12/20/07, Jamie S [EMAIL PROTECTED] wrote: I guess i'm thinking specifically of mx.core.Container Objects. Although you can use addChild() to add any DisplayObject, unless that DisplayObject

[Flashcoders] load flex swf into flash CS3 project

2007-12-19 Thread [EMAIL PROTECTED]
Hello- I need to load a compiled AS3 based Flex 3 swf (a simple form with data validation) into an AS3 based Flash project I'm working on in CS3. I tried importing the .swf into the library pre-compile as well as loading it at runtime and nothing shows up. Can this be done? Any ideas?

Re: [Flashcoders] load flex swf into flash CS3 project

2007-12-19 Thread Jamie S
Though i've never tried loading a Flex swf in Flash, I have done the opposite and ran into similar issues. Ultimately all of the problems I encountered were related to either security issues or incompatibilities in the loaded swf making the whole app fail with no indication why. To solve security