Loader content got vanish on resize root movieclip

Hello,
I have made 30 dynamic movieclip and I put all these Movieclips in MainMovieclip, each movieclip loads one jpg image dynamically, when i resize root movieclip then
all graphics got invisible. How can i resize parent movieclip, I can't resize individual loader content because there is complex thing will happen where i need to calculate x y position and height widh for individual,so that i put all movieclip in root moviclip and I resizing root movieclip.

You likely already solved this issue...
As I understand it, X, Y, width, and height are only read from the first frame of a loader object. Check to make sure that the content on the first frame of your object that your loading is the same size as the content of the entire object. In other words, if you have content on frame 50 that's 200 px wide in total from the registration point of x=0 y=0, and your content on frame 1 is only 100px wide, you'll need to add a transparent object on frame one (starting at x=0 y=0) that is also 200 px wide. If I understood your issue correctly, this should solve the problem. You can easily do a trace on the size of the object your loading to be sure that it's sizing correctly.

Similar Messages

  • Please help on the Loader.content to movieclip

    Hello there,
    I have been search around and got some mixed solutions,
    summarized as follow:
    If I need to load external swf into the main swf file, I need
    to Loader with appropriate URLRequest for this purpose.
    After loaded, you can listen to the complete event and
    addChild the loader.content to the main swf.
    Because I have a stop on the loaded swf first frame, I need
    to start the swf with a button. Some solutions on the net pointed
    that to make this happened, you need to cast the loader.content to
    MovieClip and have to through a tricky way to accomplish it like
    var movie:*=loader.content ;
    var clip:MovieClip=movie;
    clip.gotoAndPlay(4);
    I tried this method and still got Type Coercion failed
    ::cannot convert flash.display to MovieClip
    Please help, don't know why some experts said it is working
    while I can not get it to work. Thanks in advance

    Thanks WL, you are very close. I have a flash8 movie (purely
    animation)
    and I actually opened it in CS3 and saved as CS3. after
    publishing that's the movie I am tring to load.
    I recreate the whole animation in CS3 and everything start to
    run as supposed to. By trace the loader.content I find out one is
    [object AVM1Movie] for sudo as2 movie and [object MainTimeline] for
    the pure as3 movie. Thanks again.

  • HT201335 When I try to airplay mirroring live tv from my ipad or iphone i alway got the message "an error occured loading content" when i turn the full sceen on.

    When I try to airplay mirroring live tv from my iPad or iPhone I always got this message "An error occured loading content" when i turn to full screen.

    No, you do not have to set anything special. That would then indicate an issue with your network.
    Make sure DNS is set to automatic (settinga - general - network). If on wifi try ethernet. Reboot ATV and router.
    If it persist, get a proper report of the network by going to istumbler (Mac) or netstumbler (PC), look for signal strength and noise.

  • Graphics using graphic API are drawn below the loaded content created using Flash authoring tool

    Here is my problem.
    I am developing a Analog Dial component. Here , I am
    extending UIComponent and loading a swf file generated using Flash
    CS3 authoring tool ( the swf basically has the circle and needle)
    and adding the loaded content as child of Dial class.
    Next I use Graphics API to draw the major and minor ticks on
    the dial.
    As mentioned in the curveTo method of flash.display.Graphics
    class documentation (
    http://livedocs.adobe.com/flex/201/langref/index.html),
    if you are using graphics api and also loading content created
    using the flash authoring environment the vector graphics will be
    drawn underneath the loaded content.
    Well , Is there any way to make the graphics appear on top of
    the loaded contents?

    It appears that this may be accomplished more easily if I do something similar to the StrobeMediaPlayback implementation. Looking at the StrobeMediaPlayback source code it looks like Adobe has done something a little different than their ControlBarPlugin, placing the controlbar and root media element inside separate MediaContainers and then adding those containers to the display list. Is this recommended over using the frameworks ParallelElements? If so, is communication between the control bar and root media element still a matter of just updating the target reference via metadata?

  • PNG transparency lost using event.target.loader.content.bitmapData

    I load a png 24 (tripple checked alpha is ok)
    override public function loadData():void
         var request:URLRequest = new URLRequest(url);
         var loader = new Loader();
         loader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageloadedSuccess);
         loader.load(request);
    public function imageloadedSuccess(e:Event):void
         showPNG(e.target.loader.content.bitmapData);
    in Air 1.5 png (e.target.loader.content.bitmapData) has no transparency
    same code using Flash 10 export transparency is there.
    both of course loading same png file.
    Is this a known issue?
    I haven't tried yet using 2.0
    is there a workarround to load external png and keep the transparency?
    thx by advance
    Fabrice

    for each loader created, create a movieclip and add your loader to the movieclip.  assign all the properties you want to retrieve later to the movieclip and assign your event listeners to the movieclip.

  • Mx.controls.SWFLoader removes content from displaylist when resizing?

    Hi!
    I'm a Flex noob but AS3 old-timer.
    I have a Flex app that loads in AS3 apps using SWFLoader - problem is that when the Flex app is resized the SWFLoader seems to take the loaded content off display list temporarily, the loaded AS3 apps are dependant on stage object and it will break them when stage comes unavailable.
    Is is possible to fix this in mx.controls.SWFLoader somehow?
    If not, how can I use flash.display.Loader instead?

    Loader is a low-level control and can’t be used directly in Flex containers.  I don’t think it is expected behavior that the SWFLoader gets removed from the stage, so I would want to know why and see if there is some simple setting that can prevent it.

  • Load content in another viewing space... Button..Viewer..Video..Panorama.. Carousel..Dreamw..Flash..

    Dear Reader,
    I made a site with a custom player to show video. I made my own buttons in Flash. On type showed while hovering over the played video and are used for controlling play/pause - button for homepage and two buttons for the next or previous gallery. The other type are underneath the playing video and let you pick thumbnails whose links were shown in the player window.
    First I wanted to use a carousel (Lee Brimelow) for the second type of buttons, but I couldn't integrate these with the rest of the player code (my flash-code knowledge is rather limited).
    Later on I wanted to show a panorama wich I only got to work with the Away3D-method. In this case I couldn't integrate it with any other code, so I used Dreamweaver to let a viewer choose thumbnails. One can navigate in the viewer window by dragging in the window, so I left out the other navigation buttons within the player window, mentionned earlier.
    Now I am thinking of this concept:
    - Button(s) for Homepage and (Next/Previous) gallery;
    - Viewer window, with
              - timeslider and Play/Pause button integrated in case of a video or slideshow;
              - dragging in case of a Panoramic view;
    - Carousel for picking a subject that will be shown in the Viewer window.
    Question:
    - Can I combine these 3 types of the concept as Flash-movies and buttons/carousel in Dreamweaver and still have the carousel control the viewer window?
    or:
    - Should I do all in Flash and make a personal Flashplayer (like I did before) and study more Flash?
    What tutorials could I take a look at? (For instance I found a lot of sites about how to make a carousel. I don't know how to make it control a viewer window (to make it load content in another window or space.)
    Greatings,
    Richafrost.

    Hi,
    Just wanted to clarify a few things to try and eliminate what could be causing the problem.
    1. You are using rtmps protocol. Do you have SSL certificate configured and port 443 enabled?
    2. When you tried playback via the hosted OSMF player was it via rtmps?
    3. The standard way the request url is protocol://server-domain-or-IP/fms-app-name/[fms-app-instance-name/][codec-prefix:]file-pa th[filename-extension]. Could you try with that?
    I tried to reproduce your issue with simple rtmp prtocol and here are my observations/suggestions :
    1.When I first entered the source url I got the error you mentioned : "The video player is in the connection error state." However, when I publish the same .fla again it works fine.
    2. When you are placing the on a computer on the same network and running the html in the browser, it might not have permission to access the network. You will generally get a pop-up saying "Flash Player has stopped a potentially unsafe option". In any case, in your Flash player settings manager you can go to the Advanced tab and add the location of the folder containing the swf as a Trusted location and then try to reload the page again. I get the "status bar spin" when the folder did not have permissions.
    3. Also, when you try playback via Share Point can you go back to FMS and check if a connection request has actually come to the server. You can check under the access logs in root_install/logs or the application logs under root_install/logs/_defaultVHost_/vod/
    Please let me know if this helps.
    Thanks,
    Apurva

  • Loader Event.INIT fires but Loader.content is null

    The title describes the problem: Loader.load() is firing the INIT event, but in my listener it's reporting loader.content as null. The description for INIT event is "Dispatched by the associated LoaderInfo object when the properties and methods of    the loaded SWF file are accessible."
    I'm loading a lot of JPG images, and 95 percent of the time it works fine; the init listener fires and reports valid loader.content. I absolutely need loader.content available because I need to set the bitmap smoothing property to true.
    I've tried using Event.COMPLETE and it has the exact same problematic behavior.
    Any ideas?

    I didn't try contentLoaderInfo.content before. When the problem occurs, it throws this:
    Error: Error #2099: The loading object is not sufficiently loaded to provide this information.
    So INIT and COMPLETE fire, but it's not sufficiently loaded to even access the content? Weird.
    Note that in the event handler, Event.currentTarget points to the contentLoaderInfo, which may have the "content" defined, while it's not yet defined on the Loader instance yet. But thatt's just a wild guess though.
    Well what do you know, you're right. loader.content is null, loader.contentLoaderInfo.content is inaccessible, but event.currentTarget.content is available. I've tested around and sure enough, the same situations before where loader.content is null is now working fine with event.currentTarget.content -- I am able to cast the content as Bitmap, set smoothing to true, and resize the content.
    Kinda buggy if you ask me, but glad it's working now and it makes think I should use currentTarget more than often as it's apparently more reliable, at least in this situation it was.

  • Can't find my loaded content on itunes

    just got a computer with windows 8.  Started loading my albums to my itunes library.  All of the sudden I can't find my loaded content and can only see my purchased music in itunes.  It is still on the computer but I can not see it in itunes

      Thank you.  I see what you mean, and I'll use your method when I need apps. 
      For syncing my phone, however, I am automatically sent to the iTunes page, and to the sync/device screen I want.   After I sync, though, it's gone and I can't view my other details.  The only reliable way back there is to unplug the phone and plug it in again.  Fair enough, I guess.  But, weirdly, the little phone icon does sometimes show up (by the menu upper left) and will let me back in, but there's no rhyme or reason to when or why.  It's funny - kinda like some random game of Whack-a-Mole. 
      I appreciate you taking the time.  Cheers, -- Gordon180

  • Resizing a movieclip correctly?

    I can't figure out how to resize a movieclip correctly. I'm
    trying to make a photo gallery and keep everything a certain size
    but when I try and change the scaling, the movieclip just
    disappears.

    use:
    var pic:Loader;
    var totalImages:int = 10;
    var border:uint = 10;
    var prevX:Number = 0;
    var prevW:Number = 0;
    var i:uint=0;
    var container:Container;  // create a class for your container moviecip
    loadF();
    function loadF(){
        container = new Container();
        addChild(container);
        pic = new Loader()
        pic.load(new URLRequest(myImages))
        pic.addEventListener(Event.COMPLETE, resizeContainer)
    function resizeContainer(e:Event):void{
        container.x = prevX+prevW;
        container.width = pic.width+border;
        container.height = pic.height+border;
        container.addChild(pic);
        pic.x=pic.y=border/2;
        prevW=container.width;
        prevX=container.x;
        i++;
        if(i<totalImages){
            loadF();

  • Finder (Snow Leopard 10.6.8) taking long time to load contents of any directory. Please help?

    In my macbook pro 5,2 snow leopard (10.6.8), Finder taking long time to load contents of any directory. Please help?
    I have already tried to spotlight re-indexing but it did not help. I am hardly able to work on it, almost for each directory I browse its keeps on spinning for 1min.

    Download iTunes from Apple's web site and install it.  Don't use Software Update.

  • Safari (and other browsers) very slow loading "content rich" web pages

    Hi,
    I'm a very "light" user of my mac, using it basically for surfing the web, uploading pictures and music, etc... and recently any web page that has a lot of content (examples are nfl.com, nba.com, nhl.com, mlb.com, united.com, continental.com) takes a very long time to load (most other web pages load normally). Safari (and Firefox as well) gets to the web page in an instant, but then sits there trying to load content (mostly high res pictures and ads I suppose), which sometimes takes minutes or just never fully downloads the content. I'm connected to the internet via ethernet (high speed cable modem from Time Warner), and they've already come out and verified that everything on their end is fine. I've followed the instructions posted on some of the other similar posts (emptying cache, deleting cookies, disenabling add on's, reseting safari, logging in as another user, etc..), and this has not helped. Since this problem is persistent with both browsers, I'm wondering if this may be an OS issue as opposed to a browser issue. If someone can walk me through a solution (keep in mind that I'm a novice), that would be much appreciated.
    Thanks!
    Message was edited by: Mr. Cady

    HI and welcome....
    Since this problem is persistent with both browsers, I'm wondering if this may be an OS issue as opposed to a browser issue
    Could be.
    Since the problems exist with multiple browsers, login to another user account on your Mac. Try Safari there. If you see the same behavior with Safari there, then follow the instructions here. You will need your install disc. The startup disk may need repairing. Even if Safari is ok in another account, it's still a good idea to check the startup disk. That way you can rule that out.
    Insert your install disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu and launch Disk Utility.
    (In Mac OS X 10.4 or later, you must select your language first from the installer menu)
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
    Select your startup disk and click Restart
    While you have the Disk Utility window open, look at the bottom of the window. Where you see Capacity and Available. Make sure there is always 15% free space.
    Carolyn

  • Updated to 4.0 version and when it loaded I got 4 identical icons on my desktop. I went back in time on my computer and now Firefox won't open.

    Updated to 4.0 version and when it finished loading I got 4 identical Firefox icons on my desktop. I went back in time on my computer to go back to an order version and Firefox won't open or is very slow to open.

    Do a clean (re-)install:
    * Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 4.0: http://www.mozilla.com/firefox/all.html
    * Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Don't remove personal data if you uninstall the current version.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    * It may not be necessary to create a new profile, so first try if it works with your current profile and if not then create a new profile.
    Your bookmarks and other profile data are stored elsewhere (not in the Firefox program folder) and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    * http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Purchased MLB via 1 of my 3 appletv's. My oldest 2nd gen 720P shows "error loading content" for all games. What's up?  Also I can't get MLB to work on my iPad2, iPhone 4S or iPod 5th gen. Arrhhgg

    Purchased MLB via iTunes on 1 of my 3 appletv's. My oldest 2nd gen 720p shows "unable to load content" for all games , but my other 2 appletv's work fine, restarted problem appletv to no luck.  Also can't watch games on my ipad2 "unable to restore from iTunes" , iPhone 4s " unable to connect to MLB.com" or iPod 5th gen.

    Purchased MLB via iTunes on 1 of my 3 appletv's. My oldest 2nd gen 720p shows "unable to load content" for all games , but my other 2 appletv's work fine, restarted problem appletv to no luck.  Also can't watch games on my ipad2 "unable to restore from iTunes" , iPhone 4s " unable to connect to MLB.com" or iPod 5th gen.

  • Error Loading Content

    I just upgraded AppleTV software to 5.1 (5201) On Oct 15, 2012, now I keep seeing ERROR LOADING CONTENT when I play music from iTunes using iTunes Match. Songs will play for about a minute, then Apple TV says ERROR LOADING CONTENT. What's going on here?

    Contact iTunes Store support - there could be an issue with Apple's servers but it's unacceptable you can't watch content you've paid for.
    Assume AppleTv works ok for YouTube (test it if you don't use it often) and any local itunes streaming?  (just to test local network and internet connectivity)

Maybe you are looking for

  • Quicktime DV file opens on Mac... but not PC.

    Long story short, I'm using VirtualVTR to record DV files. I can open and play them with no problems at all on a Mac machine, but XP gets a -2048 error. Until recently, I would get this error on a select few files... but now it's every file. To confu

  • Ability to open multiple SQL Worksheets for the same connection

    Hi, Please allow the ability to open multiple SQL Worksheets for the same connection, now only one can be opened. Thanks

  • How to recover a video received in iChat 2 months ago?

    I was able to find the chat by searching for it in the Finder but I tried to click on the videos and it just said the video file name. The chat was from January 24, 2015.

  • T400 won't wake up or start up after leaving it on all night

    I just bought a T400, downgraded from Vista Business to Win XP SP3 and installed all of the win xp drivers.  When I leave my computer on all night, the next morning I will have issues waking the computer up.   I try FN+F3, FN+F4 (to force it to sleep

  • The stupides application ever

    This Itunes is a joke. Ok, I got the part where to manually load music or anything else I have to click in thousands of places to stop it syncing what I don't want and delete stuff without asking me. Now I'm trying to place some episodes of a podcast