[flexcoders] Re: popup window send event to main screen

2009-10-19 Thread Netaman
Yes you can, A quick overview - Create an Event meta tag  
create a class for the meta event that extends the Event and 
then dispatch your event that bubbles to the main application 
from your popup.

read here;
http://livedocs.adobe.com/flex/3/html/help.html?content=createevents_3.html

Of course if you are looking to create flex software that incorporates events 
then read the rest of the message.

You might want to look at a framework like puremvc, or a more complex framework 
like cairngorm, these use an more complex event driven model, view, controller, 
I personally keep it simple and apply a easyMVC architecture. Anyone can make 
it complex, keeping it simple is Genius. By keeping it simple I can apply my 
own algorithms to software development having used for the last 27 plus years 
of on the job training.

read on if you want my candid opinion about frameworks.

So when you look at a programming model and it looks simple then you have the 
freedom to think outside the box, some software industry pundits have placed a 
big giant box in front of you saying learn this to solve the whatever comes up 
in the everyday software development, basically placing you inside a box, just 
a bigger box, saying this will lead you to quicker development, share the same 
core logic between programs, so on and so forth, but if you look closely enough 
and see that all their patterns and verbiage is just the framework a learning 
exercise, nothing wrong with learning, use what you like and discard the rest. 

The biggest pattern to solving the software development algorithms of tomorrow 
and today is on a web search engine page, I have found that by searching the 
web it's the biggest pattern solver of them all, better then any framework. I 
am more a web research software developer then software developer, design and 
function from a web search to figuring out the next software steps. 

The one thing I see the industry doing is following a framework, thinking it to 
be the greatest thing since bytes came in a core, but they miss the point, that 
by making pointless framework constructs/ additions to a software architecture 
they have diluted the meaning of the framework, making it hard to grow, making 
it complex.

No one person or group of persons has the intelligence to lead you down a path 
of programming enlightenment, just a bunch of software developers that dream in 
code. 

Randy





--- In flexcoders@yahoogroups.com, markflex2007 markflex2...@... wrote:

 Hi,
 
 Do you think if it is possible for popup Flex window to send event to main 
 Application screen?
 
 Thanks
 
 Mark





[flexcoders] Re: popup window send event to main screen

2009-10-16 Thread valdhor
Yes you can.

Add an event listener to the systemManager of the application. systemManager is 
the owner for popup windows.

--- In flexcoders@yahoogroups.com, markflex2007 markflex2...@... wrote:

 Hi,
 
 Do you think if it is possible for popup Flex window to send event to main 
 Application screen?
 
 Thanks
 
 Mark