Copy link to clipboard
Copied
I have posted this to the MDM Zinc forum but as it involves a SWC file I am hoping someone here can help.
I am trying to get Zinc to work in Flash Professional CC, but when I build a project with just a single line of code ... mdm.Application.init(); ... I get the error message ... Access of undefinded property mdm.
So far I have tried...
Based on this post on the Zinc forum ... http://www.mdmforum.com/forum/index.php?showtopic=29717 ... I have added the path to the folder containing mdm_swc.swc to the Library paths (as Merged into code).
I have also used the 'Reload Components' option on the components window (nothing happens).
I have tried dragging the swc file into the Library window (nothing happens if I drag into the top window, and I get an error message "One or more files were not imported because there were problems reading them" if I drag it into the bottom one)
... so what should I be doing?
you only need to add mdm.packager to the fla library, import and use:
import mdm.*;
mdm.Application.init(this);
Copy link to clipboard
Copied
you only need to add mdm.packager to the fla library, import and use:
import mdm.*;
mdm.Application.init(this);
Copy link to clipboard
Copied
Oh - Simple when you know how.
Being used to Action Script 2 i would never have thought that you would have to include a line of code to include a library, I assumed that setting up the path in the ActionScript settings would do that - but it makes sense if you think of them more as C++ type libraries where you do need to import.
Copy link to clipboard
Copied
You had to use imports in AS2 as well...?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now