Bizarre problem with garbage on movie export

I am having a weird problem with exporting video from an iMovie '08 project.
You can see the video here: http://www.youtube.com/watch?v=McFnmpuSKGc
About 31 seconds in, the first problematic clip shows up. Do you see how the video from some clips gets shrunk to the lower right corner and the rest of the space is filled with garbage, while other clips display in the full window? This happens no matter which size or type I export/share to. The weird thing is, if I play the (non-exported) project within iMovie, even at full screen, it looks fine.
Knowing nothing about video, my first thought was, "maybe the videos are different sizes, and the ones with garbage around them were at a lower resolution than the videos without garbage around them. However, all of the original videos are from the same camera, and all are at 960x540 resolution, H.264 encoding, and the same bit rate - I checked each file by using Cmd-I in the Finder.
Do any iMovie experts have suggestions on how to fix this? Again, it looks fine when I play the project in iMovie, but it has this problem whenever I export or share it to another format.
Thanks!

Correct me if I'm wrong. What this lines does (if there isn't a space between the two single-quotes) is removing the string represented by xmlnsVal from the string xmlDoc. I've been using this method in some situations.
But I don't know why it won't work either. However, isn't it necessary to do conversion from CLOB to varchar2 before calling replace? Maybe the implicit conversion isn't so reliable. I've seen someone did the following:
-- clobvar is CLOB
-- stringvar is varchar2(4000)
stringvar := cast(clobvar as varchar2(4000));      -- not testedAfter that you can use stringvar in your replace function.
Or alternately, if exists in 9i, you can try the function regexp_replace() instead. Good luck.

Similar Messages

  • Problems with videos when I export

    Hi,
    I have some problems with my videos when I export them. I edit my video, but I have problems with audio in the exported video. Either the audio is missing completely or I hear the audio from another videoframe. I thought that the transitions are the problem, but they're not. Sometimes I have the problem also when I watch the video in iMovie. CAN SOMEONE HELP ME?

    Welcome to Apple Discussions Alek,
    Does this issue happen with more than one project in iMovie or is it just one?
    If the audio is out of sync or missing and it is confined to only one project, the most I can suggest is that you restore from a backup copy as that suggests the project file is corrupted.
    If the issue is happening in multiple projects do a test to make sure iMovie is working correctly:
    Capture 5-10 minutes worth of iSight footage.
    Edit the movie adding a few titles and transitions.
    Export to quicktime.
    Is the audio correct here?
    If the audio is fine that means that iMovie is fine. Something is wrong with the projects or the original footage. You could try taking the Event you are working with, adding it to a new project, and then without editing it, export the entire project out as Quicktime. Then import the resulting file as a new event. The process of exporting (encoding) and then re-importing might clean up minor corruption within the file.
    Hope that helps

  • Is there a bug or problem with increased noise when exporting pictures out of Lightroom 4?

    Is there a bug or problem with increased noise when exporting pictures out of Lightroom 4?

    As you are asking about it, looks like you do see a problem. So if googling does not provide a solution, you should describe the issue in detail so we can try to help out.

  • HT204382 Hi, Ive just got myself a Macbook Pro, and Im having problems with sound on movie files. The format is wmv and they play OK on a windows 7 laptop, and Im trying to play them now on the MAC. The picture is OK , but no sound. I have Flip4Mac - no d

    Hi, Ive just got myself a Macbook Pro, and Im having problems with sound on movie files. The format is wmv and they play OK on a windows 7 laptop, and Im trying to play them now on the MAC. The picture is OK , but no sound. I have Flip4Mac - no diference

    Download and install the free VLC for Mac - that should work:
    http://www.videolan.org/vlc/download-macosx.html

  • Problem with GuardianEdge and Discoverer export

    We're having problems doing XLS or SLK exports out of Discoverer Plus 10g and appears to only be happening on PCs where the GuardianEdge encryption product has been installed. In fact, we can export to a shared drive (i.e. server not protected by GuardianEdge) and the export works fine -- even from those PCs where GuardianEdge has been installed. So therefore GuardianEdge is our prime suspect at the moment.
    When we try to save to our GuardianEdge protected PC, we get the message "Export Failed". You then can't do anything except exit. It appears to sever the connection to the server. You get the standard "contact the administrator" error when you try to do something (or even when you exit).
    Is anyone else having this problem? Does anyone have any ideas how to go about figuring out a resolution to this isse? Any ideas on what is going on between Discoverer and GuardianEdge?
    Thanks!
    Jeff
    OracleBI Discoverer 10g (10.1.2.3)
    Oracle Business Intelligence Discoverer Plus 10g (10.1.2.55.26)
    Discoverer Model - 10.1.2.55.26
    Discoverer Server - 10.1.2.55.26
    End User Layer - 5.1.1.0.0.0
    End User Layer Library - 10.1.2.55.26
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    Java Virtual Machine:     Sun Microsystems Inc. 1.6.0_12
    JVM Memory Available:     15758KB out of 38904KB
    Operating System:     x86 Windows XP 5.1
    Using secure connection
    Using protocol:          RMI protocol over https transport

    Hello,
    Open the report up and add a sort to the ID field, CR will sort the matching row data with the id so when exported it too will be sorted and alined properly.
    If you want to do this in code then post to the [.NET SDK forum|SAP Crystal Reports, version for Visual Studio;.
    But PLEASE search first in forums and in our knowledge base, someone has likely already asked and an answer has been given.
    Another place for lots of samples is here:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    Thanks
    Don

  • Problem with reverse goods movement

    Good Morning.
    I faced a problem with "schedule line" for an item in a sales order.
    I've an order quantity of about 14.000 pieces.
    I've created a partial outbound delivery for 8.000 pieces, but then for a problem, I made a "reverse goods movement" with VL09 for all 8000 pieces.
    When I came back into item's schedule line, I see in "Delivery quantity" column that is not considered the reverse goods momevent.
    I see that delivery quantity is still 8000.
    Can You give me some suggestion??
    Regards.

    There is no trasfer order in Sales Document Flow.
    Sales Order 10600587 / 10               12.12.07           14.000,000  NR      Completed          
    Delivery  8020600166 / 10                12.12.07           14.000,000  NR      Being rocessed    
    Picking request 20071212                   12.12.07           14.000,000  NR      Completed          
    GD goods issue:delvy 5500004772 / 1        12.12.07           14.000,000  NR      complete           
    RE goods deliv. rev. 5500004773 / 1        12.12.07           14.000,000  NR      complete           
    Delivery quantity is still 14000.

  • Datamerge problems with images in pdf export

    Hi
    Trying to set up a datamerge file to create multi page spread documents with fields on different pages. Attempting to set it up so it's as automated as possible as there are up to 20 different merge documents needing to merge with up to 100 different csv records from the same file each week .  The merge documents have different and repeated merge fields on most pages. 
    I've set it up so that the document has facing pages, and most pages have images spread across the whole of the spread.  the pages preview fine, they are created ok when using 'Create Merged Document' although the page numbers continue from one document to another (another problem).  but when I come to export to pdf, then the merge only shows the image on the left spread but on both left and right spread single pages, and the page numbers don't show the correct page numbers eg it will go p1 p2 p1 p2 etc all the way through the document instead of p1 p2 p3 - p20 etc.  I don't want to have to merge first then pdf but can't understand why the images and page numbers are not showing correctly.  Anyone shed some light on this please?
    Many thanks

    I have a simialar problem with the page numbers.  I dont know the proper solution to this, but since I only work with a few records the following works OK for me right now.
    What I do Is first set up for the data merge on the master page along with any object that have to be on every page.  Until it is merged I only make the master page.
    Then after it is merged I go and make any other edits to the individual pages. I dont know how to make it merge ONTO the pages you alread created.

  • Problem with a DVD movie

    Hey,
    I have a DVD movie that when I enter it to my iMac it doesn't mount, makes the regular fan/processor noise continuously, then after a couple of minutes the finder gets stuck and I can't eject it. I never experienced this with any other dvd.
    And the movie is "Naqoyqatsi" (If someone else experienced this problem with it)
    Thanks

    Well, I have discovered from doing a lot of burning that if you don't run 3 programs to eliminate the cache files and the build up of files that your computer stores, this seems to cause DVD Movies not to mount normal.
    If I run,
    Macjanitor.
    http://personalpages.tds.net/~brian_hill/downloads.html
    Cache Out X.
    http://www.versiontracker.com/dyn/moreinfo/macosx/14850
    Onyx.
    http://www.versiontracker.com/dyn/moreinfo/macosx/20070
    The one above is for 10.3
    http://www.macupdate.com/info.php/id/11582
    The one above is for 10.4
    Running these 3 work for me.
    Remember shutting your computer Off, I mean clear OFF for a time occasionally helps also.
    Bear in mind there are several schools of thought on this subject.
    I have experimented and the above information has always worked for me.
    Hope this helps you all.
    Cheers Don

  • Problem with losing quality in exporting FLV

    First I should emphasize that I am new to Adobe's products, and am learning it on the fly as part of a intelligent tutoring system design project. So I apologize for my lack of technical knowledge in advance. Rest assured I have put much effort in attempting to solve this problem on my own and by referencing this forum and other web sources, but sadly with no success.
    FYI, I am using the CS4 Master collection.
    My question pertains to retaining the quality of my video once I export it to .flv format via Media Encoder from Premiere Pro. My main video source is an .flv file that i have imported into my media browser. Initially I ran into a problem with the importing because it did not recognize H264 as having any media, and so I had to convert to Sorenson format to get it to import successfully. But it seems to have imported just fine without any loss of quality in the workspace. So that isn't my main issue but perhaps it is related.
    I am having major issues with losing quality upon export back to .flv format - which is the format I am required to use - the video is being imbedded within a larger program and so it needs to have a smallish file size. For the life of me I cannot figure out any combination of settings that works. If I select same as source then I end up with a video that is surrounded by black borders. This may because the workspace is larger than my imported file. I have attempted to enlarge it to fit the safe margins but it hasn't helped. If I resize my output video to 640 x 480 - which is what I want - I get a shrinked video with black borders. If I crop the input to what I want I just lose quality - but I lose quality either way. I really want to accomplish this without increasing the bit rate (and thus the file size). I have tried just about every setting available and I still lose the quality. Is this just inevitable? Is there a plugin that would help? From what I can it seems that Adobe has more problems dealing with .flv than with other video formats, but I haven't found anything that pertains to this issue specifically.
    Otherwise does anyone know of any other programs that can edit .flv files and offers multiple video & audio tracks?
    Thanks in advance. If anything needs clarification let me know.

    Ah yes I left out that detail. My source video is 640 x 480 also so the output is not an increase in size.
    This is different from my sequence settings. Which is 1440 x 1080 16:9 ratio. Pixel Aspect Ratio is HD anamorphic 1080 (1.333).
    I am assuming that this needs to be changed but I can't figure out how to do that (sequence settings are greyed out). Should I just start a new project?

  • A really annoying problem with a button/movie clip

    I am having a problem with a button! its driving me insane
    because i managed to do it last week, but that was by chance and
    now i can't remember how i did it!
    I can get the button (i'm using gelright from the common
    libraries panel) and convert it to a movie clip(by pressing F8) and
    even attach a behaviour but when i play the movie it doen't work!
    when i move the curser over the button it changes into a hand, but
    will not act like a button, even though i have set the behaviour to
    'on release, go to and play keyframe 2'.
    Please help me, for the sake of my laptop goin through the
    wall!

    virgosam20 wrote:
    > first, i found the button i wanted in the common
    libraries (gelright) and
    > added it to the stage. I resized it and converted it
    into a symbol as a movie
    > clip. Then it got added to my library.
    > Then i deleted it from the stage and replaced it with
    the movie cip version i
    > had just converted it to. so now i have the same object
    on the stage, but now
    > its a movie clip and not a button.
    ok - you are running yourself around in circles - why did you
    delete it to the stage only to add it
    again? once you converted it to a movie clip, you had what
    you wanted on the stage - but then you
    deleted it and dragged another instance of the same symbol
    back onto the stage - there's no reason
    to do that.
    > Then i double clicked on it to bring up the movie clip
    timeline, but instead
    > of saying 'top, down, over, hit' (or whatever it says),
    it jsut said 'layer 1'
    > (but this was not my original stage as i have a number
    of layers on that one).
    Right - this is expected because yoyu are now inside the
    movie clip timeline - not the button timeline.
    > When i double clicked on it again, it brought up the
    right headings (top, down,
    > over, etc),
    Right - because by double clicking the button symbol you were
    then brought to "edit mode" for the
    button symbol.
    but there were about 5 layers that showed the different
    layers for
    > the original button.
    Huh? What "5 layers"? What do you mean "original" button -
    per your description there has only ever
    been 1 button you have been working with.
    > I think i have to add the button to each of the
    headings, bt there is no room,
    Lost you completely now - what do you mean add the button to
    each heading? I have no clue what you mean.
    > as when i did it before, there was only one layer for it
    and i had to insert
    > the key frames myself.
    Still losing you here.
    > I then added a behaviour to it using the Behaviours
    pannel, (selected
    > movieclip, then 'go to and play....') and it appears in
    the behaviours pannel.
    > But when i got to Play Movie, although the curser
    changes into a hand, the
    > button does not work.
    That's because you are applying a behavior for a button to a
    movie clip instead.
    I think you went wrong when you converted the button to a
    movie clip - i have no idea why you did
    that or why to think your button needs to be in a movie clip.
    >
    > Hope that can help you with what i've done and you can
    tell me where i've gone
    > wrong.
    >
    I just think you don't understand how timelines, symbols or
    buttons work yet in flash.
    1. drag a button to the stage.
    2. select it and open the Behaviors panel (dont double click
    it to edit it).
    3. add your actions.
    4. test movie.
    (no need for a movie clip here.
    -chris

  • Problem with garbage collector -

    I'm experiencing a problem with the Java Garbage Collector.
    It simply doesn't work when I try to free the memory that is used
    by an object in my program...
    I explicitly declared this object as null, and called System.gc, but it seems it isn't working.
    What might be the reason?
    This object uses a lot of memory. Therefore, I MUST destroy it after it's no longer
    needed.

    Ok. I'll try to be more specific...
    My "situation" seems something like that
    class Program {
    Xclass class1;
    void method1() {
    class1 = new Xclass();
    } (End of class Program)
    class Xclass {
    Yclass class2;
    Public Xclass( ) {
    class2 = new Yclass();
    add(class2);
    } (end of class Xclass)
    class Yclass {
    Public Yclass(Container parent) {
    (no explicit reference to Xclass or Program classes or any variable or instantiations of said classes);
    } (end of class Yclass)
    Well, I know that the gc is not being done because the first time I call method1 everything goes fine. But When I try it again an OutOfMemoryError happens...
    I tried to do the following (I know, it's not elegant, but I just wanted to get some results):
    void method1() {
    class1 = null;
    System.gc();
    class1 = new Xclass();
    Again it worked in the first time. But later...

  • Sound problem with QuickTime .dv files exported from iMovie ~ help please

    Hi
    I have been working for ages on an important project which is intended to wind-up as a numbered edition DVD, limited to 50 copies.
    When I worked in iMovie HD 5 this NEW PROBLEM didn't arise: I did what I thought was the right thing and bought iLife '06, then upgraded from the Apple site, so now I am using iMovie HD 6.0.1, iDVD 6.0.1 and QuickTime Player 7.0.4.
    I've designed my own menus and the procedure as most anyone will know [thanks iCreate magazine!] is...you have to 'export' (or now 'share') the iMovie to QuickTime (or with QuickTime) which produces a .dv file which you then drag-and-drop into iDVD.
    I've got 4 of these .dv files for the start-up and some menus.
    THE PROBLEM IS whereas the sound (it's actually music) has been faded out (in synch with the image) ~ in iMovie everything seems fine ~ but THE QUICKTIME .dv FILES HAVE AN ANNOYING LITTLE "FLARE-UP" OF MUSIC AT THE END OF THEM.
    Imported into iDVD, in preview: sure enough! ~ you hear the annoying, untidy-sounding snips at the end.
    It's ruining my project ~ please help, someone!

    I am having the exact problem, it's a real show stopper.
    I have tested hardware, software, media as below.
    Tested on
    1 Intel 17inch iMac
    2 G4 AGP 450 + 1.2Ghz Model
    Each have a fresh install of iLife 06 on
    Each have been tested with different project files.
    Differnet music files
    The issue seems to be with apples iLife software to me.
    I am on the phone to apple right now, they only surgest I create a new user as it generates new prefs, but the above test has already rulled out preference files!
    Also rebuilding and reinstalling, but again the above test has rulled that out as the 3 machines were freshly built.
    I have already upgraded my graphics card in my machine at home to sort out preview problems with iMovie, hopefully it's not going to be an expensive audio card aswell.
    If any 1 can throw any light on this please do as apple support can't.
    Regards
    Paul

  • Bizarre problem with internal drive

    I have a 15" G4 PPC 1ghz Powerbook with 1gb SDRAM. A couple of years ago the hard drive failed. I bought another and replaced it, only to find that there seemed to be a problem with the new one as well. To cut a long story short: I needed a working machine, so mothballed it and bought a new one. for various reasons I'd now like to get it going. So...
    Yesterday, I started it up. As expected it couldn't find it's own drive and just gave me the grey screen with the file/question mark icon. I shut it down and plugged in an external firewire enclosure containing a working 60gb drive with a full bootable OS installed (for brevity I'll call this Drive 1 from now on).
    I started it again and it booted from Drive 1. It worked fine. I then shut it down, opened it up and replaced the internal Drive with Drive 1. I put everything back in place (being careful to make sure the drive was properly connected) and hit the on button. Again the file/question mark icon. I tried booting whilst holding down the "c" key. Didn't help.
    So, I then plugged in another Firewire bootable drive (Drive 2). It booted from Drive 2 no problem. So, at this point I'm thinking, "Well, I've probably damaged the hard drive connecting cable - better get a new one". Never-the-less I thought I'd run a few test. And this is where it gets slightly bizarre:
    I stuck in the Apple Hardware test disk, shut the machine down, removed Drive 2, started it again then ran a full hardware check, it told me: Airport - passed, logic Board - passed, mass storage - passed, memory - passed, modem - passed, video ram - passed. As there was no other Drive present this means it was detecting and okay-ing Drive 1, right?
    I shut it down replaced the firewire Drive 2. Re-booted. Then opened "About this Mac". Under ATA it clearly shows a FUBITSU 55.89GB Drive. Which is Drive 1. (Drive 2 comes up under "Firewire" as SMARTDISK CORP).
    The details given for Drive 1 are as follows:
    Capacity: 55.89 GB
    Model: FUBITSU EHT2060AT
    Revision: 0124
    Serial Number: FN4****B55
    Removable Media: No
    Detachable Drive: No
    BSD Name: disk1
    Protocol: ATA
    Unit Number: 0
    Socket Type: Internal
    Low Power Polling: No
    Mac OS 9 Drivers: No
    Partition Map Type: Unknown
    S.M.A.R.T. status: Verified
    I also looked in Disk Utility. In the column on the left, at the top it shows Drive 2 with the Firewire icon. As per usual, it shows twice, once a the top with the manufacturer's name and again underneath with the name I gave it when I formatted it. If you click on either, it offers you all the usual options for Verifying and Repairing Permissions.
    Underneath that is a listing for the Drive 1 with the Internal Drive icon. This it shows only once - the listing with the manufacturer's name. If I highlight it the verify/repair options are all greyed out and unavailable.
    The last thing I can think of that may be of any help is that if I open carbon copy cloner it only only shows Drive 2 and doesn't pick up the internal.
    Could it be a partially damaged cable? Meaning the machine sees the drive but can't use it? Any ideas would be most welcome.
    ET
    <Edited by Moderator>

    Hi does sound like the cable but did you try running the hardware test CD with the internal drive installed and did it report it? These you could try while waiting on a new ribbon cable.
    Also in the system profile was the internal drive selected as boot drive, you can set this using the OS X installer disk by booting from it.
    Long shot, is your PRAM battery good? If not that might be the problem, does your date and time stay correct or does it need to be reset on bootup? If it's dead the PowerBook might not be seeing the internal drive or perhaps as I've seen on some PowerBooks it takes a few seconds to a minute for the PowerBook to go down the list and find the bootable drive so guess the final question was were you waiting long enough?
    Kevin
    <Edited by Moderator>

  • Problems with a QuickTime movie file.  Error 2048 message

    I am having problems with a QuickTime file.
    The file is on a TDK 4GB pen drive.
    I can access the file without problem directly from the pen drive.
    I am using a Sony VAIO Laptop running Windows 7.
    QuickTime version 7.71.80.42.
    When I transfer the file to a folder or upload to send via e-mail on Hotmail and then try to open it I receive an Error 2048 message - "Couldn't open the file.......because it is not a file that QuickTime understands.
    Any help would be appreciated.

    You should be fine: a standard DVD can contain up to 120 minutes of video, but this includes menus etc.
    iDVD is not concerned with file sizes, just length. It will automatically compress the iMovie file to the standard DVD format of mpeg2 - which is 4.7GB for 120 minutes!
    I have once made a family DVD 115 minutes long, but after the family either protested or fell asleep, I have tried to keep them under 75 minutes!

  • Problem with loading new movie.

    Hallo!
    I like to play external preloader before it's load original movie index.swf.
    But I have a problem on resizing index movie.
    Sample files on link http://www.uusrand.eu/galerii/proov/Sample.zip
    Thanks
    Here is preload AS3 code:
    package
        import flash.display.*
        import flash.display.MovieClip;
        import flash.net.URLLoader;
        import flash.net.URLRequest;
        import flash.net.navigateToURL;
        import flash.net.URLVariables;
        import flash.events.*;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.display.StageScaleMode;
        import flash.display.StageAlign;
        import flash.display.Sprite;
        public class Preload extends MovieClip
            private var LOADED_CONTENT:Loader = new Loader();
            public function Preload()
                LOADED_CONTENT.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, INDEX_LOADING);
                LOADED_CONTENT.contentLoaderInfo.addEventListener(Event.COMPLETE, INDEX_LOAD_COMPLETE);
                LOADED_CONTENT.load(new URLRequest("index.swf"));
            private function INDEX_LOADING(e:ProgressEvent):void
                mc1.text = int(e.bytesLoaded  / e.bytesTotal * 100) + "%";
            private function INDEX_LOAD_COMPLETE(e:Event):void
                LOADED_CONTENT.contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS, INDEX_LOADING);
                LOADED_CONTENT.contentLoaderInfo.removeEventListener(Event.COMPLETE, INDEX_LOAD_COMPLETE);
                removeChildAt(0);
                addChild(LOADED_CONTENT);
    And here is index AS3 code:
    package
        import flash.display.*
        import flash.display.MovieClip;
        import flash.net.URLLoader;
        import flash.net.URLRequest;
        import flash.net.navigateToURL;
        import flash.net.URLVariables;
        import flash.events.*;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import fl.motion.easing.*;
        import flash.display.StageScaleMode;
        import flash.display.StageAlign;
        import flash.display.Sprite;
        public class Index extends MovieClip
            public static var SCREEN_SIZE_W:Number;
            public static var SCREEN_SIZE_H:Number;
            public function Index()
                stage.scaleMode = StageScaleMode.NO_SCALE;
                stage.align = StageAlign.TOP_LEFT;
                STAGE_RESIZE(null);
                stage.addEventListener(Event.RESIZE, STAGE_RESIZE);
                stage.dispatchEvent(new Event(Event.RESIZE));
            private function STAGE_RESIZE(e:Event):void
                if (stage.stageWidth < 500)
                    SCREEN_SIZE_W = 500;
                else
                    SCREEN_SIZE_W = stage.stageWidth;
                if (stage.stageHeight < 400)
                    SCREEN_SIZE_H = 400;
                else
                    SCREEN_SIZE_H = stage.stageHeight;
                mc2.width = SCREEN_SIZE_W - 100;
                mc2.height = SCREEN_SIZE_H - 100;
                mc2.x = SCREEN_SIZE_W / 2;
                mc2.y = SCREEN_SIZE_H;

    Thanks. I don't know is this correct sollution, but this works.
    Here is my change:
    package
        import flash.display.*
        import flash.display.MovieClip;
        import flash.net.URLLoader;
        import flash.net.URLRequest;
        import flash.net.navigateToURL;
        import flash.net.URLVariables;
        import flash.events.*;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import fl.motion.easing.*;
        import flash.display.StageScaleMode;
        import flash.display.StageAlign;
        import flash.display.Sprite;
        public class Index extends MovieClip
            public static var SCREEN_SIZE_W:Number;
            public static var SCREEN_SIZE_H:Number;
            public function Index()
                stop();
                addEventListener(Event.ADDED_TO_STAGE, INDEX_ADDED_TO_STAGE);
            public function INDEX_ADDED_TO_STAGE(e:Event):void
                play();
                INDEX_ON();
                removeEventListener(Event.ADDED_TO_STAGE, INDEX_ADDED_TO_STAGE);
            private function INDEX_ON():void
                stage.scaleMode = StageScaleMode.NO_SCALE;
                stage.align = StageAlign.TOP_LEFT;
                stage.addEventListener(Event.RESIZE, STAGE_RESIZE);
                STAGE_RESIZE(null);
            private function STAGE_RESIZE(e:Event):void
                if (stage.stageWidth < 500)
                    SCREEN_SIZE_W = 500;
                else
                    SCREEN_SIZE_W = stage.stageWidth;
                if (stage.stageHeight < 400)
                    SCREEN_SIZE_H = 400;
                else
                    SCREEN_SIZE_H = stage.stageHeight;
                mc2.width = SCREEN_SIZE_W - 100;
                mc2.height = SCREEN_SIZE_H - 100;
                mc2.x = SCREEN_SIZE_W / 2;
                mc2.y = SCREEN_SIZE_H;

Maybe you are looking for

  • Where do I look at UTLTZUV2.SQL output?

    Dear gurus, I'm in the process of applying Security Patch 16: 6637237(CPUJAN2008) on my Windows 32bit envs. In this process, I need to check the existing TSTZ data using this oracle provided script. I ran it and didn't see the result. Here in the inf

  • How to solve this problem in PDK-URL

    Dear all I success install PDK-URL in my 9i AS, and i test all the PDK-URL example can run on the server, so i edit the providers.xml to add a new URL. My exist web service URL address is : http://testserver.com/service;userid=6687362346283.ehtml , B

  • In order sales (VA01), I need to create MRP after release credit.

    Hi! All Material / New Item included in a sales order (VA01) enters as the Schedule line category = "CN" (without MRP). But if the client has released credit the program needs to change the Schedule line category for "CP" (with MRP), and create a "MR

  • Purchase Reqisition as a required field

    Hi gurus, I want to make Pur. Requisition as a Required field while creating Pur.order.What are all the things i must have to do? Regs. SR

  • Formatting a previously used RAID drive for re-use

    Hello, I had an odd request from a client. He has a XServe RAID with 2 RAID sets - one on each side - with all bays filled on each side. He purchased replacement modules for each side, and wanted to pull a working drive from each side, and put the ne