Flash Photogallery with preloader PLEASE HELP!!!

Ok...So after searching quite a bit I found a decent flash tutorial to help me make a photogallery. The only problem is that it takes quite sometime to load. I would like to create preloader for this swf file but I can't get anything to work. Here is the code for my gallery....Found at the bottom of the page at this site...
http://www.republicofcode.com/tutori...egallery/4.php
This all works just fine...but no matter what I do I can't seem to get a preloader for this code to work. If I load a simple image in the second frame it works fine, however if I move my flash gallery to second frame it just goes to my gallery after loading...(which takes a while)..no preloader bar or anything!  Here is a link to my site... www.nakean.com visit the blank page for the photo gallery...you have to wait a bit for it to load.  (15 seconds)..Please Please HELP!

rename your gallery to something other than galleryinprogress.swf, say gallery.swf.
in flash create a new fla named galleryinprogress.fla with the same stage size and background color as your previous galleryinprogress.swf and attached to frame one of your new galleryinprogress.fla add:
var tf:TextField = this.createTextField("tf",1,0,0,100,40);
tf.autoSize = "center";
tf._x = Stage.width/2;
tf._y = Stage.height/2;
this.createEmptyMovieClip("mc",1);
mc.loadMovie("http://homepage.mac.com/nakean/.Public/swf/gallery.swf");
preloadI=setInterval(preloadF,100);
function preloadF(){
tf.text=mc.getBytesLoaded() +" bytes loaded out of "+mc.getBytesTotal()+" bytes total.";
if(mc.getBytesLoaded()>0&&mc.getBytesLoaded()>=mc.getBytesTotal()){
clearInterval(preloadI);
tf.removeTextField();
publish your new galleryinprogress.swf and upload to the same directory as your previous (but now renamed) galleryinprogress.swf.

Similar Messages

  • Hi there.candy crush not loading on my mac.been playing with it via facebook.flash player is updated.please help thank you

    hi there.candy crush not loading on my mac.been playing with it via facebook.flash player is updated.please help thank you

    Have you tried uninstalling . rebooting the computer and then reinstalling?

  • Trying to veiw videos from a website that requires me to download firefox and silverlight.My imac osx 10.5.8 will now download firefox. firfx tells me my mac is not compatible with ffox Please help me ?  Thank you

    trying to veiw videos from a website that requires me to download firefox and silverlight.My imac osx 10.5.8 will now download firefox. firfx tells me my mac is not compatible with ffox Please help me ?  Thank you

    There is a version of Firefox 4 available for PPC Macs:
    TenFourFox 4.0.1 Firefox 4 For PowerPC Browser Released
    Version 4.0.1 of TenFour Fox, FloodGap's port of Firefox 4 for Power PC
    Macs that supports both Mac oS X 10.4 and 10.5. has been released.
    Mozilla.org dropped support for OS 10.5 after Firefox 3.6 and for Power
    PC with the fourth beta of Firefox 4.
    TenFourFox uses almost all the same code as Firefox 4 and has nearly all
    the same features, including faster JavaScript, WebM video, and HTML 5
    and CSS 3 support, as well as new and emerging Web features, but with
    the code needed to keep your Power Mac functional and fast. Out of beta
    and it's ready for action, versiob 4.0.1 is a performance, security and
    stability update incorporating Mozilla's Firefox 4.0.1 plus AltiVec acceler
    -ation for WebM and browser graphics, and G5 JavaScript acceleration.
    For more information, visit:
    http://www.floodgap.com/software/tenfourfox/
    Source: from http://www.applelinks.com - posted April 25, 2011)
    Now for the intersting bit: TenFourFox, like Firefox, does not support most plug-ins. Unless you are prone to headaches (in which case don't) you can read about that here:
    http://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    But there is a workaround!
    Open TenFourFox and type in the address bar: about:config (no spaces) and click return. This gives you a warning that it might harm the application. Ignore that and click on 'I'll be careful, I promise' and you get the config file that you can edit - with great care.
    Look/search (scroll down) for: tenfourfox.plugins.enabled
    Set it to true. (Double click it to toggle it)
    Now close TenFourFox, open it again, and Flash will now work, as it now uses the plug-ins that Safari has stored.
    With SilverLight, Microsoft attempted to create their own version of what a replacement for Flash could be - but not to universal acclaim. You can read more about it here:
    http://silverlight.net/
    So, if you go to any sites that have been designed for this new Silverlight stuff, you can download the plug-in from here (but make certain that you are downloading SilverLight v.1.0 for OS X (10.4.8 upwards) if you are using a PPC Mac, but even this will not work with Safari 4. Version 2 only works with Intel Macs and does work with Safari 4/5. The solution is to download and install the latest version of Flip4Mac, which now includes a Silverlight component:
    http://dynamic.telestream.net/downloads/download-flip4macwmv.htm
    But the latest news is that Microsoft will probably abandon Silverlight in favour of HTML5:
    http://www.appleinsider.com/articles/10/10/29/apples_ios_pushes_microsoft_to_dia l_down_silverlight_for_html5.html  and
    http://www.bbc.co.uk/news/technology-11673384

  • I just installed mongolian cyrillic keyboard and it's working just fine with safari but i can't type on Word with it. please help me?

    i just installed mongolian cyrillic keyboard and it's working just fine with safari but i can't type on Word with it. please help me?

    PS Here is a source for a keyboard.  Try it if you have not done so already
    http://m10lmac.blogspot.com/2012/12/new-mongolian-keyboard-layout.html
    For questions about why Word doesn't do something, try
    http://answers.microsoft.com/en-us/mac/forum/macword

  • I can't turn off find my ihone, always show "there was a problem when canceling the registration of this iphone with icloud" please help me. i can't restore my iphone before turn off find my iphone

    i can't turn off find my ihone, always show "there was a problem when canceling the registration of this iphone with icloud" please help me. i can't restore my iphone before turn off find my iphone

    If you are the original owner of the phone and know the Apple ID and password that were used to activate it originally, and if you have an existing backup to restore from, you can force it into recovery mode (which will completely erase it) and restore it as explained here: If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support.  When you do you will encounter activation lock, and will have to provide the ID and password used to activate it originally in order to activate it again.  If you can't, you won't be able to activate and use it.

  • I'm trying to set up my new iPhone 5s from a backup of my previous iPhone, when trying to enter my Facebook login info in settings I keep getting the following error message : error signing in could not communicate with server, please help !

    I'm trying to set up my new iPhone 5s from a backup of my previous iPhone, when trying to enter my Facebook login info in settings I keep getting the following error message : error signing in could not communicate with server, please help !

    Can you access other apps? Can you acess the internet? Can you access applications that use internet besides facebook?
    If answer is yes to all of these; contact Facebook.

  • My factory unlocked iphone 4s mms is not working with tmobile, please help...

    my factory unlocked iphone 4s mms is not working with tmobile, please help...

    Check out this link. It should fix the problem
    http://support.t-mobile.com/thread/17918?tstart=0

  • HT1296 my outlook calendar is not syncing with Ipad. please help

    my outlook calendar is not syncing with Ipad. please help

    I've got the same problem and no one is answering to it. call up the apple support and waited for almost 30mins before i can get help, after an hour they only keep asking me for account emails and stuff, end up getting nothing solved. Sad!

  • My iphone 3gs is not syncing with itune please help me

    my iphone 3gs is not syncing with itune please help me

    Did you ever get help with this issue?

  • HT201210 cont contact apple server error please help with ipad touch 4. im just fed up with apple please help me because why is it only apple with these kind of problems?

    cont contact apple server error please help with ipad touch 4. im just fed up with apple please help me because why is it only apple with these kind of problems?

    If you mean updae server
    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - For one user uninstalling/reinstalling iTunes resolved the problem
    - Try on another computer/network
    - Wait if it is an Apple problem
    Otherwise what server are you talking about

  • Hey there! well i from india and i m facing problem connecting my debit card to the itune store ,as the very option is not there, can someone guide me how to get it connected , i have a mastercard debit card with me .please help me

    hey there! well i from india and i m facing problem connecting my debit card to the itune store ,as the very option is not there, can someone guide me how to get it connected , i have a mastercard debit card with me .please help me

    if you are signed in to iTunes with your AppleID, click on the AppleID > view account > payment information > enter in your information

  • HT2534 im unable to get the none option while proceeding with itunes,,.please help me

    im unable to get the none option while proceeding with itunes,,.please help me

    Please help me understand your question. (What happens in vagueness, stays in vagueness.)

  • FLASH Player 10.1 NOT WORKING WITH FIREFOX PLEASE HELP!!

    Hello I need help with this problem quickly.  I have had this problem for the last month and it's driving me crazy.
    I am running Firefox 3.6.10 on a 32 bit on Windows Vista I have tried uninstalling and re installing nothing is working.  I have read through many post and still haven't got any luck please Help. 
    Here are some of the things listed on my system32  Macromed flash
    FLASH 10K.OCX
    FLASH INSTALL
    FLASH PLAYER.XPT
    FLASHUTIL10K_ActiveX.dll
    FlashUtil10_ActiveX
    FLASHUTIL10k_Plugin
    NPSWF32.DLL
    PLEASE HELP  THANKS IN ADVANCE

    Hi, Just got my Internet connection back! Without knowing what add ons/plugins/extensions you have in FF, it is difficult
    for me to say what else may be conflicting.
    Other than that, your choices are either Uninstall 3.6.10 and Install a version that wasn't giving you a problem. You could Install the FF beta.
    Mozilla has a list of many extensions that conflict with FF if you want that link to look over. One of the other links has to do with other issues that may be helpful.
    Let me know and I'll post those to you.
    Thanks,
    eidnolb

  • FLASH 10.1 NOT WORKING WITH FIREFOX PLEASE HELP

    I am trying to load some of my games on fb it loads then the contents fades away and there is a grey box that says movie not loaded. and Adobe FLash 10.  This has been happening for at least a week.  I have being pulling my hair out trying to fix it.  So I need your help. I have read some of the threads and none seems to work.  Here is some info abot my computer
    I am running
    Windows Vista 32bit
    My browser is Firefox 3.6.8 32bit
    Installed is flash 10.182.76  I do see the animation so I know it's installed correctly .  Please help I will greatly appreciate it

    Hi, Just got my Internet connection back! Without knowing what add ons/plugins/extensions you have in FF, it is difficult
    for me to say what else may be conflicting.
    Other than that, your choices are either Uninstall 3.6.10 and Install a version that wasn't giving you a problem. You could Install the FF beta.
    Mozilla has a list of many extensions that conflict with FF if you want that link to look over. One of the other links has to do with other issues that may be helpful.
    Let me know and I'll post those to you.
    Thanks,
    eidnolb

  • Flash player 10 Not working with firefox Please Help

    I have posted here before and for some reason flash player is still not working.  I haven't been able to get on any of my fb games because of this.  When I go to
    play any games it loads the pic then it fades to a white screen, when Ieft click on the mouse it shows a grey box that states Movie not loaded or Adobe flash player 10.
    Here is some of the files from my Macromedia
    FlashInstall
    flashplayer.xpt
    FlashUtil10l_Plugin
    NPSWF32.dll
    FlashUtil10k_ActiveX.dll
    If you have any suggestion please help it would be greatly appreciated.

    I'm not sure if you will receive this, Tonyae, but my ability to reply in
    that thread appears to have been disabled.  It says below that I can reply
    to this email and you will get it so hopefully that's true.
    I don't know how or why, but things are working again for me.  I uninstalled
    / reinstalled Firefox and Flash countless times.  I disabled Java, which
    someone had suggested in another thread.  Nothing was working.  I had
    restarted Firefox after every installation, but all of my attempts were
    futile.  Finally, I restarted my laptop and it worked - I can finally watch
    videos on my computer again.  (I know I should have tried that much earlier
    in the process.) Very relieving to say the least.  I'm sorry you're still
    having trouble because I know how frustrating it was.
    If you receive this, I know I haven't offered much but I would highly
    recommend restarting your computer after every change you make.  Keep
    plugging away and one of them will hopefully work.  Good luck!

Maybe you are looking for