RE: [flexcoders] DragManager issues when running in swf inside a swf
I didnt find a documented workaround, the suggestion I gave came from Alex who would know J So wed need to see a small example for further help at this point or you can try to go through support. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl Johnson Sent: Friday, March 10, 2006 11:02 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DragManager issues when running in swf inside a swf No luck with this. I have tried about a million different solutions. Is there a documented work around for this in Macromedia support? Any other possible ways of gettings this to work? Thanks for your help. Karl From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: Saturday, March 04, 2006 5:09 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DragManager issues when running in swf inside a swf Yes, the one that has the loader control in it. The point is you need to make sure that the first application you load has the DragManager linked into it. Maybe do a static var in the Application? private static var dm:DragManager; I dont think _lockroot will do anything for you. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl Johnson Sent: Friday, March 03, 2006 6:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DragManager issues when running in swf inside a swf Thanks much for the reply Matt. This was supposed to be put in the application initialize event of the parent flex app (the one that has the loader control)? I tried in both and didn't have any luck. A colleague had suggested setting _lockroot=true on the loader object but that didn't seem to do it either. Any other ideas? This problem is really killing me! Thanks for your help. Karl From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: Friday, March 03, 2006 9:13 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DragManager issues when running in swf inside a swf This is a known issue because the drag and drop stuff is static and therefore doesnt often play nice across loaded swfs. In the Flex app that does the loading try putting a specific reference to the DragManager to make sure it gets loaded correctly. So for example, in your initialize for the Application put var dm:DragManager = null. I think that should pull it in and help out. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl Johnson Sent: Thursday, March 02, 2006 9:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DragManager issues when running in swf inside a swf (Flex 1.5, AS 2) My drag and drop code has worked fine for a long time. Today, I took the swf generated by the flex compiler and am loading it inside of a loader control in another flex app. Everything about the inner app works fineexcept for the call to DragManager.doDrag(), which gets called by the mouseDown event on the draggable objects. I have verified that the event is getting called, and that inside the event handler event.target is correct. Yet, for some reason, when the swf is loaded inside of another swf, the drag operation does not work. It is like the call to doDrag is failing without error. All of the other code in the dragDrop and dragOver event handlers execute fine (when I drag in an item from a list, where I am not handling the initialization of the dragsource and am not calling doDrag()). When I hit the swf directly, drag/drop works wonderfully. When I load it inside of another swf, dragging does not work. Any thoughts? ANY help very much appreciated. Thanks, Karl -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] DragManager issues when running in swf inside a swf
Hey Matt, Thanks for helping us out here. We opened a support case on Friday. We'll post the resolution here when we get it. Thanks, Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Sunday, March 12, 2006 1:05 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager issues when running in swf inside a swf I didnt find a documented workaround, the suggestion I gave came from Alex who would know J So wed need to see a small example for further help at this point or you can try to go through support. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl JohnsonSent: Friday, March 10, 2006 11:02 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager issues when running in swf inside a swf No luck with this. I have tried about a million different solutions. Is there a documented work around for this in Macromedia support? Any other possible ways of gettings this to work? Thanks for your help. Karl From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt ChotinSent: Saturday, March 04, 2006 5:09 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager issues when running in swf inside a swf Yes, the one that has the loader control in it. The point is you need to make sure that the first application you load has the DragManager linked into it. Maybe do a static var in the Application? private static var dm:DragManager; I dont think _lockroot will do anything for you. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl JohnsonSent: Friday, March 03, 2006 6:33 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager issues when running in swf inside a swf Thanks much for the reply Matt. This was supposed to be put in the application initialize event of the parent flex app (the one that has the loader control)? I tried in both and didn't have any luck. A colleague had suggested setting _lockroot="true" on the loader object but that didn't seem to do it either. Any other ideas? This problem is really killing me! Thanks for your help. Karl From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt ChotinSent: Friday, March 03, 2006 9:13 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager issues when running in swf inside a swf This is a known issue because the drag and drop stuff is static and therefore doesnt often play nice across loaded swfs. In the Flex app that does the loading try putting a specific reference to the DragManager to make sure it gets loaded correctly. So for example, in your initialize for the Application put var dm:DragManager = null. I think that should pull it in and help out. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl JohnsonSent: Thursday, March 02, 2006 9:29 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] DragManager issues when running in swf inside a swf (Flex 1.5, AS 2) My drag and drop code has worked fine for a long time. Today, I took the swf generated by the flex compiler and am loading it inside of a loader control in another flex app. Everything about the inner app works fineexcept for the call to DragManager.doDrag(), which gets called by the mouseDown event on the draggable objects. I have verified that the event is getting called, and that inside the event handler "event.target" is correct. Yet, for some reason, when the swf is loaded inside of another swf, the drag operation does not work. It is like the call to doDrag is failing without error. All of the other code in the dragDrop and dragOver event handlers execute fine (when I drag in an item from a list, where I am not handling the initialization of the dragsource and am not calling doDrag()). When I hit the swf directly, drag/drop works wonderfully. When I load it inside of another swf, dragging does not work. Any thoughts? ANY help very much appreciated. Thanks, Karl -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software devel
RE: [flexcoders] DragManager issues when running in swf inside a swf
No luck with this. I have tried about a million different solutions. Is there a documented work around for this in Macromedia support? Any other possible ways of gettings this to work? Thanks for your help. Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Saturday, March 04, 2006 5:09 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager issues when running in swf inside a swf Yes, the one that has the loader control in it. The point is you need to make sure that the first application you load has the DragManager linked into it. Maybe do a static var in the Application? private static var dm:DragManager; I dont think _lockroot will do anything for you. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl JohnsonSent: Friday, March 03, 2006 6:33 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager issues when running in swf inside a swf Thanks much for the reply Matt. This was supposed to be put in the application initialize event of the parent flex app (the one that has the loader control)? I tried in both and didn't have any luck. A colleague had suggested setting _lockroot="true" on the loader object but that didn't seem to do it either. Any other ideas? This problem is really killing me! Thanks for your help. Karl From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt ChotinSent: Friday, March 03, 2006 9:13 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager issues when running in swf inside a swf This is a known issue because the drag and drop stuff is static and therefore doesnt often play nice across loaded swfs. In the Flex app that does the loading try putting a specific reference to the DragManager to make sure it gets loaded correctly. So for example, in your initialize for the Application put var dm:DragManager = null. I think that should pull it in and help out. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl JohnsonSent: Thursday, March 02, 2006 9:29 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] DragManager issues when running in swf inside a swf (Flex 1.5, AS 2) My drag and drop code has worked fine for a long time. Today, I took the swf generated by the flex compiler and am loading it inside of a loader control in another flex app. Everything about the inner app works fineexcept for the call to DragManager.doDrag(), which gets called by the mouseDown event on the draggable objects. I have verified that the event is getting called, and that inside the event handler "event.target" is correct. Yet, for some reason, when the swf is loaded inside of another swf, the drag operation does not work. It is like the call to doDrag is failing without error. All of the other code in the dragDrop and dragOver event handlers execute fine (when I drag in an item from a list, where I am not handling the initialization of the dragsource and am not calling doDrag()). When I hit the swf directly, drag/drop works wonderfully. When I load it inside of another swf, dragging does not work. Any thoughts? ANY help very much appreciated. Thanks, Karl -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] DragManager issues when running in swf inside a swf
Yes, the one that has the loader control in it. The point is you need to make sure that the first application you load has the DragManager linked into it. Maybe do a static var in the Application? private static var dm:DragManager; I dont think _lockroot will do anything for you. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl Johnson Sent: Friday, March 03, 2006 6:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DragManager issues when running in swf inside a swf Thanks much for the reply Matt. This was supposed to be put in the application initialize event of the parent flex app (the one that has the loader control)? I tried in both and didn't have any luck. A colleague had suggested setting _lockroot=true on the loader object but that didn't seem to do it either. Any other ideas? This problem is really killing me! Thanks for your help. Karl From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: Friday, March 03, 2006 9:13 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DragManager issues when running in swf inside a swf This is a known issue because the drag and drop stuff is static and therefore doesnt often play nice across loaded swfs. In the Flex app that does the loading try putting a specific reference to the DragManager to make sure it gets loaded correctly. So for example, in your initialize for the Application put var dm:DragManager = null. I think that should pull it in and help out. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl Johnson Sent: Thursday, March 02, 2006 9:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DragManager issues when running in swf inside a swf (Flex 1.5, AS 2) My drag and drop code has worked fine for a long time. Today, I took the swf generated by the flex compiler and am loading it inside of a loader control in another flex app. Everything about the inner app works fineexcept for the call to DragManager.doDrag(), which gets called by the mouseDown event on the draggable objects. I have verified that the event is getting called, and that inside the event handler event.target is correct. Yet, for some reason, when the swf is loaded inside of another swf, the drag operation does not work. It is like the call to doDrag is failing without error. All of the other code in the dragDrop and dragOver event handlers execute fine (when I drag in an item from a list, where I am not handling the initialization of the dragsource and am not calling doDrag()). When I hit the swf directly, drag/drop works wonderfully. When I load it inside of another swf, dragging does not work. Any thoughts? ANY help very much appreciated. Thanks, Karl -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] DragManager issues when running in swf inside a swf
This is a known issue because the drag and drop stuff is static and therefore doesnt often play nice across loaded swfs. In the Flex app that does the loading try putting a specific reference to the DragManager to make sure it gets loaded correctly. So for example, in your initialize for the Application put var dm:DragManager = null. I think that should pull it in and help out. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl Johnson Sent: Thursday, March 02, 2006 9:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DragManager issues when running in swf inside a swf (Flex 1.5, AS 2) My drag and drop code has worked fine for a long time. Today, I took the swf generated by the flex compiler and am loading it inside of a loader control in another flex app. Everything about the inner app works fineexcept for the call to DragManager.doDrag(), which gets called by the mouseDown event on the draggable objects. I have verified that the event is getting called, and that inside the event handler event.target is correct. Yet, for some reason, when the swf is loaded inside of another swf, the drag operation does not work. It is like the call to doDrag is failing without error. All of the other code in the dragDrop and dragOver event handlers execute fine (when I drag in an item from a list, where I am not handling the initialization of the dragsource and am not calling doDrag()). When I hit the swf directly, drag/drop works wonderfully. When I load it inside of another swf, dragging does not work. Any thoughts? ANY help very much appreciated. Thanks, Karl -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] DragManager issues when running in swf inside a swf
Thanks much for the reply Matt. This was supposed to be put in the application initialize event of the parent flex app (the one that has the loader control)? I tried in both and didn't have any luck. A colleague had suggested setting _lockroot="true" on the loader object but that didn't seem to do it either. Any other ideas? This problem is really killing me! Thanks for your help. Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Friday, March 03, 2006 9:13 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager issues when running in swf inside a swf This is a known issue because the drag and drop stuff is static and therefore doesnt often play nice across loaded swfs. In the Flex app that does the loading try putting a specific reference to the DragManager to make sure it gets loaded correctly. So for example, in your initialize for the Application put var dm:DragManager = null. I think that should pull it in and help out. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl JohnsonSent: Thursday, March 02, 2006 9:29 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] DragManager issues when running in swf inside a swf (Flex 1.5, AS 2) My drag and drop code has worked fine for a long time. Today, I took the swf generated by the flex compiler and am loading it inside of a loader control in another flex app. Everything about the inner app works fineexcept for the call to DragManager.doDrag(), which gets called by the mouseDown event on the draggable objects. I have verified that the event is getting called, and that inside the event handler "event.target" is correct. Yet, for some reason, when the swf is loaded inside of another swf, the drag operation does not work. It is like the call to doDrag is failing without error. All of the other code in the dragDrop and dragOver event handlers execute fine (when I drag in an item from a list, where I am not handling the initialization of the dragsource and am not calling doDrag()). When I hit the swf directly, drag/drop works wonderfully. When I load it inside of another swf, dragging does not work. Any thoughts? ANY help very much appreciated. Thanks, Karl -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.