My preloader doesn't want to work

I'm creating a website using Flash CS5 and AS3.
For this website I've put a preloader on the 1st frame and the site on the 2nd.
I've tested the site after having created a small animation which makes appear the main menu, a logo and an image.
Everything did work good, so I went on building the site.
Now that I have created some pages I've tested again the whole site and the preloader doesn't work anymore.
Testing the site on the "ctrl+enter" window and simulating the download I have a white background (both the preloader and website background are yellow) then I see the preloader for a fraction of second and suddenly the site appears.
Publishing the site on my web space the background is correctly yellow, but the preloader doesn't appear, the browser's loading bar stops at half then the preloader appears again for a fraction of seconds and suddenly the site appears (tested on Firefox, IE, Opera, Chrome and Safari, same behaviour with all of them).
It looks that the preloader is become part of the site and that there is an invisibile preloader.
The setting in: Publish settings -> Flash -> Script Settings -> Library Path -> Default Linkage
is set to "Merged into code"
the same happen if I set "Runtime Shared Library" and "Custom Preloader Loop".
Instead if I set the default preloader (ActionScript 3.0/rsls/loader_animation.swf) it appears correctly.
My preloader should be good since it did work and I haven't modified it.
What could cause this problem?

in your new fla that will load your main swf, you can start with:
var tf:TextField=new TextField();
addChild(tf):
tf.multiline=false;
tf.text="0% Loaded";
tf.autoSize="left";
tf.x=(stage.stageWidth-tf.width)/2;
tf.y=(stage.stageHeight-tf.height)/2;
var ldr:Loader=new Loader();
ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,completeF);
ldr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,progressF);
ldr.load(new URLRequest("main.swf"));  // assuming main.swf is the correct file name
function complete(e:Event):void{
ldr.contentLoaderInfo.removeEventListener(Event.COMPLETE,completeF);
ldr.contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS,progressF);
removeChild(tf);
addChild(ldr);
function progressF(e:ProgressEvent):void{
tf.text=Math.round(100*e.bytesLoaded/e.bytesTotal).toString()+"% Loaded";

Similar Messages

  • CS3 doesn't want to work any more

    Hello,
    I have an old version of the creative suite that is all right for what I do (information for a charitable organisation for medical research) installed in 2008. For quite a while now every once in a while when I start up I get a screen asking me to register. But since I already am registered Adobe just said to click on later and go on working. But this morning the screen is empty so I can't click anywhere. I've tried restarting and even turning off the computer and trying to restart my day.
    What can I do ? Help !
    Thanks.

    Thanks a lot. That worked for me too. I was afraid that CS3 had changed into
    a pumpkin this morning.
    virginie
    Le 22/11/13 13:25, « De Mostertman » <[email protected]> a écrit :
    Re: CS3 doesn't want to work any more
    created by De Mostertman <http://forums.adobe.com/people/De+Mostertman>  in
    Photoshop General Discussion - View the full discussion
    <http://forums.adobe.com/message/5865197#5865197>
    I had my CS3 freezing this morning on startup. I hope you didn't reinstall or
    anything bacause the sollution is quite simple: What helped me was restarting
    Photoshop with the internet cable pulled out. Apperently it was freezing on
    the registerscreen, and by removing the internet cable I surpassed that
    screen, to see another screen.after that i could start it up again with the
    internet cable plugged in again.
    Please note that the Adobe Forums do not accept email attachments. If you want
    to embed a screen image in your message please visit the thread in the forum
    to embed the image at http://forums.adobe.com/message/5865197#5865197 Replies
    to this message go to everyone subscribed to this thread, not directly to the
    person who posted the message. To post a reply, either reply to this email or
    visit the message page: http://forums.adobe.com/message/5865197#5865197 To
    unsubscribe from this thread, please visit the message page at
    http://forums.adobe.com/message/5865197#5865197. In the Actions box on the
    right, click the Stop Email Notifications link.  Start a new discussion in
    Photoshop General Discussion at Adobe Community
    <http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerTy
    pe=14&container=4694>  For more information about maintaining your forum email
    notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Hi i have an ipod A1099 but it doesn´t want to work, when I try to charge it, its present the apple on the screen and then post a message saying this page

    Hi i have an ipod A1099 but it doesn´t want to work, when I try to charge it, its present the apple on the screen and then post a message saying to visit apple support. Please help me, I don´t want to loose my ipod.

    Hi thenicegirl07,
    It sounds like your Click Wheel iPod is showing a sad iPod icon. If it will go into Disk Mode you may be able to restore it, take a look at the article and quote below for more information about the alert and possible resolutions.
    iPod displays a sad iPod icon
    http://support.apple.com/kb/ts1373
    Resolution
    In most cases, the sad iPod icon indicates a hardware issue. If you are able to force iPod into Disk Mode, then it may not be a hardware issue, and you should try to restore your iPod with the latest software.
    If you cannot force your iPod into disk mode and restore it, then your iPod is in need of service. Set up an iPod Service Request or make a reservation at the Genius Bar before visiting your local Apple Retail Store. To make a reservation:
    Go to http://www.apple.com/retail/storelist/.
    Choose an Apple Store location.
    Click the Reserve link under Genius Bar.
    Choose iPod.
    Select your desired reservation date and time.
    For an easy to follow QuickTime movie, view the Troubleshooting & Extras section of the iPod Tutorials atwww.apple.com/support/ipod/tutorial.
    Additional Information
    iPod displays a folder icon with an exclamation point
    -Jason

  • My iPad air charger doesn't want to work

    After less than 7 months from buying my iPad air, my charger doesn't want to work, my iPad is not chargin. Do I need to buy a new one?

    No, you need to get the charger replaced under warranty.

  • HT4623 i was updating my iphone 4g then i stoped in the middle of the update now my phone was crazy it doesn't want to work again what should i do

    i was updating my iphone 4g then i stoped in the middle of the update now my phone was crazy it doesn't want to work again what should i do

    Google "iPhone DFU Mode". Put the phone in DFU mode and restore it.

  • TS2771 my itouch 4th gen internal speaker doesn't want to work. what can i do to fix it? help please!

    my itouch 4th gen internal speaker doesn't want to work. what can i do to fix it? help please!

    - Try inserting/removing a earphone plug a dozen or more times.
    - Reset the iPod. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory defaults/new iPod
    If you still have the problem that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order. Could be a bad headphone jack.

  • My 'app store' doesn't want to work, i open it and see my last action but the screen stays the same ... (i'm dutch)

    Hello,
    My 'app store' doesn't want to word, i open it and see my last action but the screen stys the same, i cannot select something ...
    (i am dutch - belgium)
    Best Regards

    If you have the HP 2605dn printer attached to the 802.11n AirPort Extreme Base Station (AEBSn) (or any router) by Ethernet, then the AEBSn is NOT performing as a Print Server. Instead, the printer itself would have to be configured to provide this service.
    I don't have this particular printer, but I do have a network-ready HP Officejet model that I have my network clients (Macs, PCs, & even Linux) connect to. The key is either using the unit's interfact panel to configure the appropriate network settings specific for your network.

  • My facetime suddenly doesn't want to work... :(

    Hi, I've been using facetime for how many times already but when i wished to use it again, it doesn't want to activate. what could possibly the reason? should i contact my network?

    I was able to use FaceTime before, and some "glitch" happened and I was unable to so I did do the restore. I even went to the Apple Store to figure it out and that's all the guy told me to do was to restore it. Actually he did it for me, but I believe a restore will help. 
    You can always download your apps again for free.  But make sure you get off playlists/video/photos, use iCloud if you have the room for other stuff too.

  • Decided it doesn't want to work anymore

    I've had the iPod Remote for about three months now, and it recently decided that it doesnt want to work properly. I can adjust volume fine, but pausing and skipping tracks won't work. Any ideas?

    I don't think that there's anything you can do with the radio/remote except get it looked at by Apple.
    Maybe take it to a store near you?

  • HT4113 Simple Passcode doesn't want to work... :-/

    Hi Guys,
    I have a quite annoying problem on my iPhone 3GS, Simple Passcode doesn't work on my device.
    I can switch Simple Passcode to on state while passcode is off, (that is passcode is still disabled and not used)  but when I turn passcode on the state of Simple Passcode switch jumps back to off state after all.
    Do you have any solution for it?
    I would appreciate...
    Many thanks in advance!
    Norbi

    Hi Chris,
    Yes, it allows to enter a simple passcode, but when I set it and get back the passcode settings page simple passcode goes to off state again and next time when I want to unlock my phone it asks my 4 digits with fully keyboard instead of numeric.
    So it means that I can not switch on simple passcode but strong even if I stand on my head too...
    I've already tried it on another phone (our compan phone) and it works flawlessly as it should, but mine... makes me crazy.
    Thanks for your reply in advance!
    Best regards,
    Norbi

  • Bluetooth just doesn't want to work

    I have a new mac pro that I am trying to sync with my mac book pro. For some reason, neither computer seems to find any other bluetooth capable machines. Both have the bluetooth on and are discoverable. Anybody know what's going on? I also have a lot of contacts on my LG V phone which I would love to get on the new computers. My phone seems to recognize my computer but then it doesn't seem to want to sync anything. Anybody have ideas for me? Thanks.

    Ok, i`ve installed blueman and everything works...

  • Locked screen music controls doesn't want to work for 'remote', Why?

    When the screen is locked and you double tap on the home button, basic music options display, it's the top dar of the music app. This function works perfectly with the music app but the remote app by apple to control iTunes doesn't seem to be compatible, it seems stupid but possible. I just want to make sure I'm not missing anything, and that its not just me and my iPad.
    Thanks

    I know how the remote app works and how the locked screen works .But that's exactly what I said, the remote app will not control anything on the iPad. It only controls the iTunes library on your computer.
    it wouldn't matter if you could get to the remote app with screen locked - even though you cant because it will not control the Music app on the iPad.

  • Samsung SyncMaster P2770HD doesn't want to work with new MacBook Air

    I have a (pre-unibody) MacBook Pro and a Samsung SyncMaster P2770HD. I just picked up a MacBook Air with a MiniDisplay Port to DVI adapter. The monitor works fine with my older Pro but when I connect using the adapter to my Air, the monitor doesn't work. The monitor momentarily lights up and complains that it's not receiving a signal.
    Any ideas?
    Thanks in advance!
    Dan

    Hello there - did you end up ever solving this one?
    I have a 13" MacBook Air (2011), using a mini display port to HDMI with a P2770HD, and I just cannot get the air to detect the display, or vice versa.

  • Zen Vision:M doesn't want to work! He

    My problem is kinda complicated. When I turn my ZV:M it doesn't load, but the blue light where you turn it on lights up and it stays that way. If you reset it, the blue light is turned off while you're pressing the reset button, when you finish pressing it, the light appears again and it doesn't load, the light just stays on there. It won't let me go to safe mode.
    This is not the first time it happens. The first time it happened I tried all kinds of things and then I plugged it to the charger, then tried again all the possible things you can try, and it finally worked when I reset it (after numerous times of trying). I turned it off, went to Safe Mode and did a clean up, everything worked fine and I turned it off for good, after charging it. I never used it again until today, that I turned it on and only the blue light lit up, again. Now I can't get it to work in any way.
    I bought it in June of last year and the one I have is a replacement, because the original one I bought was deffecti've as well, so I'm still in the one year warranty.
    Help!

    So I pretty much explained in detail that my player is not responsi've - at all. And this is what I get as a reply from Customer Service, through e-mail... which pretty much makes me feel stupid and offended.
    I really hope that this works out well in the end, now that I replied to this e-mail, or I am definetly changing my view for future purchases, since this is getting old and obvious. Fi've different players in 2 years - 3 Zen Micro's and 2 Zen Vision:M's for now.....from all those together, 4 deffecti've and that didn't get the chance to show deffects because it was thrown into the pool...
    Thank you for reaching us at Creative Email Technical Support; we
    appreciate the opportunity to assist you.
    With regards to your enquiries, I understand that the Zen Vision:M is
    non-responsi've.
    I will like to refer you to our knowledge base article at the link
    below:
    http://us.creative.com/support/kb/article.asp?l=3&sid=4794
    Recovery Mode: What to Do And How To Access
    To access the Recovery Mode:
    If the battery is too low, charge the battery fully before continuing.
    Detach the ZEN Vision:M from the PC and ensure that the unit is off.
    Slide the Power switch towards the Power icon and hold the switch in the
    Power On position.
    Push the end of a pin-like object (for example, a straightened paper
    clip) into the reset hole, press gently and remove.
    In the Recovery Mode, please select Option (Clean Up). If the issue
    persists, please select Option 2 (Format All). If possible, please back
    up the data/contents on your player to a secure location before
    proceeding with the format. Lastly, select Option 4 (Reboot) to reboot
    your device.
    If you have any additional questions, comments or concerns, please
    include them in your response and I will do my best to address them.
    Thank you.
    If you still require assistance, please reply to this email with any
    previous correspondence to ensure the quickest and most accurate
    service.

  • Truecrypt doesn't want to work

    I'm trying to setup a truecrypt volume on a 60gb partition. Following the wiki to make a hidden volume, I'm getting stuck at mapping the volume.
    # truecrypt -N 1 /dev/sda2
    Enter password for '/dev/sda2':
    device-mapper: reload ioctl failed: Invalid argument
    Command failed
    In my dmesg there's the following:
    device-mapper: table: 254:0: truecrypt: truecrypt: Device lookup failed
    device-mapper: ioctl: error adding target to table
    device-mapper: ioctl: device doesn't appear to be in the dev hash table.
    truecrypt is loaded _until_ I try to map it, then the module unloads itself.
    I used the following to create the volume:
    # truecrypt --type normal -c /dev/sda2
    and picked the defaults. I am not using a keyfile.
    Any idea how to get this working? I'd try remaking it, but it took an hour (at 100% CPU, couldn't use computer) and I'd like to see if there's isn't some easy fix I missed before I do that.

    A small update:
    I tried remaking using different settings, and while it took longer (about 3 hours)... still no go, same error.
    Am I the only one that has ran into this issue with truecrypt?

Maybe you are looking for

  • USB 1 to USB 2

    I have a titanium Powerbook G4. I have heard that there is a plug in board (side slot) available that will allow my USB 1 to be upgraded to USB 2 and thus speed up my connection to my external Iomega hard drive. Does anybody have any info on what thi

  • Add File Name to Output

    Is it possbile to add the file name variable to topics after they are created without having to manually insert the variable? Upon inserting the variable, format is thus: <variable name=file x-format=default x-value=0001.htm>0001.htm</variable> The x

  • I just upgraded to lion but I don't have airdrop

    I just upgraded by Macbook Pro to Lion.  I got launchpad and mission control so I know the upgrade worked, but I don't have airdrop.  Airdrop was my favorite thing about the upgrade, but i didn't get it.  Anyone else have the same problem or know wha

  • How can I have more version of REVERT TO in Pages?

    I have lost my work on 3.30 then I try to find it but there are my work on 12.30am and 4.00pm when I browse all version by REVERT TO. How can I have more version​s because the two version of my work which I can get are same? I closed my work and I ha

  • Exchange 2013 linked mailbox

    I am administering Exchange 2013 in organization where we have two separate forests witch two separate Exchange 2013 servers. There is AD trust between forests. Each user has two mailboxes connected in Outlook, one from forest A and one from forest B