[SWFObject] [OT?] drag/drop <div id="flashcontent"></div>

ascode ascode at dirtysoundsystem.com
Wed Aug 2 02:53:39 PDT 2006


have otherwise a look at:
HYPERLINK
"http://demo.script.aculo.us/ajax/sortable_elements"http://demo.script.aculo
.us/ajax/sortable_elements
 
 

   _____  

From: swfobject-bounces at lists.deconcept.com
[mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of DL
Sent: dinsdag 1 augustus 2006 22:30
To: swfobject at lists.deconcept.com
Subject: [SWFObject] [OT?] drag/drop <div id="flashcontent"></div>


I have a requirement to drag and drop multiple Flash objects written into
multiple div containers, using SWFObject.

I have tested a few javascripts which can drag and drop div containers
holding jpg, gif and png images (not Flash objects).

But I've not yet found a way of dragging and dropping the <div
id="flashcontent></div> written to by SWFObject.  

The nearest working solution is to nest <div id="flashcontent></div> inside
an wrapper draggable div .. but this creates an unwanted (but draggable)
margin around the SWFObject.  Like this ..

<div id="drag" class="box" style="left:400px;top:150px;">
  <div class="bar" style="width:12em;">drag SWFObject</div>
  <div id="flashcontent" class="content" style="width:12em;">SWFObject
content</div>
</div>

So my question .. if I do not use nested divs's .. just the standard
SWFObject div .. can the written SWFObject in some way be switched to a
bitmap image during this dragdrop operation?

i.e. a "freeze image" of the flash movie placed in the div as a temporary
image during dragging, then switching back to Flash vector when dropped?

One rough idea I had was to use bitmap caching in Flash 8. But how to get
the bitmap as an image?

Or is there a much simpler approach to dragdrop "temporarily frozen" Flash
movie images in div containers?

DL



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/404 - Release Date: 31/07/2006



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/405 - Release Date: 1/08/2006
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060802/579d82cf/attachment-0005.htm>


More information about the Swfobject mailing list