Problem reloading swfs inside movieclip in IE

I'm not quite sure whats going on. I have a website i'm working on http://www.tulum14.com and it works fine in safari and firefox, but when I run it in explorer it doesn't.  Whats going on is that when you go to the homes section of the site, each home's section is a swf that is loaded into the main movieclip.  In explorer these swfs load fine the first time around, but when you return and want to load the swf/section and see it again, they get stuck and although they appear to load, i'm not sure if they have and are getting stuck on the first frame or they are not loading, or there is something going on with the cache.
I am loading from the main movieclip using a container with the following code:
var homeLdr:Loader = new Loader();
var homeURL:String = (MovieClip(root).gotoArea)+"Eng.swf";
//gotoArea names the swf to load
var homeURLReq:URLRequest = new URLRequest(homeURL);
homeLdr.load(homeURLReq);
homeLdr.x = -500;
homeLdr.y = -250;
MovieClip(root)[MovieClip(root).gotoArea + "_holder"].addChild(homeLdr);
//each instance of the holder clip is named after the area it should load
stop();
the loader script to check and see if the swf is loaded before running it is:
function progressHandler(event:ProgressEvent):void {
    var percent1:int;
    percent1 = (Math.round(event.target.bytesLoaded/event.target.bytesTotal*100));
    trace(percent1);
    if (percent1==100) {
        percent.x=539;
        this.gotoAndPlay(3);
    } else if (percent1!=100) {
        percent.x=541;
    percent.text=String(percent1);
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler);
stop();
any ideas? help?
I appreciate it.
Thanks
alfarovive

it would be best to change your preloader to the loading swf.
but you can use your current set up:
function progressHandler(event:ProgressEvent):void {
    var percent1:int;
    percent1 = (Math.round(event.bytesLoaded/event.bytesTotal*100));
    trace(percent1);
    if (percent1==100 || event.bytesLoaded==0) {
        percent.x=539;
        this.gotoAndPlay(3);
    } else if (percent1!=100) {
        percent.x=541;
    percent.text=String(percent1);
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler);
stop();
 this.loaderInfo.addEventListener(event.COMPLETE,f);
function f(e:Event){
var pe:ProgressEvent=new ProgressEvent("complete");
progressHandler(pe);

Similar Messages

  • AS3 Help- Reloading a tween movieclip

    Hi everyone,
    I'm having the toughest time with my portfolio website. It's still pretty rough but getting there.
    Here is a link to the swf so you could see the problem and maybe help me fix it.
    http://tanyamendiola.com/pages/assets/flas/indexnew.swf
    Once you get to my portfolio menu homepage, click on Print design. Everything there loads fine.
    The trouble is going back to the portfolio movieclip and having it display those menu buttons again.
    As you can see, if you try to click the view portfolio button at the top, it loads that movieclip to wherever you left off at.
    Basically, my question is: How can I have my "view portfolio" button reload/refresh the movieclip (page1) from the beginning in my pagecontainer_mc?
    page1 is a movieclip that shows my portfolio buttons.
    page2 is a movieclip that show the "about me" section.
    pagecontainer_mc is an empty movieclip that loads page1 or page2.
    import fl.transitions.*;
    import fl.transitions.easing.*;
    var p1=new page1;
    var p2=new page2;
    pagecontainer_mc.addChild(p1);
    var pageMoveTween:Tween=new Tween(pagecontainer_mc,"alpha",Strong.easeOut,0,1,2,true);
    mainmenu_mc.portfolio_btn.addEventListener(MouseEvent.CLICK,portCLICK);
    mainmenu_mc.aboutme_btn.addEventListener(MouseEvent.CLICK,aboutCLICK);
    function portCLICK(event:MouseEvent):void{
         p1.gotoAndStop(0);
         var btn1Outro:Tween=new Tween(pagecontainer_mc, "alpha",Strong.easeOut,1,0,1,true);
         btn1Outro.addEventListener(TweenEvent.MOTION_FINISH, runBtn1Transition);
         function runBtn1Transition(event:TweenEvent):void{
              pagecontainer_mc.removeChildAt(0);
              pagecontainer_mc.addChild(p1);
              var btn1Intro:Tween=new Tween(pagecontainer_mc,"alpha",Strong.easeOut,0,1,1,true);
    function aboutCLICK(event:MouseEvent):void{
         var btn2Outro:Tween=new Tween(pagecontainer_mc,"alpha",Strong.easeOut,1,0,1,true);
         btn2Outro.addEventListener(TweenEvent.MOTION_FINISH, runBtn2Transition);
         function runBtn2Transition(event:TweenEvent):void{
              pagecontainer_mc.removeChildAt(0);
              pagecontainer_mc.addChild(p2);
              var btn2Intro:Tween=new Tween(pagecontainer_mc,"alpha",Strong.easeOut,0,1,1,true);

    I've figured out the problem! (After spending several days looking for the right code and trying different angles.)
    I followed the coding off of this tutorial (http://www.demetri-media.com/FlashTalker/ExternalSWFCommunication.html) and took a specific feature (the cyan ball) and applied it to my file. It works perfectly now! Thank you for your help.
    Here's how I did it. The back button from within the loaded swf closes pefectly. Now I can move on to putting my portfolio together.
    If you have time and would like to help me, how would I/where would I place a loader to this to show how much of the swf file has been loaded/is being loaded? My swfs are pretty big files. I'm still pretty new to AS3.
    var myCLip:MovieClip = root as MovieClip;
    var container_mc:MovieClip;
    var myLoader:Loader = new Loader();
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompletedHandler);
    function loaderCompletedHandler(evt:Event):void { container_mc = myLoader.content as MovieClip;
    container_mc.back_btn.addEventListener(MouseEvent.CLICK, extCommunicate);
    function extCommunicate(evt:MouseEvent):void{
    container_mc.back_btn.alpha=.25; removeChild(myLoader);}
    var loadPRINT:String = "print.swf";
    var urlPRINT:URLRequest = new URLRequest(loadPRINT);
    printdesign_btn.addEventListener(MouseEvent.CLICK, swfLoads);
    function swfLoads(evt:MouseEvent):void {
    addChild(myLoader);
    myLoader.load(urlPRINT);
    var loadIDENTITY:String = "identity.swf";
    var urlIDENTITY:URLRequest = new URLRequest(loadIDENTITY);
    identity_btn.addEventListener(MouseEvent.CLICK, swfLoads);
    function swfLoads(evt:MouseEvent):void {
    addChild(myLoader);
    myLoader.load(urlIDENTITY);
    var loadPACK:String = "packaging.swf";
    var urlPACK:URLRequest = new URLRequest(loadPACK);
    pack_btn.addEventListener(MouseEvent.CLICK, swfLoads);
    function swfLoads(evt:MouseEvent):void {
    addChild(myLoader);
    myLoader.load(urlPCK);
    var loadWEB:String = "webdesign.swf";
    var urlWEB:URLRequest = new URLRequest(loadWEB);
    web_btn.addEventListener(MouseEvent.CLICK, swfLoads);
    function swfLoads(evt:MouseEvent):void {
    addChild(myLoader);
    myLoader.load(urlWEB);
    var loadPHOTO:String = "photography.swf";
    var urlPHOTO:URLRequest = new URLRequest(loadPHOTO);
    photo_btn.addEventListener(MouseEvent.CLICK, swfLoads);
    function swfLoads(evt:MouseEvent):void {
    addChild(myLoader);
    myLoader.load(urlPHOTO);

  • Having stopped audio with a swf inside a sidelet can someone create a swf that will resume the audio

    Ok, rick is going to post the fla of this file and I will
    post the swf. Basically this is all about having a slide that has
    audio running all the way through and enabling the user to roll
    over a sidelet and have the video and audio stop playback.
    At present, the max you can achieve is, to stop video. The
    audio keeps going and of course everything gets out of
    sync. Rick has create a swf that you input into a sidelet (
    after having imported your image or video ) which stops the audio.
    Fantasitc. Unfortunatly he was not successful in creating a swf
    that will resume the audio.
    So there is the mission. To create something that will resume
    the audio, be it a swf inside the sidelet or something else.

    Hi there paul. Am I right in thinking that your code will
    mute the audio. In my situation this would cause problems becasue
    you would roll over the sidelet - the audio would go silent and
    when you rolled off, or resumed the audio, it would have been
    playing so again the video and audio will be out of sync.
    Rick - rather than another swf which would activate the audio
    and video when you roll off the sidelet ( while that is the perfect
    solution ) what about looking at a button the user can press to
    resume things, maybe Im wrong but that sounds a little easier.
    ( however for all those reading this that is not really the
    solution I am looking for, what Im looking for is the above
    solution where you can just roll off and on and so on )

  • Flash SWF inside Masthead

    Hello,
    I am trying to create a masthead with a SWF inside of it.
    So far I try this:
    1.- Put the swf inside dist/images/equipo.swf
    2.- in the HeaderiView.jsp this code:
    <%
    String swfUrl= componentRequest.getWebResourcePath()+"/images/equipo.swf";
    %>
    <TD>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="800" height="200" id="equipo" align="middle">          
         <param name="allowScriptAccess" value="sameDomain" />
         <param name="movie" value="<%=swfUrl%>"/>
         <param name="quality" value="high"/>
         <param name="bgcolor" value="#ffffff"/>
    <embed src="<%=swfUrl%>" quality="high" bgcolor="#ffffff" width="800" height="200" name="equipo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"/>
    </object>
    </TD>
    When I do preview of this iView, I got the space for my swf but all blank, this means, the swf is not running.
    Any ideas?
    Regards,
    Orlando Covault.

    Hi Orlando,
    could you try the same code for a normal image file? Just to check whether its a problem with the SWF or with location & path of the image. If the path does not work properly for normal image too you can use the following code to access an image or SWF.
    IResource resource = request.getResource("image","images/myImage.gif").getResourceInformation().getURL(request);
    Let us know whether this helps or not.
    Regards,
    Shubho

  • Problem with .swf playback

    Hello,
    I have a problem with .swf animation playback in captivate 4. I created the .swf in flash with as3 on one frame. The animation is contained in a movieclip. I exported from flash and made sure the framerates between captivate and flash work. I import the animation to a slide and notice that the duration of the animation is .01 (could this be a red flag?). When previewing my captivate file the animation does not play it shows up static. I have my captivate file set up with continue buttons but I tried taking the button off the animation slide and it still shows up with the static what would be animation. Has anyone else encountered this? I'm really at a loss as to whats going on
    For bonus points: I'm still getting a transition that fades to white briefly even after I put no transition. Is their a way to just have an abrubt transition without the fade?
    Cheers
    -Matt

    Alright now it makes more "sense".
    Your SWF problem is caused by a bug in Captivate. I have encountered this many many times. Basically if you import a Flash animation and you have more than 1 slide in Captivate it will play to the end before you get to the slide with the animation. It's a really annoying bug that also occurs if you insert an SWF created in Captivate into a master Captivate project.
    There are a couple of solutions to your problem.
    1. Try and Externalize your animations when you publish your Captivate project. This can sometimes remove the problem. You can edit the settings in Preferences - Publish Settings.
    2. Create a loader in Flash that will pull in your animation SWF. Basically you just need to do a loadMovie shell in Flash and then have that pull in your animation SWF. I use this all the time for AS2 projects, but I guess that it will work just the same for AS3 projects.
    As for your fade in / fade out issue. Did you by any chance set a transition effect on your slides? Check the Slide Properties for a transition effect. If that's not it - is your fade in issue only occuring on the first slide? The "master" setting for a Captivate project has a default to fade in on the first slide. You can change that in Preferences - Project - Start and End.
    /Michael
    Visit my Captivate blog with tips & tricks, tutorials and Widgets.

  • Load and resize a SWF inside a MC

    Hi,
    I'm using AS2 to load an SWF inside an MC. The MC measures
    800x600, while the SWF (which can vary in size) measures in this
    case 14x60, even though, looking at it, it seems to be about half
    the size of the hosting MC. This makes me think that the dimension
    scales are different. I'm loading the SWF using MovieClipLoader and
    I'd like to resize it so that it fits as proportionally snug as
    possible within the MC. How can I do this? If I try to resize the
    SWF to the MC's dimensions, it become way too large and goes off
    screen. If instead I try to rescale the hosting MC to fit around
    the SWF, the SWF itself rescales as well. I'm going nuts! How can
    accomplish this?
    Thank you,
    Tatiana

    To make things simple, I'd like to take an existing SWF (the
    picture) and load it into a FIXED SIZED MC (the frame) and I'd like
    to rescale the SWF so that it fits perfectly into the frame.
    By all means, I know that what you said should work and I
    admit my inexperience with AS2, but somehow the SWF's I'm loading
    in, have scales that are totally different with respect to my
    Stage. I even tried loading the SWF directly onto the stage and
    then I loaded the frame separately onto the stage and tried to
    resize it to the SWF's _width and _height. The frame became a tiny
    dot on the screen, while the SWF filled half of my Stage.
    Thanks again for your help.

  • Loading a SWF inside another SWF question

    Hello friends,
    1. (IMPORTANT) As all we know when putting some Flash SWF
    inside an HTML page, normally it starts playing as soon as its
    first frame is loaded.
    Now in my case I have to load a SWF (let call it Flash A)
    inside another Flash, I used mx.controls.Loader control to do this.
    But this internal loaded SWF (Flash A) doesn't display untill it is
    completely loaded. Although what is interesting is that if it
    contains a sound track I can hear it while it is being loaded.
    I wana know is there any way that we can make this Flash
    display while being still loaded.
    2. Is there anyway to change a Flash playback FPS at runtime?
    Thank you so much for any note and help.
    - M

    damatrixhasu wrote:
    > i want to know how i can load a flash inside another
    flash container
    go to help - search for 'loadmovie'
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • AS3 SWF inside Director 11.5.9 quirk

    I've previously used AS2 SWFs inside Director 11.5.9, and the SWFs work fine, actionscript works as it should.
    I'm working on a project where I need to use some AS3 SWFs inside Director, and I've come across a limit on the pixel width and height of the SWF. It seems that if either the pixel width or height of the published SWF are greater than 1638, then any actionscript inside the SWF is ignored when the SWF is loaded into director. The SWF still works ok outside of Director.
    For example, any actionscript stop(); commands are ignored and the playback continuously loops through the swf timeline.
    Has anyone come across this before?
    I am almost 100% certain this issue is related to the pixel width / height, as I've made a simple button navigation swf, and published it with different stage sizes. 1638 or less work inside Director, 1639 or more don't work inside Director!

    Made me laugh until I cried...
    Or did I just cry? :(
    Cruel but funny!
    Richard

  • Problem inserting .swf in dreamweaver 8.Help!!

    Hi everybody.I have a problem since a lot of time jaja.I habe
    problems inserting .swf files in dreamweaver 8.I can insert, when I
    press f12 to see in Internet Explorer you see the movie, but when
    you put mouse over the banner I design.This has a bad behavior, it
    transform to hand, because the banner is a buttom, and again
    transform in default mode and it doesn`t stay in buttom form.When I
    did the flash, I saw the .sfw file in HTML, that generated the same
    Flash, and it look good, and had a hood behavior, but when I insert
    in dreamweaver 8 it doesn`t work correctly.I download the
    Dreamweaver 8 Update 2. Now I have Dreamveaver 8.0.2 or something
    like that.
    I think that the problems is in the form that Dreamweaver
    Insert the .swf file.
    My way is Insertar - Media - Flash.
    Somebody can help me? this problem I can´t resolved and
    I new whit this.
    English is not mi first Language, sorry if I had mistakes.

    ok....
    i installed php 5.2.10
    and downloaded php-5.2.10 zip file i found .dll
    its ok
    but in next help topic (testing PHP installation (Windows) )
    [http://livedocs.adobe.com/dreamweaver/8/using/gs_18_q7.htm]
    i didnt gt the result...
    what may be the problem?
    plz advice
    thanks in advacne

  • Problems reloading  class

    Hi,
    I'm working with two spark solaris 9 servers in cluster running sun one 6.1 web servers. The servelets/jsp applications have problems reloading a changed class. The java applications are in a storage engine connected by nfs to the servers. We Ussually work in the master server that it's similar to the slave in its java and webserver configuration. there isn't any difference beetwen the servers in the java applications enviroment. But always we compile in the master server. The changed class loads correctly and quickly (few seconds) in the master server but the slave fails to load it. For the second server we must reload all the application trought the administration server, "load configuration files".
    In the server log file i can see the following lines:
    WebModule[dataj_dev]: WEB2680: Exception starting filter ControllerFilter java.lang.ClassFormatError: com/huji/data/system/RegularDataSystem (Extra bytes at the end of the class file) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1717) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:983) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1431) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1301) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at com.huji.data.ControllerFilter.class$(ControllerFilter.java:34) at com.huji.data.ControllerFilter.<clinit>(ControllerFilter.java:34) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:308) at java.lang.Class.newInstance(Class.java:261) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:261) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:322) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:120) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3271) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3747) at com.iplanet.ias.web.WebModule.start(WebModule.java:251) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133) at org.apache.catalina.core.StandardHost.start(StandardHost.java:652) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355) at org.apache.catalina.startup.Embedded.start(Embedded.java:995) at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431) at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500) at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161) [03/Sep/2007:14:41:13] failure (11314): WebModule[dataj_dev]: WEB2705: Context startup failed due to previous errors
    what's wrong? why it happens?

    The servers don't share the same instance dir, each webserver is locally installed. They only share the content directory: java classes , html files and cgi programs. Anyway may be that the secondary server has problem loading the class from the storage. I changed the parameter dynamicreloadinterval to make a bigest delay in this server. Before this change almost in the same time both the servers tryed to load the same class. I didn't test , i hope it works.
    The issue is that if this true, i should see the same fenomena with other files types, not only with classes and it doesn't happen.

  • Access .swf in MovieClip

    Hi,
    I have to access different frames from swf file in flex.means
    when mouseover on canvas it should load frame 5.I know through
    movie clip i can goToPlay particular frame.But how can I access swf
    through movieclip.
    Thanks,
    Megha

    Store the swf file in the src/mimes/Components directory
    Retrieve the URL of this file using
    WDURLGenerator.getResourcePath(wdComponentAPI.getDeployableObjectPart(), YourCompView.FILE_NAME)
    and store this URL in a context attribute
    Bind the IWDIFrame 'source' property with the stored URL context attribute, and set the iFrame's 'lifeCycle' property to 'uielement' in order to prevent refresh of the content during server roundtrips
    Upon clicking the button, you can show/hide the iFrame and thus enabling your swf file

  • Change Stage Frame From Inside MovieClip?

    How Do I Change Stage Frame From Inside MovieClip?
    Heres my code so far:
    hh.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
    function fl_MouseClickHandler(event:MouseEvent):void
        gotoAndStop(2);
    i tried (root).gotoAndStop(2); but i got an error , #1061 ..
    Thanks in Advance...
    ASAP would be nice..

    well your a smart *** now arnt you   Haha..
    I missed 1 painful word in that line of code thanks heeps..

  • Draw inside movieclip/graphic with Actionscript

    Hi.
    How I can draw inside movieclip/graphic element with Actionscript?
    If i have example movieclip-element in my project and want to draw a single dot in its coordinate (10,10), how I can do that?
    ty m8s!

    The easiest way to draw inside a movieClip is the graphics class.
    You could do something like:
    this.graphics.lineStyle(1, 0x000000);
    this.graphics.moveTo(10, 10);
    this.graphics.lineTo(11, 11);
    This isn't perfect when drawing pixels, however - it only has methods for lines and shapes(circles, rectangles etc).
    If its important for you to draw a single pixel and accuracy is more important you may want to consider converting your Movieclip to a BitmapData class, which has methods for setting Pixels. Realistically though, if you didn't know about the graphics class, then that'll probably be what you're after.

  • I want to load external swf in movieclip and next external swf should load Automatically

    I want to load external swf in movieclip and next external swf should load Automatically when current swf is finished in AS3.
    How can we can check total frame and current frame of imported swf in a movie clip.
    any help will be appreciated
    regards,
    Jatin Dembla

    in as3 you use the loader class (not movieclips) to load external swfs.
    you can use an Event.COMPLETE event listener (applied to the loader's contentLoaderInfo property) to check when loading is complete and start the next swf loading.
    you can use the loader's content property (caste as a movieclip) to determine info (including totalFrames) about the loaded swf's main timelnie (once loading is initialized, for the totalFrames, or complete, for some other properties like height and width).
    var loader:Loader=new Loader();
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,loadcompleteF);
    loader.load(new URLRequest("swf1.swf"));
    var loadedSWF:MovieClip;
    function loadcompleteF(e:Event):void{
    loadedSWF=MovieClip(loader.content);
    trace(loadedSWF.totalFrames);

  • Having problems reloading iTunes.

    Having problems reloading iTunes. Selecting 'download' brings up the 'save file' box then the process skips to the 'Thank you for downloading' screen.  Running windows 7. What do i do ?

    hiya!
    also check to make sure that the .itl library file itself has not been set to "read only":
    What are the iTunes Library files?
    love, b (channelling Buegie)

Maybe you are looking for

  • ITunes on Windows will not update any iOS-device

    I have three iOS-devices. An iPod Touch 3rd gen (ver 3.1.3), and iPhone 3GS (4.2.1) and iPad. It's been a really long time that I remember that iTunes offered to update any of them. iTunes itself has been regularly updating and is now 10.5.1.42. The

  • 7.0.0.102 Crashes after login

    After updating to version 7 on starting skype it closed  aftre several seconds. Tried to clear Skype folder in Application data and reinstall application - nothing help. In the attachment there is dxdiag system info. Attachments: DxDiag.zip ‏9 KB

  • Anyone knows How to get gd library to work with this PHP?

    I am using sun one web server 7 with php add-on. and I am trying to use gd library to work with php. Anyone knows how to ?

  • ADF 10g Allow Multiple Date Formats During Data Entry

    We would like the ability to allow users to enter a date in several different formats. When they tab from the date field (or click out), we would like a custom java method (which we can write) to execute which analyzes what they typed and formats the

  • How to format memry card from 5300?

    i hav a problem with the memry card of my 5300. it ask to format it and i did. but it already consumed more than 8 hrs and my battery got low. and still not yet formatted. what shud i do? cud someone help me?pls?!