Preloader won't work in fp 8

This is what I have and for some reason, it doesn't want to
work in Flash Player 8.
I have this on the movie clip itself:
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_parent.gotoAndStop(3);
Any suggestions?
Thanks

you need to initialize percent.

Similar Messages

  • My preloader won't work in the latest version of IE.

    I'm designing a site for a friend of mine who has just upgraded to the latest version of Internet Explorer. Now the preloader to load his site won't work, and it just stops on the number "0." Below is the code that I'm using. The code appears on the first keyframe and the site is on the second keyframe.
    stop();
    //Preloader
    loaderInfo.addEventListener(ProgressEvent.PROGRESS, updatePreloader);
    function updatePreloader(evtObj:ProgressEvent):void
              //container for the progress of the site (download)
              var percent:Number = Math.floor((evtObj.bytesLoaded*100)/evtObj.bytesTotal);
              preloader_txt.text = percent+"%";
              if (percent==100){
                        nextFrame();
    When my friend right clicks directly on the loader, he has the option to "play" flash, and the site loads. I'd like to find a more clean and elegant way for him to load his site.
    I'm stumped. Is anyone else experiencing this problem? What can I do to fix this or should I just right a disclaimer on the page?
    Thank you so much! 

    Try taking a different (better) approach to preloading...
    http://www.gotoandlearn.com/play.php?id=85

  • Preloader AS2 wont work in FL CS3?!

    this is strange and i can only think it's me who's missing
    something.
    i have a preloader script i used with Flash 8 but when i try
    to attach it in the movie i made in FL CS3 it doesn't work (the new
    movie is in AS2).
    can anyone tell what i'm doing wrong??
    Here's the code

    it's WindowsXP x64 bug again!! I tried the same code on
    another computer running XP (x32) and all looks as it should, i try
    the same .fla at x64 and script won't work.
    should i post this somewhere else???

  • Firefox won't work but Safari will???

    Firefox won't work but Safari will?
    Firefox was already loaded on my macbook pro but won't work??

    Firefox doesn't come preloaded on new Mac's.
    So you must have gotten this machine used and the person set up Firefox with a proxy amongst other "tweaks" that your not aware of, possibly even remote access to your machine.
    If this is a used machine you bought, ideally it would be best to backup any files you have to a external drive, c boot off the installer disk the other person should have given you and use Disk Utility > Erase > Zero and format the drive HFS+ Journaled. Quit and install OS X and start with a fresh machine.
    If you don't have the disk, a $29 Snow Leopard install disk is avaialble from Apple (no iLife programs, sold seperatly) which you can do the same as above.
    If you don't want to do this, then delete Firefox and it's Library > Application Support > Firefox folder and reinstall it fresh from Mozilla.
    Just reinstalling Firefox alone doesn't work, the support files need to be trashed as well.

  • Tacking this preloader on almost working - what's missing?

    Hi
    I found a cool preloader tutorial with a free preloader which I added onto my flash project.  I did it by creating a new scene before my project scene, and adding the preloader to it.
    The pre loader works fine, and my project all worked fine before I put the preloader on, but now after the preloader finishes, my site's buttons won't work and in Flash CS4 there is a compiler error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at website_fla::MainTimeline/frame2()
    Take the preloader scene away, and my site works fine again.
    Any idea what I need to do to make them work together?
    Cheers
    Shaun

    Sorry - here it is:
    01.import flash.events.ProgressEvent;
    02.function update(e:ProgressEvent):void
    03.{
    04. var percent:Number = Math.floor( (e.bytesLoaded*100)/e.bytesTotal );
    05. if(preloaderMC is MovieClip){
    06. preloaderMC.gotoAndStop(percent);
    07. }
    08. if(percent == 100){
    09. play();
    10. }
    11.}
    12.loaderInfo.addEventListener(ProgressEvent.PROGRESS, update);
    13.// Extra test for IE
    14.var percent:Number = Math.floor( (this.loaderInfo.bytesLoaded*100)/this.loaderInfo.bytesTotal );
    15.if(percent == 100){
    16. nextFrame();
    17.}
    18.stop();
    and here's the page it came from:
    http://www.flashmagazine.com/tutorials/detail/how_to_make_a_custom_as3_preloader/
    Cheers

  • [SOLVED]grub-mkconfig won't work

    Hi!
    I'm running grub2, and today grub-mkconfig stopped working: this is the error:
    sudo grub-mkconfig -o /boot/grub/grub.cfg
    Creazione di grub.cfg...
    Trovata immagine linux: /boot/vmlinuz-netbook
    Trovata immagine linux: /boot/vmlinuz-3.4.9-1-i686-arch
    Trovata immagine initrd: /boot/initramfs-3.4.9-1-i686-arch.img
    Found memtest86+ image: /boot/memtest86+/memtest.bin
    No volume groups found
    Trovato Arch Linux su /dev/sda3
    /usr/sbin/grub-mkconfig: line 269: 8481 Errore di segmentazione ${grub_script_check} ${grub_cfg}.new
    Syntax errors are detected in generated GRUB config file.
    Ensure that there are no errors in /etc/default/grub
    and /etc/grub.d/* files or please file a bug report with
    /boot/grub/grub.cfg.new file attached.fatto
    This is my /etc/default/grub:
    GRUB_DEFAULT=saved
    GRUB_TIMEOUT=0
    GRUB_DISTRIBUTOR="Archlinux"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet rootfstype=ext4 add_efi_memmap logo.nologo fastboot raid=noautodetect libahci.ignore_sss=1 loglevel=3 pcie_aspm=force i915.i915_enable_rc6=3 i915.lvds_downclock=1 ipv6.disable=1 resume=swap:/dev/sda3:0x5d0000 "
    GRUB_CMDLINE_LINUX=""
    # If you want to enable the save default function, uncomment the following
    # line, and set GRUB_DEFAULT to saved.
    GRUB_SAVEDEFAULT=false
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    GRUB_COLOR_NORMAL="light-gray/black"
    GRUB_COLOR_HIGHLIGHT="green/black"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    GRUB_BACKGROUND="/usr/share/grub/background.png"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    I only set a swapfile to be used by tuxonice, then add the proper line there, in /etc/default/grub.
    May be i made some mistakes? I tried to remove the resume= parameter, but it won't work anyway...
    Thank you!
    Last edited by nierro (2012-08-23 22:32:46)

    The resume parameter is different from the normal resume= because i'm using a swap file
    Btw, this is the error message without resume parameter, in english:
    LC_ALL=C sudo grub-mkconfig -o /boot/grub/grub.cfg
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-netbook
    Found linux image: /boot/vmlinuz-3.4.9-1-i686-arch
    Found initrd image: /boot/initramfs-3.4.9-1-i686-arch.img
    Found memtest86+ image: /boot/memtest86+/memtest.bin
    No volume groups found
    Found Arch Linux on /dev/sda3
    error: syntax error.
    error: Incorrect command.
    error: syntax error.
    /usr/sbin/grub-mkconfig: line 269: 5859 Segmentation fault ${grub_script_check} ${grub_cfg}.new
    Syntax errors are detected in generated GRUB config file.
    Ensure that there are no errors in /etc/default/grub
    and /etc/grub.d/* files or please file a bug report with
    /boot/grub/grub.cfg.new file attached.done
    Last edited by nierro (2012-08-23 22:01:33)

  • HP LaserJet Pro C1415fn color MFP - fax won't work

    I have a LaserJet Pro CM1415fn color MFP on a Windows 7 64-bit laptop. I've been using the printer for two years now.
    At the moment the fax function only works if I use it manually (i.e. if I place a sheet of paper on the scanner, select the "Fax" button on the printer touch pad and dial the number). However, if I want to send a fax via the PC interface, it won't work.
    For example, if I open a PDF, click on "Print" and select "HP LaserJet Professional CM 1410 Series Fax", nothing happens -- no window/interface will open. If I select "HP Send Fax" or "HP Fax Setup Wizard" from the program menu, nothing happens.
    I've always been sending faxes this way and I just don't know what happened... Can anyone please help?
    Thanks in advance!
    Claudia

    Hi @Clabee ,
    I see that you can't fax from the PC anymore. I can help you with this.
    If this just recently happened, I would do a System Restore back to when everything was working properly.
    System Restore for Windows 7.
    If you would prefer not to do the System Restore, uninstall and reinstall the printer software. It might become corrupted.
    Here are the steps to run the uninstall from the computer or the CD.
    To uninstall from program files:
    Touch the Windows key and the E key to access the computer window.
    Select the C drive.
    Select program files or program files x86.
    Open the HP and printer name folder.
    Select uninstall.
    Uninstall the software from the CD:
    Touch the Windows key and the E key to access the computer window. Right click on the CD for the printer, left click open in a new window, double click on uninstall.
    Disable all the start up programs and temporarily turn off the Antivirus Software. How to use MSCONFIG .
    Click on the start up tab and click disable all.
    Download, save and install the latest drivers.
    HP LaserJet Pro CM1415fnw Color Multifunction Printer Drivers.
    Test the printer and try sending a fax again from the PC.
    Then you will need to go back in and enable the start up programs and turn the Antivirus Software back on again.
    If you need further assistance, just let me know.
    Have a wonderful day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • I've just updated my iPhone to the new iPhone OS and now it won't work and iTunes won't recognise that it's there.  I've uninstalled iTunes and reinstalled twice and it's not working.  Please help.

    I've just updated my iPhone to the new iPhone OS and now it won't work and iTunes won't recognise that it's there.  I've uninstalled iTunes and reinstalled twice and it's not working.  Please help.

    I have not had wifi since November when I upgraded to the newest IOS version.  I called the Apple help line and they told me some things to do and I tried them all and they worked for a few hours and then wifi shut off again.  I kept doing what they told me and it worked for a couple more days and then I could never turn it on again.  My blue tooth doesn't work either.  I had to actually increase my data usage with AT&T becuase of this.  When I did that in December I went to the Apple store and was told that it is a hardware issue and since my phone is out of warranty I would have to pay for a new phone because they could not fix the issue.  My upgrade isn't up until June 2014 so not only do I have to wait for the upgrade and I am not paying for a new phone but I have to pay $10 plus extra a month on my cell phone bill because I was going over on my Data!!!  I have been beyond upset about this and Apple is not doing anything about this nor did they offer up some way to resolve the issue because obviously it is not just some rare incident if several people are having this issue.  Who knows how many people out there have had this issue and have not said anything about it.  Now there is a newer update that I can't do because it requires wifi in order to download.
    June can not get here fast enough and I may not go back to Iphone after dealing with this for so long with no help from Apple.

  • IPhoto and Apple ID won't work after system update

    I've recently updated my MacBook Air to OS X v10.9.4.  iPhoto won't work as i am currently using v9.2.  I've tried downloading a later version but have been advised that my Apple ID will not work on this computer.  NB.  I have an iPhone but have not used the Apple ID on this - to my knowledge, or another Apple ID on my system.  I'm a basic level user so any advice on this would be great.
    Many thanks,
    Elza

    have been advised that my Apple ID will not work on this computer
    Advised how, exactly?

  • PDFMaker loads but won't work in Word 2013 - Acrobat XI and DC - Win 8.1 Pro

    OK, I opened a question that never got answered and it never was resolved...
    Just updated to Acrobat DC - same problem exists...
    I'm running Windows 8.1 Pro fully up to date..
    I've uninstalled and reinstalled Office 2013 Pro (I have an Office 365 subscription so it's the click-to-run install).
    I've uninstalled and reinstalled Acrobat Pro DC.
    I've rebooted (a full restart, not Win 8's fast boot restart) between each installation.
    I've tried this in multiple Office applications, none of them work EXCEPT for Outlook.
    For the following I will use Word as my examples...
    I've uninstalled all plug-ins and still it won't work.
    I've tried running Word as Administrator.... still won't work.
    OK... so this is what it looks like... as you can see the toolbar loads, but no icons...
    https://www.dropbox.com/s/wsbs4kon3z4e965/Word%20Acrobat%20Screenshot.jpg?dl=0
    When you click on those buttons... it goes through the motions as if it were creating the PDF... but no file is ever created...
    If I right-click on a Word document and select Convert to PDF - it goes through the motions of creating the PDF, asks me where to save... and then a dialog box named "Acrobat PDFMaker" comes up saying " {Exclamation Point Yellow Triangle Icon} An unexpected error occurred. PDFMaker was unable to produce the Adobe PDF."
    If I right-click on a text file... and select Covert to PDF,  it immediately pops open a PDF of the text file.  Same with any image file.
    This was all working perfectly up until out of nowhere it stopped working on January 26, 2015.  See my original posting here: Acrobat XI Pro Word 2013 add-in stopped working
    I can Print to PDF using the PDF Printer without any problems.
    Creating a PDF in Outlook, no problems...
    I'm hoping somebody can figure this one out... I'm completely stumped.... and I'm usually very good at troubleshooting stuff.

    Click to Run according to Microsoft: 
    https://technet.microsoft.com/en-us/library/jj219427.aspx
    "Click-to-Run is a Microsoft streaming and virtualization technology that reduces the time that is required to install Office and helps you run multiple versions of Office on the same computer. The streaming technology enables you to download and begin to use an Office product before the whole product is installed on your computer. The virtualization technology provides an isolated environment for Office to run on your computer. This isolated environment allows you to run the latest version of Office side-by-side with an earlier version of Office that is already installed on your computer."

  • WEP Password Won't Work!

    I have a Wireless router, which can do WEP, WPA and WPA2 encryption. If I have WPA2, then my desktop (Windows) can't remember the password, so that encryption is out for the mo, WPA won't work on our old laptop, and so WEP is all that's left. Every device in my house (including my iPhone) can connect, but my MacBook fails too! I have tried loads of different WEP passwords, and it can still connect to other WEP protected networks, but not mine! Is there anything I could have done, or is this a general problem?

    Just like Windows stores your network profile info in C:\Document and Settings, the mac stores your network location in a plist file.
    WEP is really for B/G networks, most newer networks are using WPA/WPA2 because it is more secure.
    Can you connect to WPA2 Personal with the mac and that router?
    Can you create a new Windows profile under network settings? (you should be able to).
    Sometimes if you cannot connect using ASCII character for the password, look at your Key 1: on Windows for the Hex version of the password and try typing the Hex in the password box.
    IF your password for WEP is short, like less than 8 characters, that may be the problem, it order to get WPA2 you need a password at least 8 characters long, 10 is better and more accepted by encryption schemas. Try adding 1234 to the end of your existing password (i.e. password1234) in the router, then input it again to see if it works. Try making the password exactly 10 characters long if you can.
    WEP is like having no security at all, WPA/WPA2 is much more secure.

  • ITunes password won't work

    Aplle TV keeps telling me to put in my password but when I do it won't work. But I checked it on iTunes and it worked there, as well as online. Then I went online and changed it but Apple TV still won't accept it. What gives?
    Edit: Nevermind it's working again. I had to reset Apple TV.
    Message was edited by: TomCat4680

    Try some of these things
    http://www.apple.com/support/itunes/troubleshooting/

  • Wireless password won't work

    trying to connect to wireless at work, but the password won't work.... i try'd the same password on ipod... works fine... also i can use wireless at home... no prob....
    any ideas?

    Powerbook G4, you may have a wireless card that is too old and doesn't support newer encryptions schemes like WPA or WPA2. What are you using as your wireless encryption algorithm at home?
    Per my profile, you can see that I have a computer designed and manufactured eight years ago. It uses an old 802.11 "Airport" card; not "Airport Extreme" as does my Mac Pro. It doesn't do WPA or WPA2. If the wireless access point (WAP) at work is using those, you'll be prompted for a WEP password because your computer doesn't know any better. But it won't work.
    So first thing you need to do is find out what does the WAP use. Next thing you need to do is go into your System profiler and see what kind of Airport card your Powerbook has.
    If it's not an "Extreme" or "Express" or whatever, just a plain ol' "Airport" card, then you are SOL trying to use that to connect to your work's WAP if they are using WPA or WPA2. There are some USB wireless thingies that you can plug in to an available USB port and you can use that to access the work (and home) networks. I know that BDAqua has previously posted a URL or three that point to some inexpensive USB 802.11 transceivers that you could use on your Powerbook.
    As a side note, if this is indeed the case for your situation, this would also imply that you are probably using an inferior (as in hacked/cracked) wireless encryption protocol at home. Once you get a WPA2-capable USB thingy, get in to your router's wireless setup and change it to WPA2-PSK-AES.

  • Flash is up-to-date, but Plugin won't work

    Hi!
    I'm using Firefox 29.0.1 on Windows 8, (also up-to-date), and Flash plug-in won't work. I re-downloaded & installed Adobe Flash 13.0.0.214...I verified it on their website, but I can't get the plugin to work. I had no problem with it earlier today, but for some reason it won't work anymore.
    PLEASE HELP!
    Thank you,
    Nuts4Mutts :(

    Hi!
    Yes, I checked on Adobe's site THREE TIMES & I have the latest version, & the animations they have on their site worked fine...I saw them perfectly, (both the red cube bouncing around & the cartoon tree with the animated yellow & orange colored leaves). I'm at a loss why on most sites I have no problem watching streaming video, but on 2 of the other sites that I watch EVERY day, I suddenly get the "Error loading plugin" message on a black screen. It's driving me nuts, as I was watching these sites earlier this morning & everything was fine. The confusing part, to me at least, is why is this plug-in problem is ONLY affecting 2 of the sites I watch AND why did it happen out of the blue...I was watching them without any problem early this morning, just like I do ALL DAY...EVERY DAY!!! (I watch several wildlife live-cams, so it's important that I keep up with changes in the birds I normally watch). None of the other sites I watch are affected...what would cause this to happen?
    I even did a complete shut-down of my laptop, waited, then re-started. Usually, this would fix just about anything...for some reason, I can't get the video stream on 2 cams...I can still view the other cams I watch, though.
    I DID install MS's weekly updates, but it didn't affect my ability to see streaming video on most of the sites I watch; so far only on 2 of them.
    I only have the pop-up blocker that comes with Firefox, but other than that there's nothing else in my add-ons that could interfere. I checked my plugins several times, just to make sure Flash was up-to-date & they're fine, too. The mystery is why I can see my wildlife cams on 4 of the sites I watch but not on the other 2, especially when I was watching them early this morning!!! I feel like I've been dropped-off in some sort of cyber-space time warp, or in the twilight zone & I'm ready to scream!
    If there are any other suggestions, please post them...I'm very behind in my cam-watching!
    On another Firefox-related problem...where do I post a question about some add-ons not working or being visible AND not being able to customize since the last update? I know...I'm just having a very confusing, frustrating day!
    Thanks again for your ideas...I need all the help I can get!
    Nuts4Mutts :(

  • TS1538 Hi, I have the problem which iTunes cannot detect my iPhone 4s. I tried the steps you have provided in your troubleshooting, but it won't work for me because the Apple Mobile Devilce is perfectly installed on my windows.

    Hi, I have the problem which iTunes cannot detect my iPhone 4s. I tried the steps you have provided in your troubleshooting, but it won't work for me because the Apple Mobile Devilce is perfectly installed on my windows. However, the driver "Microsoft teredo Tunneling adapter" has a yellow exclamation mark, which i believe means it's not installed correctly or something is wrong with it. This driver is under the Network Adapters (Please see picture below).
    This is what happens when I connect my iPhone 4s to my laptop (Windows 7 Starter 32-bit)
    1. The phone charges it's battery
    2. I can open it in My Computer and import/export media files.
    In iTunes
    3. It start to sync until step 3 then stops.
    4. The iPhone option with an arrow appears beside the iTunes Store, but when the arrow is clicked it disappears.
    I hope you can provide me a solution for this problem.
    Thanks,
    Ralph

    Hi ralphagir,
    Welcome to the Apple Support Communities!
    For your iTunes issue with it not recognizing your iPhone, I would go ahead and suggest deleting iTunes and all of its components from your Windows computer and installing fresh.
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/HT1923
    Remove iTunes and related components from the Control Panel
    Use the Control Panel to uninstall iTunes and related software components in the following order and then restart your computer:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order, or only uninstalling some of these components may have unintended affects.
    As far as the arrow button that you click and the iPhone disappears, it sounds like you may be clicking on the eject button. Please take a look at the following article for information on the eject button in iTunes.
    Safely disconnect iPod
    http://support.apple.com/kb/HT1853
    Have a great day,
    Joe

Maybe you are looking for