pesky louse coupling question
Hey guys,
I have 3 files: main.mxml, registration.mxml, and update.mxml. The
registration is a custom canvas component with a datagrid, and the update is a
popup activated by clicking the datagrid. I understand how to dispatch custom
events, but I'm having trouble dispatching from popup back to main.mxml where
my remote code is located. I can successfully dispatch objects with a custom
event from reg component to main. What am I doing wrong? Should I just add a
remote command in the registration component and run a function in the
registration? Doesn't seem like loose coupling to me?
|