Weird external jpg problem

Hi,
I'm setting up a swf file that is loading external images.
The swf is loading the external images when played with
2click, but when I insert the swf into html, the swf won't load
images anymore
Hope you can help me with this...you can take a look at the
as2 that I'm using
I'd really really apreciate if you can help me as quick as
posible.
Regards
Link to the
problem

well, what happens?
why isn't anyone trying to help me?

Similar Messages

  • Vista problem with loading external JPGs?

    I'm really pulling my hair out on this one. I did a quick
    flash piece for a preschool's web site and have tried several
    different Flash components inside of a larger FLA file that load
    external JPG files in a predefined area. With each component, I
    have received complaints (so far only from Vista users) that the
    user sees nothing in the area where photos are supposed to be
    loading. Instead they just see a white or black box.
    Is there any known issue with this? They can see everything
    else in the SWF file (the swinging girl and the text), but not any
    of the loaded JPG photos. Can anyone else out there with Vista tell
    me that they have the same problem? I'd like to track down what the
    common denominator is.
    I've asked two of the users to completely uninstall the Flash
    player and reinstall it, but to no avail. Deactivating Norton
    Antirvirus also didn't seem to do anything.
    Here is the URL:
    http://www.countryvillageps.com
    -- the flash item is the top banner.

    As Ned said the problem might be with the file structure on the server. Other problems may be with spelling. You computer may not be case sensitive to the names of the .swf files that you are loading, but your server might. So, on your computer when you are testing, second.swf is the same as Second.swf, or even second.SWF. But, on the server each of these variations is seen as a different file. Another problem is that when you are loading files from the same computer in testing, those files are close and so they load very quickly from your computer. When the files have to travel from the server, there will likely be a measurable period of time before the file is ready to be shown. This is particularly problematic with video that is embedded into an .swf. The whole file will need to be downloaded and uncompressed before it is available to play. If you stream the video as an external file, you can shorten the wait considerably.

  • Flash MX Preloader for external JPGs

    Hey all! Any help would be greatly appreciated. In all
    honesty, I have searched and studied and worked to get this myself,
    which I do alot with code, etc. BUT I am going to admit I'm a "make
    it pretty on the outside" kind of guy, and coding makes my eyeballs
    fall out and well, honestly, I just don't get it. My brain can not
    wrap itself around this. Sigh! So I could use your help a little.
    This is what I'm wanting to do. I have a website,
    www.luxeillustrato.com, and if you go to the portfolio area, and
    click on any of the sections (take fine art for example); it will
    showcase my works by loading external jpg files each time you click
    the forward arrow button.
    You can see I have preloaders on the site, that work fine. My
    main page has a movie target with the instance name of photoM. You
    click "artist", and it loads a new swf file into the photoM target.
    IF you click on "portfolio", "fine art", it loads the fine art swf
    file into photoM, using a preloader. THEN, if you click on the
    forward arrow button, a new jpg image of my work is loaded into the
    fine art movie target with the instance name of just
    photo. As you can see, you have to wait until the jpg image
    loads (and you start to wonder if it's doing anything.)
    The problem is, it is not preloading the external jpgs, it's
    just preloading the fine art swf. My preload code is currently:
    stop();
    onEnterFrame = function () {
    totalBytes = _parent.getBytesTotal();
    loadedBytes = _parent.getBytesLoaded();
    percent = Math.ceil((loadedBytes/totalBytes)*100);
    gotoAndStop(percent);
    info_txt.text = percent+" %";
    if (percent>=100) {
    _parent.gotoAndPlay("inter");
    I already have the preload animation bar created (as you can
    see on the site.) What do I need to do to alter the code above (or
    replace it) in order to have the external jpgs be preloaded as
    well? For example's sake, let's just say I have four jpgs, titled
    "door.jpg", "orange.jpg", "boyfriend.jpg", and "untitled.jpg" (in
    case these are needed for the code. They may not be.)
    I hope this is easy to understand. If NOT, just tell me. I'll
    simplify. And seriously, thanks!

    put a stop() on the first frame of your external swf in an otherwise empty first frame.  when preloading is complete apply a play() to your loader's content cast as a movieclip:
    function contentLoaded(evt:Event):void {
        //Optionally change to a clip holder and set progressbar visibility.
        addChild(contentLoader);
    MovieClip(contentLoader.content).play();

  • Creating an Array of external JPGs, please help.

    So what I want to do is load up external JPGs into an Array of MovieClips, and then go to the main onEnterFrame function. My code is below:
    var imageLoader:Loader = new Loader();
    var imageArray:Array = new Array();
    function loadImage():void {
        for (i = 0; i < 9; i++) {
            imageLoader.load(new URLRequest("image" + String(i) + ".jpg"));   
            imageArray[i] = new MovieClip();
            imageArray[i].addChild(imageLoader);
        addEventListener(Event.ENTER_FRAME,onEnterFrame);
    I tried adding an Event.COMPLETE function I found:
    imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
    function imageLoaded(e:Event):void {
         var image:Bitmap = (Bitmap)(e.target.content);
         imageArray[i] = new MovieClip();
         imageArray[i].addChild(image);
    Unfortunately, I usually only ended up with 1 or 0 images, and errors. I can't seem to properly pass the i
    value, so that's a big problem because the order the images go is key to my program.
    Please help me get this working so my image gallery can work, thanks!

    So the problem is that you want them in the array in the same sequence am I right on this?
    See the updated code:
    var imageArray:Array = new Array();
    var imageLoader:Array = new Array();
    function loadImage():void {
        for (i = 0; i < 9; i++) {
            var imageLoader[i] = new Loader();
            imageArray[i] = new MovieClip();
            imageLoader.load(new URLRequest("image" + String(i) + ".jpg"));   
            imageArray[i].addChild(imageLoader[i]);
            //imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
        addEventListener(Event.ENTER_FRAME,onEnterFrame);
    /* function imageLoaded(e:Event):void {
         var image:Bitmap = (Bitmap)(e.target.content);
         imageArray[index].addChild(image);
    In this case you can not track whether an image is loaded or not. It is the most simplest way of doing this. If your images are not coming from dynamic sources and are fixed in number and position you can use this method also.

  • Load a  external jpg in BitmapData

    Hello Everybody,
    I search a way to load a external jpg from my server in my
    swf to use
    it with the BitmapData-Class.
    The Method loadBitmap only works with images from my internal
    library.
    What do you think is the best way to solve this problem.
    For me it seems to be a little bit stupid to load the image
    in a MovieClip.
    Then Scan the Mc to write it in a BitmapData-Object.
    To Filter it. And then write it back to an MC.
    Do you know a way, where I can load it directly to and
    BitmapData-Object
    like this:
    1) load Image in BitmapData-Object
    2) Filter - Image
    3) attachBitmap to MovieClip
    I am a noob with Flash 8 and my english is very bad.
    So sorry and thanks for you help
    jm

    //import BitmapData
    import flash.display.BitmapData;
    //stop movie so it doesn't repeat over and over
    stop();
    //load a pic into an mc on the stage
    content_mc.loadMovie("flash.jpg", 1);
    //create a function that runs every frame (only for this
    example, it keeps running and you won't want that
    _root.onEnterFrame = function() {
    //this is the interesting bit, basically the next line is
    your preloader 100% action, the pic has to actually have been fully
    loaded before we can do this
    if (_root.content_mc.getBytesLoaded() ==
    _root.content_mc.getBytesTotal()) {
    //create a variable to hold the bitmapdata info
    myBitmapData = new
    flash.display.BitmapData(content_mc._width, content_mc._height,
    true, 0x00FFFFFF);
    //copy the bitmap into the bitmapdata variable we just
    created
    myBitmapData.draw(_root.content_mc);
    //now attach it to a different mc for the sake of example
    _root.content_mc2.attachBitmap(myBitmapData, 1, "auto",
    true);
    //rotate both movieclips so you can see the difference
    _root.content_mc._rotation = 30;
    _root.content_mc2._rotation = 30;
    supplied by myFlash83

  • Possibly mundane Mini-DVI to VGA into an external monitor problem

    Hi,
    I've had a look over the interwebs regarding my problem and it seems as if it's not unusual to have external monitor problems but I'm not sure if mine is slightly different:
    I had a perfectly working set up with my new Macbook (the white one, '06 model I believe), that was connected to my Hanns-G HU196D monitor via a mini-DVI to VGA adapter, no problems whatsoever. But for a couple of weeks now my Macbook just flickers a light blue colour, with nothing at all on the monitor, and my macbook is unusable until I remove the adapter. I've read about updating firmware but I can't see my desktop once the macbook is connected to the monitor so it's not possible to configure anything. I've read somewhere that my external monitor isn't compatible with this set up, but it was until a couple of weeks ago!
    My Macbook's 4 months old now and since then I've bought a new mini-dvi to vga adapter and a new VGA cable, no connections seem loose on either mini-dvi port or my monitor's vga port.
    Thanks if you can help!
    Jack

    You will need to use a mini Dvi-dvi and a dvi-svideo/rca adapter.
    Joy joy hallelujah.
    Pardon the sarcasm...I just wasted 3 hours of my life trying to sort the issue out.
    Heard a KWORLD PlusTV PCTOTV Converter SA235 USB 2.0 Interface would sort the issue out for under 40$ but it's not Mac.
    Hope that helps.
    ~r

  • External Display Problem with x301

    Hi everybody,
    I have a external display Problem with my x301.
    Ether direct attachment or via Lenovo USB Display Port  Device, the external monitor (22" Benq LCD) starts to flickr after a couple of minutes and the external display shuts off.
    Any ideas on this?
    Thanks a lot
    Chris 

    i have the same problem with X200 and the X200 ultrabay Docking station.
    No idea yet ...

  • Need to load external jpgs at once

    I am using loadMovie to load all my external jpgs at once. On
    start I have thumbnails which animates, and using loadMovie load
    jpgs into that thumbnails. Offline it works fine, but online it
    only loads few jpgs first with animation and rest loads without
    animation just blink and loads. can you help me out for this.
    this is my sample page link:
    http://suewong.yourdemowebsite.com/editorial.htm

    Look at MovieClipLoader instead - images take time to load.
    You have to wait
    until your files have loaded before trying to use them - MCL
    is best for
    that, with its onLoadInit method.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Loading external JPGs

    I'm building a generic slideshow. The slideshow displays NINE
    buttons. Each button, when clicked, will load a corresponding
    external JPG. For example, if I click BUTTON THREE then JPG THREE
    is loaded. BUTTON TWO loads JPG TWO, etc.. I'm looking for a way to
    "recognize" if there are FEWER available JPGs than the NINE BUTTONS
    in my slideshow. For example, if I have just FIVE JPGs available
    and I click on button number SEVEN, I want nothing to happen. At
    the moment I get an error message that JPG SEVEN does not
    exist.

    that error message won't be seen outside the authoring
    environment. once you publish, pressing button 7 will result in
    nothing happening.

  • Preload External Jpgs

    What is the easiest way to preload external jpgs? The client
    wants to update these frequently so they should be external, but I
    want them to show up instantly like the rest of the site once the
    preloading is done.
    Any advice? I had thought about loading them into the
    preloader (at 0% alpha), so that they'd be loaded into the cache
    during preload, so that when the home page comes up, they'd be all
    ready to go? But if it's a different instance of the movieclip,
    will it reload the jpg? Or any time i use that external jpg in the
    flash file will it already be in the cache?
    Thanks. I've heard a few different things and would love your
    advice.
    Jeremy

    There are two different things here. pre-caching (I don't
    know what else to call it) and pre-loading.
    It is possible to pre-cache files off the same server. If you
    load into different instances then it should get it from the cache,
    so yes that would speed things up. But... results are dependent on
    an unknown factor: the user's cache settings. If its set to never
    cache you could end up downloading 'to the cache' and just wasting
    bandwidth.
    You can read about that approach here.
    http://www.actionscript.com/Article/tabid/54/ArticleID/Preloading-Files-into-the-Browser-s -Cache/Default.aspx
    Then there's the regular preload approach where you preload
    into movieclips (perhaps with ._visible=false or 0% ._alpha etc).
    You can find a lot of info relevant to that here:
    http://www.quip.net/blog/2007/flash/actionscript-20/tracking-multiple-files-part1
    http://www.quip.net/blog/2007/flash/actionscript-20/tracking-multiple-files-part2

  • External jpgs

    I am building a webpage and have my dynamic text loading from
    a text file, it loads whwnever the page loads. I also have a jpg
    loading through a blank movie clip which currently loads only when
    the button is clicked, my button code looks like this:
    on (release) {
    about.loadMovie("about.jpg");
    How can I get this to load whenever the page loads, and still
    load it as an external jpg?

    Thanks guys I had tried some script on the same frame, but
    everything didn't load the same, maybe it was the way I did it. So
    after a while of playing around I think I got it.
    I put a blank movie clip on the stage, gave it an instamce
    name, then added a loader into the movie, which was fairly easy all
    I had to do was use the component inspector and put the jpgs name
    in. After that everything loaded pretty good. now if can only
    figure out how to make transitions work.

  • External jpg not loading when slideshow is live.

    When testing locally the slideshow works fine. When i upload
    the swf the external jpg do not show up. Anything graphic embedded
    in the swf shows up. The external jpg don't :/
    The jpgs are uploaded and all.
    i use different syntax that work ok when testing locally but
    no cigar when uploaded.
    I can send the simple fla and jpg upon request.
    Tks for your help

    are you using preloader code or the onLoadInit() method of
    the moviecliploader class to ensure your images are loaded before
    starting the countdown to the next image load?

  • Serious external drive problems after installing Mavericks

    OK, so now I am seeing multiple external drive problems. Here is my setup: A GTech 4TB drive connected to MacBook Pro via Firewire, formatted of 2 partitions of 2TB each (called GT1 and GT2). This is then daisy chained to two WD drives of 2TB each, called WD1 and WD2.
    After installing Mavericks everything worked fine (in fact I have an amazing speed increase). However, after restarting my machine this morning I have the following issues:
    The GTech is now a single partition called MyBook (obviously a hangover from the WD drives. I suspect the WD drive managment software) with NO data files. Interestingly it shows the following USED 1,106,870,272 bytes (1.11 GB on disk). This suggests that one of the partitions has disapeared completely.
    Whilst WD 1 launces ok, WD 2 causes the Finder to relaunch whenever selected, meaning I can't get to the files. I remember having this problem before when I upgraded to SL, and it having something to do with hidden files that needed to be deleted via the terminal. However, I have searched the web and can't find the solution again.
    Given that WD 1 and 2 are my backups of GT 1 and 2, then I now have a situation where I cannot access my primary or backup files for GT 2. Very impressive - not!
    Can anbody remember the hidden file solution for the finder relaunch?
    Can anybody help me get back my GT1 and 2 partitions (as they have the latest work on them)?

    FIrewire & Thunder bolt drives are having issues with Mavericks, avoid same until a fix is issued if you can.
    many are reporting same, there is a firewire fault and TB HD on external HD from LaCie (Seagate) and from WD especially.
    Technicians are looking into it.
    Until there is resolution, consider setting up a USB ext. Time machine HD.
    Until then consider confining Mavericks use with USB HD.
    Ive tested a very long line of USB HD on Mavericks, all seem fine.
    Recommend anyone DO NOT ATTACH any WD MyBook externals (firewire, thunderbolt or otherwise).     
    I dont have same to test, so I dont know if the problem is in the firmware on the SATA bridge or if its a problem with the WD software

  • Preloader whilst loading external .jpg

    This is the script I use to load external .jpgs into a site
    btn1.onRelease = function (){
    loadMovie("Bike.jpg", _root.photo.empty);
    _root.stick.gotoAndStop(80);
    How would I create script so that it creates a sepaprate
    preloader whilst each image is loading.

    for something like this it's best to use the MovieClipLoader
    class, rather than loadMovie() - doing so will allow you to use the
    onLoadPrgress handler to update the preloader while it's being
    loaded. it would go something like this:

  • [Q] Loading one external JPG file into different MCs & Downloading

    Hi, I was wondering if I set few MCs to load the same
    external JPG file, would users need to download thme few times?
    Or only need to download once?
    I am having trouble loading long 700*8000 jpg files due to
    limited pixel size of 2300(?).
    I was thking of making them into 2000 * 2000 square pictures
    by cutting long picture into short sigments and putting them side
    by side.
    and using AS to make them appear as single long picture by
    using 2 MCs with same image but at different x position of loaded
    square Picture.
    Anyone have better idea?
    I am bit hesitated to make jpg to swf files cuz I have too
    many pictures
    Plz spare some time for me..
    Thank you for your time~!!!!

    thank you, kglad..
    I was thking of making 700 * 8000 image into 2800*2800 image
    this square picture works as four (700*2800) images.
    So that i can use 2 set of same jpg MC with differnt Masking
    to make them
    appears as continuously long images
    eg. 1st Mc will be showing _x: 0-700
    at the bottom of the first MC, 2nd MC will be showing _x:
    700-1400
    and so on so on..
    so..when user is scrolling down..these MCs will makeing
    sqaure image
    as long portrait image..
    I dont beleve myself it is a good solution..
    Probably most suitable way would be what you just suggested
    me..
    Its just that it will be quite a time consuming job to make
    jpgs into swfs...
    Thank you again for your kindness..:)

Maybe you are looking for

  • Very Strange Logic Studio Installing Problem, please help !

    Hello . I wanted to install Logic Studio 9 on a brand new imac and somehow installation was failed . Than i erased what ever i could which was left from the failed installation . And now i am trying to reinstall, but this time Installation is not ask

  • How to adjust wireless setting to static IP

    I have a HP 4620 wireless. shows ready to go, but is "offline" to my laptop. I use two routers (ext)  in the house. Have tried to adjust settings as shown in one of the posts IP Address 254 or less.... but won't allow the settings. Please help me to

  • Passing Variable from frame to frame

    Hi- I have used JFileChooser to let the user select the location of a picture. I have then stored the location of the picture into a String. This is all done on the MainJFrame of the program. I am having trouble passing this string to a different Fra

  • How do I recover search bar and empty cache function in Safari?

    My search bar function is gone from Safari and my empty cache function is gone from Safari after the last update.  I only get the URL bar.  I've tried deleting and then dragging the toolbar items back in.  doesn't work.  Any help would be appreciated

  • TOC overflow error when installing oracle on AIX 5.3

    hi, please can any one help me to resolved this problem .when i m installing oracle 10.2.0.2 on AIX 5.3 following error comes.in insallation log file. INFO: ld: 0711-773 WARNING: Object /oracle/oracle_home/lib//liboraolap10.a[sxstime.o], imported sym