Using MXP (package) files in Flex?

So, many of components and code libraries of different kinds and flavours get distributed in the lesser known MXP format, which many believe makes for "ideal" distribution. My problem is I am a skilled ActionScript/Flex/Flash developer who not always has access to a Windows box, and even if I have, I can't seem to find any valuable information on how to open/extract content in this format. The only thing I know is that it is obviously a drag-and-drop operation in Flash CS* to import and use these files, but most likely I will be using Flex. Is there any chance of using these files in Flex instead? I have to use several code libraries that are only distributed as those MXPs, which does not seem to be a very "open" format.
Thanks.

Thanks.
MXP files do not appear to be any variation of ZIP archive format.
I will be using whatever as long as I can make use of the component itself, which is packaged as an MXP. Inside this MXP there is an MXI file too. I do not have any control over the distribution format of this component, these are developed by another party. All I need it to make use of the component(s). If this involves opening the MXP, extracting the MXI, and getting an ActionScript or SWF bytecode out of it, fine. I really do not care much for the format, I just need my application to make use of the component itself.
Are there any tools that convert an MXP package to something less binary perhaps? Or something that Flex can use at least?
After all the component is the same bytecode that Flash Player uses anyway, compiled from either Flex or Adobe Flash.

Similar Messages

  • How to use my as3 file in flex

    hi, I am new in flex and want to divert into flex. How to  use my as3 file into flex. Is there any sample tutor . so, that I could learn fast.

    Please clarify. Is this .as file a class you previously used as a complonentcomponent you now wish to use as the main application?
    If the .as file just has variables and functions you wish to access from your Flex app, use:
    include "subfolder1/subfolder2/etc/MyASFile.as";
    If you want to use classes from the file, do this:
    import subfolder1.subfolder2.etc.MyClassName;
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

  • Using a video file in Flex ?

    I've been trying to use one video file in my flex project but the problem here is that after giving the source location it's not showing anything except a black pane and the format of the video file is in .AVI.I'm using VideoDisplay class to show the video.
    Any help on this guys...

    Just check it with the .flv files. If it works fine for them
    then your code is fine and you have to search for your format or convert it in flv my any means.
    with Regards,
    Shardul Singh Bartwal

  • How to delete data from a file using IO package

    Hi All,
    i am trying to remove some content of the file.
    this content is not at starting of file not even at end of file.
    can anybody tell me how can i delete number of lines from file using IO package.

    iam having some data in text file .ex:in flowrist.txt
    12/5/07,500,300,6000 like many set of datas are
    there.In these if i want to delete the data based on
    the date which i specified.How to do this specific
    deletion?You need to open a stream to read in the file and then use the indexOf method provided in the Sting class to check if the line contains the date or whatever String you are looking for, if so then skip that line and store or re-write the lines you wish to keep, as well as some extra lines you may wish to add.
    Take a look below at this example found on Google.
    http://www.java-tips.org/java-se-tips/java.io/how-to-read-file-in-java.html
    The above read a file line by line and prints it to console. You should be able to modify this, instead of using System.out to print the line you should use index of to check the lines for a date/String. Index of return -1 if the String you specify is not in the line you parse.

  • Need to generate the excel file with diffrent sheets using utl_file package

    Hi,
    Sorry for previous message in which I had missed the usage of " UTL_FILE " package
    I need to generate the excel file with diffrent sheets . Currently I am generating the data in three diffrent excel files using
    " UTL_File " package and my requirement is to generate this in a single excel file with diffrent sheets.
    Please help on this
    Thanks & Regards,
    Krishna Vyavahare

    Hello 10866107,
    at Re: How to save a query result and export it to, say excell? you can find links to different solutions. At least the packages behind second and fourth link support more than one worksheet.
    Regards
    Marcus

  • Permissions on files created using UTL_FILE package

    The files created on unix using UTL_FILE package have permisisons rw- - - - - - -.(600). I want them to be created with permissions 640.(rw-r - - - - - ).i.e read access to the group also. The umask setting of the unix account of the oracle instance are 137. Is there any way to create the files with the required permissions.

    So SQL*Plus is on your PC? I'm assuming you mean 'call' as in the windows cmd.exe command?
    Sheesh this is like getting blood from a stone.
    In that case you must be connecting via the listener and not internally.
    In which case the umask comes from the umask that was set in the environment of the OS user who started the listener process.
    Thats not necessarily the same as the owner of the oracle software (normally 'oracle').
    If sysdamin joebloggs logs in and starts the listener manually in a shell, then the umask applied to all shadow processes started by the listener is whatever jobloggs umask was when he typed the command 'lsnrctl start'. The umask of the owner of the oracle software, or your umask, is utterly irrelevent.
    So if you don't like the umask for files created by processes spawned by the listener, stop and restart the listener in a shell where you have explicitly set the umask to what you want it to be.
    Really starting the listener should be scripted and the correct umask is put in the script just before the call to 'lsnrctl start'.

  • Creating Error log files using UTL_FILE package on a remote machine

    Database Version: 10g Release2
    OS Platform: Sun Solaris
    I have been asked to log errors to OS files rather than tables. So, i wanted to use UTL_FILE package. But the client doesn't want to store these files on the same server where the database is running(as specified in UTL_FILE_DIR). Is there a way i could get these files created on a remote machine(client).

    I believe what others are suggesting is that your stored procedure continues to log to a table and a separate process be created that runs on the machine you want the file to be created on which reads the log table and writes to a log file.
    If that is not an option, can you expose the directory on the remote machine you want to write the file to as a file share that can be mounted by the database server? If you can, you could write errors there using UTL_FILE. However, it would probably be a bad idea. If you're logging an error already, that implies that something has gone wrong. Making an error logging process dependent on a remote server being available and properly mounted with appropriate privileges at the instant the error occurs just creates more sources of failure that would prevent you from logging an error, which would prevent you from being able to debug the problem or even know it existed without a report from a user.
    Justin

  • Archiving files generated by PL/SQL program using UTL_FILE package

    Dear All,
    We have on PL/SQL package that is generating some data files using UTL_FILE package in one specific directory.
    I am working on concurrent program of type host(unix script) to move generated file to some archive folder.
    Now the problem is owner of the files generated by PL/SQL is oracle and file permissions of the generated files are 644(Only read permission for group and others).
    Concurrent program is using an another os user applmgr to execute the script attached with concurrent program.
    Because applmgr is not having write permission on the files, hence mv command is failing.
    Please suggest me how to resolve this issue.
    Regards
    Devender Yadav

    Hi;
    I just think that, you can create one sh which is chancing permission of related path owner for applmgr user and put it on crontab and it can run every 1 min.
    Regard
    Helios

  • Reading all files on directory using "utl_file" package...

    I need to read all files in directory via PL/SQL. I don't know
    name files (are data dynamics create for automation system),
    only I know your extensions.
    Can I do this using the package "utl_file" or I need to create
    program in another language (C, C++, for example)?
    Any ideas...
    Thanks.

    Hi,
    you can't do that with the UTL_FILE package (it can't retrieve
    file names).
    A very simple solution would be, if you created on OS-level a
    file which contains the filenames of directory and then read this
    file using UTL_FILE. With the information on all file names you
    can enter a loop which opens and reads all files again using
    UTL_FILE.
    A more mundane solution could be to use the features on the iFS.
    Cheers
    Gerald

  • File to Mail using Mail Package

    Hello,
    I have a requirement where we receive a csv file having mutiple columns, one of them being the email address.
    I need to get this email address from the file and send this file as an attachment to the same email address.(Dynamic email address)
    I have used the Mail xsd and have done graphical mapping to achieve this.
    Now,the problem is,if I use Mail package for dynamic email address,I am not able to get the source file as an attachment because the payload here is a mail structure.
    If I get source file as an attachment using PayloadSwapBean and MessageTransformBean,I cannot have dynamic email address.
    Can anyone please suggest a solution to this?
    Thanks in advance for your help.
    Regards,
    Shweta

    Hi Stefan,
    Thanks for the reply.
    But I think,I am not able to understand the solution mentioned by you.
    I can find following fields in ASMA mail adapter:
    Meaning
    Technical name
    User
    TServerLocation
    Authentication Keys
    TAuthKey
    Mail header 'from' field
    THeaderFROM
    Mail header 'to' field
    THeaderTO
    Mail header 'Cc' field
    THeaderCC
    Mail header 'Bcc' field
    THeaderBCC
    Mail header 'subject' field
    THeaderSUBJECT
    Mail header field for reference to mail which is being replied to
    THeaderIN-REPLY-TO
    Mail header 'reply to' field
    THeaderREPLY-TO
    Mail header field for mail client program
    THeaderX-MAILER
    Mail header field for delivery acknowledgement
    THeaderDISPOSITION-NOTIFICATION-TO
    Mail header field for priority
    THeaderPRIORITY
    Mail header field for message importance
    THeaderIMPORTANCE
    I couldn't find a field related to attachments.
    I can see the xml version of file in inbound message in SXI_MONITOR.
    But after mapping,I get Mail package structure.
    Could you please explain again.Sorry for this.
    Thanks.
    Regards,
    Shweta

  • Problem with JSP using bean packaged in jar file

    Hi,
              I am trying to use a java bean in a jsp file. The java bean is packaged
              into a jar file. I am getting class not found compilation error. If the
              bean remains to be a seperated class file, everything work well.
              Does anyone know how I can use bean in a jar file within jsp , i.e. to
              allow the bean to be found during compilation ?
              Thanks,
              Terence.
              [email protected]
              

    Jacek,
              Thanks for replying.
              My JSP's are just files in my document root . However, I found a solution to
              my
              problem. That is to have the jar file defined in my weblogic.class.path. I may
              have missed some files in my original jar file which causes my problem.
              Mayby I should package everything into a web application for deployment. That
              will be my next step.
              Thanks anyway.
              Terence.
              Jacek Laskowski wrote:
              > Terence Lai wrote:
              > >
              > > Hi,
              > >
              > > I am trying to use a java bean in a jsp file. The java bean is packaged
              > > into a jar file. I am getting class not found compilation error. If the
              > > bean remains to be a seperated class file, everything work well.
              >
              > How do you use the JSP file ? Is it a part of web application ? If so,
              > the bean jar package should be located in WEB-INF/lib directory. It's
              > also recommended to put the bean class into a package, so it's not in
              > 'unnamed' package, and <jsp:useBean> can find it.
              >
              > >
              > > Does anyone know how I can use bean in a jar file within jsp , i.e. to
              > > allow the bean to be found during compilation ?
              >
              > see above.
              >
              > > Terence.
              >
              > Jacek Laskowski
              > HP Consulting
              

  • How to display IndexedFaceSet from .wrl file to Java 3D using cv97 package.

    Dear everyone,
    I'm trying to load a VRML file containing some IndexedFaceNode to Java3D using cv97 package written by Shatoshi Konno (http://www.cybergarage.org/vrml/cv97/cv97java/index.html).
    I use the code as below.
    However, there is nothing displaying in the window when I run this code.
    Does anyone have experience on this. Could you give me some suggestion?
    Thanks a lot!
    ======================================================
    import cv97.Constants;
    import cv97.SceneGraph;
    import cv97.j3d.SceneGraphJ3dObject;
    import cv97.node.Node;
    import cv97.node.PointLightNode;
    import java.awt.BorderLayout;
    import java.awt.Frame;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.media.j3d.AmbientLight;
    import javax.media.j3d.Canvas3D;
    public class ViewerJ3D extends Frame implements Constants {
       private SceneGraph   mSceneGraph;
       private SceneGraphJ3dObject mSceneGraphObject;
       public ViewerJ3D(){
          super("VRML Simple Viewer");
          mSceneGraph = new SceneGraph(SceneGraph.NORMAL_GENERATION);
          mSceneGraph.load("model\\model.wrl");
          setLayout(new BorderLayout());
          Canvas3D c = new Canvas3D(null);
          add("Center", c);
          mSceneGraphObject = new SceneGraphJ3dObject(c, mSceneGraph);
          mSceneGraph.setObject(mSceneGraphObject);
          setSize(400,400);
          show();
          addWindowListener(new killAdapter());
          setVisible(true);
       static class killAdapter extends WindowAdapter {
           public void windowClosing(WindowEvent event) {
              System.exit(0);
      public static void main(String args[])
          ViewerJ3D view = new ViewerJ3D();
    }=======================================================

    Dear everyone,
    I'm trying to load a VRML file containing some IndexedFaceNode to Java3D using cv97 package written by Shatoshi Konno (http://www.cybergarage.org/vrml/cv97/cv97java/index.html).
    I use the code as below.
    However, there is nothing displaying in the window when I run this code.
    Does anyone have experience on this. Could you give me some suggestion?
    Thanks a lot!
    ======================================================
    import cv97.Constants;
    import cv97.SceneGraph;
    import cv97.j3d.SceneGraphJ3dObject;
    import cv97.node.Node;
    import cv97.node.PointLightNode;
    import java.awt.BorderLayout;
    import java.awt.Frame;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.media.j3d.AmbientLight;
    import javax.media.j3d.Canvas3D;
    public class ViewerJ3D extends Frame implements Constants {
       private SceneGraph   mSceneGraph;
       private SceneGraphJ3dObject mSceneGraphObject;
       public ViewerJ3D(){
          super("VRML Simple Viewer");
          mSceneGraph = new SceneGraph(SceneGraph.NORMAL_GENERATION);
          mSceneGraph.load("model\\model.wrl");
          setLayout(new BorderLayout());
          Canvas3D c = new Canvas3D(null);
          add("Center", c);
          mSceneGraphObject = new SceneGraphJ3dObject(c, mSceneGraph);
          mSceneGraph.setObject(mSceneGraphObject);
          setSize(400,400);
          show();
          addWindowListener(new killAdapter());
          setVisible(true);
       static class killAdapter extends WindowAdapter {
           public void windowClosing(WindowEvent event) {
              System.exit(0);
      public static void main(String args[])
          ViewerJ3D view = new ViewerJ3D();
    }=======================================================

  • How to use an SWF file generated by Flex as a Stand Alone file

    Whenever we compile an MXML file, there is an SWF file
    generated. This file is not a standalone file and will not work on
    any other computer expect on the computer where there is a Project
    file created by the Flex builder.
    Why am I not able to use that SWF file as a stand alone file?
    If I want to use that SWF file alone as in the SWF generated
    by Flash what do I have to do?
    Regards,
    Rashmi

    The swf file will run from anywhere. What's it doing when you
    try to open it on another machine?
    The only thing I can think of is if you're getting a security
    violation in which case you would need to read about Flash Player
    trust files and security.
    -Mac

  • How to use utl_ftp package to transfer files from one system to another

    Hi all,
    How to use utl_ftp package to transfer files from one system to another using plsql procedure .
    I failed to find the appropriate document ,kindly help me .
    Thanks,
    P Prakash

    prakash wrote:
    I am sorry tell you, this blog is not enough to for me.It's not a blog, it's Chris' website where you download the package from. Once you download the package and unrar it, then the package spec gives instructions (and I think there's instructions on how to install it too).
    Kindly let me know if there is any oracle documentation for this .It's not an Oracle created package, it was created by Chris. It's based around the UTL_TCP package if you really want to get into the nitty gritty of how it works, but I don't think you do.

  • Create a file and store it in the database using UTL_FILE package

    Hello.
    I'm using UTL_FILE package to store data from a table into an excel file but I don't know how to store this file in a table with a BLOB field the database at the same time. I want do do this because I will use it in a Oracle Portal.
    Anybody has any idea how to do this?
    Thanks & Regards,
    Alexandra

    From Asktom
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:232814159006

Maybe you are looking for

  • Problem with static and nonstatic objects in same code?

    Hi everyone, I am working on a project and I kept running into an odd problem where my code would compile but when I went to run the code I would get an exception. I finally narrowed my problem down to a small fragment. Here is an example. class Mut{

  • Field in Classification Datasource not getting populated

    Hi all, I created a classifiacation datasource 1CL_ODS_001 from the MCH1 Table. when checking this in RSA3, Data is not populating in classification datasource  in the field LOBM_HSDAT, LOBM_LFDAT, LOBM_VFDAT etc. How does data get populated in LOBM

  • OBIEE Mail Delivery Problem

    Hi everyone, I am trying to schedule an analysis to send an email in daily basis to a specific group of people. People can change according to their position in the company so the list must be dynamic. I tried to use option 'Get Recipients from the A

  • Snmp trap versus syslog message

    Hi, Most network devices will send snmp traps and syslog messages to a central server. For analyzing purpose this server runs software to display the messages or traps. My question is, what is the difference between syslog messages and snmp traps? Wh

  • How to disable ink supply alerts

    I have an imac running 10.9.3.  I cannot disable the alerts message (ink level notifications) for either printer: HP Office jet Pro 8500 A909a or Photosmart D100 series, both connect via network. After reading other posts, I have tried going into HP