PDA

View Full Version : "Definition mdm could not be found"


lancelot_dab
11-22-2007, 11:26 PM
I get this problem trying to use Zinc with Adobe CS3 ActionScript3 Code, visit the following link to get the answer...

http://www.mdmforum.com/forum/index.php?&showtopic=21214&hl=Adobe\Adobe&Flash&CS3\en\Configuration\Components

1) Copy the mdm.swc file into this folder:
C:\Documents and Settings\[USERNAME]\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\Components

Note: i change the last folder by C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Components

2) When you have done this and opened Flash CS3, the "{mdm} Script v2 AS3 library for Flash CS3" component will appear in the components panel. Drag this component into the Library.

3) Now you can use mdm Script as normal. Remember that you need to initialise mdm script first e.g

import mdm.*
mdm.Application.init(this)
button.addEventListener(MouseEvent.CLICK, openDialog)
function openDialog(event:MouseEvent):void {
mdm.Dialogs.prompt("The SWC is finally here!")
}