Groups | Blog | Home
all groups > flash (macromedia) > october 2005 >

flash (macromedia) : How can i drag and drop JPEGs into a Published Shocwave Movie or SWF File



dan mode
10/7/2005 5:30:42 PM
Load jpegs into a swf using loadMovie.
I'm not sure where you want to drag the JPEGs from. Can you clarify that a
bit?


--

Dan Mode

*Must Read* http://www.smithmediafusion.com/blog

__


[quoted text, click to view]

Zaffer36
10/7/2005 9:07:39 PM
Hello

I want to drag and drop external JPEG pictures into an already published flash
swf file or shockwave movie and then have the imported jpegs spawn and move
within the movie....

any ideas?? would director be a more suitable programme for this??

Thanks

Alex
Motion Maker
10/8/2005 3:38:50 PM
I think you will also need the container movie clip's duplicateMovieClip
method.

But you cannot use it or any methods or properties of a container movie clip
once loadMovie is issued until the image is loaded and so you may want to
use MovieClipLoader to assure that is done.

Here is a simple example that has one single external image loaded and then
once loaded uses startDrag and stopDrag after the external clip is loaded.
You will need to modify that area with a loop generating multiple copies of
the movie clip.

http://www.hosfordusa.com/ClickSystems/courses/flash/examples/MovieClipLoader/Ex03/MovieClipLoaderEx03_Doc.php

--
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
[quoted text, click to view]
Load jpegs into a swf using loadMovie.
I'm not sure where you want to drag the JPEGs from. Can you clarify that a
bit?


--

Dan Mode

*Must Read* http://www.smithmediafusion.com/blog

__


[quoted text, click to view]

Zaffer36
10/9/2005 9:07:22 AM
i want to (if it is possible) drag the jpegs from just a folder on the
desktop.... so its a way of grabbing any jpeg picture u want and then just
dragging and dropping into the movie.... almost like a reverse way of dragging
a picture off of a simple HTML web page onto ur desktop.....

Alex
2m
10/9/2005 11:11:48 AM
Hi,
there is no way to do that in flash/swf alone, as you won't get the info what
is dropped on your movie.

The only thing I could adwise is jusing a projector-tool like screenweaver
(freeware by now!), but that'll make an exe , which will only rn on Windows and
there will bw no way to run that in a browser.

There could be a solution for IE but that'll work only with lots of scripting
an with very very loose security if at all.
AddThis Social Bookmark Button