Code to load MC on click

I want a button that loads a MC, or SWF when clicked. Can
someone help me with the AS for that?
is one better than the other? (loading a MC vs. loading a
swf.)
I know about MC's and instances, just need assistance withe
the loading part.
thanks,

you can attach a movieclip from your library and you can load
an external swf, but you can't load a movieclip (unless you create
a swf from it and load it).
if you have button with instance name, btn1:

Similar Messages

  • Adobe Photo Downloader has encountered a problem and needs to close. We are sorry for the inconvenience.  Error Code: c0000005  Address: 76f73ac3     I clicked on the OK button and the downloader closed.     I then tried to download from the organizer. I

    Photoshop Elements 12
    Adobe Photo Downloader has encountered a problem and needs to close. We are sorry for the inconvenience.
    Error Code: c0000005
    Address: 75e32f71
    I clicked on the OK button and the downloader closed.
    I did a search on this error code (c0000005) and there seems to be a workaround but no solutions, why is this? I ask that because this problem seems to be years and years old, going back to at least 2005 (do the math that is 10 years).
    I don't even have the Camera hooked up and I get this error on download.  I redownloaded everything and reinstalled.  I allso saw the AVI issues reported with this proble so i updated Quicktime though without the camera being hooked up when I get this error I didn't expect that to work.  I tried support and they wouldn't help because I bought it in March this year.  Pretty frustrating as I have re-purchased Elements about every 2 years.  I think I might need a new CODEC?   I had this problem on an Earlier version And I seem to remember that being the Fix but this may be something completely different

    I finally found that it was missing a picture so the Catalog was "corrupted".  I just deleted the picture and it started working.
    I hate Adobe and their total lack of support - thanks for nothing Adobe .  Also get this - they offered me to upgrade to 13.0 ( My 12.0 is only 6 months old  but they still don't support it on errors.  Only install errors!
    I have upgrade and repurchase this product 4 times now.  I will find something else next time!

  • Since upgrading to Firefox 27.0 some webpages will not load when I click on them. It gives me a message saying that Firefox can't find the server.

    Since upgrading to Firefox 27.0 some webpages will not load when I click on them. It gives me a message saying that Firefox can't find the server. I have to click the link several time before it will load and sometimes when they do load it does not show the page right. It is like the HTML is messed up or something. I have tried everything I can think of. I started in safe mode, still did it., I removed add-ons, still did it., I reset Firefox and still did it., I completely uninstalled Firefox and re-installed Firefox and it still does it. I have tried Malware Bytes Anti-Malware scans and Avast boot-time scans and found no malware or viruses. I have found that those websites open the first time with no problems on my IE9 and they used to do so in Firefox 26.0. I'm at my wit's end. The website links are in my bookmarks and are used all the time so they are trusted and my avast is set to allow them. They range from news websites to gun websites and everything I have read says that Mozilla does not filter those unless something has changed recently.

    Try this as a first step;<BR><BR>
    Clear the Cache '''''Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"'''''<BR><BR>
    and<BR><BR>
    Remove Cookies '''''Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"'''''<BR><BR>
    If there is still a problem,
    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]'''''
    While you are in safe mode;
    '''''Firefox Options > Advanced > General'''''. Look for and turn off '''Use Hardware Acceleration'''.

  • ITunes won't load when I click, not running in "task manager"

    I have a Dell Inspiron 1545. I run on Windows 7. iTunes was operating normally for me until recently... just a few days ago, I discovered that iTunes wouldn't load when I clicked on the icon on my desktop. I've tried clicking on it from the start menu and trying to open a music file via iTunes as well. The most that will happen is that the "checking iTunes library" box will pop up, load for a little while, and disappear. My cursor will also make it appear that the computer is loading it for a few seconds, and then give up. When checking to see if the program was even running, my task manager doesn't list iTunes. I tried uninstalling iTunes and reinstalling iTunes to the current version (I may have been operating a version behind before), but 10.1 is behaving the same way. I am a music student that relies heavily on listening to iTunes for homework, so any advice ASAP would be GREATLY appreciated! Thank you!

    Quicktime is loading properly and plays videos just fine. Hmm... curiouser and curiouser!
    That is odd ... with the most common causes of an error message free iTunes launch failure, iTunes.exe persists in task manager. The one I check for when iTunes.exe isn't persisting will usually prevent the QuickTime Player from launching.
    Does the problem seem to be systemwide or user-specific, with those terms in the sense used in the following troubleshooting article?
    [iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues|http://support.apple.com/kb/TS1717]

  • When I click on itunes on my phone, it tries to load but immediately clicks off.  Help!

    This problem has only started in the last day.  I click on the itune store app and it tries to load but immediately clicks off.  I have synced to laptop but that did not clear the problem up.  I need help!

    Let's try the following user tip with that one:
    iTunes for Windows 10.7.0.21: "iTunes has stopped working" error messages when playing videos, video podcasts, movies and TV shows

  • Firefox 6 will not load when I click the icon. I have tried to uninstall it, both through the control panel and geong straight to help.exe. In both cases nothing happens. How do I uninstall this program?

    Firefox 6 will not load when I click the icon. I have tried to uninstall it, both through the control panel and going straight to help.exe. In both cases nothing happens. How do I uninstall this program?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • What is the code to load a .swf file in AS3 on the same layer?

    I'm new to AS3 and am trying to figure out the code for loading a .swf file on the same layer of the same page, thereby replacing all of the information. I don't want to put it on layer 2, etc. Another easy thing I can do in AS2 but am struggling with in AS3.
    thanks!
    Steve

    There are no 'layers' in AS3 - there is just the display list. You can use addChildAt to add things at a specific depth - thereby placing it behind or above something, but if you just use addChild it goes on top of whatever is currently there...
    Anyway - to answer your question, you can load a .swf with a Loader object like so:
    var l:Loader = new Loader();
    l.load(new URLRequest("myFile.swf"));
    addChild(l);
    You can wait for complete like was shown, but you don't have to. And this will not 'replace' anything - it just loads myFile.swf on top of anything currently being shown. If you want to 'replace' what's there you need to remove it first:
    while(numChildren){
         removeChildAt(0);

  • Homepage takes over 1 minute to load after I click on Firefox icon

    I have to wait a minute or more for the Firefox home page to load after I click the icon.
    == This happened ==
    Every time Firefox opened
    == couple weeks or so ago

    Hello Gordon.
    You may be having a problem with some extension or plugin that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?

  • Please specify Transaction code to load SCM ROUTE MASTER DATA (EWM Routes)

    Please specify Transaction code to load SCM ROUTE MASTER DATA (EWM Routes data).
    Regards
    Dhirendra
    Moderator message - Moved to correct forum
    Edited by: Rob Burbank on Apr 21, 2009 8:58 AM

    Route definition is done at 0VTC. You have define the Route with its description, Transit time, factory calender, carrier info etc. It is stored in TVRO table
    Then yoiu will maintain the route determination in 0VRF.
    Route Determination:
    Dep zone of the shipping point + Destination zone (T-zone) of the ship-to + Transportation group + shipping conditions.
    Route determination details are stored in TROLZ table.

  • HT204088 Inspite of submitting all requiredFields I am not getting purchase History and Security code for redeeming.I have clicked for purhase of Sri Sri Shankar's Rudra Album but unable to get it loaded on my I pod  What do I do ? Reply to me by Laila no

    Dear Customer Care I Tune,
      I have been trying to down load "Rudra"Album of Sri Sri Ravi Shankar, A religious & Spiritual Hymn. from I tune store. The price was shown as Rs 120/= I clicked on buy and filled the details of my debit card (ICICI Bank India)which created account but I could not fill up code for redeeming or security code being asked for ,with the result the my purchse is not getting authorised (I presume.)I am unable to get the Music on my I pod. To my  Earlier complaint I got Reply under follw up #272091438 from your customer care miss Laila. I was asked to action as suggested in the link. But inspite of following the insructions as suggested in the link I could not get Purchse details and order number as envisaged in the instructions. Can  I expect some working suggestins and advice .
      Anant Pashilkar
    Presenlty I am at Austine Texas
    <Personal Information Edited By Host>

    Most of the people on these forums, including myself, are fellow users - you are not talking to iTunes Support here. I've asked the hosts to remove your email address and phone number from your post.
    If you are currently in Texas in the US then you won't be able to buy from the Indian iTunes store - you need to be within a country to use its store, so to use the Indian store you will need to be in India.
    In terms of the redeem code that you mentioned, entering an iTunes gift card is optional and they are country-specific and they are not available in all countries - I don't think that are available in India, so I don't think that you could fill it in anyway. For the bank card, i don't think that debit cards are now accepted as a valid payment in the store, there have been a number of posts recently about them being declined, and they are not listed on this page.

  • Can I combine two methods of code to load various SWF files into the same location

    I presently have a set up where a large SWF file brought on the stage by clicking small icons from the scrollable thumbnail menu on the bottom of the stage. All of it happens at the same frame with .xml loading file.
    Here is the code for constructing the ImageLoader(for thumbnails) and SWFLoader for (bigger SWF files)
    [CODE]
       function _xmlCompleteHandler(event:LoaderEvent):void {
       _slides = [];
       var xml:XML = event.target.content; //the XMLLoader's "content" is the XML that was loaded.
       var imageList:XMLList = xml.image; //In the XML, we have <image /> nodes with all the info we need.
       //loop through each <image /> node and create a Slide object for each.
       for each (var image:XML in imageList) {
        _slides.push( new Slide(image.@name,
              image.@description,
              new ImageLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/thumbnails/appThmb_imgs/" + image.@name + ".jpg",
                   name:image.@name + "Thumb",
                   width:_THUMB_WIDTH,
                   height:_THUMB_HEIGHT,
                   //centerRegistration:true,//messes up the code as places SWFLoader in the upper left corner which is 0,0 coordinates
                   //x:260, y:320,//doesn't work here but works in line 69
                   scaleMode:"proportionalInside",
                   bgColor:0x000000,
                   estimatedBytes:13000,
                   onFail:_imageFailHandler}),
              new SWFLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/images/" + image.@name + ".swf",
                    name:image.@name + "Image",
                    width:_IMAGE_WIDTH,
                    height:_IMAGE_HEIGHT,
                    //centerRegistration:true,//messes up the code as places SWFLoader in the upper left corner which is 0,0 coordinates
                    x:0, y:144,
                    scaleMode:"proportionalInside",
                    bgColor:0x000000,
                    estimatedBytes:820000,
                    onFail:_imageFailHandler})
    [/CODE]
    Here is what I would like to resolve. I have another section on the site with an image collage. Every image is a button. I want to script this each image on click to go to the label with ImageLoader and SWFLoader AND TO OPEN A UNIQUE SWF (ASSOCIATED WITH AN IMAGE CLICKED) ON THAT PAGE
    Previously this is what I did to achieve it. I would specify a String:
    [CODE]
    var sourceVar_ProductsPopUps:String;
    [/CODE]
    and then all my buttons will have their unique SWF assigned for them which opens at another labeled section ("prdctsPopUps" in this example):
    [CODE]
    function onClickSumix1PopUp(event:MouseEvent):void {
      sourceVar_ProductsPopUps="prdcts_popups/sumix1-popup_tl.swf";
      gotoAndPlay("prdctsPopUps");
    [/CODE]
    Then in the "prdctsPopUps" section I would specify that var string to bring up SWF files. The value of sourceVar_ProductsPopUps allows to load mulitple SWFs from the previous page.
    [CODE]
    loaderProductPopUps = new SWFLoader(sourceVar_ProductsPopUps,
    [/CODE]
    But I need both of them to be working at the same time. First there is a sectionA from where a user can navigate to specifically targeted SWF to section B's SWFLoader. Then in the section B a user has an option to bring up other SWF files into SWFLoader from the scrollable thumbs menu. Is there a way to combine these two lines into one:
    [CODE]
              new SWFLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/images/" + image.@name + ".swf",
    [/CODE]
    and
    [CODE]
    new SWFLoader(sourceVar_ProductsPopUps,
    [/CODE]

    Thanks for looking into my issue.
    Unfortunatelly I am not so advanced in AS and do not complitely understand the logic of the problem. I will try to decribe my set up more precise.
    So, my main flash file is broken into labeled sections on the main time line.
    One of the sections is "Applications" It has an animated collage of images. Each image acts as a button and once clicked brings a user to a section called "ApplicationsPopUps".
    "ApplicationsPopUps" section has small image thumbnails scroll menu at the bottom of the screen and a large SWFLoader in the middle of the screen. User can click on an image in the thumbnails scroll menu and a corresponding SWF file will load in the middle of the screen in SWFLoader. User can click on left/right navigation buttons and preceeding/following SWF file will load in SWFLoader.
    Everything works fine (with your previous help)
    Here is the working code for the ImageLoader and SWFLoader (please let me know if you need additional code on the page):
    function _xmlCompleteHandler(event:LoaderEvent):void {        _slides = [];       var xml:XML = event.target.content; //the XMLLoader's "content" is the XML that was loaded.        var imageList:XMLList = xml.image; //In the XML, we have  nodes with all the info we need.        //loop through each  node and create a Slide object for each.       for each (var image:XML in imageList) {         _slides.push( new Slide(image.@name,               image.@description,               new ImageLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/thumbnails/appThmb_imgs/" + image.@name + ".jpg",               {                    name:image.@name + "Thumb",                    width:_THUMB_WIDTH,                    height:_THUMB_HEIGHT,                    //centerRegistration:true,//messes up the code as places SWFLoader in the upper left corner which is 0,0 coordinates                    //x:260, y:320,//doesn't work here but works in line 69                   scaleMode:"proportionalInside",                    bgColor:0x000000,                    estimatedBytes:13000,                    onFail:_imageFailHandler}),                 new SWFLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/images/" + image.@name + ".swf",                   {                     name:image.@name + "Image",                     width:_IMAGE_WIDTH,                     height:_IMAGE_HEIGHT,                     //centerRegistration:true,//messes up the code as places SWFLoader in the upper left corner which is 0,0 coordinates                   x:0, y:144,                     scaleMode:"proportionalInside",                     bgColor:0x000000,                     estimatedBytes:820000,                     onFail:_imageFailHandler}) 
    Thumbnails in the section "ApplicationsPopUps" and images in the image collage in the section "Applications" represent the same photographs. So when a user clicks on one of the images in "Applications" section it would be natural that that image will load in the "ApplicationsPopUps" section. However "ApplicationsPopUps" section presently has a working code (as sampled above) It looks too complex for me and I do not know hot to implement this feature. I do want to keep the functionality of the thumbs image scroller in section "ApplicationsPopUps" as it is now. But I want to add that when a user click on an image from section"Applications" then that particular SWF file will load in SWFLoader in section "ApplicationsPopUps" and then the present functionality can as well be exectuted. Presently it just opens on a first image in xml order.
    P.S. I see that you had a download link in your answer. How did you do it? I could also upload a small sample file with my problem. This way you could see all the set up right away.

  • IWeb site remade in Dreamweaver - cleaner code, faster loading?

    I love iWeb. But iWeb sites load slow ... and there is a LOT of messy code in there (my web experts and html whiz friends tell me this). I've tried optimizers, but found they often create odd and unpredictable glitches on individual pages. And only speed up the load process by 10%.
    I'm experimenting with designing the site in iWeb, then transferring all the materials\text\graphics into Dreamweaver ... to see if this gives me a faster loading site. I wonder if I'm wasting my time?
    And I'd love to know a way to have the iWeb sites load faster ...
    Ben

    I don't think you can pin it down to a percentage for each page. If you watch WSM as it optimizes your files you will see the saving for each file in the window - if you are quick!
    I publish my websites to Mobile Me to test them and then optimize and upload them to a commercial server. The difference in download time is noticeable.
    Where WSM really scores is when trying to get your website to load in IE - the World's Worst Browser.
    Pages that hang and lock up IE will usually load after optimizing.
    I have had the band of missing background occasionally. Usually I would just run the files again and mistakes are corrected - sometimes it takes two or three passes.
    After running the files again I launch the offending page in my browser directly from the WSM output folder (by double clicking the .html file) so that I can check it before uploading again.

  • Complete code for loading swf file in actionscript 3

    i have a swf
    file which i want to load into a fla file and export as a new swf file. I understand this part but my actionscript 3.0 code that i put on frame one of the timeline does not work. I have tried every version i have seen online including in adobe's actionscript 3 classroom in a book.... and other books..... i want the swf to run immediately so i dont think i need any event listeners since i am not clicking a button or anything like that... just running the swf at start. any help wuld be appreciated... sent two day on this already... i can do it in actionscript 2 but have not figured it our in actionscript 3......... why does eeryone seem to do this slightly different too?   a complete code would be nice since obvously i am stupid........
    thanks

    Show the code you put in frame 1.  I don't think you can do what you say you intend to though.  As far as I know you cannot create a new filein the way you explained you intend to.  If you load the file dynamically as a separate swf, then you will always need to.

  • Program/T-Code to load files from local system to XI system's tmp folder

    Dear all,
    Do we have any program or transaction to load files from our local system to the usr/tmp folder of XI system.
    Please share the info, if anyone has already faced the similar requirement.
    regards,
    Younus

    1) goto SXDA_TOOLS Transaction code
    2) Provide the Following details
    Object Type : DXPROJECT
    Program Type: BAPI
    Program/Method: CREATE
    3) Click on Copy Button
    4) Select the Source as Presentation Server
    a) Select the File where you saved in your Local machine
    5) Select the Target as Application server
    a) Check the check box Remote Server
    b) Select the File type as Physical
    c) In File name give /usr/sap/SSD/DVEBMGS00/work\Your file name (This the Server path
    Where the file is going to save)
    6) Click on Continue
    Go to AL11 and check whether the File has been create in the following path /usr/sap/SSD/DVEBMGS00/work
    Provide this path in the Communication channel path when you select the Transport Protocol as NFS and you place the file in AL11 directory.

  • Can a swf file begin executing code before loading completely?

    I have a swf file with a preloader on the stage at authoring
    time. The preloader centers itself by retrieving the stage
    dimensions and calculating the coordinates it needs.
    This works everytime in Flash preview, but once I put it
    online it only works sometimes, mostly after I refresh the page.
    The stage width and height it seems, are considered = 0 when this
    happens and so my preloader doesn't position itself correctly.
    The only reason I can determine for this error is that when
    the code begins to execute the swf is not fully loaded, and thus it
    gets wrong stage dimensions. I have exported the swf file to have
    100% width and heigth, don't know if there are known issues with
    this mode of publishing.
    Any help on this matter is appreciated, thanks in
    advance.

    Hi Tim,
    This idea offers some interesting possibilities. (Thank you.)
    I'll have play with it to see if I can make it meet our needs.
    I'm worried that the caption would be forced inside of the
    perimeter of the movie, instead of outside next to the playback
    controls.
    If there was a way to get the timer to line up with the
    playback controls outside of the Captivate 4 movie, that would be
    ideal. Here is a
    Snapshot
    of what we are trying to re-create in CP4.
    - Tom -

Maybe you are looking for

  • How to display my Iphone on my Macbook?

    Hi guys I was wondering if there is a way to use my iPhone on my Mac,  including all the apps that i use in my Iphone. Thanks guys

  • Excise amount not updating while posting invoice

    Dear SCN's, I have done GRN and captured excise amount and later in invoice posting these captured excise values are not updating. Please help me out where the root cause might be, please share your views were might be the error. And also help me wit

  • Fiscal year imp

    hi! i have one queition , in fiscal year varient creation we enter periods, and in year shift bar we enter also 0 or -1 or +1 can any one explain about how can we using this with detail. thank u chinna

  • Apps failing to install 80004005

    SCCM 2012 SP1 CU4. Brand new site. Apps setup but are all failing within the OSD Task sequence Execution status received: 16 (Application failed to evaluate ) InstallApplication 13/06/2014 13:48:49 3552 (0x0DE0) Installation failed. InstallApplicatio

  • Is Samba a problem in Mountain Lion at the mo

    Hi A few weeks ago I put a question about Samba ......I didn't have a response that could help or solve my problem ( as is life sometimes! ). It would seem from what I am reading on the net that there are many problems with Samba in Mountain Lion. I