How can attach movieclip in run time

Hi,
Getting some problem to attach movieclip at run time...............
I have a shell.swf and at run time i am attaching a template.swf. In template.swf file have mcMenu Movieclip.
I am unable to access the or attach the movieclip at run time getting this error  (1180: Call to a possibly undefined method mcMenu.)
that movieclip is not available on the stage.... it is in the library of template.swf file. Need help
thanks in advance
flash@dicts

use the applicationdomain class:
load(yourswfURL,yourclassString);
// you don't need to change anything below:
function load(urlS:String, classS:String) {
    var ldr:Loader = new Loader();
    ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, function(e:Event){loadCompleteF(e,classS);});
    ldr.load(new URLRequest(urlS));
function loadCompleteF(e:Event,classS:String):void {
    var loadedAppDomain:ApplicationDomain = e.target.content.loaderInfo.applicationDomain;
    var C:Class = loadedAppDomain.getDefinition(classS) as Class;
    var instance:* = new C();

Similar Messages

  • How can I delete a "Run Time Air" from my mac book pro

    how can I get rid of the "Run Time Air" on my Macbook Pro

    Welcome to the Apple Support Communities
    If you use Snow Leopard, open iTunes, go to iTunes Store in the iTunes sidebar and log out

  • How can I test the running time of a method?

    c.What is the running time of your method smallest, as a function of n, the number of elements in the list? Use big-Oh notation.
    I quoated from a java problem..
    Anyone can tell me how I can test the running time? Thanks ! :D

    it depends on what is in the method. For example a for loop executed n times would have a O(n). A double for loop (each loopp run n times) will have O(n^2). Do this: determine how many times each loop in the method is run. This is the first term in your runtime equation. Do this for all other loops in the method and add them all together. Most other statements that are not iterative should have a constant runtime so O(1). For conditional statements, the runtime depends on the most time consuming portion of the statement. Once all these are added together, take the O(equation) which should just leave the biggest term. i.e. O(5n^2+3n+8) = O(n^2). Hope this helps.
    note: this does not apply to recursive methods

  • How can I uninstall Labview run time engine from the machine?

    I understand that Labview has not given any provision to show customized 'License Agreement screen'. Isn't it? This is the main cause of my problem. Since I want to show our own license agreement (LA) screen, I made the one using Labview. To show this license agreement screen, I first install a small application which has only this LA screen with Labview run time engine. The customer can see License Agreement Screen with Labview Run Time Engine on his machine. If My customer accepts the LA, I will install the main application further by calling another setup.EXE file.
    If my customer selects 'Do Not Agree' to the LA, I will quit the installation process. Here I also want to 'uninstall' Labview Run Time Engine
    from his machine since he doesn't accept License. I would like to know how to uninstall Labview run time engine from his machine?
    Another way which I could think is to run the LA screen from the CD with Labview run time engine on the CD. I will start installing the main S/W to the customer's machine with LABview Run Time Engine only after he accepts License agreement. I would like to know how to run the Labview application from CD without installing run time engine on the target machine?
    Can anyone suggest solution to my problem?
    Thanks,
    Chander

    J-Tek,
    I would suggest re-installing the Run-time Engine and then uninstalling it after a reboot. Also, you can download a program called Msicuu.exe (for NT, 2000, XP or Msicu.exe for 9x) to help clean up the registry for uninstalled programs.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • How can I see a run time error?

    When I run the VI in development mode the VI works just fine. But after I compile and run the VI I get an error that flashes across the screen and then disappears. Arggg! How can I stop the process to see my error?

    Steve,
    There are a few possible solutions to this.
    One, I am writing an article about right now. It involves writing a Loader. This is a simple VI that loads and runs your main program, so that it can remain as a VI. If this is a viable solution for you (your VIs remain as VIs), then it is probably a great solution, as you won't have to worry about why your VI runs differently as an executable than in development.
    The second is a lot more involved. You need to troubleshoot this error. First, you should already have in place some good error handling. If you don't, get it. Once you have it, or if you already do, you need to determine about where the error is coming from, and start putting in some troubleshooting. I always like to create a singl
    e Global Variable (this to me is the ONLY good use for a global) with all sorts of indicators to act as a runtime probe (since you can't probe a built application.) You just write values to various controls as you need them, when you need them, and this allows you to view those values. Since this is designed primarily to view data in reentrant VIs, you will have to create a viewer for your built application. Simply create a VI that loads when you run your app that displays all of the global values.
    Those are the only suggestions I can offer for now. Without knowing the nature of the error, etc, I can't give you any further advice.

  • How can I get the run time of a method?

    I click a button "draw" to invoke a method such as draw many shades.
    It hangs a long time.
    I want to get the information of how long it spent.
    How can I do it?
    I'm new guy, more detailed please .
    one example would be much better
    ThankS all :)

    Try JAMon. It is much more flexible than currentTimeMillis() and easier to use.
    import com.jamonapi.*;
    drawShape()
    Monitor mon=MonitorFactory.start();
      ..code being timed...
    System.out.println(mon.stop());// prints time in ms.
    }steve - http://www.jamonapi.com - a fast, free, simple performance tuning API.

  • How can I correct a "Run time error" on my mac mini?

    On one web site in my book marks I have suddenly got this message -"Runtime error" How can I fix it?

    Please post a screenshot that shows what you mean.
    To take a screenshot, follow the instructions linked below. Be careful not to include any private information.
    Shortcuts for taking pictures of the screen
    Start a reply to this message. Click the camera icon in the toolbar of the editing window and select the image file to upload it. You can also include text in the reply.

  • How can I limit the run time of my VI so that it starts when the arrow is clicked, and stops automatically when a specified time has elapsed using Labview 7?

    I can't seem to find the proper tools to do this. Any help would be greatly appreciated. Thanks in advance.

    I'm guessing that you're running something in a While loop, so you should be able to stop whenever you want.
    In LabVIEW 7, there is a new Express VI on the Time & Dialg palette named Elapsed Time. You specify the time you want, and it generates a boolean True after that amount of time has passed. Just connect this boolean to the Wile loops conditional terminal, either directly or "OR" it with a stop button so you can stop it yourself if needed.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • How can I solve my 'run time error' accessing MySpace?

    For the last 4 days, everytime I try to log in to my MySpace account I get the same 'runtime error' message as follows....
    'Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
    <!-- Web.Config Configuration File -->
    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>
    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
    <!-- Web.Config Configuration File -->
    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>'
    Other people who have tried to log into different MySpace accounts on my page get the same message. however, all other websites are working fine.
    Help! I am totally computer illiterate so any help would be much appretiated!
    BEX83
    MacBook   Mac OS X (10.4.6)  

    Hi tranzrock69,
    Welcome to Apple discussions:)
    I don't think it had anything to do with an MS dnld.
    Glad resetting Safari worked for you thanks for letting us know.
    I didn't recommend resetting Safari, unless it proved necessary,
    Resetting does all of the below, & some folks rather not lose one or the other
    of the items listed, for me it would be my saved names & passwords.
    "Resetting Safari clears the history, empties the cache, clears the Downloads window, and removes all cookies. It also removes any saved user names and passwords or other AutoFill data and clears Google search entries." "
    If your mac is acting oddly & are concerned about the ms dnld, you may want to post in one of the apple fdiscussions forums. OS Tiger forum for instance.
    Enjoy both, your mac & my space!
    Eme'~[)

  • I have downloaded Topaz and Nik filters . How can attach them Photoshop cc 2014

    I have downloaded Topaz and Nik filters . How can attach them Photoshop cc 2014

    I'm having a similar problem, but only with jpg's. I have PS CS6, CC, and CC 2014. Other image file formats function normally with regard to the "open with" list. PS CC 2014 appears on the list. But with jpg's only PS CC appears on the "open with" list and 2014 can't be added by the browsing for it.
    The curious thing is that if I have any of the three versions of Photoshop open, click on Photoshop CC in the "open with" list, the image opens in whatever version is already open on my computer. This is true of all image formats. No matter which version I pick from the "open with" list it opens in the currently running program. I use only the latest version so keeping it open all the time is an easy work around. I won't uninstall any of the earlier versions lest more file association quirks result. it would be nice to have this matter fixed.

  • How can I get the elapse time for execution of a Query for a session

    Hi ,
    How can I get the elapse time for execution of a Query for a session?
    Example - I have a report based on the procedure ,when the user execute that it takes say 3 min. to return rows.
    Is there any possible way to capture this session info. for this particular execution of query along with it's execution elapse time?
    Thanks in advance.

    Hi
    You can use the dbms_utility.get_time tool (gives binary_integer type value).
    1/ Initialize you time and date of beginning :
    v_beginTime := dbms_utility.get_time ;
    2/ Run you procedure...
    3/ Get end-time with :
    v_endTime := dbms_utility.get_time ;
    4/ Thus, calculate elapsed time by difference :
    v_elapsTime := v_endTime - v_beginTime ;
    This will give you time elapsed in of 100th of seconds...
    Then you can format you result to give correct print time.
    Hope it will help you.
    AL

  • How can I get iTunes running on Windows XP as well as a newer laptop running Windows 7 to both recognize my new iPhone 4S?  It seems to work fine with Win 7 PC so far, but not at all with the XP OS separate laptop.

    How can I get iTunes running on a Windows XP machine as well as, separately on a newer laptop running Windows 7 to both recognize and sync with my new iPhone 4S?  I have different libraries on each machine which I need to sync with the iPhone, both in iTunes.  It seems to be workiing fine on the Windows 7 machine, but not even reconizing the device at all in iTunes on Windows XP.
    Thank you for your assistance.

    Hi turingtest2 - thanks for the reply. As you say It is how it is - and I have three workstations in this home (not counting three for my children and one for the family) and I pretty much always have more than one OS on each - that's how it is for me. I shouldn't have to worry about how many OSs I have (or how often I change them) just to have music while I'm working - through the PC sound system that is. I never have to worry about any other software, only iTunes. Once in a while (in the past) I've made a vendor call if I changed to many things to often (like CPU, GPU, memory, etc - or even a replacement MB) - but that hasn't happened in a couple years (at least since Vista) so I think (hope) they have fixed that for good. And even then it was a quick call and problem resolved. The only (glaring) constant problem is iTunes - limiting my own use of my own music (by counting an OS as a physical PC). Even with VM (which is just another OS) - although you can Attach things to multiple active OSs - it's still your own (purchased) music - and all on one PC. Thanks again!

  • Hi, I am user iPad and I do not know how can attach a file into email e.g. CV.  Thanks

    Hi,
    I am user iPad and I do not know how can attach a file into email e.g. CV. 
    Thanks

    You attach files within the app that creates the file or within the app that the file is saved. For example you email photos from within  the Photos App itself. Typically there will be an action icon within the app - an arrow icon many times - you tap on that to bring other options like Share - then Email.
    Attachments must be mailed within the apps themselves.

  • How to install database in run time

    hi all
    i want to ask if i can install database as run time only and in this case how i can logon the sql ?,i want to install it as run tim such as developer 6 run tim
    is this possible?
    thanx

    first thank you for helping me
    and i will try to explain what i want to do in more details
    i'm using oracle database9i with developer 6i and i want to deliver an application was mad by this tools i know that i should setup the database and forms runtim only in at the customer computer the application -at the first- will work at only on one computer ,this computer will run as the client\server
    my question is
    if i can setup the database as run time only or i must setup complete at the customer computer?
    i tried to do that by choosing this option when installing database
    1-Oracle9i Client 9.2.0.1.0
    2-Run tim
    but after making this i can't connect with database
    i hope that if i can explain what i want to do

  • Hi, I have a iMac Tiger running slowly, how can I make it run faster?

    Hi, I have a iMac Tiger 10.4.11 running slowly, how can I make it run faster?

    Look at what is happenning with your Mac when you run Activity Monitor.
    Macintosh-HD -> Applications -> Utilities -> Activity Monitor
    Click on the CPU tab on the lower half of the window to see how much time you are using. 
    Click on System Memory to get statistics on memory usage.  You should have some free memory. 
    When you have lots of page outs more memory will be helpful.  My entry for entry for Page ins/outs is:
    Page ins/outs: 29163/0
    Notice I have 0 pageouts which says that I am not using my harddrive for extra memory space.  Thus, I have enough memory.
    Activity Monitor has a neat feature where it can display a dynamic dock icon.  In Activity Monitor View > Dock icon > Show cpu history.
    "Reading system memory usage in Activity Monitor :"
    http://docs.info.apple.com/article.html?artnum=107918
    <a href="http://developer.apple.com/documentation/Performance/Conceptual/ManagingMemory/A rticles/AboutMemory.html#//apple_ref/doc/uid/20001880"
    >Managing Memory</a>
    See   Kappy 
    http://discussions.apple.com/message.jspa?messageID=8025223#8025223
    Problems from insufficient RAM and free hard disk space
    http://thexlab.com/faqs/lackofram.html

Maybe you are looking for