Loader component not scaling content

I am using a loader component to load an external swf into
main movie. As swf plays, content that should be off stage is
showing outside the box of the loader. Scale content is set to true
and swf is sized down, but will not stay within loader.

Yes, because of the size of the stage being larger than that
of the Loader and loaded SWF, you will see it rendered 'outside'
the Loader component.
Simply mask the area of the Loader Component, in the loading
SWF.

Similar Messages

  • Loader Component IE7 Scaling Content Issue

    Hello,
    I have an image gallery that is using Loader components to
    pull in the thumbnails and i have the scaling set to true, but in
    IE7 it is very inconsistent in scaling... IE6 and Mozilla work
    great, but IE7 is inconsistent... click on the top left to view
    image galleries, then select Family or Weddings and you can see
    what i mean..
    http://www.gummyinteractive.com/projects/infinite/
    thanks in advance!

    Yes, because of the size of the stage being larger than that
    of the Loader and loaded SWF, you will see it rendered 'outside'
    the Loader component.
    Simply mask the area of the Loader Component, in the loading
    SWF.

  • Loader component not displaying content

    I had this issue on a few different projects and have not
    been able to find a solution:
    When loading an image with the loader component, the image
    only displays about half the time even though the complete event is
    received. I sometimes see a quick flicker of the image.
    I have tried both calling invalidate() and resizing after
    loading has completed, but does not help.

    i had a similar issue with that, what i did was create a
    class.
    this class was linked to a movie clip, and whenever i'd need
    an image loaded, i'd simply attach this movie.
    as for resizing and positioning of the image, i also did a
    code in my enterframe that always made the image centered with a
    max size and height of 100, that way it was always proportionate
    and i could simply control the size by controlling the xscale and
    yscale of the image movie clip.
    hope this helps
    class image extends MovieClip {
    function image() {}
    function loadImage(sPath){
    this.createEmptyMovieClip("mContent", 0);
    // you can also attach a loader there
    this["mContent"].loadMovie(sPath);
    this.onEnterFrame = function () {
    if(this["mContent"].getBytesLoaded() ==
    this["mContent"].getBytesTotal()) {
    //remove the loader
    this["mContent"]._visible = true;
    } else {
    // update the loader
    this["mContent"]._visible = false;
    }

  • ContentPath not working in a loop for a Loader component

    i'm trying to load pics into a loader in my movieclip, i'm
    looping through about 20 items, to be placed in a movieclips
    dynamically attached...
    this does not work...
    mcContainer['node'+nCount].pic.contentPath=myimagepath;
    this does work...
    mcContainer['node'+nCount].pic.loadMovie(myimagepath);
    but it does not come in scaled / sized like I want...
    any reason why the images do not appear in the loader
    component in the movieclip? it's like the screen is not being
    refreshed or the loader never finishes, when I trace the
    contentPath after the fact it says the right path, but no image is
    there.

    contentPah is used to specify linkageID's only, and will not
    work for a URL. you correctly used the load method to get the
    picture in there, now you just have to scale it. if you set the
    loader's scaleContent to true, your image will scale to the
    loader's size, and vice versa if you set the property to false. if
    you need to do some custom scaling based on the size of the image,
    you can grab those properties like so:
    myLoader.content._width
    not that the above property, and any scaling commands, will
    only work after the loader finishes loading, so you'll need to put
    that stuff in an event handler for the loader.complete event...
    hope that helps

  • Center content in loader component

    Hi,
    I'm trying to use the movie class loader component to set up
    a photo gallery.
    I want to center all of the images, but they are staying to
    the top left.
    Any suggestions?
    Thanks!

    cannot see any way to edit or delete posts so im going to have to add another one on to the end....
    The insertComponent(component) method does not work. it simply adds nothing to the JTextPane. i looked at some other psots that suggested setting the text pane to editable, then adding then setting back to uneditable but that didnt work. i have a class that extends JFrame which calls the construction of the JTextPane
    the JTextPane runs through a html file rendering itself as it goes, but when it gets to the image and calls the method insertComponent(image) it just doesnt show up in the JTextPane whe nthe JFrame finally opens up.
    If i use the method add it shows up fine, just not centered where it should be. Any ideas?

  • Engage upgrade failed - could not load component library

    Can anyone help with this......
    I had Xcelsius 4.5 Pro and have bought the download to upgrade to Engage.  I couldn't get it to install to begin with so I did the fix with Regedit and permissions. This allowed me to install the software but, on opening, I get the message "Could not load component library"  I have tried uninstalling and re-installing the software - this didn't work.  I also downloaded and installed Service Pack 1 to see if that would fix it, but I am still getting the same message.  Grateful for any help with this problem please.
    Thanks,
    Ronnie
    Edited by: Ronnie Leishman on Sep 5, 2008 10:22 AM

    The cause of the error sounds like it is being thrown from the communcation between Xcelsius 2008 and the Canvas itself.
    To further debug the issue, I'd suggest installing the debugger version of Flash Player.  If there is a problem there, then this should expose it.
    Uninstall Flash:
    http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player.exe
    Install Flash Debug Player:
    http://download.macromedia.com/pub/flashplayer/updaters/9/flashplayer_9_ax_debug.exe
    Note: make sure to re-install the regular Flash Player after troubleshooting.
    Please post the message that the debugger displays if one so happens to occur.
    Thanks,
    -david

  • Application loader wants a 'hosted content package', but does not accept a package created by PackageMaker?  What exactly does App Loader want?

    Am attempting to create an in-app purchase with a few files embedded.  It appears that the hosted content selection would be what I need, yet Application loader is not accepting a .pkg (or .mpkg) that PackageMaker has created after I loaded the files into PM.  What am I missing?

    I have the same problem. Apparently PackageManager is for creating bundles for the Mac and not for in-app purchases.
    Im just about to quit on host the in-app purchase on apple and just creating my own server for that. Its very frustrating because there´s no documentation on how to create a iOS in app package. In the application Loader documentation is assumed that the package is already created.

  • My apple tv says can not play content of a tv show I just down loaded. Why?

    My Apple Tv says it can not play content of a tv show I just downloaded on my iTunes. Why?

    same problem here.

  • AIR application with Flex 4.5 will not render content. What gives?

    OK,
    So I've upgraded to Flash Builder 4.5 Premium and I am unable to develop desktop AIR applications with the 4.5 Flex SDK. I start by simply creating a brand new AIR application using the default SDK (Flex 4.5). I set the title property on WindowedApplication and include a simple Label component. The project compiles fine but when I run the application all I see is the adl window in the dock but that's it. If I modify the Main-app.xml file to set the visible attribute to true, I will get a small window but there is no content although the output window shows the application swf being loaded. Checking the release version of the Main-app.xml file shows the correct path location to the swf.
    Here is what I've tried so far:
    Install/reinstall Flash Builder, 4+ times
    Downloaded the trial installation twice
    Downloaded the SDK's for 3.6, 4.1 and 4.5.0. I then copied each SDK folder and merged the AIR 2.6 SDK with each copy. So now I have 6 SDK versions; one pristine and the other with the AIR 2.6 SDK merged. I then added each SDK individually and created an AIR desktop application for each. Each and every one works fine with the exception of the two 4.5 SDK's. They will not render content.
    I created a simple creation complete handler for the application that declares a simple variable and assigns a value to it. I then put a break point on the assignment and it never gets caught. More evidence that the swf isn't getting loaded.
    The computer I'm running on is a Mac Book Pro with Snow Leopard 10.6.7. If I create a web project in each of the 6 SDK's, those will work just fine. What the heck is it with Flex 4.5 and the AIR 2.6 SDK on this machine? I have the AIR 2.6 runtime installed as well as a number of AIR applications that work just fine. I also tried my 4.5 test on my windows machine and that worked like a champ.
    I am completely out of ideas. Finding information has been difficult because everyone is all about mobile so searching for desktop issues is a losing battle. I realize this is a long email but I'm desperate for help. There must be someone out there that knows more about the low level interaction between Flex 4.5/AIR 2.6 and the OS.

    Well, I finally found the issue, a corrupted mm.cfg file in /Library/Application Support/Macromedia. I deleted the file and then adl ran just fine.

  • LOADER COMPONENT ISSUE

    I noticed that when using the Loader component in Flash 8 -
    the following issue:
    I have a thumbnail gallery that uses the Loader component to
    view the large image.
    when i view the site in fire fox it works perfectly (scaling
    the content and centering it within the loader component shape)
    but when i view it in IE - no scaling or centering occurs!!??
    any idea why this is happening and how i can rectify
    it?

    Hey why don't you try adjusting the permissions and hot
    linking protection on your servers control panel? This might be the
    problem.

  • CS3 Loader component and IE7

    I'm not too sure I want to troubleshoot anymore when it comes
    to the Loader component and IE7, but I wanted to check if anyone
    has anything new on the matter. All searches concerning this issue
    show unanswered posts, so I guess it's just another bug/conflict
    that Adobe isn't concerned about or if the issue is just with IE7.
    The main issue is when loading images into the loader component,
    scaleContent set to default (true), autoLoad set to default (true),
    when images are loaded, they are not always aligned properly in the
    center. Plus, most of the time I see a flicker of the image
    appearing either on the top left or bottom left of the loader
    before the image appears as it should. I've even tried AS2 to
    center the loader.content._x and loader.content._y on
    listener.complete (see code), but randomly the loaded image's (0,0)
    position seems to be in the center of the loader (I was going to
    provide a screen shot of what I'm talking about, but I think the
    explanation is clear). All the above works great on Firefox, Opera,
    Safari, and even the crappy AOL browser, but not consistently on
    IE7.
    Is this a known issue or an unsolved bug?
    Unless anyone has an answer to the above, I would like to
    also ask around about purchasing loader components online. I've
    seen several, but wanted some testimonials from people who have
    used them.
    If anyone wants to visually see what I'm talking about, go to
    Design Visions of
    Austin and click "on the boards". If you compare the website
    using Firefox versus IE7, you will see what I mean.
    Thanks to anyone who can help. I hope this post doesn't go
    unanswered. In the past, I've helped a lot of people, so I would
    appreciate if someone could help me for once :) thanks again...
    I just realized... two variables I mentioned in my code were
    assigned prior to the attached code.
    var cpLoader:mx.controls.Loader;
    var cpLoaderWidth:Number = cpLoader.width;
    var cpLoaderHeight:Number = cpLoader.height;

    The flicker happens on both FF2 and IE7, and is because you
    are positioning after the load is complete. To solve this, set the
    visibility of the Loader to false (cPLoader._visible = false;)
    before moving the content, and to true after. IE (you could try it
    this way, but it might not work)
    cpLoaderListener.complete = function(evt_obj:Object) {
    mcPreloaderClip._visible = cpLoader._visible = false;
    var cpLoaderContentWidth:Number = cpLoader.content._width;
    var cpLoaderContentHeight:Number = cpLoader.content._height;
    cpLoader.content._x = (cpLoaderWidth - cpLoaderContentWidth)
    / 2;
    cpLoader.content._y = (cpLoaderHeight -
    cpLoaderContentHeight) / 2;
    cpLoader._visible = true;
    It would be better to set cpLoader._visible = false on the
    button click that loads the image, maybe with an automatic fade out
    implemented to make it smoother. Then setting it back to true after
    moving it fixes the flicker effect.
    As for the centering not working in IE7. The very first image
    does not center properly in IE7, but after that everything works
    identical to FF. I am unsure how to fix that issue. I have always
    implemented a centering script myself to ensure that things get
    centered properly, and have not yet had any problems with it.

  • Window Component with Loader Component

    I have the SWF loading into a shell using a Loader component.
    Within one swf is a trigger for a window - which ,suprise suprise,
    doesn't work. It works fine if I access the swf directly just not
    when loaded through the shell. I have added the component to the
    shell fla and then although a window component loads up, the
    content (which is linked in the library) is not found. Anyone come
    across this before?

    There is a discussion of modules and popups on my blog
    Alex Harui
    Flex SDK Team
    Adobe System, Inc.
    http://blogs.adobe.com/aharui

  • SWF not scaling correctly

    Hi, I'm new to the OSMF and have a question about swf scaling. I've done exhaustive searches with every search engine I can think of and haven't found an answer, so I'm posting here in hopes that I can get this resolved quickly. Here's my situation.
    I'm using the OSMF to loop through swf, images, and movies. I'm using a serial element and letting it scale contents up to the size of the MediaPlayerSprite. The first time each swf is loaded, it is scaled incorrectly. The 2nd time through, the swf gets scaled correctly.
    I'm assuming this is because the scaling is happening before it the metadata for the swf is loaded. I have no guarantees that I can ask that a swf be made in a certain manner, so adjusting the incoming swfs is not an option.
    I've tried numerous workarounds with little success. Is there any way to preload the swf so that I have metadata by the time the OSMF needs to play it? Also, any other solutions would be welcome.
    Thanks
    Robert

    Jared,
    (First time poster too!)
    I've got the same problem and no amount of anything I've
    tried has worked.
    However, there is a work around - bit of a pain but it
    works...
    Publish your fla to Flash Player 6 and then insert you swf
    into Captivate 1 (one). Save it then open Captivate 2 (two) and
    open the previous saved Cap1 file - accept all the dire warnings
    about overwriting etc and it works. Not tried inserting Cap1 files
    in the middle of a Cap2 movie yet but I'm sure it can be made to
    work.
    Adobe - please tell us there's a fix coming out for
    this...

  • Getting an error "file not supported/necessary componant not installed

    Any help on a error im getting, file not supported/necessary componant not installed

    Jesse,
    From what you have described for Test 1, 2, and 3, I get the impression that you are OK with a new project, but that your are having problems with these saved projects.
    At this point, I think it important for you to keep a log of the project details to avoid confusion.
    Test #3.
    I am going to start with that Test 3 that was a new project, but almost successful (made it to about the 93% mark before transcoding error set in). I suspect that different factors are involved here than what brought you to the forum. Focus Step 12 in Test #3 where you said that you edited the movie line. How did you edit..added transitions, effects, titles, other? What was the length of the Timeline content? What DVD menu template did you use (how many main menu pages and how many scene menu pages)? When you went to Share/Disc/Disc and the burn dialog there, what did it say in the Quality Area of the burn dialog for Space Required and Bitrate? Also, at this time what did your computer show for available RAM and free hard drive space? Where were your scratch files (Edit Menu/Preferences/Scratch Disks) directed and did that drive have enough free space to meet the task?
    Test #1.
    Your success with this new project was expected. It would be nice to know what kind of .avi that you used, but, whatever they were, they worked to give you your DVD-VIDEO. What was the length of the Timeline content. What DVD menu template did you use (how many main menu pages and how many scene menu pages)? And, I am correct in assuming that this was an independant project...different source media and edits than # 3?
    Test #2.
    Here I believe is the true issue that brought you here.
    When you say "Open existing project", it this the project from Test #1 which you closed and saved? Or, is it another existing project?
    If you are not doing so now, please do Test #2 using the saved project prel from Test #1.
    Now, I would like you to open Premiere Elements 4, in the Welcome Screen select the "Open Project" Folder, in the dialog that opens click on the Test #1.prel. The project should load, and you should find yourself in the program's Edit workspace. OK, so far? If so, what do you do next?
    I was slow in typing again, so I hope that I am not out of sync with other messages between you and Hunt.
    ATR

  • Flash Loader Component

    Hello,
    I'm trying to load an external image (JPG) that is 5000 by
    300 Pixels.
    The Loader component seems to be cropping the image at about
    3300 by 300.
    Is this the max size?
    If so is there a work around ?
    Else then why will it crop at this size when it is not being
    specified anywhere?
    Please Advise this is a time crtical question.

    BrunoSousa2006 wrote:
    > Hello,
    >
    > I'm trying to load an external image (JPG) that is 5000
    by 300 Pixels.
    > The Loader component seems to be cropping the image at
    about 3300 by 300.
    > Is this the max size?
    the max size is 2880, anything beyond that size will cause
    problems.
    > If so is there a work around ?
    Yes, cut content into smaller parts, load it and put it up
    together into one.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

Maybe you are looking for