Preloader not working for 35 MB swf file. Please help!

Hello,
I'm working on a glorified slideshow, it has a music track that is 3+ minutes long, pretty nice graphics, and transitions. I started builing in Flash and am halfway done... it looks great too !
Problem is, when I'm testing the preloader with the download profiler set to DSL - it crawls and at 1% and on, the soundtrack starts to play... by the time the download is at 42% its at least a minute into the soundtrack and it's in and out, coming on then cutting out but not starting over. Needless to say, this is not okay! I know it's a huge file. SHould I maybe export it as an mov and put it in a FLV player?
Thanks for reading & helping
Ms.Lee

Ok, so my preloader code was all wrong, now it's this:
import flash.events.ProgressEvent;
var request:URLRequest = new URLRequest("HitTheGround6.swf");
var ldr:Loader = new Loader();
this.addChild(ldr);
ldr.x=0;
ldr.y=0;
ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
ldr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler);
ldr.load(request);
function progressHandler(evt:ProgressEvent):void {
    var percent:Number = evt.target.bytesLoaded / evt.target.bytesTotal;
    preloader.fill.scaleX = percent;
function completeHandler(evt:Event):void {
    this.removeChild(preloader);
    evt.target.content.gotoAndPlay(2);  //this is the key
This awesome blog post has the files & explaination!!!
http://www.negush.net/blog/how-to-preload-as3-clips/

Similar Messages

  • Actionscript not working on the HTML file PLEASE HELP

    Hello,
          I made a website in flash, you can download everything here, because I need this problem fixed by Monday http://www.mediafire.com/?sharekey=e5d0b30598ff413aa0f2f20c509059d9e04e75f6e8ebb871
         The problem is, when I publish the file, and run the html file, the actionscript doesn't work. When I run the project in flash it works perfectly. I do not believe it is the player or anything of that sort that is wrong, although I can not be sure. I've tried this on like 10 different computers, and none were able to load the actionscript. Does anyone know why the actionscript wouldn't be working when I run the html file for the site?
    Please Help, Thank you.

    Hi !
    Don't panic yet
    I think you didn't select the Flash with SFCommand in the HTML tab inside the Template dropdown menu,  that's the reason your Actions Scripts doesn't work in the html view.
    To access hold down CTRL+SHIFT+F12--->HTML tab--->The first dropdown menu at the top
    Hope this solve your problem.

  • I updated firefox and now everything i click on below the tab bar does not work for any website! please help

    it was working fine before i updated to the new Firefox version 8. can i delete this version or can i fix this problem

    Do you have AVG Safe Search installed? It blocks use of the Enter key after typing in a search string.
    Disable it by clicking the Firefox button, go to Add-ons, then Extensions. You should be able to find it in there.

  • My photo booth in mac in not working for many days so please give me any suggestion to solve that problem......

    My photo booth in mac in not working for many days so please give me any suggestion to solve that problem......
    And my Airplort utility does't catch any other wireless devices please provide help....

    fubar

  • HT1695 Wi-Fi to your iPhone does not work with the knowledge that I have worked Restart for the same purpose network does not work What is the solution please help as soon as

    Wi-Fi to your iPhone does not work with the knowledge that I have worked Restart for the same purpose network does not work What is the solution please help as soon as

    Okay, the Wi-Fi doesn't work.  Turn it on.
    Beyond that, we cannot offer any other assistance as you've failed to provide useful details of the problem.
    When responding, post in your native language as your English makes very little sense.

  • Clob is not working for bulk data files in PL/SQL XML program

    Hi Odie,
    we took your help to fix the our issue before
    "https://forums.oracle.com/forums/thread.jspa?threadID=2238458&tstart=105"
    working fine for : program is working for smaller size data.
    Issue : now we have problem with the largr size data .
    getting the below error:
    Arguments
    P_dir_name='/tmp'
    P_file_name='CCBGO.COLO_CNG.RESPONSES.20120802.00054131826'
    Environment will now switch to UTF-8 code-set.
    Parts of this log file may not display correctly
    as a result. This is an expected behavior.
    XML_REPORTS_XENVIRONMENT is :
    /apps/applmgr/product/OFDEV/ofdevora/806/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /apps/applmgr/product/OFDEV/ofdevora/806/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    stat_low = 8B
    stat_high = 0
    emsg:was terminated by signal 11
    Appreciated for your earlier support.
    Kindly suggest .
    Many Thanks,
    Ramesh.

    Thanks ALex,
    your are true it is concurrent program error ,
    but it is working for small amount of data and generating the output and it is not working for larger data.
    i have placed the code which i have used kindly suggest where i am going wrong.
    i am calling the .rdf through the concurrent program, i've used the below query in RDF
    select
    BATCHHEADER
    ,BATCHTRAILER
    ,RqUID
    ,Severity
    ,PmtRefId
    ,StatusDesc
    ,ErrorDesc
    ,AsOfDate
    ,AsOfTime
    ,RqUID1
    ,SPRefId
    from table(CL_CXFRFXFH_PKG.rcacknowledgments(:P_dir_name,:P_file_name));
    kindly find the below code for the package CL_CXFRFXFH_PKG.
    ==========================
    CREATE OR REPLACE package body APPS.CL_CXFRFXFH_PKG is
    function rcacknowledgments (p_directory in varchar2, p_filename in varchar2)
    return TRecordTable pipelined
    is
    nb_rec number := 1;
    tmp_xml clob;
    tmp_file clob;
    rec TRecord;
    begin
    dbms_lob.createtemporary(tmp_file, true);
    tmp_file := dbms_xslprocessor.read2clob(p_directory, p_filename);
    rec.BATCHHEADER := regexp_replace(tmp_file, '.*<BATCHHEADER>(.*)</BATCHHEADER>.*', '\1', 1, 1, 'n');
    rec.BATCHTRAILER := regexp_replace(tmp_file, '.*<BATCHTRAILER>(.*)</BATCHTRAILER>.*', '\1', 1, 1, 'n');
    loop
    tmp_xml := regexp_substr(tmp_file, '<\?xml[^?]+\?>\s*<([^>]+)>.*?</\1>', 1, nb_rec, 'n');
    exit when length(tmp_xml) = 0;
    --dbms_output.put_line(tmp_rec);
    nb_rec := nb_rec + 1;
    select RqUID, Severity, PmtRefId, StatusDesc, ErrorDesc, AsOfDate, AsOfTime, RqUID1, SPRefId
    into rec.RqUID
    , rec.Severity
    , rec.PmtRefId
    , rec.StatusDesc
    , rec.ErrorDesc
    , rec.AsOfDate
    , rec.AsOfTime
    , rec.RqUID1
    , rec.SPRefId
    from xmltable(
    '/CMA/BankSvcRq' passing xmltype(tmp_xml)
    columns RqUID varchar2(3000) path 'RqUID'
    , Severity varchar2(3000) path 'XferAddRs/Status/Severity'
    , PmtRefId varchar2(3000) path 'XferAddRs/Status/PmtRefId'
    , StatusDesc varchar2(3000) path 'XferAddRs/Status/StatusDesc'
    , ErrorDesc varchar2(3000) path 'XferAddRs/Status/ErrorDesc'
    , AsOfDate varchar2(3000) path 'XferAddRs/Status/AsOfDate'
    , AsOfTime varchar2(3000) path 'XferAddRs/Status/AsOfTime'
    , RqUID1 varchar2(3000) path 'XferAddRs/RqUID'
    , SPRefId varchar2(3000) path 'XferAddRs/SPRefId'
    pipe row ( rec );
    end loop;
    dbms_lob.freetemporary(tmp_file);
    return;
    end;
    end;
    ============================================
    Many Thanks,
    Ramesh.

  • Facebook apps wont work for my iphone 4 please help

    facebook apps wont work for my iphone 4 please help

    Ok, what you have here is a basic 'blown fuse' problem.
    With the iPhone 3G and 3GS if you drop them in water and they stop working you can almost always revive the phone simply by oepning them up, finding the corrosion on the motherboard then cleaning it and putting it back together.
    With the iPhone 4 (and 4S) it's a different story though in that water damage causes a fuse on the motherboard to blow. Once blown, the phones can no longer receive power from the battery. They can however receive power from a wall charger, which is why your phone runs whilst plugged into a charger but dies as soon as it's disconnected. Trying to run it from a USB port wont work either as the 5V power supply gets interupted whilst the phone is booting, as such it dies part way through booting, and the cycle repeats. 
    At this stage you have 3 options:
    -have the phone replaced by Apple, or
    -replace the damaged fuse on the iPhone motherboard yourself, or
    -send the phone to a company to have the fuse repaired
    There is a company that sells the replacement components, and  they have an installation sevice too. I've fixed a couple of iPhones in my day, and unless you are very proficent with a soldering iron I strongly recommend having the repair done for you.
    See the link below:
    http://fonefixer.webs.com/apps/webstore/products/show/2684671
    Sorry it's not good news, but at least you know what's going on with the phone now and can weigh up your options.

  • Huawei e3276 does not work on OSX 10.10 please help

    After I installed Yosemite Huawei e3276 does not work on OSX 10.10, please advise any work around for this issue - Thank you

    Found a very easy solution online.  Just download the software here and install. works immediately.
    http://translate.google.com/translate?hl=en&sl=sv&u=http://www.tre.se/privat/kun dservice/teknisk-support/Mobilt-bredband/Uppgradering-modemrouter/Yosemite/&prev =search

  • HP laserJet P1006 not working on Windows 10. Please help

    HP laserJet P1006 not working on Windows 10. Please help

    Hi,
    Try installing the windows 8.1 drivers from HP's support site, those are more likely to work.
    For any issues clarify your OS version, is it 32 or 64 bit?

  • Connect Sync not working with Captivate SWF files

    HI
    I'm creating material for presentations and discussion in Captivate 8 and using Connect 9.3.
    The Sync button in Connect doesn't turn on or off the sync view for all participants for a presentation sharing the Captivate SWF file....
    Any ideas on how to get the sync feature working?
    PS: I'm using Captivate to create the slides and publish to SWF in order to preserve the fonts for the brand. Uploading Powerpoint changes the fonts to system defaults (looks very bad) and PDF, provides a clunky or abrupt slide transitions (using captivate fade transitions). Would prefer a better solution to maintain fonts and transitions though.
    Cheers,
    Fred

    Going to give a try...
    I did try saving each slide as an image from ppt, then created a new slide deck with one image per slide - added transitions and uploaded to Connect. That seemed to work.... yet, really would like to sort out Captivate as I plan on adding quizzes and other items best done with Captivate.
    Cheers,
    Fred

  • Actions not working to imported swf files in Flash Catalyst

    Hi,
    I have a problem with manipulating my imported swf files (created in Flash professional) in Flash Catalyst CS5. Whenever I add any of the swf control actions to a swf file in the timeline such as 'stop', the animation ignores it and keeps replaying. I tried to add action sequence when a certain button is pressed, and also tried to create 'On application Start' and added 'stop' so that the animation stops immediately when the application opens. No matter what I do, the animation refuses to perform the actions and simply replays. The animation is a simple shape tween between 2 states with no action script attached to it. I published the animation as an swf and exported it to Flash Catalyst. Is there any suggestions whatsoever on why this is happening? Is it something to do with setting up my flash file prior to import? The only way I figured out to stop the animation from playing is adding action script to the flash file in Flash Professional however this is not what I want because I would like the animation to be controlled by components in my flash Catalyst document.
    Thanks

    You can make you swf a custom component with 2 states.
    The first state will be empty and rename it "OFF" the second state will have your swf file and name it ON.
    Then go back to your artboard/project, add your 2 buttons ON & OFF.
    For the ON button add interaction "play transition to custom component ON"
    For the OFF button add interaction "play transition to custom component OFF"
    Here is an example swf_control

  • My sound for my iPad2 is not working. Why is that, please help?

    I had the ipad 2 for sometime, crazy as it sounds but I've never used the headphone port. The day I go to used my headphones lost all sound to iPad, crazy right? I tried some self troubleshooting like check the sound in settings, resetting, and even restoring it to factory setting. Please help me?

    Do you get sound without the headphones?
    See here, articulacy the latter part. http://support.apple.com/kb/HT4085

  • My Iphone 5 has gone blank, I can not see anything. Restore with itunes has not worked either. Can someone please help?

    Hi I recently upgraed to iOS 6.1 on my Iphone 5. After the upgrade, it was all good. Over the weekend I went Austria for Ski. While taking the photos, I simply locked the phone and kept it my pocket as I had to go. After sometime when I opened my phone, I could hardly see anything. I tried to unlock with pin and tried restarting with great difficulty. But nothing worked. Coming back home today, I have tried restore the software and still no luck. I have tried restore almost 5 to 6 times, but the screen is still blank. I dont know if what state it is in and I can not do anything to fix it. I am very annoyed with the support service as they can not be reached on Sunday evening.
    I could manage to book a call tomorrow but I have lot of work over next few days at work. Can someone please help how to fix this issue now? Any suggestions will be much apperciated.
    Thanks,
    Srini

    srinifromlondon wrote:
    ...  Any suggestions will be much apperciated...
    Try this Discussion
    https://discussions.apple.com/message/19521062

  • Volume control(s) will not work on my I Book please help !

    * INFO: White 2003 G4 I Book PowerPC 1.07GHz 256 MB Safari 3.2.1 133MHZ
    !!! PLEASE HELP ME !!!
    I'm going nuts here...
    This morning everything on my old 2003 white I Book was great. It was operating VERY fast and fine.
    I turned on my computer this morning, everything worked great, and I was reading things on the Net just fine.
    I then saw there was a "Software Update", two of them actually, they were a "Security Update", and also a "Java For Mac 10.4 Release 8".
    I downloaded both of them successfully through the Software Update feature.
    After doing that I restarted my computer, and everything seemed okay.
    But now the audio on my computer is gone, or messed up somehow. NO it is NOT on mute. The volume says it is on full blast, but there is no volume at all.I played YouTube videos, I tried a regular physical audio CD, I tried radio from the internet, all no sound. I tried disconnecting my speakers, I tried a full restart, I "verified preferences" and "repaired preferences", and I also put in my Tiger original disc and booted from that and ran "First Aid"... none of these have worked.
    When you click the little volume button(s) up/down from the keyboard it simply shows all volume bars to the full "all the way loud position", and a circle with the diagonal line through it just underneath that.
    I looked around in System Preferences in "Sound" and saw nothing wrong there from what I could tell.
    I have no idea what to do and am very frustrated and do NOT want to have to redo my whole computer from the very beginning again with the Tiger disc, I have already done that 3 times in the last two years.I know this must have something to do with the Software Updates I did this morning.
    Anyone ?

    Boot from the installer disk, select language if applicable, choose utilities, run Disk Utility and verify (and repair if necessary) the drive. You can verify a drive from DU on your main drive while booted but I have found this can result in incorrect reporting of errors. To repair your drive you have to run it from a drive other than the boot drive anyway.
    Next, boot from your drive in [Safe Mode|http://docs.info.apple.com/article.html?artnum=107393] and repair permissions. You can repair permissions while booted from the installer disc but this uses the permissions configuration on the installer disc which may be out of date if you have run any updates on your computer. Booting your computer to Safe Mode restricts the number of things running on your computer while permissions are being run and done a bit of spring cleaning at the same time.
    [Resolve startup issues and perform disk maintenance with Disk Utility and fsck|http://docs.info.apple.com/article.html?artnum=106214]
    [Using Disk Utility in Mac OS X 10.4.3 or later|http://docs.info.apple.com/article.html?artnum=302672]
    [Disk Utility's Repair Disk Permissions|http://docs.info.apple.com/article.html?artnum=25751]
    From BDaqua (couldn't have said it better):
    "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer (Edit: Do not use this disc if it is not the same general version as what you have currently on your computer, e.g. use a Tiger disc for a Tiger drive, not a Panther disc), then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk.
    Then Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes."
    Many of us do not let Software Update do updates. We download them from Apple and install them one by one, verifying the drive and repairing permissions before and after with Disk Utility, testing between each update. And, of course, backing up the drive completely before hand should something go wrong. We can then restore in a matter of minutes.

  • Itunes not working-keep getting an error---please help

    Everytime I try to open my itunes I keep getting the error "Itunes cannot run because it has detected a problem with your audio configuration" Does anyone know what I can do to fix this. I have aready reinstalled itunes to my computer. I haven't used itunes for a few weeks but I dont know why its not working. Please help!!!
    Thanks
    Compaq   Windows XP  

    "Itunes cannot run because it has detected a problem with your audio configuration"
    that one is typically caused by a problem with your QuickTime. (itunes uses QuickTime for audio and video playback.)
    the following document may be of some assistance:
    iTunes 7 for Windows: iTunes had detected an audio configuration problem

  • ToolTip_Text not working in multi - record block - Please Help!!

    Dear Friends & Gurus,
    I'm using Forms Version 6.0.8.21.3 (due to many reasons) in C/S mode. Now I have a multi record block in which I am showing the Employee No. My customer's requirement is when I place the mouse on this Emp no., the emp. name must be displayed. I thought of achieving this by ToolTip_text. For this I'm having a Database function which returns the name (as I use this functionality in many forms), in the When-New-Item-Instance block level trigger I'm calling that function with passing the emp code as below
    SET_ITEM_PROPERTY(:SYSTEM.CURSOR_ITEM, TOOLTIP_TEXT, FUNC_DIS_EMP_NAME(:SYSTEM.CURSOR_VALUE));But it is working only when I point the mouse in the first record. When I click on 3 or 4 record and then point to the first record, I'm getting the 3 record's name but in the first record.
    Please help me - I searched through the forum and I find no accurate answer. It is urgent - please help.
    Thank you.
    With Kind Regards,
    Perumal Senthil Alagu.

    Dear Safwan Bhai,
    As salaamo alaikum Rahamatulla hi burakathu!!
    Actually I'm having a multi record block in which all the emp no., days of attendance, etc will be displayed when I click on the search button. My requirement is when point the mouse over the emp no, the emp name must be displayed as a Tool tip text. My fields are non-editable, so Post-Change is not working. I placed the coding in the When-new-item-instance - in this case the emp name is displayed, but only for the first field, when I move the mouse to second and third fields, the empname of that particulart field is displayed as a tool tip but in the first field only.
    Any other suggestions?
    Anyway I would appreciate your help.
    Thank you.
    With Kind Regards,
    Perumal Senthil Alagu.

Maybe you are looking for

  • Bundle Patch1 is now available for Solaris (SPARC), Solaris (x86-64), AIX

    [OTN |http://www.oracle.com/technetwork/oem/enterprise-manager/downloads/index.html?origref=http://www.oracle.com/technetwork/oem/grid-control/index.html] Hi All, EM Binaries updated with bundle patch1 are now available on OTN OMS and Management Agen

  • Flash won't stop looping

    I have imported a 4 second SWF into Captivate 4. I want it to play through once then stop on the last frame of the SWF. The SWF has a stop embedded on the last frame. The problem is; it won't stop, but keeps on looping right through the SWF stop. I t

  • Error con adobe

    no puedo abrir ningun archivo pdf en mi computadora alguien me puede ayudar?

  • Ical publishes 0KB file to private server

    Hello. I am publishing one of my iCal calendars to a private server. It publishes, however there is no information in the file. It is a 0KB file. How can I encourage a successful publication? Thanks!

  • Measurable Parameters and tools

    We have 4 12xx APs managed by a 1206 WLC. On the WLC, the only thing that I see are WEP decrypt errors. We are a manufacturing company (steel) and there is certainly lot of electricity used in the mill during arcing process. There have been certain c