tag:blogger.com,1999:blog-6843566830671277353.post1425467024916904046..comments2023-12-11T22:56:18.291-08:00Comments on Codedependent: Video: Flex 4 Path to EnlightenmentChet Haasehttp://www.blogger.com/profile/03250991041464602854noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-6843566830671277353.post-69631876411632108602010-07-25T19:37:53.778-07:002010-07-25T19:37:53.778-07:00@Guillaume, maybe you've worked this out, but ...@Guillaume, maybe you've worked this out, but I was able to detect MouseEvent for a FilledElement object here:<br /><br />http://flexair.blogspot.com/2010/07/detect-mouseevent-in-filledelement.htmlTina in Bostonhttps://www.blogger.com/profile/17786173360088396185noreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-20311912547320391252010-07-13T18:36:14.180-07:002010-07-13T18:36:14.180-07:00@Gillaume: Path, and the other graphic primitives,...@Gillaume: Path, and the other graphic primitives, were intended to be very lightweight objects so that there would not be penalties from using lots of them in a scene (which is easy to do with components that are composed of many of these things). So you can't listen in directly on the object.<br />The general approach I've used for listening to events on objects is to put them inside a Group and listen to events on the Group instead. I don't know off-hand whether this would limit the events to only those pixels of the Path object, but I'm thinking this would work because the transparent pixels of the group would probably just let the event fall through to the object behind it.Chet Haasehttps://www.blogger.com/profile/03250991041464602854noreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-68920483505300824772010-07-03T11:12:38.755-07:002010-07-03T11:12:38.755-07:00Hi Chet,
Just a quick question regarding the Path...Hi Chet,<br /><br />Just a quick question regarding the Path Object since it seems there is no event dispatched this object.<br /><br />Let say in a app we dynamically create custom shape from a path (for instance a square).<br />My question is, Is there a way to handle a mouse_over or mouse_out events on our 'shape' ?<br /><br />I tried using a Graphic object that house my shape, so I can listen mouse events, but it doesn't work since the Graphic is actually a big rectangle that cover my shape.<br /><br />regards,<br />GuillaumeGuillaumenoreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-27345598262759236522010-06-03T13:46:07.749-07:002010-06-03T13:46:07.749-07:00Thanks for the error reports - I've fixed the ...Thanks for the error reports - I've fixed the link to the source code (should have been .mxml, not .zip) and to the Adobe TV show (I bet I have that same link error on every blog post - argh!).Chet Haasehttps://www.blogger.com/profile/03250991041464602854noreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-44332125825945469522010-05-17T07:43:43.162-07:002010-05-17T07:43:43.162-07:00Hey, Chet!
Congratulations on the very nice work y...Hey, Chet!<br />Congratulations on the very nice work you are doing.<br /><br />Just wanted to point out that the link to your Codedepended show on Adobe TV has an extra "s".<br /><br />That is: http://tv.adobe.com/<b><i>show</i></b>/codedependentFrancischttps://www.blogger.com/profile/02206664929132395847noreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-27209613970088716192010-05-15T14:53:45.908-07:002010-05-15T14:53:45.908-07:00Hi Chet Haase,
great video! I was trying to downl...Hi Chet Haase,<br /><br />great video! I was trying to download the source code to play around with it but the link ( http://haasehouse.com/Chet/Flex/CodeDependent/files/Scribbler.zip ) appears broken?<br /><br />Kind regards, <br />Theo LagendijkAnonymousnoreply@blogger.com