If you click on content loaded from another domain, you don't get a click event.
Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: [email protected] [mailto:[email protected]] On Behalf Of flexaustin Sent: Sunday, September 20, 2009 6:10 PM To: [email protected] Subject: [flexcoders] Re: SystemManager???? Shouldn't systemManager send out a MouseEvent.click on everything clicked in the application? It seems as though if the item clicked is a swf or embedded icon (even if included in a sprite) they don't seem to register with the systemManager? Or the systemManager doesn't send out a MouseEvent.click. Is their a way to make the systemManager send the click 100% of the time? --- In [email protected]<mailto:flexcoders%40yahoogroups.com>, "flexaustin" <flexaus...@...> wrote: > > I am building app that is something similar to photoshop or illustrator where > you have several tools to choose. > > I want to use a State Object pattern, where selecting a tool changes the state > of the app. I then want to have the mouse throw different events depending on, > which tool is selected rather than have state objects in my listeners or > having > conditionals or table look up in my listeners. > > I am using custom mouse pointers for tools so what I am wondering is, is it > possible for my custom systemmanager or cursormanager to tell when a click, > doubleclick, or drag happens? If so then I was thinking the systemmanager or > cursormanager could know what tool is selected, thus what mode/state the app > is > in, and send out different events for say mouse clicks. > > So: > > fingermouse's click = open thing clicked > zoommouse's click = zoom in 25% > mousepointer click = select to transform > pointer with a + on it = add a new thing to stage > ponter with a - on it = sub a new thing from stage > > TIA, J >

