Code works on an image, but not the other

I have 2 images in my film, 2 buttons and a video.  On the first image, there is code button #1.  On the second picture, I code button #2, but I also want to appear on the first image. The problem is that when I put the code for the second button on the first image, the video will not play.  If I can have it only on the second image.  I can't understand why the code that works when its framework on 2, then will not work on frame 1.  When I put the code on frame 1, it breaks the functionality and the video will not play.

This is the code on frame 1, button #1 (btn_skip):

Stop();

btn_skip.addEventListener (MouseEvent.CLICK, fl_ClickToGoToWebPage_2);

function fl_ClickToGoToWebPage_2(event:MouseEvent):void

{

navigateToURL (new URLRequest ("http://www.brokerschoice.com/Black_Vault/innervault.html"), '_self');

}

Import fl.video.MetadataEvent;

mymovie.addEventListener (MetadataEvent.CUE_POINT, fl_CuePointHandler_2);

function fl_CuePointHandler_2(event:MetadataEvent):void

nextFrame();

This is the code on frame 2, for the key #2 (btn_skip): this code works if I put it on the frame 2, but breaks the video if I put it on frame 1. I need to have this code on frame 1 as well.

btn_homePage.addEventListener (MouseEvent.CLICK, fl_ClickToGoToWebPage_3);

function fl_ClickToGoToWebPage_3(event:MouseEvent):void

{

navigateToURL (new URLRequest ("http://www.brokerschoice.com"), '_blank');

}

Thank you

If it were true you wouldn't have a double function error.  Alternatively, the error is not related to what I proposed.

in any case, fix it if you don't have two names of the same functions.

Tags: Adobe Animate

Similar Questions

  • My Wired internet connection works on a computer, but not the other.

    I have a rope Ethernet connecting my cable modem to my laptop. When I plugged it in, it immediately connected my laptop to the internet. I took this same chord and plugged into my office. It connects, but I get a 'local only' connection and cannot access the internet. I tried all suggestions from windows to solve the problem. I reinstalled my network card. I played with all the internet options in Control Panel. How to make this work? It is clearly not the modem or the cable because it works on my laptop.

    I am running vista on my desktop.

    Hello

    Is that your desktop is configured to obtain an IP address from the DHCP server? Open the local area connection properties in your office and check the properties of the Protocol ' TCp/Ipv4. Be sure that this radio button for "obtain an IP address automatically" is selected.

    Thank you

    Girish

  • @HspNthMbr work in an application, but not the other

    Hello

    I want UDF @HspNthMbr, it was first recorded in a single application, so I copied into another application where I want to use.

    I copy in environmental assessments, after the copy, write a very short script as below. When I hit the check button it throws below error msg. I tested this script in the original application, it worked fine. I also tried to register instead of copy, the result is the same. Can someone help please?

    Error: 1200471 error analysis formula [statement of DIFFICULTY] (line 1): expression expected before [)]

    / *-Script-* /.

    Fix (@Member (@HspNthMbr (@Name (@relative("YearTotal",0)), 1)))

    "No account" = 1;

    ENDFIX

    -----

    Update: I noticed in the ESSBASE newspaper, after that I have copy the function from one application to the other, he appeared to be Ok enter the 2nd application, what else must be done after copy and which could have other reasons?

    Pls help and thanks in advance!

    HSP functions considering specific custom functions, so if you use it on another planning application, then you will have to refresh custom functions from screen updating of database planning.

    If you try to use it on an application for Essbase, I doubt that a copy is not going to work. (Not sure that you are allowed to copy these CDFs on Essbase application)

    Concerning

    Celvin Kattookaran

  • Form validation works on a page, but not the other...

    Hope someone can help with this.

    I have a page below with a load of contact forms that all work well:

    http://www.goodsafariguide.com/judges/judges.php

    I have corrected to re-create (it is true that for the most part by Save under...) same features here:

    http://www.goodsafariguide.com/AwardsSite/judges/

    They do not work when trampled in correctly, but there is a little problem with validation.

    Basically when you complete a form properly, the page reloads with accordion of the closed form. When you open it upwards, his watch the ugly error in the search at the top of the form.

    Any ideas what is causing to act like that, as opposed to the way it works in the first link?

    Thank you.

    Iain71 wrote:

    ....

    I have corrected to re-create (it is true that for the most part by Save under...) same features here:

    http://www.goodsafariguide.com/AwardsSite/judges/

    They do not work when trampled in correctly, but there is a little problem with validation.

    When you look at the source code, I emphasize that - unlike the first page - this a doesn´t contain all references to uninstall form validation libraries ("... / includes/tng/scripts/FormValidation.js"and"'... / includes/tng/scripts/FormValidation.js.php '), which means that the work of can´t of validation.

    See you soon,.

    Günter

  • SWF is MIA on a field, but not the other?

    I have a modest Web page which I use primarily to set up the occasional photograph of the family:

    http://www.staggclan.com

    .. .and that contains a Flash xreferencing file a Flash video. That's what it is supposed to look like: http://www.dfwaug.net/test/index.html.

    As you can see - the video works very well in this last example (it's the same hierarchy). But why don't you see the video on my site? You can take a look at the source for staggclan.com on this page and you can see that I'm NOT xreferencing my hard drive and I am referencing an image that has not been downloaded (although I was - you would see at least one indicator 'broken image'). It does not even include space for where this video should be - it's as if he was not yet placed there.

    For the life of me I don't know what the problem is. Why is - that will work in a field, but not the other (both hosted by 1 & 1. com)? One who can correctly solve this problem for me will find me ETERNALLY THANKFUL.

    All the best.

    I'm just using DW8 to insert this .swf on a page. Obviously, I had deleted by mistake the "Scripts" folder is published with the course when I put on my server - so - no multimedia.

    Its a long time I have been using DW since now, we mainly use eLearning software rapid development. Gawd how I miss DW. Fortunately, I get to 'play' with it from time to time on the home front and have since updated my 'official' home-homepage which is now showing the video correctly:

    www.staggclan.com

    It was certainly a learning experience...

    Kevin

  • Just got 2 of SE. Weather app works on one but not the other.

    Just got 2 of SE. Weather app works on one but not the other. Ideas?

    Drosea,

    Define/describe does not.

    What's the weather App?

  • My Nano Gen 7 is recognized on a single computer, but not the other

    My Nano Gen 7 is recognized on a single computer, but not the other.  I went through all the troubleshooting tips.  Different cables, try all USB ports, uninstall/reinstall itunes, etc.  I have itunes more up-to-date software.  I was able to connect the ipod to my backup computer and confirmed that I also have the software more up-to-date on the ipod.  Since I am able to connect to it, I also did a factory reset the iPod, but it still wouldn't connect to my main computer.  Nothing has worked.  I think there must be a setting on my pc.  I use the latest version of windows 10.  Any suggestions are welcome.  Thank you

    I just bought an Ipod Nano 7th generation and itunes does not recognize it.  Had by all the standard troubleshooting (uninstall/install itunes, etc.) and no luck.  My PC recognizes, he calls the 'nano' but acknowledges as a USB mass storage device.  I spoke to a support person from apple for more than an hour to help me troubleshoot it, finally they just said it was a windows problem, and I need to contact Microsoft.

  • Flash Player crashes a pc but not the other

    I have two PCs each running xp sp3.  Players of Flash in Chrome and Firefox crash one of them, but not the other.  Obviously something is different between the two computers, but how can I evenbegin to understand what he.  I've seen a lot of posts on Flash crash peoples computers and no satisfactory answers to my problem.  Thanks for responding.

    First thing to try on the computer crash is to disable hardware acceleration (http://forums.adobe.com/thread/891337).

    If this resolves the problem, then you should update the drivers for your graphics card (and re-enable hardware acceleration).

  • Why the HDR toning work with some pictures, but not for others?  I have CS6.

    I have Photoshop CS6 and when I go to HDR toning, it is only highlighted for work with some photos, but not others, why?  Thank you.

    HDR toning does not work with CMYK images. Change the RGB color mode, and then you will be able to use HDR toning. It also works with the color to grayscale mode.

  • Audio in a timeline yet, but not the other?

    Hello

    I am trying to solve a problem in a timeline yet for Blu - ray with a MPEG2 and AC3 file.  It's weird because with the exact specifications of the same file for the video and audio, I'm able to hear the audio from the test project calendar (short term), but not the project calendar full length (about an hour and a half in duration).

    I'm burning a disk to verify that audio is just not there, rather than a problem reading with the project any longer, but can anyone suggest what may be broken here?  Again, the two projects seem to be identical in the parameters and specifications file for the video and audio, only the duration of a (work) is shorter than the other (does not).

    The audio file has been posted outside still like audio playback.

    Thank you for all what thoughts - what someone might have here.  BTW, the project has no menu screen.  That's a 'read only' Blu - ray disc

    Mtbakerstu

    That shows the status of transcoding of comics for each importing audio?

    Confirm that it is import and not dynamic link.

    How do you know that the file specifications are identical?

  • Why my AS3 code working in 1 project, but not in another?

    I had a small project by working with simple buttons that worked very well. I had to restore my project and now it does not work. Ive cut all new code that I added and it did not work. I made a completely new project and copied the layers I'm testing and just the code that had the first working draft and it did not work either. any suggestions on why this might happen?

    This can be a bit of a twist when it comes to understand because this is what I consider an anomaly of the Flash.  If you have different instances of the same object in the adjacent images, then the object the latter will inherit properties of the thing seized.  Sometimes it works to your advantage and sometimes it will leave scratching you your head trying to solve a problem.

    You have shown just in case, you have an object in the frame of 30 and I guess it is the same object that is in frame 1.  Based on what I just explained as an anomaly, even if you were to remove the name of the instance of the object in the frame of 30, or call it something else, it will persist with the name of the instance assigned to it in box 1.  Try it and see - it should always work.

    However, if you interrupt (that ness adjacent) regarding placing a keyframe empty between frame 1 and 30, you will find that the button no longer works in the frame of 30.  He is most associated with the earlier proceedings.  To get back to work, you reassign Auditors properties.

  • How to apply in the world of shadows to images, but not the frames in CS5?

    Hi, I produce a catalog and want to have the possibility to apply a drop shadow to the image of each product. The images are all placed .psd files.

    I have the images with an object style for the editing of the image etc-, but when I try and apply a shadow in the same style, he adds a shadow to the image and race around the edge of the frame?

    Help!

    Yes, if you are framing mounting options there will be a resize.

    There is one thing that seems pretty cool. You can drag and drop the symbol FX from the effects to the image Panel, and if the FX style is applied to the image she also gets appied to the graph in the framework you drag and drop to. That could speed things up if you want to do in InDesign.

    AND you can do it too with Object Styles - if you drag and drop on executives.

    But here's the thing - a framework for the drop shadow for each image is probably unlikely in InDesign, if you have smaller pictures so the shadow effect is larger, and becomes the largest image over the shadow effect.

    In order to have a universal style for all Drop Shadows is unlikely to work - if you catch my drift? Unless all products are also of size or of a similar size?

    The other thing is that InDesign sorta make sense. It has always been a framework for space and an Image or a text is placed in a placeholder. The frame and the Image/text are therefore two separate components.

    It's just a pity there's no "graphics of find/replace' or a 'Panel of graphic Style.

    It is certainly interesting - and you should put it forward as a feature request

    https://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform

    I don't know why "Graph" is not an option in the effects Panel, without having picked?

  • Get a preview of image files but not the other files

    In the Finder (or an alternative file manager) is there a way to show previews of image files, but not for the other files?

    With the image files, it will display a preview. With other types of file, a preview is useless and its best to see a standard icon indicating the file type.

    Any decent file on all Linux distributions browser lets you choose Preview vs standard icon based on case by case basis depending on the file type. I can't see how to proceed in the Finder (or the various alternatives as TotalFinder). How can I me Finder for this?

    The thumbnails, you mean? I don't think that there is a 'decent' solution for OS x. But then again, I don't know everything.

    https://www.Apple.com/feedback/MacOSX.html

  • VMWare Workstation - clone an image but not the OS license?

    I have Windows 7 and 2008 and images Linux VMWare Workstation fully licensed, with additional products installed and configured with data for a demonstration complex.  I can't give a partner (that is outside my company) because I don't have a license for redistribution of OS, so I was wondering if it is possible to make a sort of clone of my image into an image VMWare the BP prepared as fully licensed, without crushing for example the Windows license info , so not a clone of bit for bit full.  For Linux, I think I could make rsync between two images, but how can I do this on Windows with its registry etc. ?

    first to clone then boot from a cloned image & changes made again a clone

    _________________________________

    Good luck!

    It is the answer to your query. Be sure to mark the response, which helps others.

  • My filter (for ads) works for some shippers, but not for others

    I have several filters. One is "Advertising" for ads I want to read later, but need not be cluttering up my Inbox. It seems to work for a couple of the entries but ignores the rest. I checked the spelling, and they all seem to be correct. My settings are:
    Apply filter by operating manually,
    Apply the filter when getting new messages, filter before spam classification,
    correspondence to one of the following values
    Contains (followed by the name of the seller, such as honda, staples, cvs).
    Move messages and ads

    This is a support forum for Firefox. You will need to contact your
    e-mail assistance provider.

    The filters have all send your 'junk e-mail' folder, but the implementation
    a list of 'safe' for those that you want.

    Separate the issue;
    Shows details of the system;

    Plug-ins installed

    Adobe Shockwave for Director Netscape plug-in, version 12.1.2.152
    Adobe Shockwave for Director Netscape plug-in, version 12.0.3.133

    Having multiple versions of a program can cause problems.
    You must remove older programs. Then download the current full installer.

    Shockwave Director:
    Shockwave Standalone install / Uninstaller {web link}
    Shockwave Director Version 12.2.1.171 http://get.adobe.com/shockwave/

Maybe you are looking for