Drag n Drop on Flash component

This is a discussion on Drag n Drop on Flash component within the C# Programming forums, part of the General Programming Boards category; Hello All, I am a newbie into .net and want some help in writing a code that will allow me ...

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    39

    Question Drag n Drop on Flash component

    Hello All,

    I am a newbie into .net and want some help in writing a code that will allow me to run an swf file when I drag n drop a picturebox on it.

    I saw that in flash components properties, there is AllowDrop which I set to true, but unfortunately there is no such event as DragEnter and DragDrop for FlashComponent, and because of this i cannot trigger the swf file. when i drag my picturebox.:-(

    Any kind of help would be appreciated.

    Thanks.

  2. #2
    Banned nickname_changed's Avatar
    Join Date
    Feb 2003
    Location
    Australia
    Posts
    986
    Hmmm, that seems quite strange why you would want to do that. I don't have time to search but you might need to go as low as intercepting Windows messages. Hopefully someone with more knowledge than myself can shed light on this matter.

    Where did you get "FlashComponent" from?

  3. #3
    Registered User
    Join Date
    May 2005
    Posts
    39

    Question more explanation...

    Just like we add buttons,picture boxes etc. I am adding a Shockwave Flash Object(by including ocx component) to a Form. I then select a .swf file and link it with this Flash object. My aim is then to animate this flash object when a particular event occurs, and this event is a drag n drop operation. I will drag a picture box over this flash object, and on releasing it, the flash object will play its animation.
    I have been able to trigger the flash animation on mouse events, b'coz such methods are provided in the dot net application. But i would now like to trigger the above event on a 'DragDrop' which unfortunately is not supportd for a flash object. If somebody could suggest me any techniques or alternatives it would be really helpful

    Regards
    Last edited by leojose; 06-22-2005 at 09:16 AM. Reason: update

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [C] Drag and drop controls
    By pc2-brazil in forum Windows Programming
    Replies: 1
    Last Post: 09-02-2008, 03:41 AM
  2. Drag & Drop files into my (and other) apps
    By Mastadex in forum Windows Programming
    Replies: 1
    Last Post: 11-07-2007, 05:59 AM
  3. DataGrid drag and drop
    By gtriarhos in forum C# Programming
    Replies: 0
    Last Post: 10-11-2005, 01:36 PM
  4. Drag and Drop using CImageList, Device contexts and BitBlt
    By MJWhiteman2 in forum Windows Programming
    Replies: 0
    Last Post: 03-03-2005, 07:22 AM
  5. drag and drop
    By depsypher in forum Windows Programming
    Replies: 2
    Last Post: 01-05-2002, 10:02 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21