PDA

View Full Version : Flash not working in director


peanuts
02-27-2005, 09:00 AM
I'm trying to import into director 8.5 a flash movie that lets the user draw on it. The actual importing is fine but the when the projector is created the flash file just acts like a static image and will not let the user draw on it.

Would anyone be willing to tell me what's going wrong?

Thanks in advance. :)

CyanBlue
02-27-2005, 11:01 AM
What version of Flash do you use???

peanuts
02-27-2005, 12:21 PM
It's MX. I know that Director 8.5 isn't too keen on flash 6 but it doesn't seem to matter what version i save the flash movie as because it doesn't work.

This is the code on the movie that i'm trying to import if that helps (it came from a tutorial that i found) it just allows the user to draw onto the movie.

createEmptyMovieClip("Line",1);
Line.lineStyle(1,0x000000,100);
onMouseDown = function ()
{
Line.moveTo(_xmouse, _ymouse);
onMouseMove = function ()
{ Line.lineTo(_xmouse, _ymouse);}
}

onMouseUp=function()
{
onMouseMove=null;
}

CyanBlue
02-27-2005, 05:55 PM
You totally got me on that... The only thing I can think of is the case when the mouse handler in Flash is somehow not activated by the Director, but that's just a guess... I just don't remember how it is working in Director anymore... My Director day is long gone... and I don't even have Director installed in my computer anymore... :(

peanuts
02-27-2005, 06:49 PM
CyanBlue: That's ok, thanks anyway :)

EDIT: Are there any other ways where a user can draw onto a flash document that may work once imported into director?

CyanBlue
02-27-2005, 09:02 PM
What you have is perfectly valid... I suggest you create a little sample SWF file out of that code and have the Lingo people test it to see if the problem exists on your local machine or not... :)

peanuts
02-27-2005, 10:29 PM
Thanks again CyanBlue, I'm beginning to think it might be my version of Director, because i've tried 6 different versions of flash drawing pads/whiteboards all with different codes and none of them work either! but normal flash works! And that's what I don't understand!

Oh well I'm beginning to give up on the idea :rolleyes: I've posted this same question on a director forum so maybe they can help me more.

Thanks once again for your help :D

CyanBlue
02-28-2005, 01:25 AM
Yeah... I don't use Director no more, but I am still subscribed to this mailing list if you want to try...

http://www.penworks.com/lingo-l.cgi