[Flashcoders] flex 3 // Tile Component // Mutliple Drag Selection
is something like this possible in Flex 3? http://www.design2dev.com/dragSelect.jpg http://www.design2dev.com/dragSelect.jpg -- im not talking about the ability to drag around multiple tiles. im looking to select multiple tiles via clickdrag. while at the same time generating a selection box over the tiles. has anyone successfully achieved this? if so..any direction would be greatly appreciated. thanks artur -- *artur :.* - *www.artur.com* - [EMAIL PROTECTED] - *ph:646.797.3320* ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flex 3 // Tile Component // Mutliple Drag Selection
A selection box should not be a problem at all: remember the coords when MouseDown and then scale the box on MouseMove. Actually making the selection I'd guess would require some basic form of collision detection with bounding boxes. Rough guesses, maybe there's a more efficient way? Ashim 2008/7/23 artur [EMAIL PROTECTED]: is something like this possible in Flex 3? http://www.design2dev.com/dragSelect.jpg http://www.design2dev.com/dragSelect.jpg -- im not talking about the ability to drag around multiple tiles. im looking to select multiple tiles via clickdrag. while at the same time generating a selection box over the tiles. has anyone successfully achieved this? if so..any direction would be greatly appreciated. thanks artur -- *artur :.* - *www.artur.com* - [EMAIL PROTECTED] - *ph:646.797.3320* ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Yet another Random Lines More usable than ever! www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] flex 3 // Tile Component // Mutliple Drag Selection
There may not be a native Flex component that could do it, but you could do it with Actionscript 3, therefore you could do it in Flex. Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional Technology Media Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of artur Sent: Wednesday, July 23, 2008 8:39 AM To: flashcoders Subject: [Flashcoders] flex 3 // Tile Component // Mutliple Drag Selection is something like this possible in Flex 3? http://www.design2dev.com/dragSelect.jpg http://www.design2dev.com/dragSelect.jpg -- im not talking about the ability to drag around multiple tiles. im looking to select multiple tiles via clickdrag. while at the same time generating a selection box over the tiles. has anyone successfully achieved this? if so..any direction would be greatly appreciated. thanks artur -- *artur :.* - *www.artur.com* - [EMAIL PROTECTED] - *ph:646.797.3320* ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flex 3 // Tile Component // Mutliple Drag Selection
would it be possible to Extend the Tile Component? instead of making a new one from scratch? *artur :.* - *www.artur.com* - [EMAIL PROTECTED] - *ph:646.797.3320* Merrill, Jason wrote: There may not be a native Flex component that could do it, but you could do it with Actionscript 3, therefore you could do it in Flex. Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional Technology Media Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of artur Sent: Wednesday, July 23, 2008 8:39 AM To: flashcoders Subject: [Flashcoders] flex 3 // Tile Component // Mutliple Drag Selection is something like this possible in Flex 3? http://www.design2dev.com/dragSelect.jpg http://www.design2dev.com/dragSelect.jpg -- im not talking about the ability to drag around multiple tiles. im looking to select multiple tiles via clickdrag. while at the same time generating a selection box over the tiles. has anyone successfully achieved this? if so..any direction would be greatly appreciated. thanks artur -- *artur :.* - *www.artur.com* - [EMAIL PROTECTED] - *ph:646.797.3320* ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flex 3 // Tile Component // Mutliple Drag Selection
On Jul 23, 2008, at 12:39 PM, artur wrote: would it be possible to Extend the Tile Component? instead of making a new one from scratch? Here's how I'd do it... Add a child to the container that's holding the TileList component. On click (mouse event), start drawing a rectangle (mouse move event). Intersect the boundary of this rectangle with the children of the TileList (interesting exercise) and select them if they intersect. Finally clear out the rect on release. interesting challenge. jon ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders