use:
AppLoader id=loader scaleContent=true width=100% height=100% bottom=0 top=44 left=0 right=0/
and a new application using:
loader.load(YorNewApp.swf);
Tks..
On 4/1/06, inawire [EMAIL PROTECTED] wrote:
Can you supply some sample code snipits?
ThanksRoss--- In flexcoders@yahoogroups.com
,
Can you supply some sample code snipits?
Thanks
Ross
--- In flexcoders@yahoogroups.com, Bruno Martins [EMAIL PROTECTED] wrote:
Hi Ross,
My friend Beck Novaes did a better implementation of AppLoader.
Tks..
--
Flexcoders Mailing List
FAQ:
Hi Ross,
My friend Beck Novaes did a betterimplementation of AppLoader.
Tks..
On 3/27/06, Bruno Martins [EMAIL PROTECTED] wrote:
Yes I extend the loader to create this new component. I had the same problem you have. The document is undefinedon complete event, but a fill seconds after they
Yes I extend the loader to create this new component. I had the same problem you have. The document is undefinedon complete event, but a fill seconds after they appear so a put a interval to manipulate the content. I don't like this solution but I'll try a better one. If you have some idea,
Hi Bruno
I was finaly able to talk to the inner app.
I added this code to a button in the shell app.
Note: applet is the id of my mx:Loader component in the shell app
var subApp:SystemManager = SystemManager(applet.content);
trace(subApp.document.appName);
content is of type SystemManager which
Sorry Ross I thought that you name is inawire...
On 3/24/06, Bruno Martins [EMAIL PROTECTED] wrote:
Hi Inawire,
Excellent discover about the SystemManager. Now I did a first AppLoader component(use AppLoader instead of Loader), until now its works fine for meif you find some bugs please let
I take it 'AppLoader' is a custom component you created by extending
the Loader component? How did you endup handeling the 'unloading' of
an app before loading a second one?
How did you handel a notification from the inner app that it was
complete and that the shell app could talk to it.
Hi,
I did apoor solution to this problem but I believe that is a start to solve the problem:
I put the following code in the application that will be loaded:
private function resizeLoader(event:Event = null):void{ width = parent.parent.parent.width; height =
Thanks Bruno and Doug,
This is on the right track (though I still do not know why this
worked in beta 1 with out all this extra code).
Bruno, your code worked for me fine (flex 2 version of Doug's idea).
When I load my inner app, the content resizes perfectly (see inner
app below).
The only
Hi,
I know about this listener problem but I'll try other solution as soon as possible...
Tks
On 3/23/06, inawire [EMAIL PROTECTED] wrote:
Thanks Bruno and Doug, This is on the right track (though I still do not know why this worked in beta 1 with out all this extra code). Bruno, your
With further testing, the loaded (inner) app (application.width) is
scailing to the correct size on initial load. When the outer shell
resizes, the inner app resize does not get called (it does when it
runs on its own).
Also when the inner app first loads, thought the inner app is showing
the
I know in 1.5 the trick was to provide the loaded (inner) app with
getPreferredHeight() and getPreferredWidth() functions; may be worth a
try in your case if you are able to modify the code for the loaded
apps. In AS2, it was:
function getPreferredHeight() {
return _parent?
12 matches
Mail list logo