How to load movie...

Hi,
I have the following code to make a movie clip appear when
the user rolls over a symbol.
The part I am missing is how to make that movie clip appear.
I can't seem to figure that out.
I will have about 20 symbols that each need a different movie
clip to appear on the screen as it is rolled over... this is the
code for one of those symbols.
sourceGlass_mc.addEventListener(MouseEvent.ROLL_OVER,
sourceGlassOver);
function sourceGlassOver(event:MouseEvent):void
sourceGlass_mc.buttonMode = true;
Any ideas?
Thanks!!

why isn't the movieclip visible to start? ie, is its visible
property false, does it not exist, has it not been added to the
stage etc?

Similar Messages

  • How to load movie clip internal in .fla file

    Hi - How do I load a movie clip inside a .fla file?........I
    know the script to load a .swf file but I do not know the script to
    load a movie clip (New symbo l= movie clip) made in the same .fla
    file.
    I have a series of movie clips I woud like to load with a
    button - can anyone please guide me in the right direction with a
    script or some info.....
    Thanks
    steen

    Do you mean loading clips that are in the library?
    Use MovieClip.attachMovie();
    Dan Mode
    --> Adobe Community Expert
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    *THE online Radio*
    http://www.tornadostream.com
    *Must Read*
    http://www.smithmediafusion.com/blog
    "Jean Bang" <[email protected]> wrote in
    message
    news:ef88kj$c10$[email protected]..
    > Hi - How do I load a movie clip inside a .fla
    file?........I know the
    > script to
    > load a .swf file but I do not know the script to load a
    movie clip (New
    > symbo
    > l= movie clip) made in the same .fla file.
    > I have a series of movie clips I woud like to load with
    a button - can
    > anyone
    > please guide me in the right direction with a script or
    some info.....
    >
    > Thanks
    >
    > steen
    >

  • How to load movies from a xml file?

    I have a movie called "index.swf" and a class called "index.as"
    The problem is that loads the movies in the same position.
    index.as:
    package
        import flash.utils.getDefinitionByName;
        import flash.display.Loader;
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.net.URLLoader;
        import flash.net.URLRequest;
        import flash.display.Loader;
        import flash.events.ProgressEvent;
        import flash.display.MovieClip;
        public class index extends Sprite
            private var _xml:XML;
            private var swf_id:String
            private var swf_m:String
            private var swf_x:Number
            private var swf_y:Number
            private var swf_width:Number
            private var swf_height:Number
    function startLoad()
    var mLoader:Loader = new Loader();
    var mRequest:URLRequest = new URLRequest(swf_m);
    mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
    mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
    mLoader.name=swf_id
    mLoader.load(mRequest);
    function onCompleteHandler(loadEvent:Event)
    loadEvent.currentTarget.content.width=swf_width
    loadEvent.currentTarget.content.height=swf_height
    addChild(loadEvent.currentTarget.content);
    function onProgressHandler(mProgress:ProgressEvent)
    var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal;
    trace(percent);
            public function index()
                loadXMLFile();
            private function loadXMLFile():void
                var loader= new URLLoader(new URLRequest("/configuracion.xml"));
                loader.addEventListener(Event.COMPLETE, loadedCompleteHandler);
            private function loadedCompleteHandler(e:Event):void
                e.target.removeEventListener(Event.COMPLETE, loadedCompleteHandler);
                _xml = XML(e.target.data);
                for each (var conf:XML in _xml.secciones.seccion) {
                   swf_id = conf.id
                    swf_m = conf.nombre;
                    swf_x = conf.pos_x
                    swf_y = conf.pos_y
                    swf_width = conf.width
                    swf_height = conf.height
                    startLoad();
    Xml File: "configuracion.xml"
    <?xml version="1.0" encoding="utf-8"?>
    <config>
      <secciones>
        <seccion>
          <id>1</id>
          <nombre>pelicula1.swf</nombre>
          <pos_x>20</pos_x>
          <pos_y>10</pos_y>
          <width>200</width>
          <height>200</height>
        </seccion>
        <seccion>
          <id>2</id>
          <nombre>pelicula2.swf</nombre>
          <pos_x>80</pos_x>
          <pos_y>10</pos_y>
          <width>200</width>
          <height>200</height>
        </seccion>
      </secciones>
    </config>
    thanks for your help...

    thanks rziller
    I already tried this,
    x,y values work...
    height and width values do not work.....
    thanks but I fix the problem....
    here this...
    package
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.net.URLLoader;
        import flash.net.URLRequest;
        import flash.display.Loader;
       public class index extends Sprite
            private var _xml:XML;
            private var i:Number=0;
            private var Swf_List:Array = new Array();
            private var mLoader:Loader;
                function startLoad()
                     mLoader = new Loader();
                     var mRequest:URLRequest = new URLRequest(Swf_List[i][1]);
                     mLoader.contentLoaderInfo.addEventListener(Event.INIT, initHandler);
                     mLoader.load(mRequest);   
                     mLoader.name=Swf_List[i][0]
                     addChild(mLoader);
                function initHandler(event:Event):void {
                    var ii:Number = event.target.loader.name-1
                    event.target.loader.x=Swf_List[ii][2]
                    event.target.loader.y=Swf_List[ii][3]
                    event.target.loader.width=Swf_List[ii][4];       
                    event.target.loader.height=Swf_List[ii][5];
                    trace(event.target.loader.name)
                public function index()
                loadXMLFile();
                private function loadXMLFile():void
                    var loader= new URLLoader(new URLRequest("config.xml"));
                    loader.addEventListener(Event.COMPLETE, loadedCompleteHandler);
                private function loadedCompleteHandler(e:Event):void
                    e.target.removeEventListener(Event.COMPLETE, loadedCompleteHandler);
                    _xml = XML(e.target.data);
                    _xml.ignoreWhitespace=true;
                        for each (var conf:XML in _xml.secciones.seccion)
                            Swf_List[i] = [conf.id,conf.nombre,conf.pos_x,conf.pos_y,conf.width,conf.height];
                            startLoad()
                            i++;
    maybe not the best way....
    but it works!!!.........

  • I loaded more songs into Itunes. How can I move them to my IPhone?

    I loaded some CDs into Itunes and they show up in the Music folder okay. When I connect my Iphone to Itunes, I see a music folder under the IPhone icon in the left column but clicking on that shows the list of songs already on my IPhone. How do I move the new songs loaded onto the IPhone without erasing the songs already on the IPhone. I need to do a "merge" somehow. Advice please...

    You need to select the iPhone 'device' (not the Music section underneath it which just shows what is already on the device) and then select the Music tab that will appear on the right-hand side of iTunes : http://support.apple.com/kb/HT1351
    You can also just highlight the new songs in your iTunes music library, and drag-and-drop them over to the iPhone device.

  • This message comes up "This computer is already associated with an Apple ID" trying to down load movies of another computer of ICloud how do I get By?

    This message comes up "This computer is already associated with an Apple ID" trying to down load movies of another computer of ICloud how do I get By?

    Hi Allan, thanks for that. I've already set up a log in for my wife and that is all working fine. The problem is that when she logs in and opens iTunes and trys to associate her library with her iTunes account she gets the error message "This computer is already associated with another iTunes account". Whilst this is true, the computer is associated with my iTunes account under my separate log in, which should have nothing to do with hers. If she transfers the association to her account it will lock me out of my content on my log in for 90 days - I'm trying to work out how to associate each of the log in accounts with a separate iTunes account so we can access our music independently of one another without locking each other out. Hope that makes sense!

  • How can i move a vlc movie held on my external drive onto my itunes library (so i can then load it onto my ipad to watch?

    how can i move a vlc movie held on my external drive onto my itunes library (so i can then load it onto my ipad to watch?

    That is the only logical conclusion. There is an easy solution. On the Mac app store download a free app called smartconverter. It is free. You just drag and drop file into app and it will convert to any file u want. I hope that foxes your issue

  • My friend synced a video to my ipod but it erased all my data on my ipod,but i cant figure out how to load my old libray back without deleting the movie. my friend cant tell me the password. How can I get my old library back without deleting the movie?

    My friend synced a video to my ipod but it earased all my data on my ipod,but I can't figure out how to load my old library back without deleting the movie. My friend shares a family account so she can't tell me the password. How can i get my old library back without deleting the movie?

    Linnwarner wrote:
    She does have the right because she bought the movie.
    Not true at all.
    You only buy the right to your own personal use.
    You do NOT have the right to distribute to others.
    This is illegal.  There is no doubt about it

  • I just loaded the 'lion' now my mail takes a new life....how do i move the reading panel to the bottom / also how do i get rid of the text/content under each mail..two simple things not sure obvious on this version !!!

    i just loaded the 'lion' now my mail takes a new life....how do i move the reading panel to the bottom / also how do i get rid of the text/content under each mail..two simple things not sure obvious on this version !!!

             

  • How do you fix a non-loading movie on your iPod?

    I have an iPod touch 4. I just downloaded a movie. I had lots of space to do so. Now I'm trying to watch the movie and a button keeps comin up and it says "unable to load movie." What is wrong?! I was wondering how you get it to load. It's a two hour movie but it won't load.

    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsyn/delete the move and resync/redownload
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.

  • I need to know how to down load movies, that I have on DVD, on to my hp computer then down load it to my ipad

    I need to know how to down load movies,from my DVDs, onto my hp computer and then down load them onto my iPad

    I read the thread question differently than you did I think.  I did not think the DVD in question was a commercial DVD.  However, you have much more experience in this discussion board than I do.  You probably have seen this question many times and assumed (apparently correctly) that it was a commercial DVD.
    I was answering the question based on it being a DVD created within a work/home environment that is needed to be put on the iPad.  I have been toying around with that exact process in the past week.  Work training videos etc, that I have created, put on DVD then downloaded to my iPad for travel and display.
    My bad!

  • Music from PC I loaded some CDs onto my PC and want to know if, and how, I can move them from my PC to my IPad2. Also, if I get them moved can u delete individual songs from those moved to IPad

    I loaded some music CDs onto my PC. Can I move them from PC to my IPad 2? If so how?  I loaded the CDs into ITunes on PC and when synced with IPad I saw them on the  IPad, but once the PC was disconnected here seems to be no music on my IPad. How or canons move music ? Other than hat u purchase? can editing be done onIPad if music is moved there? IE deleting songs from list?

    Do not look at the library on the left. You want to use the iTunes window on the right - after you select the iPad. This illustrates how to select the iPad. In this screenshot I marked it iPod but it works the same way for the iPad.
    Click on the iPad's name on the left side of the iTunes window - under devices - in order to select your iPad.
    Then click on the Music Tab in the window on the right side
    Find the songs in the music section 
    Click on the boxes next to the songs - or click on the album or playlist that the songs are in
    Make sure that the Sync Music heading is selected at the top of the tab
    Click on Apply in the lower right corner.
    You can read this as well for more help.
    http://support.apple.com/kb/HT1351
    Message was edited by: Demo

  • How i can down load movies and mucis to my new ipad

    how i can down load movies and music to my new ipad?

    You can use iTunes to sync them to your iPad.

  • How do I move the page-load progress meter from the bottom task bar to the top menu bar, or inside the top/header toolbar? I am currently using Firefox Version 3.6.19

    How do I move the page-load progress meter from the bottom task bar to the top menu bar, or inside the top/header toolbar? I am currently using Firefox Version 3.6.19.
    URL Eaddress: [email protected]

    You see the orange (on Linux gray) Firefox button if the Menu Bar is hidden, so you need to hide the Menu bar to get the new appearance.<br />
    If you need to access the hidden Menu bar then press F10 or hold down the Alt key to make the Menu Bar appear temporarily.<br />
    You can place the Tab Bar on top.
    * View > Toolbars : [ ] Menu Bar
    * View > Toolbars : [X] Tabs on Top
    The Tab bar only appears on the title bar if the Firefox window is maximized.

  • How to load BeginningBalance and movements into HFM via FDM from ERPI

    I have a file generated by ERPI with the columns of |AMOUNT|BEGIN_BALANCE_DR|BEGIN_BALANCE_CR|PERIOD_NET_DR|PERIOD_NET_CR|
    among many other columns.
    How can load them via FDM into the Custom1 dimension in HFM, which contains BeginningBalance, Additions, Disposals, etc.
    So basically I will have a trial balance, which I can compare with GL and OBI.

    Hello
    You can use the IDOC SOPGEN01 for that purpose.
    Please check transaction WE60 for IDOC documentation and there are many old threads with information about this IDOC.
    BR
    Caetano

  • HT202157 Does anyone else have a problem with the latest Apple TV update?  My Apple TV no longer can load movies from my iTunes library, including ones I've already watched or were watching.  Can I roll back this update, and if so, how?

    After updating my Apple TV, it will no longer load movies from my iTunes library.  Music works, but no movies.  I've turned this puppy every which way but loose, but no joy.  Is there a way to roll back an update?

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

Maybe you are looking for

  • Live capture with FCE 4 and Canon HV20 - End of Tape when capture in HD

    I have a Canon HV20 HiDef video camera that was given to me to record an event. I want to try and avoid using the tapes if possible and capture the video directly into my MacBook Pro using FCE 4. If I try and capture video when the camera is set to H

  • Create a Custom Layout for page

    I'm trying following the example -> Example 7-4 Sample Code for the example.layout File [ http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14243/develop_ui_lookfeel.htm#i1045018 ] and in this way I create new Layout for my page <skeleton:contro

  • [svn:bz-trunk] 16395: Bug: #2621264 [Regression] Small messages not working with NIO-HTTP endpoints in LCSD/trunk.

    Revision: 16395 Revision: 16395 Author:   [email protected] Date:     2010-06-02 05:00:56 -0700 (Wed, 02 Jun 2010) Log Message: Bug: #2621264 Small messages not working with NIO-HTTP endpoints in LCSD/trunk. QA: Yes Doc: No Checkintests: Pass Details

  • Files in NFS share not visable

    I'm trying to install Solaris 10u4 from a Netra T1-200 install server. The client is a Sun Enterprise 5000, it boots fine during the network install but gives the error "The directory you specified doen not contain a valid Solaris OS image". If I mou

  • REQUEST: Crop Beyond Image and Fill "Background" with Choosable Color

    One of the features I'm missing most is the ability to extend the crop tool rectangle beyond the image and have the "new" area filled with some choosable color (like the background color in the crop tool in Photoshop). This is especially useful when