Flashes white just front of loading images

Hello Forum members

I have a strange problem. I have developed a Flash slideshow that loads 6 images from the web server using a backhoe to xml (the image names in a

XML file), and then load it these images in a table.  I have a xmlloader to read the xml file and a loader that loads the images in the table,

then change the images every 4 seconds approximately.

My problem is that when opening the web page to a client, the space where it is the flash object (in a table)

flashes white until the images are loaded.  I thought I could solve the problem by making the step of the same color that

the background on the web page. No dice, I see even a white box (800 x 320 px) it is the size of the stage and the size of

images.

When I compile it on my computer, if I look quickly I see a quick flash of white just before loading the images!

The web site is: www.andiamoadventours.com.  I didn't develop the page, but put the Flash code in the index.html page.

There is a lot of javascript on this page, perhaps developed in Dreamweaver.

Any ideas on that?  I can reach the action script code if you wish, for more details.  Let me know about it.

Basically, the images are located in a folder on the web server, the xml file has the names of the image, the xml loader reads the xml file,

and when it is complete, go to a routine that takes the name of the image from an xml list, I created and then load it a table.

I load the image into the charger, etc.  It is clearer with the code.  I use CS4 and a document class, slides.as.

Thank you

eholz1

I would remove the object/embed code that you use to embed the swf file - for one it is completely out of date, she always refers macromedia.com... Instead use SWFObject to embed and set the bgcolor of the film... you can do with the object/embed method too but SWFObject is a much better choice.

Tags: Adobe Animate

Similar Questions

  • 6 of Lightroom. When I opened to develop & load an image from the image after is removed a pale blue screen.  If I shared the screen I can see the front of the image but the image after rest as a blue screen. Clues please?

    When I opened to develop & load an image from the image after is removed a pale blue screen.  If I shared the screen I can see the front of the image but the image after rest as a blue screen. Clues please?

    Most likely, LR has problems talking to your video card.

    In the Preferences dialog box, tab Performance, disable the use of the GPU.

  • Adobe story online is not loading. I just get the loading bar going on for hours. I restarted my browser, deleted my cookies, installed the latest version of Flash and still no loading.

    Adobe story online is not loading. I just get the loading bar going on for hours. I restarted my browser, deleted my cookies, installed the latest version of Flash and still no loading.

    For security reasons, browsers tend to block flash on a site content if the system does not have the latest version of flash player.

    Try to get the last being here: https://get.adobe.com/flashplayer

  • XML and Flash CS4 - loading images

    Hello

    I am trying to learn how to use XML to load images and found a tutorial somewhere... Ok. HOWEVER, now I'm stuck on something.

    I have loaded a lot of inches and you want to load a larger image version when you click on its thumbnail.

    Had to work with, but poorly. Loading the same large image no matter what thumb is clicked. I would appreciate all the advice REALLY.

    Thank you!

    ============================================================================

    var xmlRequest:URLRequest = new URLRequest ("rockandroll.xml");
    var xmlLoader:URLLoader = new URLLoader (xmlRequest);
    var imgData:XML;
    var numberOfChildren:int;
    var hite:int;
    var wid:int;

    xmlLoader.load (xmlRequest);
    xmlLoader.addEventListener (Event.COMPLETE, xmlLoadedF);

    var imageLoader1:Loader = new Loader();
    var bigLoader:Loader = new Loader();

    var rawImage:String;
    var rawImage2:String;
    var imgNum:int = 0;

    function xmlLoadedF(event:Event):void {}
    imgData = new XML (event.target.data);
    numberOfChildren = imgData.*.length)
    var startX:int = 190;
    var startY: int = 60;
    var imgNum:int = 0;
    var ctr:int = 0;
    var cumuX:int = 0;

    while(imgNum<36) {}
    for (var cols: int = 0; < 7 passes passes ++) {}
    var b:MovieClip = new boxx();
    addChild (b);

    b.x = startX + collars * b.Width;
    //
    cumuX += Number (imgData.pic [imgNum] .imgW);
    //
    b.y = startY;
    rawImage = imgData.pic [imgNum] .thumb;
    rawImage2 = imgData.pic [imgNum] .big;
    var imageLoader1:Loader = new Loader();
    var bigLoader:Loader = new Loader();

    imageLoader1.load (new URLRequest (rawImage));

    imageLoader1.addEventListener (MouseEvent.CLICK, itsClicked);
    bigLoader.addEventListener (MouseEvent.CLICK, atmanebentayeb);
    b.addChild (imageLoader1);

    imageLoader1.x=(b.width-imgData.pic[imgNum].imgW)/2;
    imageLoader1.y=(b.height-imgData.pic[imgNum].imgH)/2;
    imgNum ++;
    }
    startY += b.height;
    b.x = startX;
    }

    function itsClicked(event:Event):void {}

    rawImage2 = imgData.pic [imgNum] .big;
    addChild (bigLoader);
    bigLoader.load (new URLRequest (rawImage2));
    bigLoader.addEventListener (MouseEvent.CLICK, atmanebentayeb);
    }
    function itsGone(event:Event):void {}
    removeChild (bigLoader);
    }
    }

    ===================================

    And here is a record in the XML file:

    <? XML version = "1.0" encoding = "utf-8"? >
    < photos >
    < pic >
    thumbs/1t.jpg < go > < / inch >
    images/1.jpg < big > < / big >
    < > 57 imgW < / imgW >
    < > 31 imgH < / imgH >
    < BIGimgW > 922 < / BIGimgW >
    < BIGimgH > 500 < / BIGimgH >
    < / pic >

    ... etc.

    =====================================

    Thanks again!

    use something like:

    var xmlRequest:URLRequest = new URLRequest ("rockandroll.xml");
    var xmlLoader:URLLoader = new URLLoader (xmlRequest);
    var imgData:XML;
    var numberOfChildren:int;
    var hite:int;
    var wid:int;

    xmlLoader.load (xmlRequest);
    xmlLoader.addEventListener (Event.COMPLETE, xmlLoadedF);

    var imageLoader1:Loader = new Loader();
    var bigLoader:Loader = new Loader();

    var rawImage:String;
    var rawImage2:String;
    var imgNum:int = 0;

    function xmlLoadedF(event:Event):void {}
    imgData = new XML (event.target.data);
    numberOfChildren = imgData.*.length)
    var startX:int = 190;
    var startY: int = 60;
    var imgNum:int = 0;
    var ctr:int = 0;
    var cumuX:int = 0;

    While (imgNum<>
    for (var cols: int = 0; cols)<7;>
    var b:MovieClip = new boxx();
    addChild (b);

    b.x = startX + collars * b.Width;
    //
    cumuX += Number (imgData.pic [imgNum] .imgW);
    //
    b.y = startY;
    rawImage = imgData.pic [imgNum] .thumb;
    rawImage2 = imgData.pic [imgNum] .big;


    var imageLoader1:Loader = new Loader();

    b.Big = rawImage2;
    imageLoader1.load (new URLRequest (rawImage));

    b.addEventListener (MouseEvent.CLICK, itsClicked);
    b.addChild (imageLoader1);
          
    imageLoader1.x=(b.width-imgData.pic[imgNum].imgW)/2;
    imageLoader1.y=(b.height-imgData.pic[imgNum].imgH)/2;
    imgNum ++;
    }
    startY += b.height;
    b.x = startX;
    }

    function itsClicked(event:Event):void {}
           
    var bigLoader:Loader = new Loader();
    addChild (bigLoader);
    bigLoader.load (new URLRequest (MovieClip (event.currentTarget) .big));
    bigLoader.addEventListener (MouseEvent.CLICK, atmanebentayeb);
    }
    function itsGone(event:Event):void {}
    removeChild (event.currentTarget);

    Loader (Event.currentTarget). RemoveEventListener (MouseEvent.Click, itsGone);

    event.currentTarget = null;

    }
    }

  • How to load images dynamically in Flash

    I have a clip on the stage I want to dynamically load images in (constantly changing), how can I get it? Thank you.

    Use the Loader class to load in images.

    Then use addChild to add the class Loader in your MovieClip on the stage.

    That & quot; constantly change & quot; What do you mean by that? You can use setInterval, ther enterFrame event or any other way to trigger a new image to load into the loader instance.

    Finally, you can use the Tween class to create some nice effects for images (fade, blur in the picture mix, masks, etc.)

  • WRITE the Panel on Thunderbird v 31.3 flashes white to gray

    I had all sorts of problems of password definition Thunderbird v 31.3 upward with an e-mail FS.NET account. Having finally reached so the emails I have a problem now with email addresses turning RED when he entered but especially WRITING Panel flashes white to gray as soon as the cursor is positioned, and no text can be entered. Send the email without text and just a subject line. If anyone can help with this very frustrating problem? I tried all sorts of account settings and password to try to solve without success.

    Hello. I solve the problem by uninstalling v31.3 and install v26.4 that works very well for me. Thank you for the help

  • I have a 2015 macbook pro 15 inches. While the computer boots the logo apple with the grey wire sliding bar flashes once then end of load as usual. I was wondering if this is normal or not much. Everything seems to be fine.

    I have a 2015 macbook pro 15 inches. While the computer boots the logo apple with the grey wire sliding bar flashes once then end of load as usual. I was wondering if this is normal or not much. Everything seems to be fine. To explain in more depth. As the computer boots the apple logo flashes off the coast and then turn it back on and finishes loading. It doesn't seem to be any questions I want to just make sure because I just bought this mac.

    It is booting normal up -.

  • PC HP ENVY 15 x 360: battery icon reads "plugged in, not charging" and battery led flashes white

    My battery is empty and does not load.  I plug in the power cord to opperate the computer but the battery won't charge.  Icon is reading "plugged in, not charging" and battery LED light on the side of the computer is flashing white, even if the laptop is turned off.

    I checked the adapter cord and battery test that came back "ok".

    Is it my laptop stop working once I have run out of battery even with the adapter cord?  How can I fix the battery?

    Thank you

    Annie.

    Your battery part number is 761230-005.

    http://www.eBay.com/ITM/new-HP-envy-x360-15-u011dx-OEM-battery-NP03XL-11-4V-43-WH-761230-005-HSTNN-LB6L-/252397437204?hash=item3ac40f4114:gb8AAOSwvgdW3zEs

    REO

  • Loading image when using URL query

    I asked for help, for anyone who might be able to * cough * JRab * cough *.

    .... I want to show a small gif of loading when my app is in the middle of sending a URLrequest, so it seems that my application is something, while demand happens... because when the application load it takes a few seconds to get there and also to update the content displayed...

    Any help?

    Hey tensioncore,.

    the ActivityIndicator like all preloaded, including the image he. If you want a custom image, you will need to do the setSkin() method. but I didn't yet. Here's a sample code to test the feature. There is no need of an IF ELSE statement. the corresponding code is nice and clean, and definitely in my top 5 list QNX api hah

    ActivityTest.as:

    package
    {
        import flash.display.Bitmap;
        import flash.display.Loader;
        import flash.display.LoaderInfo;
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.ErrorEvent;
        import flash.events.Event;
        import flash.events.IOErrorEvent;
        import flash.events.MouseEvent;
        import flash.net.URLRequest;
    
        import qnx.ui.buttons.LabelButton;
        import qnx.ui.display.Image;
        import qnx.ui.progress.ActivityIndicator;
    
        [SWF(width="1024",height="600",backgroundColor="#e8e8e8",frameRate="30")]
        public class ActivityTest extends Sprite
        {
            private var _loader:Loader;
            private var _urlRequest:URLRequest;
            private var _image:Image;
    
            private var _btn:LabelButton;
    
            private var _activityIndicator:ActivityIndicator;
    
            public function ActivityTest()
            {
                super();
    
                // support autoOrients
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
    
                /**
                 * Set up the image placeholder
                 */
    
                _image = new Image();
                _image.setPosition(10,10);
    
                addChild(_image);
    
                /**
                 * Set up the activity indicator
                 * Make sure to do setSize so it gets created
                 */
    
                _activityIndicator = new ActivityIndicator();
                _activityIndicator.setSize(100,100);
                _activityIndicator.setPosition((stage.stageWidth / 2) - (_activityIndicator.width / 2), (stage.stageHeight / 2) - (_activityIndicator.height / 2));
    
                /**
                 * Sample loader getting google's homepage image
                 */
    
                _loader = new Loader();
                _urlRequest = new URLRequest("http://www.google.com/images/logos/ps_logo2.png");
    
                _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
                _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onError);
    
                /**
                 * Button that starts things
                 */
    
                _btn = new LabelButton();
    
                _btn.label = "Load Image";
                _btn.setSize(150,52);
                _btn.setPosition(10,150);
    
                addChild(_btn);
    
                _btn.addEventListener(MouseEvent.CLICK, onClick);
    
            }
    
            private function onClick(e:MouseEvent):void
            {
                /**
                 * Start the animation and show the indicator on screen
                 */
                _activityIndicator.animate(true);
    
                addChild(_activityIndicator);
    
                /**
                 * Begin the image loading
                 */
    
                _loader.load(_urlRequest);
    
                _btn.enabled = false;
            }
    
            private function onComplete(e:Event):void
            {
                /**
                 * Stop the animation after image loaded successfully
                 * and get rid of it
                 */
                _activityIndicator.animate(false);
    
                removeChild(_activityIndicator);
    
                /**
                 * set the image to the downloaded image
                 */
    
                var bitmap:Bitmap = Bitmap(LoaderInfo(e.target).content);
    
                _image.setImage(bitmap);
            }
    
            private function onError(e:ErrorEvent):void
            {
                /**
                 * If there was an error. stop the indicator
                 */
                _activityIndicator.animate(false);
    
                removeChild(_activityIndicator);
    
                trace("error: " + e);
            }
        }
    }
    

    There are comments throughout. Basically, this application downloads googles image when you click on load image. and then when its downloading, it displays the activity indicator and get rid of it, when it finishes / generates an error.

    hope that a few things cleared up. Good luck!

  • SMS &amp; journal of the 8100 smartphone flashing white, clear call blackBerry

    I have the 8100 and just recently, whenever I have unlock my keyboard, the screen flashes white and deletes my call log & all of my text messages.  Really annoying, if I miss a call there is no newspaper when I check.  I've had my Pearl for a year now and without up to this problem.  Any ideas on what is the cause or how to fix it?

    TIA!

    Go to options > status > free and total file folder. What is the file displayed under free number?

    The phone is purge the data because it is probably out of memory. Free file is the amount of memory you have.

    Remove the battery and check your free file later. Also if you have a lot of downloads you can remove those unnecessary.

  • How to install Windows 7 on my USB flash drive, just in case my computer crashes and I have to re - install?

    How to install windows 7 on my usb flash drive just incase my computer crashes and need to refurbish? can someone help me please?

    original title: help!

    Windows 7 does not support installation on external storage such as a USB Flash drive devices. You can back up your installation of Windows 7 on a hard drive external that you can restore in case your system becomes unstable. Please see the following for instructions on how to use the Image of the system:

    http://www.notebooks.com/2009/10/24/how-to-backup-your-installation-of-Windows-7/

    You have to an external hard drive.

  • Error "Unable to load image" with iphone app of Lightroom

    I just downloaded the app and when I click on for my camera to import photos from my new collection "iPhone", I get an error "unable to load image". Someone else has had this problem and know how to fix? I could get a single photo to finally take as if by magic, but other 835 photos give this error when I try and select them. Thanks for your help!

    Hi Ryan,

    I have a few questions to understand the question.

    This happens to all your property or only some?

    Does it occur only on a single device (if you have several), what device you are on by knowing this?

    Have you managed to import all of your camera.

    You take the images of a specific album? If so, can you tell us a little of the assets inside the album?

    It helps to look at this image from the Photos app and a new attempt to import?

    Thank you

    Ignacio

  • Chrome, not loading images when the site is online... the charge very well when working locally

    Hi, I'm working on a fairly simple site - basically just a series of images on the page, without effects, etc. Images of care very well when tested on chrome locally, but once the site is online, they do not load. see here for example

    Well seems to work on other browsers.

    Thanks for the help!

    Sorry, nevermind, seems to have suddenly started working on his own.

  • Premiere Pro CS6 closes unexpectedly when loading images or videos in the Viewer.

    I've been using CS6 since May of 2013.  I currently work on a Mac. I've never had problems. I used it one day last week, then all of a sudden a few days ago is when the problems started. Premiere Pro starts normally (new or existing project), I can even import media. But I'm not able to load Images or videos in the Viewer, and I'm able to just drag and drop on the timeline. Audio seems to drag on the timeline very well.

    I tried many things to get wrong the question such as:

    1. start a new project. (Thought maybe something in the existing project was corrupted).

    2. opening a project older that I knew worked well in the past. (In addition, the new projects of thought were corrupt.)

    3. transcoding video files. (Think of the media was corrupted).

    4 restart the computer.

    5. hold 'Shift' when you start Premiere Pro.

    I don't get the error codes, just a dialog box that says: "sorry, a serious error has occurred which requires Adobe Premiere Pro to stop. We will try to save your current project".

    Thanks for your help.

    Hi Luther.

    Welcome to the Adobe Forums.

    What version of Mac OS are you using?

    Try to repair the preferences by opening the window of finder click on go and

    Choose go to folder and type ~/library and press ENTER. Then go to Preferences > Adobe

    and rename the 6.0 6.0.old folder. If you use the Mavericks (OS 10.9) try to give permissions for the

    File Adobe as well.

    Just reply in case the problem persists.

    Thank you

  • vSphere 4.0.0 Update 1 installation hangs on "loading image.tgz".

    I try to install vSphere 4.0 ESXi on a new server:

    Mother SATA superMicro SuperServer 6025 B

    Intel E5405 2.0 GHz CPU quad-core 64-bit

    8 GB OF DDR2 ECC RAM

    9690 storage controller - SA GCCA 3Ware

    I have not created any volumnes RAID, and I just 2 hard drives 1 TB in slots 0 and 1.

    When I boot on the installation CD, the unpacking of compressed files continues until "Loading image.tgz" how Setup does nothing and is blocked indefinitely.

    As far as I know, all my system components are compatible.

    What I am doing wrong?

    It sounded just like ESXi was the better (and easier) way to go.

    That is right. From what I've heard and read, it will also be the future of ESX...

    but I don't like as long as I can get it installed and running with a minimum of fuss.

    I agree with you. ESX taking action a little more during installation and update, however it works in the same way as ESXi (with the exception of the Service Console).

    André

Maybe you are looking for

  • ProBook 4440S upgrade form

    A question for the masses... I have a nice 4440 S Probook I bought at a very reasonable price. I upgraded the CPU of the i3 - 3110M for an i7 quad-3632QM stock and factory 4 GB of memory has been upgraded to a 8 GB faster and bigger. That said, I'd L

  • WLAN

    I have a HP Pavilion p6206uk desktop computer. Y at - it a wireless network adapter installed and if so how do I enter it?

  • Intel WLAN Driver - 8.1 installation fails with system update

    Hello I have a T440s on Windows 8.1-64-bit, all updates done. I try to install the latest system update WLAN drivers, and it hangs it to 91%. Any ideas? I always had problems when you try to update the WLAN drivers.

  • can I interface a third-party hardware with labview using rs232c

    I am a beginner. I want to transfer data from my transmitter/receiver and display in labview.plz tell me that how can I interfacemy transceiver to labview using rs232c.i badly need it.plz reply as soon as possible... Thank you

  • Flash has stopped working in all browsers

    Hello everyone, so I'm having the following problem with Flash:For now, I use Windows Pro 10 and so far all worked well. Two days, I tried to watch the Flash video and I noticed that it is not working. I tried this site in Google chrome and it did no