Hi Guys
I am trying to implement drag and drop from the tile list component  to the
main stage. I would be successful in loading dynamic videos in the tileList
component and double clicking on any video in the tile list, will open the
main video on the main stage( Code is attached). The main video is loaded in
the UILoader. How ever I have to implement the same functionality with the
drag and drop of the video thumbnails. The user should be able to drag any
thumbnail and drop on the main stage which will do the same thing when he
double clicks on the thumbnail( the difference is in drag-drop case
Video(UILoader) will be placed wherever user left his mouse). I am not sure
in AS 3.0 how will i implement drag and drop using MOUSE UP and MOUSE DOWN
in the tilelist component . Anyone has any idea, please help me out
Thanks
Anuj

/CODE FOR DOUBLE CLICK
myTileList.addEventListener(MouseEvent.DOUBLE_CLICK,OpenVideoOnDoubleClicking);

//Double Clicking  of thumbnail
function OpenVideoOnDoubleClicking(event:MouseEvent):void
{
    TileTrack=event.currentTarget;
    TileIndex=TileTrack.selectedIndex;
    CreateUILoaderObject(TileIndex); //This function will creae UILoader to
the main stage by tracking the index of TileList
}
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to