simple slideshow will not work as long as 3.0

L.S. I have this little slide show, it is convenient for my students. It has always worked well in 2.0,

5 slides and two buttons: back and next.

The in2.0 script has: prevFrame and nextFrame in code

and for exceptions to frame 1 and frame 5 made us a new image 1 in the layer actions and coded the rear button, gotoAndStop (5); and a new framework 5 and coded the following button: gotoAndStop (1);

Works.

Now, I put the thing earlier than 3.0: and I can't do work properly... the work of buttons, but when I'm on frame 5 and back to 4, it will go no further than 4, evenso when I return to frame 1 of 5, I can't go more than frame 1.

Do I did wrong?

the fla in cs5 is attached.

Thank you

Anne Vossen

Post edited by: Vossen, I'm sorry but I can't find the button to load my files... so here's the script:

under section 1:

import flash.events.MouseEvent;

Stop();

next_btn.addEventListener (MouseEvent.CLICK, volgendFrame);
next_btn.addEventListener (MouseEvent.CLICK, eersteFrame);
back_btn.addEventListener (MouseEvent.CLICK, vorigFrame);
back_btn.addEventListener (MouseEvent.CLICK, laatsteFrame);

function volgendFrame(evt:MouseEvent):void {}
nextFrame();
}
function eersteFrame(evt:MouseEvent):void {}
gotoAndStop (1);
}
function vorigFrame(event:MouseEvent):void {}
prevFrame();
}
function laatsteFrame(event:MouseEvent):void {}
gotoAndStop (5);
}

section 2:

next_btn.addEventListener (MouseEvent.CLICK, volgendFrame);
next_btn.addEventListener (MouseEvent.CLICK, eersteFrame);
back_btn.addEventListener (MouseEvent.CLICK, vorigFrame);
back_btn.addEventListener (MouseEvent.CLICK, laatsteFrame);

section 5:

Stop();

next_btn.addEventListener (MouseEvent.CLICK, volgendFrame);
next_btn.addEventListener (MouseEvent.CLICK, eersteFrame);
back_btn.addEventListener (MouseEvent.CLICK, vorigFrame);
back_btn.addEventListener (MouseEvent.CLICK, laatsteFrame);

Essentially, you are trying to build a version complicated of conditionals to deal with the end points of the scenario with the approach that you have taken which is probably easier to explain by introducing conditional elements.

When you start playing with the different instances of the same name on the same layers there are anomalies that occur that there are simply no move.  For example, it is possible that the Framework 1 button keeps the event listener who has been assigned to the button in frame 5 even if you assign a new when she went back to frame 1, etc... anomalies that defy the intentions and the actual code.  Asigning different names for objects in adjacent images can also lead to erroneous results.  If you want to use new instances of the same object with different names, use different layers for each or separate instances with keyframes empty, otherwise, it may acquire the name of the former, regardless of your naming.

A 1009 error indicates that an object your code tries to target does not exist as far as your code sees it (and the error will be valid).  This may be due to lack somewhere a name or instance trying the target items that aren't in the current framework or other reasons.  If you go in your publishing settings and select the option to enable debugging, the line number of the offending code will be indicted in the error message right after the chassis number.

Tags: Adobe Animate

Similar Questions

  • Slideshow will not work in php

    I've just converted my HTML site in php, I have uploaded to the server main everything seamed to work perfectly, but after having worked around the site, I noticed that some of the sideshows were not working, (they work ok in the testing server) the links are ok, that the pages change but the ifames in which the sideshow load not load There is a list of 27 links to the shows, if you start at the top, you can go down to about 7 or 8 and they open ok, but after that, they open in Google Chrome, which is what I use most of the time, once I get to the 9th 8th link I get this message: this type of file can harm your computer. You want to keep when even index.html? In the same files would not open in Firefox and IE at all they all open but he was struggling. The shows were built using Adobe Bridge, I checked to make sure that all iframes are the same and they are, apart from the locations of sideshow that is, I tried to build a new sideshow since I changed to php, but that makes no difference. Any help would be appreciated thank you Jeff

    PS. The best way to the sideshows is via the site map link, go to the bar more links sitemap spry is at the bottom of the drop-down list, the first sideshow is the flooring Altro link, go there and you can access everything else

    http://www.thecarpetandflooringconsultant.co.UK

    Gads. When I click on the menu on the left floor Commercial, FF is prompting me to download/save and open all your index.html pages.

    As near as I can understand, you have created a lot of unnecessary php pages.  A php with the iframe ID page is all that is needed for ALL your slideshows.

    " id ="iframe1"name ="iframe1" src ="altro_web_photos/index.html"width ="767"height ="552"frameborder ="0">" "

    LINKS to open in an iframe even on the parent page.

    target = "iframe1"> link to slideshow 2

    target = "iframe1"> link to slideshow 3

    target = "iframe1"> link to slideshow 4

    All slide show pages need a type valid document, too.

    HTML - http://validator.w3.org/

    Working with bridge Photo Gallery Pages in DW

    http://foundationphp.com/Tutorials/Gallery/embed1.php

    Nancy O.

    ALT-Web Design & Publishing

    Web | Graphics | Print | Media specialists

    http://ALT-Web.com/

  • My IPhotos slideshow will not work

    When I click on the slide show, a title comes up and the first slide is displayed as well as the music. But he will not advance to the next slide - he TICs to the point when it comes to changing the blades and returns to the same blade. I use a Macbook pro and IPhoto 9.6.1 was a problem on my previous Macbook Pro so and persisted and OS X Yosemite 10.10.5 with this one. Any ideas?  David

    As a Test:

    Hold down the option (or alt) key and launch iPhoto. In the menu that appears, select 'Create Library'

    Import pictures into this empty library. The problem is repeated here?

    Post back with the result.

  • New product Kery will not work any longer

    I have a new pc comes with Windows 7 Home Edition.  The updated store to upgrade to Windows 7 Pro.  I have the card with the PIN code to get the product key and have the product key written to the card.  The PC tells me now that the OS is not authentic and that he will not accept the product key from the Control Panel Add/Remove software.  What else can I try?

    It seems to me that if you simply use telephone Activation.

    activation by telephone (call of the operator)

    Click the Start button

    in the search box, type

    SLUI 4

    and press the Enter key

    Follow the instructions, but when asked what service you need the ansafone phone, don't answer - it should oblige the operator to answer, who can deal with you

  • Script simple stop will not work - sometimes...

    So I have a couple of flash banner that I do, they are of different sizes of exactly the same thing. I used this script to stop the animation inside a clip called main_ufo on the main timeline:
    _root.main_ufo. Stop();
    _root.main_ufo. Door.gotoAndStop (89);
    _root.main_ufo.outterlights.stop ();
    _root.main_ufo. Lights.Stop ();

    This works on one of the amounts, but won't work on another size. I checked and double checked the publication settings (both are set to Player 6, actionscript 2.0), made sure all movie clips have been appointed properly, and at the time of writing, and I went in every single movie clip if there is no conflict inside them sure scripts. Still nothing. I even copied the video ufo directly from the banner of work and stuck in the banner of non-working and replaced in the library. I tried to change the _root. to this.
    I'm out of ideas. It works on my banner 120 x 600 and does not work on the 728 x 90.
    If I had hair I would officially be out. Open to all ideas/suggestions at all.

    Here's your corrected file: http://www.kglad.com/Files/fov_ufo_728x90_2_4.fla

    you use the same instance name main_ufo on frame 190, at the end of a Tween.

  • My loop is simple but will not work!

    Hello. I'm having a lot of trouble.

    I have a simple loop which goes through and sets a disabled button if its value is the database. The code is below:

    DECLARE
    benchmark(loop_count,expression) NUMBER (2): = 1;
    seat_count NUMBER (2);
    item_id;
    Item1 VARCHAR2 (5): = 'SEAT_;
    nom_element VARCHAR2 (10);

    BEGIN
    LOOP
    SELECT COUNT (*) IN seat_count
    SEAT WHERE showid =: global .showid
    AND seatnumber = benchmark(loop_count,expression);
    IF seat_count = 1 THEN
    nom_element: = item1 | benchmark(loop_count,expression);
    item_id: = FIND_ITEM (item_name);
    set_item_property (item_id, Enabled, PROPERTY_FALSE);
    END IF;

    IF benchmark(loop_count,expression) = 99 THEN
    EXIT;
    END IF;
    benchmark(loop_count,expression): = benchmark(loop_count,expression) + 1;
    END LOOP;
    END;


    When I run the form, I get 3 guests in a line saying "FRM-41045: can not find the point: invalid ID '.
    If I change the value of
    tem_id: = FIND_ITEM (item_name); TO
    item_id: = FIND_ITEM ('SEAT_10');
    for example, he will work on "SEAT_10" and will disable her, but cannot do through the variable and the loop.

    Everyone see anytihng wrong with what I wrote?

    Tahnks a lot

    Published by: lockmac on May 12, 2009 21:37

    Published by: lockmac on May 12, 2009 21:38

    Few things:

    What is the result of the sql query by operating in sql developer?

    From your code, it seems that you must have the items SEAT_1, SEAT_2... SEAT_99 in your form.

    Do you have the number of elements in your form?

    If the values are not there it will give you "article not found".

    You must also maintain in your code, if the element is present or not using something like below after your find_item:

    item_id := FIND_ITEM(item_name);
    IF Id_Null(item_id) THEN
       Message('No such item: '||item_name);
       RAISE Form_Trigger_Failure;
    ELSE
       set_item_property(item_id,ENABLED,PROPERTY_FALSE);
    END IF;
    

    It will be useful.

    Check the answer as useful / OK, if this can help you

    Carole

  • Components simple will not work.

    Oh my word. Years, I did a project in the spaghetti of ColdFusion tags and am now on it and want to improve it. Learning components, so I can hide the code especially recycled correctly. I'm after a walk to follow simple components components | Learn of the CF in a week. And this 'thing' will not work.

    I get the error message:

    cf components 2.png

    But... the syntax seems to me, and it's a direct and paste in the tutorial, anyway.

    Here's Greeting.cfc:

    < cfproperty >

    < cfscript >

    component {}

    variables.baseGreeting = "Hello";

    public string function getFullName (String firstName, String lastName) {}

    var arguments.firstName = fullName & "" & arguments.lastName;

    Returns the full name;

    }

    public string function getGreeting (String firstName, String lastName) {}

    var fullName = getFullName (argumentCollection = arguments);

    var message = variables.baseGreeting & fullName;

    return of the vows;

    }

    }

    < / cfscript >

    < / cfproperty >

    And here is the page simple call:

    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"

    < title > Untitled Document < /title >

    < / head >

    < body >

    < cfset greeting = CreateObject ("Component", "\CustomTags\Greeting.cfc") / >

    < cfset MyHelloWorld = Greeting.getGreeting (firstName = "Emily", lastName = "Corbeil") / >

    < cfoutput >

    #myGreeting #.

    < / cfoutput >

    < / body >

    < / html >

    What the everlovin ' happens here!

    Thanks in advance for the index. Obviously, I have a long way ahead of me.

    amy_yl wrote:

    Here's Greeting.cfc:

    component {}

    You try to define a component within a component. Which is not allowed. Use only one.

  • Telstra Australia tell me that I have to use Chrome, as their facilities will not work with Firefox. Why?

    After spending literally hours trying to pay an account on Telstra Australia (that I just joined them, so it's the first installment), I finally gave up and contacted directly. I was told that Telstra services will not work with Firefox and that their preferred system is Google Chrome but Internet Explorer will not work.
    I have used Firefox for a long time and I'm happy with the program. Specifically, I have everything set up to work with Firefox and do not want to change. At the same time, I want to have the convenience of paying bills online.
    Can I load up, Google say, just one thing, or the program will then try to "catch" other functions as well?

    Yes, you can install Chrome and use it for a website. "Recovery" Chrome as other functions on your PC, just don't let it not be defined as "browser default" If you are prompted during the installation procedure. In addition, I doubt if you'll have a problem.

  • FN F6 and F7 for less bright and shiny LCD will not work with XP on A305-S6845

    modules common to xp... not on this model...

    added value for xp... not on this model...

    FN F6 and F7 for less bright and shiny LCD will not work with XP on A305-S6845

    C2D t8100, chipset intel, no normal fn keys FN + F5 doesn't seem to operate 'naturally', as do some others that I don't use, but the idea that I spent 8 hours to find all the xp drivers for this thing and can NOT dim my lcd...! ******ed...!!!

    The Toshiba REAL will raise your hand... Please?

    you KNOW millions are without downgrading from vista to xp, GIVE US THE DRIVERS...!

    I had to just to get the rest, scout intel boooted to viata while just to get the wifi, then start on xp, install the wifi, then had to get drivermax (amazing) to find all the drivers

    but no one knows where the FN drivers (no pun intended...)!

    None of the drivers Vista FN will get them to work with XP

    XP drivers for other models will not be installed on this model

    It comes from * ed

    1200 for a machine that cannot dim the lcd...!

    It is unlinke toshiba, how long could possibly take something for xp on to the A305 recompile!

    If someone has an A305 with c2d, get drivermax, they have now all other drivers of my job of paving 99.999% perfect...

    I will also publish on 4shared.com in a massive zip...

    Ok

    Send me a fix...!

    (too late for a refund...!)

    TOSHIBA! everything I own is TOSHIBA... !!! three laptops from toshiba... just give my xp for my A305 drivers...!

    If you come from the United States, I'm afraid, you're on the wrong place. Try to post the same thing on http://community.compuserve.com/n/pfx/forum.aspx?webtag=ws-laptop&redirCnt=1 it's US forum.

    Here are mostly from Europe and Toshiba Europe has nothing to do with Toshiba WE. The company, but may be different marketing strategy and support.
    Maybe you'll find people with the same opinion.

    > 1200 for a machine that cannot dim the lcd...!
    I take you seriously with your opinion, but after reading this, I think that this comment has nothing to do with reality. Recovery of installation image and you'll have the complete functionality for laptop. You have the stick of Windows Vista on your laptop?

  • I have a laptop hp envy dv7 - 3723cl, the simple pass does not work

    My simple pass does not work. I have check the biometric device, the software is up-to-date, and it gives me an error code 19.

    On my installed programs I do not see the simple pass program is no longer.  How can I get the correct software to reinstall?

    Help, please

    Hi @GStefanakis ,

    Welcome to the HP Forums!

    It's a great place to find answers and information!

    You have the best experience in the HP forum, I would like to draw your attention to the Guide of the HP Forums Learn how Post and more

    I was unable to locate specific information about a desire dv7 - 3723 cl.

    How can I find my model number or product number?

    Here is a link on technet.microsoft.com that can help.   Code 19: Windows cannot start this hardware device because its information of configuration (in the registry) is incomplete or damaged

    You can try a system restore to a date well known.  Using Microsoft System Restore (Windows 8)

    If the above did not help, I uninstall and reinstall the software Simplepass.  Using the Recovery Manager to restore the software and drivers (Windows 8)

    I hope this helps!

  • Windows xp oem product key will not work with a generic copy of xp family. How can I make it work?

    This HP model is: Pavilion a530e.  It crashed and the original CD is not on this earth.  I installed a generic copy of Windows XP Edition family (the same as the original OS, but different SP level).  I left the empty product key because it would not of him who is on the side of the CPU!  How to fix this?  I have access to the internet and to do automatic updates, but the Microsoft Authentication in Windows Update Web site has not been made.  Help, please!

    The OEM key on the side of your Tower will not work with the XP cd to retail. You need a manufacturer OEM copy such as comes with some Dell, gateway machines.

    You can get the recovery disks that don't require any key to activate it. HP can carry is no longer, but they are available here. Just put your model number in the search:

    http://www.computersurgeons.com/

  • Wireless, Satellite A500-17 x will not work

    Hello

    Bit of an issue, the wireless on my laptop will not work. It is certainly a problem with the laptop itself, the router etc are all fine. I can connect to the internet with a cable, but Wireless does just not all. The switch on the front of the laptop, which should turn the radio power, has no effect. Before this problem of switching on the position 'on' would cause icon connection Wireless next to the switch to light up, it's no longer the case. Furthermore, when I tried to check the drivers in Device Manager there are only one option under "Network adapters", which is the "Realtek PCIe GBE Family Controller. Right click and select "update driver software...". ' result in a message saying that the proper drivers are installed. I don't know, but I suspect that there may be a lack of adapter or something?

    Any help much appreciated.

    Maybe some unknown device appears in Device Manager?

    You should have 2 entries for network adapters. One for the LAN and the other for the WLAN.

    By the way: when you set switch WLAN on WE and when you use FN + F8 what happens exactly?

  • LaserJet 1018 will not work on windows 7

    I have a HP Laserjet 1018 which works fine on Windows Vista 64 - bit.  I just built a new PC and put Windows 7 Home Premium 64 - bit on it.  The drivers on the HP support site will not work.  When I try to print something, it is sent to the printer and disappears.  I interrupt printing that document actually get sent to the printer and it appears.  As soon as I have some Nations United-pause the printer, the document disappears, but nothing prints.  Normally, when something is sent to the printer, the "information" LED yellow lights up momentarily and prints the document.  The led does not at all.  I tried new cables, uninstalling and reinstalling etc.  Nothing works.  Just to be sure this isn't a printing problem general, I connected a Laserjet 1020 on the new machine and it works fine.  However, it is my printer to work and I can't leave it on the new computer, which is a personal computer for my home.  It worked to identify that my copy of Windows 7 allows you to print, but is not a long-term solution.  Help?

    Hello

    Thanks for the post.  On this one, I have some ideas.  I pasted the links below.  One is for the driver Win7/64 page and the print diagnostic utility.  I would certainly recommend the utility to narrow down the issue.  The other is a related document in queue which contains excellent information.  Good luck!

    http://support.HP.com/us-en/document/c02239404

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=4063&LC=en&cc=us&DLC=en&sw_lang=&product=1814094#n190

  • Upcoming games with Windows 7 will not work on Presario SR1020NX. Upgrade Advisor said that W7 would work with the exception of the Aero

    W7 Upgrade Advisor said it would work with the exception of Windows Aero.  When the games to try to come with W7 get window 'game running in software rendering... '. Hardware acceleration disabled or not supported by the video card driver"games will not work. A check says last drivers are installed.  Tried to reinstall WXP in separeat partition to see if would work like that but will not because most recent W7.

    I suggest that you use XP personally gave a computer which is so old.

    If you have a computer with XP (3 + years) and have not changed at least two of these things (CPU, RAM, video card), you should probably stick with XP. Not worth the headache of praying that things work with a material more old which probably is no longer supported on the new OS.
    Usually, people that the computer was shipped with Vista 1, 2 or less it several years ago can be upgraded to 7 without too much trouble if it was a mid-range machine.

    In addition, it seems that Windows is not recognizing your graphics card. It looks like (http://www99.shopping.com/xPO-Hewlett-Packard-SR1020NX-CEL2-8-512-80-COM-XPH) you have an Intel Extreme graphics card. However, nothing about it is extreme. Since it is an extreme Intel card I guess Windows Update should find the drivers for you, but it is not then maybe the video card is just too outdated for 7? I'm not sure.

    Moreover, I wouldn't worry much about the lack of updates for XP right now. If ever you encounter more money then get the new computer with 7 on it, but at this time I suggest you stay on XP if your hardware and software actually works and that is more important than a few features of 7.

  • Can I do a clean install of Windows 7 Pro 64 bit on Vista Ultimate 32-bit upgrade. Installation file will not work. The error is described below.

    The XPS 730 with Intel Q9450 computer yourself running Windows 7 64 bit? The details of performance show that it is capable of 64-bit. When I try to install Windows 7 pro 64-bit upgrade, the installer will not work. I get an error that reads:
    The version of this file is not compatible with the version of Windows that you are running.

    I'm currently running Vista Ultimate 32 bit. Everything that I read on Microsoft and elsewhere says that you can go from Vista 32 bit to an operating system Windows 7 64-bit as long as you do the clean install. I'm that far away since I can't even run the installation.
    Maybe nobody knows what could be the problem?

    Hi Hal K,

    Thank you for visiting Microsoft Answers.

    If you are currently running a 32-bit version of Windows, you can only perform an upgrade to another 32-bit version of Windows. Similarly, if you run a 64-bit version of Windows, you can perform an upgrade to another 64-bit Windows version.

    If you want to move from a 32-bit version of Windows to a 64-bit version of Windows, and vice versa, you will need to back up your files and then perform a custom of the version of Windows you want to install installation.

    You can see the following link, installation and reinstallation of windows: http://windows.microsoft.com/en-us/windows7/Installing-and-reinstalling-Windows

    http://Windows.Microsoft.com/en-us/Windows7/32-bit-and-64-bit-Windows-frequently-asked-questions

    Swati K - Microsoft support technician
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for