How to load flex swf from flash?

I have some swf compiled in flex I want to load it into my movie clip in flash pro.

...So how to for example load flex swf inside Flash CS4?

how to do such thing?


Here you can read more about it:

Here is the code for loading the flex swf:

var loader:Loader = new Loader();
loader.load(new URLRequest("my-flex-app.swf"));
loader.addEventListener("mx.managers.SystemManager.isBootstrapRoot", systemManagerHandler);
loader.addEventListener("mx.managers.SystemManager.isStageRoot", systemManagerHandler);

function systemManagerHandler(event:Event):void { event.preventDefault(); }

Need Your Help

constant equivaleny for dynamic variables


I can access static class variables without using dangerous eval like

d3.js single path voronoi hover


I've been looking at this excellent example:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.