No one has ever loaded a Flex 4 application from a Flex 3 application ... ?
Not supported. The loading app must always be from the same or newer SDK
version than the loaded app.
(Thanks for answered me)
I tried to compile the loading app (Flex 3) with the SDK 4.0 and it's the same. ...
It's weird because the loading is ok and the loaded application works fine but popups and toolips are not placed at the right place.
I don't know what to do ...
Jean - we are in the process of trying to launch a Flex 4 app from our existing Flex 3 app and I was researching this whole topic and came across your post.
A couple of quick questions:
1.) Did you ever get around this layout problem?
2.) Is it absolutely necessary to compile the Flex 3 app with the Flex 4 SDK as was discussed in this post or did you have it working with your flex 3 app being compiled with the 3 sdk?
Thanks a lot,
Unfortunatly I did not succeed to launch correctly without any design problem a flex 4 app from a flex 3 app.
And I stopped my research at the design problem. Maybe other problems would occur I don't know...
So, to answer your questions :
No I did not get around the layout problem and I don't even know if compiling the flex 3 app with the flex 4 sdk would solve the problem... :s
I rewrote my flex3 application entierly in flex 4 with all the new features and finaly I think it's for the best like this.
In the past I worked a lot with launching flex 3 application from other flex 3 application.
I just know that since the sdk 3.2 it's possible to launch applications built with an older sdk thanks to the loadForCompatibily=true but I never succeed to load an application built with a newer sdk that the loading application.
But If anyone has the solution, I would be glad to know it :-)
Older SDK loading a SWF from a newer SDK is not supported.