Movieclip loader question

Hi,
I just used the movie clip loader class to load a swf
dynamically, and oddly, the width and height are zero even as i'm
looking at the loaded clip too large for the area i'm loading it
into. Is there any way around this?
thanks
e

yes, but unfortunately, the width and height at that point a
very different from what i need them to be when onLoadComplete is
called...i suppose i could just hard code the values since i know
what they will be in the end, but that defeats the purpose...after
the movie is fully loaded i scale it to fit in an area on the
stage...my scale values are completely out of whack (infinity)
because when onLoadComplete is called...the values are 0 instead of
1024x768...is this a bug...did i just find a bug? if not...why does
my empty movie clip have values of 353x39
confused obviously
e

Similar Messages

  • Movieclips loader loads png but does not display image in ie

    hello, i have created a static class to deal with the loading
    of images, it works great. yesterday, i found an issue: i try to
    load png files (those pngs are generated with quasimondo's bitmap
    exporter), they do load, but they are not displayed in ie.
    it worked until recently. is there some specification about
    the png that i have to make sure that the png has? or is there an
    issue using the movieclip loader with ie?
    i included the actionscript class (save the code in an .as
    file), so if you want to test, write only this in the first frame
    of your code:
    import com.iCongo.utils.MovieClips;
    this.createEmptyMovieClip ("placeholder",
    this.getNextHighestDepth ());
    MovieClips.loadIMG (this.placeholder, "
    http://somedomain.com/somepng.png");
    that image will load, but in the context of my flash file
    where many many files are loaded at the same time, only the block
    generated by the bitmap exporter will not show.

    OOPS
    cancel that question. i ftp'd the file to the server again, this time setting the transfer type to binary and the png image comes up
    just like it should.
    john

  • The sound  with movieclip loaded from outside

    Hi.everybody...I have a probelm with sound working with
    movieclip loaded from outside. this movieclip is just working fine
    alone..but after being loaded to the other movie..the sound doesnt
    play any more.
    by the way,I loaded this movieclip with loadclip and also add
    listener on it.
    any suggestion,,please..thank u .

    try adding
    yourHolder._lockroot = true; //yourHolder would be the
    instance name of the holder MovieClip

  • MovieClip Loader class

    Is the MovieClip Loader class still available in CS3 or is
    there another way to do this?

    It is called the Loader class and it is very similar –
    and yet completely different!
    Of course you can always publish to AS2 and still use the MCL
    if you wish.

  • MovieClip coding questions

    I'm only a few days into Flash 8, and I'm a little confused
    about conceptually what "MovieClips" should be, and was hoping to
    get a few quick answers:
    1) I was looking through the sample code and it looks like
    they are creating new graphical items through this.attachMovie(),
    and I'm not sure what "this" is since the code is just written in
    the actions panel in frame 1. (I know what "this" means from a
    programming standpoint; I'm just not sure what object scope the
    code that's running there is in). What object am I "in" in code
    that's just sitting around at frame 1 of the main scene timeline?
    2) It says I can make a subclass of a MovieClip, which is
    what I want to do to make little animated controllable characters
    (e.g. "class Car extends MovieClip", but I don't understand how to
    instantiate them within actionscript. According to the docs, you
    don't use constructor methods to make MovieClips, but instead use
    attachMovie() or createEmptyMovieClip() or duplicateMovieClip(). So
    how do I make an object of class Car? attachMovie() returns a
    MovieClip, and I can't cast that to a Car class.
    3) Just curious how people generally organize their code (and
    Symbols) with respect to MovieClips, in the case of, say a moving
    car in a game application. Do MovieClips tend to represent single
    animations (e.g. one MovieClip of a car with the wheels rotating
    left, one where the wheels rotate right, one where it crashes, and
    they get created and destroyed every time the car's state changes)?
    or single objects (e.g. one MovieClip containing many short
    animations along the timeline: one rolling left, one right, one
    crashing, with labels and "goto" action scripts to loop animation,
    etc.)?
    4) What is the purpose of empty movie clips? Do people use
    them like I would use a transform node in Maya or a null node in
    Lightwave (e.g. just a pivot to stack transformations?)?
    Thanks, and pardon the screen name - I was having issues
    choosing a screenname with Firefox and tried a gibberish test in IE
    and oops, it worked, and I can't figure out how to change it to a
    real screenname. So apparently I am stuck as "asdfhabsaf".
    Ken

    1. The main timeline is itself a MovieClip. So, 'this' on the
    main timeline
    refers to the main timeline... It just removes any ambiguity.
    2. In the library, right-click the movieClip and select
    linkage. There you
    click 'export for ActionScript' and the class field will
    become available.
    That's where you put a reference to your class.
    3. Really depends on you and the projects needs.
    4. Empty clips are useful for place holders, to load external
    content into.
    And yes, somewhat like Maya... you can load multiple clips
    into one clip,
    and then move all clips by moving the one parent.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • How to swap movieclip with other content, in a movieclip loaded external

    Hi! I'm getting desperated.
    I started about 3 days ago trying to solve this problem,
    maybe i'm very noob!
    I have a main movie. Inside this, i load various externals
    swf's. One swf for a menu, another for a image presentation, etc.
    In the menu, i load various instances of another swf file...
    a button swf, and witch one has to have a different image as
    button.
    So inside the button, i have a layer with a button, but no
    shape or nothing, and in another layer, i have a movieclip to can
    swap by an image.
    So, the struct is like this:
    Main Movie
    . image_presentation
    . contact
    . menu
    . . button1
    . . . button
    . . . image
    . . button2
    . . . button
    . . . image
    . . button3
    . . . button
    . . . image
    . . button4
    . . . button
    . . . image
    So, button is only a swf file, with various instances.
    "button" inside the buttons, make the button efect, with a white
    border apearing on mouse over button. "image" is a movieclip
    created only for change with an image (button 1 = image 1, button 2
    = image 2, etc).
    How can i do this, controlling the images url's from the main
    movie?? I had tried a lot of ways, but i could do it.
    Please help.
    Thanks.

    sorry there but this system seems convoluted and unecessary.
    You should be able to achieve nearly any 'effect' using either a
    single button instance, or a movieclip instance used as a button,
    but should not need multiple instances to do so, or multiple swf
    files Each button symbol has three 'states' that you can apply
    different 'images' to to achieve an 'effect'. You can even put
    movieclips in a button state to animate something during the
    triggering of that state. It seems that you should be able to at
    least place all of the buttons within the 'menu' in a single swf
    (not to mention that they could all be within the main swf) instead
    of 'loading' them as individual swf files.
    What is it that you're trying to control? the 'images'? what
    do you want them to do, and how are you wanting them to be
    controled?

  • Inventory Cube Loading - Questions....

    This is the process I intend to follow to load InfoCube 0IC_C03 and the questions therein. I have the "how to handle inventory scenarios" document, so please don't suggest I read that.
    1A) Delete Set-up tables for application 03
    1B) Lock Users
    1C) Flush LBWQ and delete entries in RSA7 related to application 03 (optional - only if needed)
    2A) Fill set up tables for 2LIS_03_BX. Do Full load into BW Inventory Cube with "generate initial status" in InfoPackage.
    2B) Compress request with a marker update
    3A) Fill set up table for 2LIS_03_BF with posting date 01/01/2006 to 12/31/2007 (Historical) and load to Inventory Cube with a full update
          QUESTION1: Does this need a marker update?
          QUESTION2: Is this a good strategy  - do movement documents that old get updated once posted?
          QUESTION3: Does the posting dates restriction depend on on how far back in history we want to go and look at stock values?
    3B) Fill set up table for 2LIS_03_BF with posting date 01/01/2008 to 9/9/999  (Current) and load to Inventory Cube with a delta init with data transfer.
    3C) Compress load in 3B without a marker update
    4A) Fill set up table for 2LIS_03_UM  and load to Inventory Cube with a delta init
    4B) Compress load in 4A without a marker update
          QUESTION4: How should we select the posting date criteria? Do I need to load from 01/01/2006 to 9/9/9999 since that's the range used for BF?
    5) Start V3 update jobs via Job Control
    6) Intiate subsequent delta loads from BF and UM and compress with marker update
    QUESTION 5: Is the sequence of loading BX first, then BF and UM fixed? or can I do BF and then BX, UM
    QUESTION 6: Any tips on minimizing downtime in this particular scenario? Please don't suggest generic steps. If you can suggest something specific to this situation, that'd be great.
    I hope you can help with the 6 questions I asked above.
    Regards,
    Anita S.

    Hi Anita,
    Please find my answers below. I have worked enough with this scenario and hence feel that these would be worth considering for your scenario.
    3A) Fill set up table for 2LIS_03_BF with posting date 01/01/2006 to 12/31/2007 (Historical) and load to Inventory Cube with a full update
    QUESTION1: Does this need a marker update?
    In this step we dont need marker update while compressing.
    QUESTION2: Is this a good strategy - do movement documents that old get updated once posted?
    I am able to get the question quite clearly.
    QUESTION3: Does the posting dates restriction depend on on how far back in history we want to go and look at stock values?
    Yes. We need to start from latest and then go back as backwards as we want to see the stock values. This holds true when we are using non cumulative key figures
    4B) Compress load in 4A without a marker update
    QUESTION4: How should we select the posting date criteria? Do I need to load from 01/01/2006 to 9/9/9999 since that's the range used for BF?
    No need to provide any selection criteria for UM while loading to BW, as this would fetch the same data filled in setup of revaluations.Unless you are looking for only some history other wise you can fill that for company code list and bring the whole data to BW  by a single full load, as the data wont be that huge as compared to BF
    6) Intiate subsequent delta loads from BF and UM and compress with marker update
    QUESTION 5: Is the sequence of loading BX first, then BF and UM fixed? or can I do BF and then BX, UM
    This is fixed in terms of compression with marker updates.
    QUESTION 6: Any tips on minimizing downtime in this particular scenario? Please don't suggest generic steps. If you can suggest something specific to this situation, that'd be great.
    *Yes. Most of time consuming activity is for filling BF history. Negligable for BX and UM comparitively.
    Either try having multiple BF selective setup filling based on posting date based on available background processes or filli open months setup during downtime and rest history once you unlock the system for postings. The reason for this being we dont expect any posting for history*
    Feel free to ask any further questions about this.
    Naveen.A

  • Multiple MovieClips Loading SWF From Same Array (Posted Code)

    Hey there,
    I'm currently working on a project that has eight separate movieclips (for loading content) on separate layers.  I have placed code in these mc's to randomly draw from the same array of 61 different swf's.  Each mc randomizes the array just fine, but here's the problem.  The code works great for one instance, but as soon as I add the code (including renaming) to the other mc's, the swf won't load/play.  I am not getting an compiler errors, and am kinda stuck as to what the problem may be.  Here's an example of the code I'm using.  It is the same for each mc, except I'm renaming the variables as well as the instances for each mc.  Thanks for any suggestions.
    Mike
    //filename = new Array("screen1.swf","screen2.swf","screen3.swf","screen4.swf","screen5.swf","screen6.swf" ,"screen7.swf","screen8.swf","screen9.swf","screen10.swf","screen11.swf","screen12.swf","s creen13.swf","screen14.swf","screen15.swf","screen16.swf","screen17.swf","screen18.swf","s creen19.swf","screen20.swf","screen21.swf","screen22.swf","screen23.swf","screen24.swf","s creen25.swf","screen26.swf","screen27.swf","screen28.swf","screen29.swf","screen30.swf","s creen31.swf","screen32.swf","screen33.swf","screen34.swf","screen35.swf","screen36.swf","s creen37.swf","screen38.swf","screen39.swf","screen40.swf","screen41.swf","screen42.swf","s creen43.swf","screen44.swf","screen45.swf","screen46.swf","screen47.swf","screen48.swf","s creen49.swf","screen50.swf","screen51.swf","screen52.swf","screen53.swf","screen54.swf","s creen55.swf","screen56.swf","screen57.swf","screen58.swf","screen59.swf","screen60.swf","s creen61.swf");
    //i = filename.length;
    //k=random(i)
    //_root.movieTarget.loadMovie(filename[k]);
    //movieTarget._xscale=80;
    //movieTarget._yscale=80;
    var fileNames:Array = ["screen1.swf","screen2.swf","screen3.swf","screen4.swf","screen5.swf","screen6.swf","scr een7.swf","screen8.swf","screen9.swf","screen10.swf","screen11.swf","screen12.swf","screen 13.swf","screen14.swf","screen15.swf","screen16.swf","screen17.swf","screen18.swf","screen 19.swf","screen20.swf","screen21.swf","screen22.swf","screen23.swf","screen24.swf","screen 25.swf","screen26.swf","screen27.swf","screen28.swf","screen29.swf","screen30.swf","screen 31.swf","screen32.swf","screen33.swf","screen34.swf","screen35.swf","screen36.swf","screen 37.swf","screen38.swf","screen39.swf","screen40.swf","screen41.swf","screen42.swf","screen 43.swf","screen44.swf","screen45.swf","screen46.swf","screen47.swf","screen48.swf","screen 49.swf","screen50.swf","screen51.swf","screen52.swf","screen53.swf","screen54.swf","screen 55.swf","screen56.swf","screen57.swf","screen58.swf","screen59.swf","screen60.swf","screen 61.swf"]
    fileNames.sort(function () {
        return Math.round(Math.random());
    trace("Random array: " + fileNames);
    var currentMovieNum:Number = 0    ;
    this.createEmptyMovieClip("container", _root.getNextHighestDepth());
    var mcl:MovieClipLoader = new MovieClipLoader();
    var mclListener:Object = new Object();
    mcl.addListener(mclListener);
    mclListener.onLoadInit = function(movieTarget:MovieClip) {
        trace("Preparing to play: " + fileNames[currentMovieNum]);
    movieTarget.loadClip(fileNames[currentMovieNum], container);
    movieTarget._xscale=80;
    movieTarget._yscale=80;
    this.onEnterFrame = function() {
        if (currentMovieNum == fileNames.length) {
            currentMovieNum = 0;
        } else {
            if (movieTarget._currentframe == movieTarget._totalframes) {
                mcl.loadClip(fileNames[currentMovieNum], movieTarget);
                currentMovieNum++;

    Thanks for taking a look at this.  The randomizer seems to work just fine, as here is a sample output from the trace:
    Random array: screen47.swf,screen2.swf,screen57.swf,screen21.swf,screen9.swf,screen49.swf,screen36.swf, screen17.swf,screen6.swf,screen59.swf,screen15.swf,screen12.swf,screen33.swf,screen25.swf, screen42.swf,screen22.swf,screen24.swf,screen40.swf,screen11.swf,screen19.swf,screen32.swf ,screen35.swf,screen7.swf,screen39.swf,screen23.swf,screen4.swf,screen1.swf,screen48.swf,s creen31.swf,screen45.swf,screen29.swf,screen18.swf,screen51.swf,screen14.swf,screen34.swf, screen10.swf,screen38.swf,screen26.swf,screen16.swf,screen13.swf,screen55.swf,screen37.swf ,screen44.swf,screen61.swf,screen43.swf,screen20.swf,screen28.swf,screen30.swf,screen56.sw f,screen50.swf,screen54.swf,screen53.swf,screen46.swf,screen58.swf,screen41.swf,screen8.sw f,screen5.swf,screen52.swf,screen3.swf,screen60.swf,screen27.swf
    Might you be able to lead me down a better path?  I'm currently unable to get this to function for multiple symbols.  The previous is the code that I've placed on the first keyframe of a movieclip with an instance name of movieTarget.  Works swimmingly for one, but once the code is placed on the other symbols on different layers, it seems to only work on the lowest layer in the project.
    M

  • 2 sql loader questions

    Hello,
    I am going to be performing a data load with sql loader on approx 60 tables. For each table I have one csv and one ctl file. I'd like to run a file that will batch all the ctl files into one... is this possible? So that the person who has to load all this data into dev, test and prod doesn't have to go through the tedious process of running all the ctl files independantly.
    My second question is about the log file. Can I specify in the ctl file where the log file will go? I'm specifying my infile and badfile, but I can't find the syntax to specify the log.
    TIA,
    Janice

    Hi Janice,
    Following is for specifing log file
    $ORACLE_HOME/bin/sqlload userid=$ORACLE_PW control=$LDRCTL data=$complete_file_critical_parts discard=$LDRDSC bad=$LDRBAD log=$LDRLOG errors=10000000 skip=1
    Prashant

  • Movieclip Loader in AS3

    hi,
    i have a question
    i download flash as3 demo version today
    i already use flash mx 8 , and have to many projects and
    components for Macromedia Flash MX 8 Professional.
    so i test Flash CS3 . this is very great..
    so i know that i can use my Flash 8 FLA (AS2) sources in
    FlashCS3 (AS3).
    but , i can not use AS2 and AS3 OR Flash 8 Component and
    Flash CS3 Components together !
    so i have a question , that : can i load an Flash8 ( AS2 )
    with MovieClipLoader in AS3... ?!
    ( load old swf in new swf )!

    in old version ( as2 )
    i usef :
    loadMovie("fileName.swf", "MovieClipSymbolaName")
    how i can do it in new version

  • CP5 pre-loader questions re: video

    Forgive the long post..
    I published a Cap 5 project in which the first 4 slides contain short videos.  The pre-loader is set to 70%.  When playing the course from a server or LMS the initial load ranges from 1 minute to 5 minutes depending on location and computer.   After the initial load reaches 70% the first video shows its own loading screen for a few additional seconds and begins to play.  Subsequent videos will also show a brief loader before they play.  The video and project sizes are as follows:
    - Course SWF is 12.5mb
    Slide one video is 827kb
    Slide two video is 1.2mb
    Slide three video is 1.9mb
    Slide four video is 950kb
    - All videos are encoded F4V
    - Project is published from CP5 on a Mac
    - Latest Flash player is being used for all user machines
    The Problems:
    - On high performance machines with fast internet connections, the content loads and plays as expected, however on slightly older machines, or slow connections the playback is jerky and unpredictable
    - Playback performance from a web server is generally better than from the SumTotal LMS regardless of the machine capabilities
    - On several occasions the audio for the next slide plays simultaneous with the video from the current slide.  Also bullets that are synched with the slide and video will fall out of synch.  After reloading or using the nav bar to back up, the slide generally plays as expected.
    My questions for the community:
    1 - Will the pre-loader load F4V videos before playback?  Can someone explain what the pre-loader will load what it will not?
    2 - If the preloader does not load video, is there a downside to setting the preloader to a minimum number (say 10%) to at least reduce the initial load cycle?
    3 -  How do I ensure that audio from the next slide will not play on the current slide or video synchronized with timeline elements do not fall out of synch?
    Thanks
    Jeff

    Hi there,
    Please find the answers for your questions.
    1 - Will the pre-loader load F4V videos before playback?  Can someone explain what the pre-loader will load what it will not?
    <ashwin> No, preloader only loads the main Movie. Once the slide with video is encountered the Video load is initiated and this loads the video. FLV video and Animations (if they are externalised) are not loaded while preloading the movie.
    </ashwin>
    2  - If the preloader does not load video, is there a downside to setting  the preloader to a minimum number (say 10%) to at least reduce the  initial load cycle?
    <ashwin> Yes you can do this but i am not sure if this reduces the project loading time. I will try to explain you the way preloader works.  A 10% preloader percentage indicates to load 10% of the SWF size, For instance if the SWF size is 12 MB then the project starts to play once 1.2 MB of the project is loaded. So if the project has rich content in the first few slides then loading may take time as it has it has to load the first slide fully to show the first slide. So it all depends on how the project is created and how the content is distributed in the project.
    </ashwin>
    3 -  How do I ensure that audio from  the next slide will not play on the current slide or video synchronized  with timeline elements do not fall out of synch?
    <ashwin>Do you have the audio from first slide to n slides continuously, if thats the case then in the published output a single audio file will be created with the published SWF and is stored in the SWF (In this case we say audio is sitched). So if a preloader is set to 10%, even though only 10% of the movie will be preloaded the entire audio should be loaded which might create sync issues as the movie will have started to play while the audio is being loaded.
    To overcome this you may choose to increase the slide time of the slides containing audio by around 0.1 second. This activity will split the audio in the published output and hence will have small audio fragments to load while the movie is loading.If around 20 slides have audio continuously then you can increase the slide time for around 6-7 slides and not all.
    </ashwin>
    Try them and let me know if this information helped.
    Thanks
    Ashwin Bharghav B
    Adobe Captivate team

  • Class loader question

    Hi,
    I got NoClassDefFoundError and when I use ClasspathDebug jsp it shows that the class is loaded by "java.net.URLClassLoader". I put the jar file containing the class in <domain>/lib directory. According to docs the jar under <domain>/lib should be loaded by system class loader. what is "java.net.URLClassLoader"? why isn't system loader loading my class? I am using wls91. Thanks
    weblogic.servlet.jsp.TagFileClassLoader
    weblogic.utils.classloaders.ChangeAwareClassLoader
    weblogic.utils.classloaders.GenericClassLoader
    weblogic.utils.classloaders.GenericClassLoader
    java.net.URLClassLoader
    sun.misc.Launcher$AppClassLoader
    sun.misc.Launcher$ExtClassLoader
    Bootstrap classloader

    I'm not sure from reply 2 whether you figured out what's going on or not. It sounds like you did, but just in case...
    The null/primordial/bootstrap class loader loads classes in the core API--stuff it finds in the ext dir(s?) (e.g. rt.jar)--Object, String, java.util.*, java.sql.*, etc. It has no parent. It is the root of the normal delegating classloader tree.
    The system classloader is the one that uses classpath to load your classes and 3rd party classes. Everything not in the core API, as long as neither you nor those other classes explicitly specify a different classloader.
    The way the normal delegation mechanism works is that a request to load a class is first passed to the loader that loaded the current class. This loader first gives its parent a chance to load it, and so on up the tree to the primordial loader.
    Once it hits the root (null/primordial/bootstrap), that classloader tries to load it. If it can't (and the primordial loader can't, in fact, load your class, since it's not in the ext dir), then it hands it back to its child. This continues down the line, with the parent getting first shot at loading, then the child trying if the parent fails.
    The primordial loader (which loaded the JdbcOdbcDriver) can't load your class. It hands it back to its child--the system classloader--which can and does load it, using classpath.
    I hope that answers any lingering questions, if there were in fact such questions.

  • Spry Dataset loading question

    I have a general question to any of the experts using the
    Spry dataset. I created a test page that works beautifully, and
    want to use it as a portfolio presentation on my website. It
    automatically created two pages – the dataset, and it’s
    data counterpart. The “data” page is a long scrolling
    tabled page with a link/content/description column – the
    “content” column cells each contain a fairly large
    image that displays on the main dataset page in a
    “window” as each item is selected.
    My question is this – when the dataset calls/displays a
    cell from the data page, is it only loading the image that’s
    being called, or does it need to load all of the images on the data
    page (even though they aren’t displayed until selected)? I
    originally assumed they were being called individually, but when I
    set up a similar page to display my flv and swf animations in, the
    dataset worked - but when the first animation was displayed I could
    hear the audio of all of the other animations that were on the
    original data page at the same time. This leads me to believe that
    there is a definite download/time issue on a page that has several
    fairly weighty images/animations...
    This could be a HUGE shot in the foot if a viewer is browsing
    on a slower connection. My current site uses flash with externally
    linked images and works perfectly:
    http://www.jgigandet.com/.
    Each image loads only when they are called (but it’s a hassle
    to make updates to the portfolio)… is there a way to only
    load each image as it’s called using the spry menu?
    Thanks to anyone who has any insight or advice,
    Jesse

    I'm not feelin the love - is there another place we can ask
    Adobe experts questions about their software? -
    I just want to know how the spry dataset works, and if it's a
    good choice for what I'm trying to do. I'm not looking to critique
    or demean the technology - for the most part it works awesome. I
    just need some clear paramerters of how it works, and if loading a
    long list of large images will crash and burn on a slow
    connection...? Does anyone have any other ways of contacting Adobe
    support directly with questions such as these?
    Thanks - this is my last post of this question to bubble it
    back to the top... promise...

  • Clip Mask and MovieClip pivot questions

    Two more beginner questions:
    1) What's the easiest way to invert a clipping mask for a
    MovieClip in ActionScript? I tried using a ColorTransformMatrix to
    invert the alpha of the mask MovieClip, but it didn't work (looks
    like the clip mask simply does nothing where there are no filled
    shapes). I would like to add a graphic everywhere EXCEPT within the
    area of an animated MovieClip, and due to various requirements I
    cannot simply place it behind that MovieClip.
    2) Is there a way to set the pivot of a MovieClip in relation
    to the animated drawings/frames? It looks like the "origin" of a
    movieclip is the lower left-most corner of all the bounding boxes
    of all the frames of animation in my MovieClip. So if I set the _x
    and _y of a MovieClip in ActionScript to 150,150 it places the
    lowerleft-hand corner there instead of what I would like to be
    logical center of the MovieClip (say, center of a wheelbase of a
    car, or center of the feet of a person, or center of mass of a
    rock). I am fine with dialing in an offset, but just wondering if
    there is a cleaner way to do it (esp. if I happen to add more
    animation frames or replace drawings and the bounding box changes
    size).
    Thanks,
    Ken

    Ah, I figured everything out.
    1) Actually, the ColorTransformMatrix does work, but I didn't
    realize that alpha was 0-255, not 0-1 (you'd think after being
    bitten by MovieClip scales being 100 = 100% instead of 1 = 100%,
    I'd have guessed, but...). So a ColorTransformMatrix of
    (1 0 0 0 0)
    (0 1 0 0 0)
    (0 0 1 0 0)
    (0 0 0 -1 255)
    applied to the mask will successfully invert it. Nice.
    2) Apparently I had previously messed up grabbing all the
    images and dragging them - I had forgotten to turn onion skinning
    to "onion all" so that I could actually see everything (all my
    images are all on top of each other so it wasn't obvious I didn't
    have everything visible). I had been selecting all the frames and
    dragging the images around in relation to the registration point,
    but only the last 3 frames were actually moving, and they happened
    to be a part of the animation I didn't bother triggering while
    testing. Oops.
    Thanks much for your help.
    Ken

  • Movieclip load order FIFO or FILO

    Hi, I recently purchased Zinc to simply have more control
    over the window
    (placement, title, icon - that's all I wanted for this
    project!!) and it is
    causing issues with my program.
    I use the following code to create some movie clips:
    for (var i=0;i<count;i++)
    filePath = pstrFolderPath + swatchNameArray
    paLoadedSwatchClips.push(new swatch(this, pobjMainRef,
    pmcSWFHolder, i,
    filePath, theCounterValues));
    The swatch class has the following code that actually creates
    the clips:
    loadListener.onLoadInit = function(target_mc:MovieClip)
    trace(target_mc + ' is done loading' + ' !! ' +
    thisRef.pnID);
    var mdm = _global.mdm;
    mdm.Exception.DebugWindow.trace(target_mc + ' is done
    loading' + ' !! ' +
    thisRef.pnID, mdm.ASYNC)
    thisRef.pmcLoadedClip = target_mc; // Set reference for
    calling play and
    stop
    thisRef.pobjSetRef.mClipDone();
    // Store height before we put textfield on there
    thisRef.pnMyHeight = target_mc._height;
    thisRef.mCreateCounter(initialCount);
    mcLoader.addListener(loadListener);
    var thePath = _global.mdm.Application.path + swfPath;
    mcLoader.loadClip(swfPath, pmcButton);
    My trace statements in Flash are in order - 0,1,2.....
    I am using Flash MX 2004.
    When I run it through Zinc, and when customer support runs my
    files, the
    trace statements are reversed - 2,1,0
    I guess I'm wondering if load order has changed since 2004
    version... This
    problem is breaking this part of my program when I run it
    through Zinc, and
    want to know if it is Zinc, or an issue with Flash?
    Any help would be appreciated,
    Jason

    Update for anyone who cares...
    It seems flash 7 and 8 are different in how they load movie
    clips. Using an
    older version of Zinc(which uses player 7) works just fine.
    Seems to me,
    Flash 8 loads them first in last out, where Flash 7 loads
    them first in
    first out.
    Good to know for me at least!
    "Jason C Reynolds" <[email protected]>
    wrote in message
    news:[email protected]...
    > Hi, I recently purchased Zinc to simply have more
    control over the window
    > (placement, title, icon - that's all I wanted for this
    project!!) and it
    > is causing issues with my program.
    >
    > I use the following code to create some movie clips:
    >
    > for (var i=0;i<count;i++)
    > {
    > filePath = pstrFolderPath + swatchNameArray
    > paLoadedSwatchClips.push(new swatch(this, pobjMainRef,
    pmcSWFHolder, i,
    > filePath, theCounterValues));
    > }
    >
    >
    > The swatch class has the following code that actually
    creates the clips:
    >
    > loadListener.onLoadInit = function(target_mc:MovieClip)
    > {
    > trace(target_mc + ' is done loading' + ' !! ' +
    thisRef.pnID);
    > var mdm = _global.mdm;
    > mdm.Exception.DebugWindow.trace(target_mc + ' is done
    loading' + ' !! '
    > + thisRef.pnID, mdm.ASYNC)
    >
    > thisRef.pmcLoadedClip = target_mc; // Set reference for
    calling play and
    > stop
    > thisRef.pobjSetRef.mClipDone();
    > // Store height before we put textfield on there
    > thisRef.pnMyHeight = target_mc._height;
    > thisRef.mCreateCounter(initialCount);
    > }
    > mcLoader.addListener(loadListener);
    > var thePath = _global.mdm.Application.path + swfPath;
    > mcLoader.loadClip(swfPath, pmcButton);
    >
    >
    > My trace statements in Flash are in order - 0,1,2.....
    > I am using Flash MX 2004.
    >
    > When I run it through Zinc, and when customer support
    runs my files, the
    > trace statements are reversed - 2,1,0
    >
    > I guess I'm wondering if load order has changed since
    2004 version... This
    > problem is breaking this part of my program when I run
    it through Zinc,
    > and want to know if it is Zinc, or an issue with Flash?
    >
    > Any help would be appreciated,
    > Jason
    >
    >

Maybe you are looking for

  • Doesn't give a loud warning that an executable is no longer protected (Adobe Reader updated to ver 11)

    Running EMET 4.1 on Win XP. I updated Adobe PDF Reader from version 9 to version 11.   When this happens, Adobe places the program's executable file in a different subdirectory than in the previous version.  The file name is the same, but the locatio

  • New nano ...... puzzling install

    Trying to install ipod/itunes software ....... I am running winxp home sp2, seems to me the install is almost completed. But I'm getting a request for Scan.msi ????? 1. " The feature you are trying to use is on a cd-rom or other removable disk that i

  • Problems publishing to MobileMe

    Hi gang, I have the latest version of iPhoto, and have used iPhoto to publish a number of Mobile Me galleries.  Now I've run into problems.  When creating a new Mobile Me gallery using iPhoto's Share function, I get an error stating that the gallery

  • Null username and password on image file retrieval

    I'm noticing that when the initial page of may application comes up, when the browser attempts to get the images, weblogic is calling my realm to authenticate, but the username and password are both null. And my realm is written to reject that for ob

  • Problem in XI index page display

    Hello , I have problem with SAP XI Index page. when i am opening this using sxmb_ifr it is opening browser but index page is not getting displayed.Giving error page cannot be displayed. Is there some configuration needs to be done. Let me know what c