stop loading the flash file - leave it only in a certain range and then stops

Hello

have a problem with a flash page I design...

I want the. SWF file to be opened but no donwloaded up to what a key is pressed but does not know ho to do...

I'll be more specific:

frame 1, I have an object (movieclip) which consists of a logo with a blur... effect after 1-2 seconds, the blur effect disappears, and you can see the logo. the logo itself is a button that will send the user to the next section on the main stage.

on frame 2 of the main stage, I have a preloader that shows a progress bar and percentage of the page loaded... everything works fine

the problem is that when you open the swf file, in that it begins to download the hole flash site and when you press on enter the site is already loaded and you don't see the progress of the preloader bar...

I want only 1 framework the main stage to be loded, then I stop loading (download) the SWF file until you press ENTER.

Enter when you press on I want the flash site to load and so you can see the preloader in action...

can I put a code on the layer of action on the 1 setting that stops the loading of the movie (the first image is loaded and play the effect of blurring of the logo). and another code on the second image (where the preloader is visible) which includes the donwloading?

Thank you much for the help!

Hello

you are right, you will find yourself with two swf files.
I hope you're on Actionscript 3.0:

...

enterButton_btn.addEventListener(MouseEvent.CLICK, loadMyApp)

....

function loadMyApp(e:Event=null):void {
     var ldr:Loader = new Loader();
     ldr.contentLoader.addEventListener(Event.COMPLETE, onComplete);
     ldr.contentLoader.addEventListener(ErrorEvent.IO_ERROR, onError);
     ldr.contentLaoder.addEventListener(ProgressEvent.PROGRESS, onProgress)
     ldr.load(URLRequest('mysite.swf'));
}

function onProgress(e:ProgressEvent):void{
     trace(e.bytesTotal/e.bytesLoaded * 100 +'% loaded');
}

function onError(e:ErrorEvent):void{
     trace('Ooops something went wrong: '+e.text)
}

function onComplete(e:Event):void{
     addChild(e.currentTarget.content);
}

Take a look at adobe's reference http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/

Kind regards

Booya

Tags: Adobe Animate

Similar Questions

  • Load the text file cannot display some letters such as w and?

    I downloaded a flash template that includes a text file used to load the content. I opened the text file and began to make changes to certain texts, so when I discovered the changes I noticed that some letters and characters are not displayed as the letter w and the question mark? and other letetrs.

    I am a newbie to all of this, please help

    Here is an example of the text that I have included in the text file:

    & privacy_title1 = privacy policy
    & privacy_txt1 = what information do we collect?

    We collect information from you when you register on our site, place an order or fill out a form.

    When ordering or registering on our site, if applicable, you may need to enter your: name, e-mail address, phone number or mailing address. You can, however, visit our site anonymously.

    And here is what he sees when I run the flash model:

    example.jpg

    As you can see the w is missing and the point mark and a few other letters.

    Yes, I have an answer to this problem

    (1) select your text layer

    2) go to your properties panel > character

    (3) change the anti-aliasing to "use the device font.

    This should solve your problem

  • Whenever I click on any of the application file, it asks which program to open it, and then try to download?

    I was at work, when my antivirus went nuts malware. I clicked to quarantine and delete what he did. All of a sudden whenever I click on ANY application, it asks the .exe file. When located, he tries to download it. I can't load anything, including work files, or the system restore. Exactly the same problem exists in safe mode too, and it won't charge the safe mode system restore. A full system cleaning is not possible, because this computer contains files of very important work. I can't use internet there longer. I can burn things on cd on my PC, but I can't do anything wise internet on that one.

    Any help is greatly appreciated.

    Hi BethaG,

    Try the following steps:

    Step 1:

    Try running the following Microsoft Fixit and see if it helps:

    When you run an .exe on a Windows Vista-based or Windows 7 computer file, the file may start another program

    Note: You can download and save the Fixit on another computer as well and copy it to the computer problem and then try to run it.

    Step 2:

    Try to create a new user account and check if the problem persists.

    Create a user account

    Difficulty of a corrupted user profile

    I hope this helps.

  • problem in loading the flash through activex container files

    I'm trying to access flash files using activex container.i chose property shockwave flash movie to load the flash file.but when filw path is specified for this property it has extension "FLA".

    After the execution of the VI, I am unable to see the animation.

    I also changed the extension ".swf" but still do not get the image animated after the execution of the vi...

    There is no error as vi can be in operation

    can someone help me to find out why the flash file is not load...

    Hi shruti G,.

    To stop the animation at the end of the use of the program STOP PLAYING call of node. Try this and tell me. Always try to search options.

    Good luck

  • blue screen after Ko 2840149, error - "STOP: c0000218 {Registry hive failure} the registry cannot load the hive (file): \systemroot\system32\config\SOFTWARE.

    After I installed security KB2840149 on a 2008 VM w/exchange server that is running on the machine of Hyper-v server 2008 I'm dead in the water w / E-mail down hard.  The virtual computer is in a reboot cycle bluescreening before I can get anywhere.  Tried the last well known - no effect.  Safe mode - so bluescreens.

    BlueScreen info:
    STOP: c0000218 {Registry hive failure}
    The registry cannot load the hive (file):
    \systemroot\system32\config\SOFTWARE
    or its log or alternation.
    It is damaged, missing, or not accessible in writing
    I saw that it was a patch of replacement for a patch that crashed a lot of PCs.  Since there is no history on this patch, I wanted to check in a see what is the best way to fix this on a virtual machine?

    Being not so deep on VM, I wasn't sure if there was a better way. But I just put the virtual machine to load 2008 iso and then made the standard repair for registry problems off the coast of the article below.

    Of http:

    If the Windows registry is slightly or moderately damaged, you may be able to restart the computer in safe mode and use system restore to restore the registry from the computer to the last known good configuration. However, if the Windows registry is seriously damaged, all types of logon will be prevented. Trying to connect to Windows causes the system fails, then restart. In this case, you will need to boot the system into the recovery instead of Windows Console. Once in the Recovery Console, you can use the Startup Repair tool. Startup Repair tool automates common diagnostic and repair of the installations of Windows tasks starts longer.

    (a) start your Windows Vista or Windows Server 2008 DVD
    (b) on the first Setup screen click Next
    (c) in the lower left corner of the screen, choose "repair your computer".
    (d) on the System Recovery Options screen, select your Windows installation and then click Next
    (e) click on "Command prompt".
    (f) go to X:\sources\recovery > startrep.exe
    (g) this will take some time but will look at any registry related issues.

  • corrupted: WINDOWS\ SYSTEM32\ CONFIG\ SOFTWARE Stop: c0000218 {Registry file failure} the registry cannot load the hive (file): SystemRoo

    corrupt: WINDOWS- SYSTEM32- CONFIG- SOFTWARE Stop: c0000218 { file registry failure} the registry cannot load the hive (file): any on windows server 2003.  How can I fix this

    Hello, getin99

    For help on Windows Server, you need to create a new post on the TechNet forums at the following address: http://social.technet.microsoft.com/Forums/en-US/winservergen/threads

  • start the computer to start but stops at "failed to load the core file?

    Original title: how to get Windows XP to boot my computer from starting when starts but stops at "failed to load the core file?

    When I try to start my computer, it stops at "cannot load the kernel."  It will go no further. What is the solution?

    Please see: How to perform a Windows XP repair install

  • Trying to access Windows XP on a Mac, receive stop error. failure of a file registry c000218 registry cannot load the hive (file)

    I have a Mac OSX, leopard, parallel 5 and Windows xp.   When I try to access Windows, either through boot camp or at the same time, I get the error message "stop. failure of a file registry c000218 registry cannot load the hive (file).  I bought Windows 7 but cannot get Windows Installer.

    The hard drive may be replaced . Or something is not compatible

  • Stop: 0xc0000218 {registry file failure} the registry cannot load the hive (file): \SystemRoot\System32\Config\Software is damaged, missing, or not accessible in writing.

    Original title: blue screen.

    My computer won't start even in safe mode... c000218 (failure of a registry file)

    Cannot load the hive (file): \systemroot\system32\config\SOFTWARE is damaged, missing, or not accessible in writing

    Hi rookiegeek,

    You did it of any material changes or software on the machine prior to this problem?

    The three possible causes of the problem are:

    (a) failure.

    corruption of file b) & defective hardware.

    (c) the problem can occur on shutdown.

    You can follow this link & check if the problem persists.

    Registry troubleshooting steps for advanced users

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Firefox does not load the flash of the Firefox home page

    Firefox does not load the flash of the Firefox home page

    It's not Flash, but a film WebM.

    <video xmlns="http://www.w3.org/1999/xhtml" poster="data:image/png;base64,<base64 data>" src="https://snippets.cdn.mozilla.net/media/files/e29ada39-11f4-4157-ae1c-1340d9455692.webm"></video>

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • What should I do when I receive the message 'unable to load the flash shockwave.

    What should I do when I receive the message 'unable to load the flash shockwave.

    Hello

     
    1. how many times you get this error message? This problem is limited to specific Web pages?

    2. Once you get this error message? What is your default browser?


    Find out what version of Internet Explorer you are using

    3. have you installed new hardware or software before the show?

    4. What is the operating system installed on the computer?

     
    5. are you logged in as administrator?
     

    Method 1:
    If you are facing problems with Internet Explorer 9, I suggest you read the article and try to run theFix it:
    Troubleshoot Internet Explorer to IE quick, safe and stable
    Note: Note that the reset Internet Explorer (IE) resets all settings defined by the user, including those established by the installed extensions, toolbars and other add-ons for IE by default. This includes all the security, privacy and settings area. Also this will erase browsing history, delete all temporary Internet, cookies, form data files and especially all the passwords.
     
    Method 2:
     
    a. search for Internet Explorer in the start menu.
     
    b. right click and select "Run as Administrator".
     
    Check if the problem occurs.
     
     
    Method 3: Uninstall and reinstall Adobe Shockwave
     
    To uninstall a program
     

    I also suggest you to download and install the latest version of Adobe Shockwave player and check if that helps:
    Provide more information about the issue so that we can better help you.
     
    I hope this helps.
  • The registry cannot load the hive (file): \systemroot\system32\conig\software or its log or replacing. It is damaged, missing, or not accessible in writing.

    My laptop does not start all of a sudden upward - it crosses the safe mode screen, acts as if it is loading windows (display the windows screen) then becomes to empty, followed by a very quick flash of the message on a blue screen: "the registry cannot load the hive (file): \systemroot\system32\config\software or its log or replacing."  It is damaged, missing, or not accessible in writing. "Then, he repeats the cycle.

    I looked towards the top of the error on the Microsoft Knowledge base, and the hotfix request using the recovery disk, I.  I wonder how I can get the interactive help on laptop computer file so that I can run so that it fixes the problem... (http://support.microsoft.com/kb/307545).

    Advice, that someone could give me so that I can at least get started again windows go down all the important data before reinstalling Windows would be much appreciated.

    Thank you

    Chris

    Hey Chris,

    Thank you for visiting the Windows Xp forum

    I was wondering if you run a retail or OEM of Windows version. If you are using an OEM version of windows, you will need to use the recovery options you have from the manufacturer of your computer. If you run a commercial version, feel free to follow the article in the knowledge base you have found.

    http://support.Microsoft.com/kb/307545 how to recover a corrupted registry

    I was also wondering if you have another computer to work? If so and you feel comfortable or know someone who can remove the hard drive from the computer and connect it to another computer. You can view the disk hard kit to join. Once the hard drive is connected, you can go in my computer and copy all the files to another hard disk.

    Georgio
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • When upgrading to Windows XP SP3, Windows 7, it loads the temporary files, and then I got an error message saying "the install.wim file does not exist.

    When the upgrade of xpsp3 for win 7 it loads the temporary files and 1 min in step 2? "" departure ": an error message appears that says install.wim file does not exist?

    original title: problem installing win 7

    Hello

    You can't upgrade Windows XP to Windows 7.

    Windows 7 upgrade paths

    This document describes the upgrade paths that are supported and not supported for editions of the Windows® operating system 7.

    Unsupported upgrade scenarios

    • Upgrade to Windows 7 from the following operating systems is not supported:
    • RTM of Windows 95, Windows 98, Windows Me, Windows XP, Windows Vista®, Windows Vista Starter, Windows 7 M3, Windows 7 beta, RC of Windows 7 or Windows 7 IDS
    • Windows NT® Server 4.0, Windows 2000 Server, Windows Server® 2003, Windows Server 2008 or Windows Server 2008 R2
    • Upgrades on place of several architectures (for example, x 86 to x 64) are not supported.
    • Place of cross-language upgrades (for example, en - us en - us) are not supported.
    • Cross-SKU upgrades (for example, Windows 7 N to Windows 7 K) are not supported.
    • Upgrades from Windows Vista to Windows N, Windows K, Windows KN or Windows E are not supported.
    • Upgrades on place of type Cross-compiling (for example, the fre to chk) are not supported.
    • Pre-release in place upgrades across milestones (for example, Windows 7 RC to Windows 7 RTM) are not supported.

    Supported upgrade scenarios

    Company

    Professional, company, full

    Enterprise

    Enterprise

    Home Basic

    Home Basic, Home Premium, Ultimate

    Home Premium

    Home Premium, ultimate edition

    Ultimate

    Ultimate

    Enterprise

    Enterprise

    Home Basic

    Home Basic

    Home Premium

    Home Premium

    Professional

    Professional

    Starter (x 86 only)

    Starter (x 86)

    Ultimate

    Ultimate

    Home Basic

    Home Premium, professional, ultimate edition

    Home Premium

    Professional, ultimate edition

    Professional

    Ultimate

    Starter

    Home Premium, professional, ultimate edition

  • C0000218 {registry file failure} the regestry cannot load the hive (file)

    I have XP pro. on a Dell computer. Think that children may have picked up a few difficulties. When trying to boot into safe mode, I get "Stop: c0000218 {Registry file honor} the regestry cannot load the hive (file): \SystemRoot\System32\Config\Software or its log or replacing." It is damaged, missing, or not accessible in writing. »

    There is no disk that came with it, but I have anouther computer with the same windows. I tried to find a way to make a BOOT disk but cannot find a way. Is there a way to solve this problem with the windows disc?

    It's a pretty popular mistake these days and sometimes easy to get running, but you also want to figure out how it happened.  I always suspect Symantec/Norton products with this error, but we'll see.

    If you currently or have already had a whole isntalled Symantec/Norton products, what are the names and versions (if you know).

    Other variants are:

    STOP: c0000218 {Registry file failure}
    The registry cannot load the hive (file): \SystemRoot\System32\Config\SECURITY or its log or replacing. It is damaged, missing, or not accessible in writing.

    STOP: c0000218 {Registry file failure}
    The registry cannot load the hive (file): \SystemRoot\System32\Config\SOFTWARE or its log or replacing. It is damaged, missing, or not accessible in writing.

    STOP: c0000218 {Registry file failure}
    The registry cannot load the hive (file): \SystemRoot\System32\Config\SYSTEM or its log or replacing. It is damaged, missing, or not accessible in writing.

    I would start with a chkdsk/r since the recovery CD of Console you make (see below) and please answer a few questions...

    Maybe someday the dialog box 'ask a question' forums XP will ask these questions automatically when a new thread is started so I don't have to ask every time.  It might even be possible to solve a problem in a single response when enough information is provided.

    Please provide additional information on your system:

    Describe your current antivirus and software anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc..

    The question was preceded by a loss of power, aborted reboot or abnormal termination?  (this includes the plug pulling, buttons power, remove the battery, etc.)

    The afflicted system has a CD/DVD drive work?

    You have a true bootable XP installation CD (it is not the same as any recovery CD provided with your system)?

    Fill in the blank: my system was working fine until this happened: _.

    If the system works, what do you think might have changed since the last time it did not work properly?

    If you have no XP bootable media (or aren't sure you have) create a bootable XP Recovery CD of Console and do not forget.

    This is not the same as recovery disks that may have come to a store to purchase the system.

    You can make a bootable Recovery Console CD by downloading an ISO file and burn it to a CD.

    The ISO bootable image file you need to download is called:

    xp_rec_con. ISO

    Download the ISO from here:

    http://www.mediafire.com/?ueyyzfymmig

    Use a new CD and this simple and free program to burn your ISO file and create your bootable CD:

    http://www.ImgBurn.com/

    Here are some instructions for ImgBurn:

    http://Forum.ImgBurn.com/index.php?showtopic=61

    It would be a good idea to test your bootable CD on a computer running.

    You may need to adjust the computer BIOS settings to use the CD-ROM drive as the first device to boot instead of the hard drive.  These adjustments are made before Windows tries to load.  If you miss it, you will need to restart the system again.

    When you start on the CD, follow the instructions:

    Press any key to boot from CD...

    Installing Windows... going to pronounce.

    Press 'R' to enter the Recovery Console.

    Select the installation that you want to access (usually 1: C:\WINDOWS)

    You may be asked to enter the password (usually empty).

    You should be in the folder C:\WINDOWS.  It's the same as the

    C:\Windows folder that you see in Solution Explorer.

    The Recovery Console allows base as file commands: copy, rename, replace, delete, chkdsk, fixboot, fixmbr, cd, etc.

    For a list of the commands in the Recovery Console, type help at the prompt of commands or read on here XP Recovery Console:

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/recovery_console_cmds.mspx?mfr=true

    A good idea before you start things must first verify the integrity of your file system by using the chkdsk command.

    In the command prompt window, run the chkdsk command on the drive where Windows is installed to try to fix any problems on the afflicted player.

    Running chkdsk is fine, even if he finds no problem.  It won't hurt anything to run it.

    Assuming your boot drive is C, run the following command:

    CHKDSK C: /r

    Let chkdsk finish to correct the problems, he could find.

    It may take a long time for chkdsk complete or they seem to be "stuck".  Be patient.  If the HARD drive led blinks always, chkdsk is something.  Keep an eye on the amount of the percentage to be sure that it is still making progress.  It may even seem to go back sometime.

    You must run chkdsk/r again until it finds no error to correct.

    Remove the CD, and then type "exit" to exit the RC and restart the computer.

    You have not to set the BIOS to boot the disk HARD since the CD won't be.

    Do, or do not. There is no test.

    I decided to implement the points for a new puppy instead of a pony!

  • Windows.Old - Can I load the entire file at once my computer is restored with it's info earlier?

    original title: Windows to restore the old windows.old file

    Hi all. I recently had to reinstall my os after that sp1 problems (thanks a lot to Microsoft) I now have a windows.old folder with all of my old saved stuff. Question is, can I load the entire file at once my computer is restored with it's info earlier? Pls let me know. Thanks in advance

    Hello

    None

    You can not load the whole file

    Windows.Old is not to restore your computer

    You can only recover data from the windows.old folder

    programs need to be reinstalled from the original media

    Read about the windows.old folder

    How to restore your personal files after you perform a custom Windows Vista or Windows 7 installation

    http://support.Microsoft.com/kb/932912

Maybe you are looking for