Flash Professional CC - How do I run Zinc (a SWC file)

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?

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.

Similar Messages

  • URGENT PLEASE:How can I run a a class file on the Apache server?

    Hi Guys and Gurus,
    I am seeking some favor all of experienced gurus, i.e.
    How can I run a a class file on the Apache server? Can I run through an Applet?
    How can I set Environment variables in Windows2000 Professional Environment?
    Actually, I want to extract some records from a MySQL Database running on Apache Server. I wrote a program just to select the columns and show them. It is now a Class file, Now how can I run this class file from the Server???
    The code is here
    import java.sql.*;
    public class RecordShow {
    public static void main(String args[]) {
    String url = "jdbc:mysql://localhost/myhost";
    Connection con;
    String query = "select mytable.column," +
    "from mytable " +
    "where mytable.column = 1";
    Statement stmt;
    try {
    Class.forName("com.mysql.jdbc.Driver");
    } catch(java.lang.ClassNotFoundException e) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(e.getMessage());
    try {
    con = DriverManager.getConnection(url,
    "myuser", "mypassword");
    stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery(query);
    ResultSetMetaData rsmd = rs.getMetaData();
    int numberOfColumns = rsmd.getColumnCount();
    int rowCount = 1;
    while (rs.next()) {
    System.out.println("Row " + rowCount + ": ");
    for (int i = 1; i <= numberOfColumns; i++) {
    System.out.print(" Column " + i + ": ");
    System.out.println(rs.getString(i));
    System.out.println("");
    rowCount++;
    stmt.close();
    con.close();
    } catch(SQLException ex) {
    System.err.print("SQLException: ");
    System.err.println(ex.getMessage());
    Please advise... THANKS
    VJ

    Ehm, I wasn't referring to you at all... read up,
    there's a comment by jschell saying that CGI might be
    easier/better for his purposes.
    Yep.
    I know PHP/Perl/whatever might be easier for some
    purposes, but only if you happen to know them and want
    to/are able to use them. Ok. But you aren't the one asking the question are you. And the person who asked the question seems to have absolutely no familiarity with Apache or applets.
    So whatever they do they are going to have to learn a lot.
    And that does indeed suggest that in all likelyhood they have not investigated the alternatives.
    And for the vast majority of internet applications, especially with smaller projects (obvious this person is not working with a large team), using perl, or something besides java, is going to be the best business solution. It is simpler, and more secure (probably due to the fact that it is simpler.)
    Since this is a Java forum, I
    answer under the assumption that people have made a
    choice one way or another to use a Java solution to
    their problem, so I try to solve it in Java first, and
    only when that fails (very seldom) do I turn to other
    solutions.You approach problems by arbritrarily deciding to try to solve it in java first and only if you fail do you then look to other solutions?
    My first step is to try to figure out which of the various avenues is going to cost less. (And a secondary, but non-trivial concern, is then to convince the customer that just because they have heard of a buzz word like 'enterprise bean' that it doesn't mean that is a cost effective solution.) We must come from different worlds.

  • How can I run a a class file on the Apache server?

    Hi Guys and Gurus,
    I am seeking some favor all of experienced gurus, i.e.
    How can I run a a class file on the Apache server?
    Actually, I want to extract some records from a MySQL Database running on Apache Server. I wrote a program just to select the columns and show them. It is now a Class file, Now how can I run this class file from the Server???
    Please advise...
    VJ

    cross posted
    http://forum.java.sun.com/thread.jsp?thread=299137&forum=31&message=1184025

  • How can I run a SQL script file...

    How can I run a SQL script file from a location on my computer without providing the whole path?
    Is there some way I can set a "Working folder" in SQL Plus??
    Thanks!
    Tom

    You can create an environment variable called "SQLPATH" which is a list of directories that SQL*Plus will search for your .SQL
    scripts.
    I would like to use another directory than the oracle/bin...
    How can I do this ??
    Hello,
    U can do this by this way:
    Save odm_script.sql file to the default Oracle
    directory i.e. Oracle-Home/bin and Run following command
    through SQL Plus.
    SQL>@Script_Name
    I hope this will resolve ur problem.
    Regards,
    Omer Saeed Khan.

  • How can i run a java class file from shell?

    Hi all,
    I've a .class file named "File" that contains Main method, it is in the package "File2".
    How can I run it by shell command?
    PS: "java -cp . file" doesn't work it launch->
    Exception in thread "main" java.lang.NoClassDefFoundError: File2/File (wrong name: File2/File)
    Thanks in advance.

    Just to understand: is File2 ar jar archive or not? If it is a jar archive, have you tried open File2.jar? If File2 is a directory within the current directory, have you tried java -cp . File2/File? I just tested with a set of classes and it works... Let me be precise:
    * Let us imagine you are working in a directory whole path is PathToDir/
    * in this directory you have the classes put in a directory called File2
    * in order to launch File.class then you would have to invoke :
    cd PathToDir/ (just to be sure)
    java -cp . File2/File
    *if you were to do the following then you would have the problem you describe
    cd PathToDir/File2/
    java -cp . File

  • How can I run a labview executable file inside a VI

    How can i add and run a labview executable file inside the vi and grab the output of the executable file to be used in the vi?
    mytestautomation.com
    ...unleashed the power, explore and share ideas on power supply testing
    nissanskyline.org
    ...your alternative nissan skyline information site

    Hi cmdrb,
    to run an executable you use SystemExec function.
    To get the output of your (LabVIEW-made) executable you need to program some data transfer means: you may use network functions or file functions. In both cases your "LabVIEW executable" needs to provide that options…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How can i run an excel(PC) file with macros on numbers

    I am new to mac OS. I am trying to run an excel file that was created for windows and has macros on either numbers or or ms excel for MAC and it does not work. Help?

    You cannot.  You shold purchase MSExcel for Mac (after you confirm that is also runs macros, there was a period of time where it didn't so I am not sure).
    Numbers will not run macros and it the wrong tool for your case.  It is possible to create similar behavior if you are willing to port the Excel macros to Applescript.

  • How do I run a 10g rep file from the command line, send output to previewer

    Hi Everyone,
    We are migrating from Reports 2.5 to 10g.
    We are creating a batch file to run one of our reports that is in the .rep file format. Can you tell us what we need to put in the batch file to run the report as a paper report and have the reports runtime prompt the user for the login and show the report in the previewer just like in Reports 2.5?
    Thanks.
    Emad

    They should take a look at the "Oracle Application Server - Reports Services - Publishing Reports to the Web" from Application Server Doumentation downloadable from Reports Homepage http://otn.oracle.com/products/reports
    Martin

  • StageVideo in Flash Professional

    I'm currently most of the way through creating a very simple iPad app (childrens storybook) that uses large segments of video and interactive buttons/puzzles.
    Currently all of this video is embedded in the timeline and is in flv (on2 vp6), however there are a lot of reccomendations for StageVideo - and the current flvs i'm using don't run that well at all. I'd like to take advantage of the hardware acceleration but I don't really know how to get started with StageVideo, all the tutorials/help online is for flash builder.
    Is there a way to run StageVideo easily in flash professional? and if so can it be synced/interact with the timeline or will I need to switch to using code? The app being mostly animation/video the timeline is much easier to work with than learning to code everything fully - I've been using flash for years but have never strayed outside simple buttons/interactivity and I don't know how complex including StageVideo would be so I'd just like to know if it's something to keep exploring for iOS, it would be nice to have better quality video than the on2 vp6 can provide without lagging.
    Thanks for any help/advice.

    Hi,
    Thanks for the help. However there aren't many instructions on that site, and I'm not entirely sure how to use the code. I used an example StageVideo code before, and managed to get it to work, both on the computer and on iOS but the problem is getting it to work with a flash professional project.
    Once i've created a playing file with StageVideo any other control I have seems to have to be done with code - I would like to use the timeline for most of the project but just be able to place StageVideo supported files within this, being able to call a video on a specific frame, adding simple button on the stage over the video etc.
    Is this kind of thing possible with SimpleStageVideo or even with standard StageVideo?

  • Using clips created in Flash Professional

    Hello!
    A newbie question:
    When working with AS in Flash Builder, Is it possible to use a MovieClip that I have created in Flash Professional?
    How?
    I wrote a simple game in Flash Professional, 99% of it is pure code (AS3) but one of the building blocks is a movieclip containing a small art and a dynamic text field. I'd like to port this to Flash Builder to be able to use Facebook SDK but I have no idea of how to import (or even create) that movieclip.
    Please, any ideas?
    Thank you for any help!
    Marcos

    Well, nobody replied to this one, so I ended up finding the solution myself.
    http://help.adobe.com/en_US/flashbuilder/using/WSc5cd04c102ae3e97-6e5d439512e1414e588-7ffc .html
    This is just what I need!
    Now an even better piece of information:
    http://www.codeandvisual.com/2009/how-to-import-movieclips-into-a-flash-builder-actionscri pt-project/
    A bit oudated, but the idea is ok.
    Making things simpler, what you have to do is create the movieclip in Flash Professional, export as a SWC file.
    To use it the Flash Builder AS project, go to Project -> Properties -> ActionScript Build Path->Add SWC... browse to your SWC file and click OK.
    That's it!
    Important: if you make any changes to your mc in Flash Professional you'll have to edit it in FB, same place... I did not see any "update" option in there, so I suppose all you have to do is browse and select the updated file.
    Marcos

  • How To Run An External .exe File With Command Line Arguments

    Hiya, could anyone tell me how I can run an external .exe file with command line arguments in Java, and if possible catch any printouts the external .exe file prints to the command line.
    Thanks.

    Using the Runtime.exec() command. And read this:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • How can i run .app executable  file

    Hi,
    While i was searching for my topic on google code, i found one project and i download that.
    But its "MyProject.app" with yellow cplored xcode sumbol and i can not run this file.
    Does any one know that how can i run this type of file. i want to run this project.
    And another question. I want to create executable file from my project like exe on windows. Is there any way to create this type of file????
    Thanks.

    vavdiyaharesh wrote:
    Hey,
    When i double click on .app file it quit and show me message like "The application project140 quit unexpectedly"........."
    So is there any problem in .app file?
    On your machine sure sounds like it.
    How can i create exe file and how can i pass -0 to compiler ..iu don;t see any option in xcode for that.....
    giove me solution...
    I think you'd be better off taking some training, or at least working through some of Apple's tutorials.
    http://developer.apple.com/documentation/developertools/conceptual/XcodeQuickTou r/qtintro/chapter_1_section1.html
    Thanks.
    You're welcome.

  • "Learn Flash Professional CS4" Resources?

    In Adobe TV there is a learning series titled "Learn Flash Professional CS4". In that series there are resources, files and such, that are mentioned. Where can I find these files? I searched my install and cannot locate them. Are they available somewhere on the Adobe site for download?
    Thanks and have a great Holiday!!

    the series you watched is taken from lynda.com
    http://www.lynda.com/home/DisplayCourse.aspx?lpk2=683
    if you enjoyed the videos on adobe tv, i would suggest that the $25 per month fee of Lynda.com will be very much worth it. This gives you access to tons of videos AND the sample files. Most decent books cost upwards of $40. I am in no way associated with lynda.com.

  • How do you import data base dmp file in oracle 10g

    How do you run data base dmp file in oracle 10g

    Examples..
    Table Exports/Imports
    The TABLES parameter is used to specify the tables that are to be exported. The following is an example of the table export and import syntax:
    expdp scott/tiger@db10g tables=EMP,DEPT directory=TEST_DIR dumpfile=EMP_DEPT.dmp logfile=expdpEMP_DEPT.log
    impdp scott/tiger@db10g tables=EMP,DEPT directory=TEST_DIR dumpfile=EMP_DEPT.dmp logfile=impdpEMP_DEPT.log
    For example output files see expdpEMP_DEPT.log and impdpEMP_DEPT.log.
    The TABLE_EXISTS_ACTION=APPEND parameter allows data to be imported into existing tables.
    Schema Exports/Imports
    The OWNER parameter of exp has been replaced by the SCHEMAS parameter which is used to specify the schemas to be exported. The following is an example of the schema export and import syntax:
    expdp scott/tiger@db10g schemas=SCOTT directory=TEST_DIR dumpfile=SCOTT.dmp logfile=expdpSCOTT.log
    impdp scott/tiger@db10g schemas=SCOTT directory=TEST_DIR dumpfile=SCOTT.dmp logfile=impdpSCOTT.log
    For example output files see expdpSCOTT.log and impdpSCOTT.log.
    Database Exports/Imports
    The FULL parameter indicates that a complete database export is required. The following is an example of the full database export and import syntax:
    expdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=expdpDB10G.log
    impdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=impdpDB10G.log

  • Run a Remote Jar file

    How can I run a remote jar file?
    There is a runnable jar (Java Application) file on server and my client program wants to run it on the client. What should I write for my client code to do this?
    It is possible to load it directly into client memory and run it?
    And basically, does a Jar file completely load into memory, when we are deploying it, or only required resources load?

    I suppose you are not speaking of applets.
    If Iunderstand your question correctly, you are looking for a way, the client always has newest software downloaded from the server.
    If that is what you are looking for, try JavaWebStart.
    You find tutorials on javasoft.com.
    If you just want the client to download an application (like an .exe) use a runnable jar!

Maybe you are looking for