|
I had hit some of the same problems. A possible solution may be because you are referencing mx.core.Application.application from within your result handler of the remote object. When using a loader, if you reference mx.core.Application.application from within nighthawk.mxml (Child Component), it actually points to the mx.core.Application.application of phoenix.mxml (Parent Application). It is because of static variable issues between the apps. Loader is extremely cool, but IMHO unusable for what you are trying to accomplish. Macromedia has to give some sort of new component, revamp the loader, or give us guidelines on using loaders properly. I had the same issues when I tried to accomplish this. Maybe someone else has some suggestions on how to get loaders working properlyJ.
P.S. there are also major sizing issues if you want to use percentage widths and heights on an application being loaded from a loader. Just FYI
From: Dimitrios
Gianninas [mailto:[EMAIL PROTECTED]
Hi,
Just been playing around with having one Flex UI within another and I am experiencing a little problem, and thus I was wondering if anyone has come across this problem and might have a solution.
This is all under JRun 4 SP4... so we have the parent UI at http://localhost:8200/phoenix/phoenix.mxml and the child UI at http://localhost:8204/nighthawk/nighthawk.mxml
Now using the loader component in phoenix.mxml I am able to load the nighthawk.mxml, no problem, it appears. However when I hit a button to perform an action which makes a remote call (via RemoteObject) nothing happens. The nighthawk.mxml works perfectly on its own however.
Anyone have any insight?
Jimmy Gianninas Software Developer - Optimal Payments Inc.
Yahoo! Groups Links
|
- RE: [flexcoders] RemoteObjects and UI within UI proble... Mercer, Dustin
- RE: [flexcoders] RemoteObjects and UI within UI p... Dimitrios Gianninas
- [flexcoders] Re: RemoteObjects and UI within ... james_d_mercer
- [flexcoders] Re: RemoteObjects and UI within ... james_d_mercer
- RE: [flexcoders] RemoteObjects and UI within UI p... Matt Chotin

