Question about code guide online for video player

Hello, I'm new to flash and I am making a video player by following this guide http://www.PhotoshopCAFE.com/Tutorials/Flash/videoplayer/videoplayer.htm . In the end however, my code does not seem to like what they have there.

Here is my code:

Btn1.addEventListener (MouseEvent.CLICK, 1);

btn2.addEventListener (MouseEvent.CLICK, vid2);

btn3.addEventListener (MouseEvent.CLICK, vid3);

btn4.addEventListener (MouseEvent.CLICK, vid4);

function vid1(e:Event):void {}

vidPlayer.source = "Shephard.flv."

};

function vid2(e:Event):void {}

vidPlayer.source = "Austen.flv."

};

function vid3(e:Event):void {}

vidPlayer.source = "LaFleur.flv."

};

function vid4(e:Event):void {}

vidPlayer.source = "John.flv."

};

And here's what she yells at me:

Scene 1, Layer 'actions', frame 1, line 71119: access of source property possibly not defined through a reference with static type class.
Scene 1, Layer 'actions', frame 1, line 111119: access of source property possibly not defined through a reference with static type class.
Scene 1, Layer 'actions', image1, line 151119: access of source property possibly not defined through a reference with static type class.
Scene 1, Layer 'actions', image1, line 191119: access of source property possibly not defined through a reference with static type class.
Scene 1, Layer 'actions', frame 1, line 11061: call to a method may be undefined for addEventListener through a reference with static type class.
Scene 1, Layer 'actions', frame 1, line 21061: call to a method may be undefined for addEventListener through a reference with static type class.
Scene 1, Layer 'actions', frame 1, line 31061: call to a method may be undefined for addEventListener through a reference with static type class.
Scene 1, Layer 'actions', frame 1, line 41061: call to a method may be undefined for addEventListener through a reference with static type class.

I have videos in the same folder as it is said, and they are flv like the example - the only thing I changed is that there are 4 buttons and videos. No idea what is the problem?

Thanks for your time, broadband

Arnold

Based on static type errors involving all class objects, it seems you might have misnamed objects, possibly to assign these instance names in the wrong input field of the properties panel.  Instance names must only be entered where it says up in the properties panel.  If you have entered elsewhere in the Panel then try to withdraw from there.

Tags: Adobe Animate

Similar Questions

  • Question about the subscription renewal for vSphere lab Essentials home

    First post on the forum here.  My apologies if this isn't the right place for a question like this.

    I have a lab at home that I have set up using the "VMware vSphere 5 Kit Essentials" that I had bought on the VMware online store.  It was a pretty fun because it let me familiarize themselves with the technology that I use at work without the same consequences for the mistakes of the project.

    To be honest though, I have never much thought about support and subscriptions for it... Setup should really just have to learn and be the main server for my house projects.  The cost for me to buy the Kit of Essentials has been a little more than $500 a year ago, and it seems that my still currently active subscription (my account displays "subscription only" for the Essentials Kit) allows me to download the latest patches and maybe even upgrade to a new major version in the future.  I would like to continue the subscription, as this seems to be more profitable that leave on the subscription and then renew... compared to the initial $ 500, a one or three year renewal looks pretty good - and I'd get to continue to be on the latest versions of the vSphere Essentials.

    I thought it would be as simple as clicking on renew somewhere on my account, but that begins to not look like an option.  I think that I am driven to get in touch with a business partner for the subscription renewals (is this sounding right?).  This seems a bit much for me for a small laboratory at home like mine.  Is the only way to renew a subscription via a partner company?  If I'm completely off track here, please let me know.  If I'm here, does anyone know (or recommend) a partner company that manages small renewals as mine would be?

    Maybe I'm hesitant for nothing, but I thought I would ask those who understand the subscription and support better than me.

    Thank you very much for the help!

    Dan

    To answer my own question, I discovered that for users with contracts less than $3,000... is it possible to make a renewal online without the need to go through a partner.  It turns out that the link to the online renewal page is available through the 60, 30, 15 days notice in advance of the emails that are sent to the holder of the account (which is how I found it).  The page renewal me related to this FAQ PDF that I found useful.  I was able to successfully renew my subscription from the link.

    http://www.VMware.com/files/PDF/myvmware/VMware-online-renewals-FAQs-en.PDF

    The important bits for me were the following (from the FAQ):

    ====

    Q: clients access renewals online from VMware.com or My VMware?

    A: access to the online renewal platform is by a "direct link" sent to clients through the electronic communication of renewal.

    Q: when VMware will send me the link of renewal online?

    R: the link for customers to renew online will appear on reminders e-mail sent 60-30-15 days prior to the expiration of the contract.

    Q: can customers renew all contracts renewal online?

    A: customers will be able to renew those contracts to a total value of less than $3,000 USD only. Customers will have the option of

    move to a higher level of service, or a longer term, as you wish.

    ====

    Hope that helps future lab home amateurs like me.

    Dan

  • A few questions about Toshiab reocvery disk for Satellite P300-133

    Hello guys,.
    I had a few questions about unpleasant surprises of recovery:

    (* 1) * I just make recovery DVD using Toshiba Recovery Disk Creator and he asked initially for 2 DVDs - but when one has been done it does not require a second blank DVD. Is it possible all the Windows Vista system files to write on 1 DVD?

    (* 2) * if I could reinstall Windows Vista using recovery of HARD drive option (by pressing F8) without using the recovery DVD?

    (* 3) * HARD drive partitions that will be formatted (just system C: or C: and E :) using HARD drive recovery?

    (* 4) * what is DVD - Image of the hard drives or the installation of Vista recovery files?

    Its pretty bad idea to not include BONES on DVD when I paid for it.
    Thanks for all the Toshiba problems :(

    1. I think the recovery disk creator means 2 CDs. I also have a Portege M700 with Windows Vista and a DVD. I got it and after that, I have a clean install of Vista with all the drivers and tools of Toshiba. Nothing is missing.

    2. Yes, you can reinstall Vista using recovery of HARD drive option when you press F8 at startup. You don't need the recovery DVDs, but you should create a when your HARD drive get some errors or something else. If you need a new recovery DVDs, you paid for one.

    3 HARD drive and complete partitions will be formatted, so backup your data first on a DVD disk external DRIVE, USB stick or something else.
    After the reinstallation, you have factory settings.

    4. the recovery DVDs is an image of the HARD disk on the factory settings. If you perform a recovery, there are all the drivers and tools are already installed. Of course, on the disk are files of installations of Vista, but you can use this DVD on your Satellite P300. The disc cannot be used on another Satellite or on a PC.

    If you have any other questions, take a look in the user manual. There are a number in the formations of the recovery. It s in Chapter 3.

  • Question single skier on password for Flash Player

    I keep saying to update Flash Player, but my Adobe password is not accepted for Flash Player sign in.  How can I get a password for Flash Player?

    This password is presented by your operating system and is designed to prevent you from accidentally installing the software.

    If it comes to your personal computer and you don't need a password to connect to the computer when it first starts, you can probably leave the password blank and click OK to go to this prompt.  If it comes to your personal computer and your normal password does not work, make sure that CAPS LOCK SHIFT is off, and then type the password carefully.

    If this is your work machine and he asks an administrator password, well, you will need to have a conversation with your computer friendly.

    If you are still puzzled, you may need to reset the password on your Mac:

    http://support.Apple.com/kb/PH18653

    http://support.Apple.com/kb/PH14325

    http://support.Apple.com/en-us/HT201240

  • Rookie (?) Question about establishing a CS5.5 video for a particular specification

    Hey creative peeps!

    I received a specific format that allows to implement a video. I am not entirely new to the evolution of the formats of video, but this ones important enough, so I need to get the right setup. someone would be nice enough to talk me through the set up for the following specifications? I can * little * remember that some of this wount apply until I go to export the video, but I can never be too careful about this!

    Here is a list of the features that I received, that I'll write in exactly how they wrote it. Thank you a lot if you choose to spend the time to talk to me through this. It will be very appreciated!

    The finished video must be compressed in mpeg4 or quicktime (.mov) in the H.264 codec with the following parameters - frame rate: 25 p. image format: 1024 x 576 (SD); rates up to: 2000 Kbps.

    Any help on my initial setup in order to open a new file first and edit the images that I have the correct specification would be appreciated!

    Thank you in advance.

    Change the format, that the source material has. You import the source material in the Panel project, right rlick on a clip and select new sequence of the Clip. Then change everything you want and when ready, export to the given format using H.264. Don't choose QuiRcktime H.264.

  • Question about Auth Web certificate for WLAN Ciscon controller

    We test a Cisco's WLAN controller and I'm a bit confused about Web authentication certificate.  We use the Microsoft Certificate Services and we want to use it for authentication certificate.  The question I have is how to generate a CSR on the WLAN Ciscon controller so that I can generate a certificate on our CA internal?

    Thanks in advance

    This document will guide you through the process:

    http://www.Cisco.com/en/us/products/ps6366/products_configuration_example09186a0080a77592.shtml

  • Question about the Introduction of the video in After Effects

    Hey guys, I'm new to the Forum!

    I want to keep it's short enough for you guys so I'll try to make it as brief as possible. Here's my question/problem:

    In Adobe After Effects CS6, I created an intro for my videos on YouTube using a Premium battlefield model I found on YouTube and made it in a file format video 1080 p H.264 (.mp4) rendered by default "best settings". The introductory video lasts not more than 5 seconds. Having little knowledge of Adobe After Effects, I intend to learn more of the program using it as my default video editing (from Sony Vegas Pro 12) software and I seem to have a little drama.

    For those who regularly put introductions in their videos, I have a question for you.

    When I did a video today with my introduction in place (I had taken the introduction already made and placed in my composition and worked around it), but I noticed that the model I used was only a 1280 x 720 one. Making the resolution a bit distorted and 'big' than usual. My question is, should I render it again the introduction as well as the introductory model or continue to do what I did today is the introduction already rendered and move around?

    What do guys do generally?

    Thank you very much! I can't wait to hear the responses!

    Imagine a movement that is only 30 minutes long. Now imagine that the time between the cups about 6 seconds. It's 30 minutes multiplied by 60 seconds divided by 6 seconds. This means that your AE comp, excluding the effects, titles or other things going to have 300 layers staggered on the time line for 30 minutes. Now, imagine that you want to change shooting 244 6 seconds 9 seconds. Which leaves you only 56 layers to slide around.

    Add to restore each preview and preview of the deadline for the memory live available and you'll see why AE is a program that I recently used to create a second shot 9 of 64 layers for a commercial, but I used first Pro is what I used to cut only 9 seconds to 30 seconds of spot.

  • Question about the quality of the video

    A horse drawn carriage ride won from a client after their marriage. The camcorder settings say that I used to record HD 60i pictures. Import into FCPX, editing and export to DVD, a few images of trees and background looks blurry, has waves inside and looks partially distorted. Exported part of this sequence to Vimeo and it seems perfectly fine.

    Is the distortion due to the HD video quality in SD on DVD or am I missing something else?

    Thank you

    Interlaced film generally not displayed on a computer. How it is played from a DVD player to a TV?

    Russ

  • Question about the upgrade memory for my Satellite M40-307

    Sorry for the newbie question. But if I have 512 MB of memory for the time being, what are my upgrade options?

    Do I have to buy pairs of memory? So I can or buy 2 x 1 GB = 2 GB, or 2 x 512 MB = 1 GB + 512 existing. Or can I say just buy a single 512 MB or 1 GB chip?

    Since no one wants to answer:
    1. check if your laptop supports Dual Channel Ram (it should be, but just see the manual to be sure)
    2. knowledge of what type of RAM you have. This will add or remove a possibility of upgrade

    The thing with Dual Channel is, that you have the best performance if you use 2 RAM of the same type (really of the same type: company, size...)
    you could:
    3. Add a 512 MB of RAM of the same type you have
    3 b. buy 2 pieces of new RAM of the same type (1 GB + 1 GB, or 2 + 2 GB) and do not forget that your laptop supports this quantity (once again: manual to check)

    You will also find in the manual, if your computer supports DDR or same DDR2 RAM (faster)

    If you have lost your manual, you can download it here on the toshiba Web page

    I hope I could help a little.

  • Question about updating the BIOS for Qosmio G20

    I downloaded the updated the BIOS of my pc, not the Qosmio, the instructions say it will unpack into 3 files, one being a floppy disk installation. When I unzip on my desktop pc, it makes a file that s too big for a floppy and he won t unzip further because it locks up my pc.

    Is it safe to make it work on my desktop pc it can unzip then in the three files and this will affect my BIOS or y at - it somewhere that I can download the floppy part on its own to load on a floppy?

    Hello

    Just a question;
    You have downloaded the Qosmio G20 BIOS on the desktop computer, unpacked and now you want it please on the diskette in the floppy drive.
    Is this good?

    So now my suggestion;
    Firstly that the Qosmio G20 BIOS and other BIOS Toshiba cannot be updated using the floppy! This isn't traditional BIOS!
    The BIOS from the Toshiba page must be updated when the Windows operating system is running!

    By the way: you can unpack the BIOS on your desktop computer, but don t try to run all files, because the bad BIOS can damage the motherboard ROM module!

  • Questions about the Skype Online numbers

    Is it possible for me to affliate several numbers online with my account?

    Example, Korea, Japan, United States and Canada so calling them can call and leave me a message to my sales visits?

    Also, do I need Skype for this business?

    If the numbers are available for the countries you listed, you can have as much as you want. You don't need to have a business for these figures account.

    If you have found a useful post, please give Kudos. If she helped solve your problem, mark it as a solution to help others.
    Thank you!

  • Question about software from Toshiba for Satellite C850

    I'm a bit confused with the "software support" that came with my new laptop. It is not clear what programs are for.

    For example, I opened TEMPRO and he said an update of the bios which I duly installed.
    Then I looked at the SERVICE STATION, which also seems to be updated.
    Are there duplicates in all this?

    Can anyone recommend which of these programs must be active?
    Is there a brief explanation of what they are doing and if there is no "overhead" in their performance?

    Any guidance would be greatly appreciated. Thank you very much.

    I imagine that you are a bit confused about this.
    Two of them are nice especially Tempro applications. More info on Tempro Tempro service and you can read about http://eu.computers.toshiba-europe.com/innovation/generic/TEMPO_RELEASE_V1

    To be honest, I don't use any of them and both are removed from my system. In general when you get the new notebook you will have perfectly configured OS and everything will work stable for some updates so important steps will not necessary at all. Both applications running in the background and just slow down the system.

    If you have time check the other assignments on these applications. You will find many of them here on this forum.

  • Re: Question about the display driver for Satellite L850

    So, I bought a Satellite L850 as twe weeks and I am yet to know which driver do I need.
    I mean, it's better is one that comes with Windows Update or do I need to download it myself? I can watch videos and play games pretty decently while I don't mind so far.

    > I mean, it's better is one that comes with Windows Update or do I need to download it myself?

    The Toshiba driver page driver is usually the right one. Updated the and designed for the use of the laptop.
    But if don t have problems even while playing the game, don t change. You know: never change a system running ;)

  • Question about upgrading the CPU for Satellite 1110-Z14

    Hello

    My satellite 1110-z14 has a processor intel mobile celeron @ 1.5 ghz. The processor is based on architecture p4 - it should be a northwood-256.
    Is it possible to upgrade the processor?

    1110-z20 is powered by the mobile celeron @ 2.0 ghz - all other technical specifications except the hard drive are the same... (ati radeon m6 with 16 MB, usb 1.1 mob and so on...).

    What do you think, can I upgrade the processor?
    Can what cpu I use?

    Thanks for your replies!

    Hello

    AFAIK the 1110 series computer is equipped with an Intel 845MZ system controller.
    I found some details about Intel 845MZ chipset on the Intel page. It must be able to manage the Mobile Intel Pentium 4 - M with 400 MHz FSB Processor
    http://www.Intel.com/products/chipsets/845MP/index.htm
    On the Intel page, you can find the entire family of the CPU.

    But generally the replacement of CPU and the upgrade is not recommended and no one can say whether the OS will run stable after these updates, so be careful.

  • Equium L20-198: Question about BIOS and output s-video

    I seem to have two problems with it and that's when I put the bios password on above it on the screen is rubbish, scrammble symbols. Also is it supposd to come with s-video output, but it is a black plastic in place place

    Hello

    I certainly know that the S-video port is not available on all models Equium L20. Please check the specifications of the laptop even though I think that your model should have S-video port. Please contact your local dealer and talk with them about it.

    Your device has a valid warranty and if you think that there is a technical problem, contact the Service partner and explain the problem. Please don t make some BIOS update experiences if you are not familiar with this procedure.

Maybe you are looking for