How to call a method of a class where the name of method is string

i have a method of a class in the form of a string and i have the object of the class to which it belongs .what i want to do is call this method.
for ex:
S1 s=new S1();
// this is the object of my class. this class has one method called executeMe()
String methodname="executeMe";
//i have the name of the method with me in the form of string.
so how can i call the class's method in this scenario from the string like what should i write in sucha way that i get s.executeMe(); it is not presumed that this will only be the method that will be called. there maybe some other method too and it has also to be called this way. so please guide.

S1 s = new S1();
String name = "executeMe";
Method m = s.getClass().getDeclaredMethod(name,null); // no parameters
m.invoke(s,null);Built from memory, maycontain flaws.

Similar Messages

  • How to call a function in a class from the main timeline?

    Hey Guys
    I have a project in Flash with four external AS files, which are linked to items in the library using AS linkage.
    What I want to do is call a function in one of these files from the main timeline, how would I go about doing this? I'm not currently using a document class, most of the code is in Frame 1 of the main timeline.
    Thanks

    // change type to the class name from the instance
    ClassNameHere(this.getChildByName('instance_name')).SomeFunction();

  • HT201436 how do I get my iphone 4 to display the name of an incoming caller? It just stopped working,thanks

    How do I get my iphone 4 to display the name of an incoming caller?  It just stopped working all of a sudden.

    I suggest contacting your carrier, typically if there is an issue with caller id its an issue with the carrier.

  • I hava a class where the printout is in dos.....

    I hava a class where the printout is in dos now I want it to print out itin a Gui application or applet instead how do I do.
    Here is the class file:
    import filenet.vw.api.*;
    public class QueueSample extends Object
    public QueueSample(VWSession vwSession, Logger logger, String queueName)
    QueueHelper queueHelper = null;
    VWQueue vwQueue = null;
    try
    logger.logAndDisplay("\n~ Starting QueueSample execution.");
    queueHelper = new QueueHelper(vwSession, logger);
    if (queueName != null)
    vwQueue = vwSession.getQueue(queueName);
    else
    String[] queueNames = queueHelper.getQueueNames(false);
    if (queueNames == null || queueNames.length == 0)
    logger.log("No queues found.");
    return;
    else
    // iteratively get queues until first one with available elements is found.
    for (int i = 0; i < queueNames.length; i++)
    vwQueue = vwSession.getQueue(queueNames);
    if (vwQueue != null)
    if (vwQueue.fetchCount() > 0)
    break;
    // clear our reference
    vwQueue = null;
    if (vwQueue == null)
    logger.log("Unable to retrieve a queue!");
    return;
    else
    // display the contents of the queue
    queueHelper.displayQueueContents(vwQueue);
    catch (Exception ex)
    if (logger != null)
    logger.log(ex);
    else
    ex.printStackTrace();
    finally
    if (logger != null)
    logger.logAndDisplay("~ QueueSample execution complete.\n");
    //{{INIT_CONTROLS
    public static void main(String args[])
    String queueName = null;
    String fileName = null;
    Logger logger = null;
    SessionHelper sessionHelper = null;
    VWSession vwSession = null;
    QueueSample sampleClass = null;
    try
    // did the user supply enough arguments?
    if (args.length < 3 || (args.length > 0 && args[0].compareTo("?") == 0))
    System.out.println("Usage: QueueSample username password router_URL [queue_name] [output_file]");
    System.exit(1);
    // the queue name is optional
    if (args.length > 3)
    queueName = args[3];
    // the file name (for output) is optional
    if (args.length > 4)
    fileName = args[4];
    else
    fileName = new String("QueueSample.out");
    // create and initialize the logger
    logger = new Logger(fileName);
    // create the session and log in
    sessionHelper = new SessionHelper(args[0], args[1], args[2], logger);
    vwSession = sessionHelper.logon();
    if (vwSession != null)
    // create the sample class
    sampleClass = new QueueSample(vwSession, logger, queueName);
    catch (Exception ex)
    if (logger != null)
    logger.log(ex);
    else
    ex.printStackTrace();
    finally
    // logoff
    if (sessionHelper != null)
    sessionHelper.logoff();
    }

    I just created this "remote debugger" last week because I wanted to get runtime output from my servlets without having to resort to finding the server logs...scanning them...etc. It can also be used to log info locally. Here is the code for the screen logger:
    package com.mycode.remotedebugger.applet;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    public class CRemoteDebugger extends JApplet implements Runnable{
       boolean isStandalone         = false;
       static ServerSocket m_socket = null;
       JScrollPane jScrollPane1     = new JScrollPane();
       static Thread runner         = null;
       static Socket connection     = null;
       BorderLayout borderLayout1   = new BorderLayout();
       JTextArea jTextArea1         = new JTextArea();
        * Constructs a new instance.
        * getParameter
        * @param key
        * @param def
        * @return java.lang.String
       public String getParameter(String key, String def) {
          if (isStandalone) {
             return System.getProperty(key, def);
          if (getParameter(key) != null) {
             return getParameter(key);
          return def;
       public CRemoteDebugger() {
        * Initializes the state of this instance.
        * init
       public void init() {
          try  {
             jbInit();
          catch (Exception e) {
             e.printStackTrace();
       public boolean isConnected()
          return m_socket != null;
       private void jbInit() throws Exception
          this.setSize(new Dimension(400, 400));
          this.getContentPane().add(jScrollPane1, BorderLayout.CENTER);
          jScrollPane1.getViewport().add(jTextArea1, null);
          runner = new Thread(this);
          runner.start();
       public void run()
          try {
             m_socket = new ServerSocket(6666);
             while(true)  {
                InetAddress ia = InetAddress.getLocalHost();
                connection = m_socket.accept();
                InputStream is = connection.getInputStream();
                BufferedReader br = new BufferedReader(new InputStreamReader(is));
                String strLine = br.readLine();
                while(strLine != null)  {
                   jTextArea1.append(strLine + "\n");
                   jTextArea1.setCaretPosition(jTextArea1.getDocument().getLength());
                   strLine = br.readLine();
          } catch(Exception e)  {
        * start
       public void start() {
         setLookAndFeel();
        * stop
       public void stop() {
        * destroy
       public void destroy() {
        if(m_socket != null)  {
          try  {
             m_socket.close();
          } catch (IOException ioe)  {
          m_socket = null;
        if(runner != null)
          runner = null;
        if(connection != null)  {
          try {
             connection.close();
          } catch(IOException ioe)  {
          connection = null;
        * getAppletInfo
        * @return java.lang.String
       public String getAppletInfo() {
          return "Applet Information";
        * getParameterInfo
        * @return java.lang.String[][]
       public String[][] getParameterInfo() {
          return null;
        * main
        * @param args
       public static void main(String[] args) {
          CRemoteDebugger applet = new CRemoteDebugger();
          applet.isStandalone = true;
          JFrame frame = new JFrame();
          frame.setTitle("Remote Debugging");
          frame.getContentPane().add(applet, BorderLayout.CENTER);
          applet.init();
          applet.start();
          frame.setSize(400, 420);
          Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
          frame.setLocation((d.width - frame.getSize().width) / 2, (d.height - frame.getSize().height) / 2);
          frame.setVisible(true);
          frame.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e) {
              if(m_socket != null)  {
                 try  {
                    m_socket.close();
                 } catch (IOException ioe)  {
                 m_socket = null;
              if(runner != null)
                runner = null;
              if(connection != null)  {
                 try {
                   connection.close();
              } catch(IOException ioe)  {
              connection = null;
               System.exit(0);
       void setLookAndFeel(){
          try {
             UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
          catch(Exception e) {
             e.printStackTrace();
    }I compiled this and put it into a jar file for easy running via a shortcut on my desktop.
    Here is the static function you would put either in your application/applet or perhaps in some utility class that you import:
    package com.mycode.common.utilities;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    public class RemoteDebugMessage
       static Socket m_socket            = null;
       static PrintWriter serverOutput   = null;
        * Constructor
       public static void Print(String strClient, int nPort, String strMessage)
          try {
             m_socket = new Socket(strClient,nPort);
             if(m_socket != null)  {
                OutputStream os = m_socket.getOutputStream();
                if(os != null)  {
                   serverOutput = new PrintWriter(new BufferedOutputStream(m_socket.getOutputStream()),true);
                   if(serverOutput != null)  {
                      serverOutput.println(strMessage);
          } catch(IOException ioe)  {
          try {
             m_socket.close();
             m_socket = null;
             serverOutput = null;
          } catch(IOException ioe)  {
    }The "server" side listens on port 6666 (you can always change to whatever port you like and recompile) Then, in your code where you wish to watch messages in realtime, you call the static function above:
    RemoteDebugMessage.Print("MachineName",6666,"This is my message!");

  • How do I get .jpg extension to show in the name of my imported photos?

    How do I get .jpg extension to show in the name of my imported photos?

    Need to have Mail running. When you receive new mail, it will show up in Notifications Center UNLESS the Mail window has focus.
    The Notifications Center preferences are in System Preferences / Notifications.

  • TS3406 My phone will sometimes have a red dot on the phone icon.  I am not able to make or recieve calls.  It will say searching where the dots are in the upper left hand corner. Help????

    My phone will sometimes have a red dot on the phone icon.  I am not able to make or recieve calls.  It will say searching where the dots are in the upper left hand corner. Help????

    Hello yellerbee
    If you are having issues with getting service, then check out the article below for troubleshooting No Service and Searching on your iPhone.
    iPhone: Troubleshooting No Service
    http://support.apple.com/kb/ts4429
    Regards,
    -Norm G.

  • How to call a variable in another class????

    if i have two classes in a package. From one class, how do i get the value of one of the variable in the other class.
    For example;
    Class A have a variable call totalNum which have a value initialise.
    Class B wan to get the value variable totalNum in class A.
    So do i go abt calling it?
    Cheers

    For example;
    Class A have a variable call totalNum which have a
    value initialise.
    Class B wan to get the value variable totalNum in
    class A.Your explanation is far from clear. Is the variable in class A a field? If yes, is it a static field? Is it declared public, private, etc.?
    If you don't understand the above questions, you should do the following:
    1) Learn the basics of the Java language from the Java Tutorial and/or from an entry-level book: http://java.sun.com/docs/books/tutorial/
    2) Post future question in the New To Java Technology forum.

  • How to call a web service from a session bean's business method???

    Hi Experts,
    Can anybody help in calling a web serivce frm a session bean's business method??
    Hw do we do that?
    I have one requirement where i want to send emails to set of users for which i have email sending web service ready.. How can i call it thru a session bean's business method???
    Pls help,
    Regards,
    Amey

    Hi Amey,
    You can achieve this using the followin 2 Step implementation:
    1. [Creating a Deployable Proxy|http://help.sap.com/saphelp_nw70/helpdata/EN/2d/b9766df88f4a24967dae38cb672fe1/frameset.htm]
    2. [Create a Client Bean|http://help.sap.com/saphelp_nw70/helpdata/EN/45/029840cf43495195da923f32262911/frameset.htm]
    Hope it helps.
    Regards,
    Alka.

  • RE:How to call a constructor or a .class file using jsp?

    try like this:
    <%@page import="folder_name.*%>
    <jsp:useBean id="info" class="folder_name.class_name"
    />
    now use your code:
    <%info.method_name()%>But my GetInfo class reside in this following folder!!!
    GetInfo.class location:
    D:/jakarta-tomcat-4.1.24/webapps/chart/WEB-INF/classes/GetInfo.class
    Configuration.jsp location
    D:/jakarta-tomcat-4.1.24/webapps/chart/Configuration.jsp
    This effectively means that I do not have a folder!!
    So I put in this
    <jsp:useBean id="info" class="GetInfo" />
    <%info.SetElement("VISUAL");
    info.startXML();
    String Visual = info.ReturnVISUAL();%>
    <%=Visual%>
    and get the following error:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.
    [javac] D:\steve\jakarta-tomcat-4.1.24\work\Standalone\localhost\chart\Configuration_jsp.java:60: cannot resolve symbol
    [javac] symbol : class GetInfo
    [javac] location: class org.apache.jsp.Configuration_jsp
    [javac] GetInfo info = null;
    [javac] ^
    [javac] D:\steve\jakarta-tomcat-4.1.24\work\Standalone\localhost\chart\Configuration_jsp.java:62: cannot resolve symbol
    [javac] symbol : class GetInfo
    [javac] location: class org.apache.jsp.Configuration_jsp
    [javac] info = (GetInfo) pageContext.getAttribute("info", PageContext.PAGE_SCOPE);
    [javac] ^
    [javac] D:\steve\jakarta-tomcat-4.1.24\work\Standalone\localhost\chart\Configuration_jsp.java:65: cannot resolve symbol
    [javac] symbol : class GetInfo
    [javac] location: class org.apache.jsp.Configuration_jsp
    [javac] info = (GetInfo) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "GetInfo");
    [javac] ^
    [javac] 3 errors
    at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
    at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
    at ConfigurationServlet.service(ConfigurationServlet.java:80)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
    at java.lang.Thread.run(Thread.java:536)
    then I put in this code:
    <%@page import="GetInfo.*"%>
    <jsp:useBean id="info" class="GetInfo" />
    <%info.SetElement("VISUAL");
    info.startXML();
    String Visual = info.ReturnVISUAL();%>
    and get the following error:
    org.apache.jasper.JasperException: /Configuration.jsp(19,21) equal symbol expected
    at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
    at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126)
    at org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:169)
    at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:136)
    at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:149)
    at org.apache.jasper.compiler.ParserController.figureOutJspDocument(ParserController.java:254)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:173)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
    at ConfigurationServlet.service(ConfigurationServlet.java:114)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
    at java.lang.Thread.run(Thread.java:536)

    Okay, Tomcat doesn't like it when you don't use packages in the WEB-INF/classes folder, don't ask me why, it's just the way it is.
    Rewrite your class so it exists in a package:package myclasses;
    public class GetInfo { ... }Compile it and put it in the WEB-INF/classes directory so you should have:
    WEB-INF/classes/myclasses/GetInfo.class
    Your import statement should be:<%@ page import="myclasses.GetInfo" %>and continue coding as before.
    Let me know how it goes.
    Anthony

  • How to find path from within java class where .class file is located

    I have a situation where my Servlet is running.
    I need to access a text file which is locted in the same
    place where the .class file for this Servlet is located.
    I cannot specify absolute path in my java file.
    I am in Windows platform.
    My filename is specified as
    File("myfile.txt");
    the problem is it says file not found.
    how do i fix this prob?
    thanks in advance

    String filename="/relative_path/file_name.txt";
    try {
       //static method approach
       InputStream is = YourClassName.class.getResourceAsStream(filename);
       //non-static method approach
       InputStream is = getClass().getResourceAsStream(filename);
    } catch (IOException e) { ... }tajenkins

  • How to call more then one Function modules at the same time

    HI ,
    How to call more then one FM at the same time .
    Modertor Message: Interview-type Questions are not allowed.
    Edited by: kishan P on Jan 2, 2012 2:22 PM

    They are a few different models of the MacBook Pro ranging from 15.4" i7's to 17" i7's. I would use the same models together though when imaging them just like I do with PC's. For example I would Ghost 5 Lenovo T420 Thinkpads at the same time which all share the same exact specs and config. Looking to do the same with the MBP. I have .dmg image of OSX 10.8.1 on a firewire drive which I'm using. I image all my MBP's with this drive, the only downside is I have to do each MBP one at a time.
    Thanks

  • How can you retieve a list of classes from the Library

    Is it possible to retrieve a list of the Linkage or Export
    Classes from a swf library dynamically?
    I am building an application where I allow the user to load
    an asset swf at runtime, then they can choose to load any Exported
    class from the library of the swf. Currently it works if you know
    the name of the asset, that you want to load, but I would like to
    be able to bring up a chooser list of the assets, rather than
    having to type the Class names.
    So far I have only seen examples where "if you know the class
    name you can load it", but nothing concerning pulling the list.
    There must be a list somewhere in flash, I just want to tap into
    that.

    I saw this before and did not have a chance to go through it
    completely.
    As I was reading it, though it did not seem to be giving me
    the answer, as they seem to extend the Export clips in the library
    by extending the class.
    I'll run through that and see.
    It does give me another idea though.
    (crazy) Idea:
    What if I extend the loader class and add a method, kind of
    like what they are doing on the document class of the loaded swf,
    to pull the class names. They hard code in the class names into the
    array though.... so that is the crux of the issue.
    Somehow I think this concept is doomed to fail but, I will
    also see if that is possible.
    I suppose for the application, I could require that any user
    would use a swf with a document class that has the getAssets()
    method.... also has some problems .... namely dealing with the
    issue of "what if they do not extend" and having it fail
    gracefully.
    oh well, food for thought... I will leave this open for now
    and perhaps I will post some answer.

  • How do I use CreateBookmarksFromGroupTree and NOT guid in the name for my top level?

    Post Author: Barbdcg
    CA Forum: Deployment
    I have a report that I have created that uses uses groups and I wanted export a PDF using the CreateBookmarksFromGroupTree option. While that works, I get an ugly top level bookmark name that starts with the name of my report, then followed by a GUID;
    Report {49E72CC5-7FFD-44F8-831B-EA8F543F7D82}.rpt
    So, how do I Put in a name of my own choosing as the top-level bookmark or at least get rid of the guid?
    Any help or suggestions would be appricated.
    Thanks,
    Barb

    Post Author: Barbdcg
    CA Forum: Deployment
    Still no answer??? I can not figure this one out!!  HELP!!!

  • I can't download movies.  I'm taking a cinema class where the professor provides a link to to a movie to be watched.  I am unable to access the link on my mac pro.  is there an app or software download that will allow me to do this?

    I can't download movies.  I'm taking a cinema class where I am required to watch movies.  My professor provides the link on an electronic blackboard for the movies.  I can't access the link on my mac pro notebook.  Is there an app or software download that can help with this?  I can access the link fine on a pc.

    The "right click" is a function of the OS and those keyboard commands do not work on the iPad at all with the built in virtual keyboard. I don't use an external keyboard - so I cannot attest to the possibility of that working - but there are no keyboard shortcuts with the iPad keyboard.

  • How do I disable a previous apple ID where the email is no longer valid and it has my incorrect birthday?

    How do I disable my old apple ID where I have 1) forgotten the password, 2) the email is no longer valid (so they can't send me my password) and 3) it has my incorrect birthday (so I can't answer the security question to have them send me a new password)?
    Also, I set up a new apple ID on my iphone, but it won't accept my itunes card.  It says I need to complete all the information highlighted in red.  However, there is no information highlighted in red.  It seems to want me to put in a credit card.  Is there any way around this?

    You posted in the iPad forum instead of the iPhone forum. To get answers to your question, next time post in the proper forum. See https://discussions.apple.com/index.jspa  I'll request that Apple relocate your post.
     Cheers, Tom

Maybe you are looking for

  • Asset transfer in AR01 report

    When making a inter company transfer, i can see the asset in the transferring company deactivated and the asset in the transferred to company  created. IN our client this new asset is created with an asset value date of 01/01/2009. and this transfer

  • Display on Ipod not working

    My ipod only appears on a black screen with a silver apple logo and a spinning symbol that I assume is saying its loading. I have reset my ipod numerous times and the same thing always occurs. Has any one had/heard of this before? and is it easily fi

  • How do I get non-purchased music from iTunes onto my iPod?

    I have this song that I created by mixing pieces and parts of other songs in Audacity. I made it into an iTunes compatible file and it is now in my library. When I checked it to be synced to my sister's iPod nano, it worked just fine. But now when I

  • 2 Jars with same class name. NoSuchMethod. Can't change classpath

    I have overloaded a method in a class that came with an openSource package. Things were fine until I implemented my components in a new version of the Server application; when I discovered that the it uses the same openSource package bundled in its c

  • Scrolling makes screen fade to black

    Hi all - ever since I upgraded to Leopard, I'm having a problem with Aperture where my whole library becomes black when I scroll through thumbnails. If I stop scrolling, eventually the pictures reappear. This makes it really hard to use Aperture sinc