Animation works, simply at the first time

it :)

I thought that I finished my animation film. But after a test in the browser, I recognized that my work doesn´t of very good animation. There is a symbol in my animated film, it appears when you click on an image and if you click on a button, it starts to play and loops. If you click again it closes.

My problem is that it works when you start the symbol for the first time. If you close and open it again it s just start somewhere in the middle of the animation without hitting the button.  Some had the same problem or can help me?

Mr. monsen

HM sounds to me like you have the movie playing on the loop and when you click a button, it automatically the convening as the animation by showing it.

Meanwhile, he always plays on the loop.

What you probably need to do, is to tell him to play from the first image of this symbol (0).

I don't know how you got your composition in place, but something like this:

sym.getComposition () .getStage ().getSymbol("ANIMATIONSYMBOL").play (0);

.. prolly could be simplified if you use the coding directly on the button.

So basically, as well as the code that turns on the visibility of the button, you'll want to play 0.

I hope this helps!

Tags: Edge Animate

Similar Questions

  • Colors in Windows 7 too bright/faded after running Windows Update for the first time (everything was going well after initial installation). See the details.

    I just installed Windows 7 Pro on a HP Pavilion with a HP w2007 20 ". I have had no problem of color first and everything worked fine. The first time I ran Windows Update, it included an optional update called "HP - display - HP w2007 LCD wide screen". That the update "has failed" to install and when I rebooted, my screen had a look very 'neon' - my desktop background, a picture of a tree with a bunch of Red leaves, was very washed out and now most of the leaves were bright red with no visible details. This is obvious everywhere, not only my desktop background (another example... small green circles next to the names of Gmail chat contacts are very bright green, more even than usual). Everything is too bright. I tried the following hotfixes:

    -Manually reinstall the update of the HP screen (it worked this time) and restart - did not work.
    -Reset my monitor to factory setting - has failed.
    -Download and install the latest HP driver for this monitor - did not work.
    -Through: "Control panel-> appearance and personalization-> display-> Calibrate color" and through an assistant color calibration (that's new for Windows 7?). Also, did not work.

    I have the dual-boot of Ubuntu installed on this machine and I think the colors under Linux are always very well, so I think it's a problem with Windows and not the monitor. Because it was working fine before, I would rather try to get everything worked, rather than the update manually the brightness/contrast of my monitor. Any ideas?

    A useful answer, I got on another forum (windows7forum.com). It worked:

    I had this problem too!

    In my case it is also explained by a driver from Windows Update called "nVidia display".

    Fortunately, I figured out how to fix it:

    1. Open Computer Management (start > right click on "Computer" > Manage)
    2. Select "Device Manager".
    3. Select 'show cards '.
    4. Right click 'NVIDIA GeForce 8600 GT' (or whatever your video card)
    5. Click 'properties '.
    6. Select the 'Drivers' tab
    7. Click on the button "return to the version.
  • Animation animate edge does not start the first time I load the page. But the second time.

    Hi all

    I have problems with animation of edge on a web page. It does not load the first time the page is loaded, but charge very well the second time or at any time after that. To test I empty my cache, then reload the page. It seams to work in Internet Explorer, the first time, but not Firefox or chrome.

    I have a temporary copy of the page here... http://emiwip.com/Monique-Mathieu/landing-page-WIP.html

    Can someone tell me what is happening?

    Thank you.

    Dan

    I found the answer here... Publication is no longer works in the latest edge

    It seems that you need to load the last jQuery in the head of the pag. That suits him.

    Dan

  • My AS3 buttons only work the first time

    I set up my buttons so that are each a movieclip with 'plus' and 'out' States/frame labels. They exist in the main timeline. Their control actionscript code is located in a frame on the main timeline and the holding frame that actionscript is about even in the main scenario where the buttons are introduced. I use actionscript 3.

    The buttons have been implemented so that they navigate to another image in the main scenario and on this frame are a film. The dimensions of the movie are smaller than the main stage so that the buttons are still accessible when each video is played.

    The problem is that my buttons work only once - by that I mean they go to the correct place when you click on the first time, but when they are clicked they still sail elsewhere.

    Totally doing my head in trying to find a solution and if someone can help and show me what I'm doing wrong, what would be really useful. Here is the code I used for the buttons...

    Stop();


    function mainBtnOver(event:MouseEvent):void {}
    event.target.gotoAndPlay ("over");
    }
    /////////
    function mainBtnOut(event:MouseEvent):void {}
    event.target.gotoAndPlay ("out");
    }

    CLICK INDIVIDUAL BUTTON FUNCTIONS
    function mainBtn1Down(event:MouseEvent):void {}
    gotoAndPlay ("01Movie");
    }
    function mainBtn2Down(event:MouseEvent):void {}
    gotoAndPlay ("02Movie");
    }
    function mainBtn3Down(event:MouseEvent):void {}
    gotoAndPlay ("03Movie");
    }
    function mainBtn4Down(event:MouseEvent):void {}
    gotoAndPlay ("04Movie");
    }
    function mainBtn5Down(event:MouseEvent):void {}
    gotoAndPlay ("05Movie");
    }


    Button 1 listeners
    mainBtn1.addEventListener (MouseEvent.ROLL_OVER, mainBtnOver);
    mainBtn1.addEventListener (MouseEvent.ROLL_OUT, mainBtnOut);
    mainBtn1.addEventListener (MouseEvent.CLICK, mainBtn1Down);
    2 button headphones
    mainBtn2.addEventListener (MouseEvent.ROLL_OVER, mainBtnOver);
    mainBtn2.addEventListener (MouseEvent.ROLL_OUT, mainBtnOut);
    mainBtn2.addEventListener (MouseEvent.CLICK, mainBtn2Down);
    Button 3 listeners
    mainBtn3.addEventListener (MouseEvent.ROLL_OVER, mainBtnOver);
    mainBtn3.addEventListener (MouseEvent.ROLL_OUT, mainBtnOut);
    mainBtn3.addEventListener (MouseEvent.CLICK, mainBtn3Down);
    Button 4 listeners
    mainBtn4.addEventListener (MouseEvent.ROLL_OVER, mainBtnOver);
    mainBtn4.addEventListener (MouseEvent.ROLL_OUT, mainBtnOut);
    mainBtn4.addEventListener (MouseEvent.CLICK, mainBtn4Down);
    Key 5 listeners
    mainBtn5.addEventListener (MouseEvent.ROLL_OVER, mainBtnOver);
    mainBtn5.addEventListener (MouseEvent.ROLL_OUT, mainBtnOut);
    mainBtn5.addEventListener (MouseEvent.CLICK, mainBtn5Down);

    I'm sure it's doing me something very stupid - I am very new to AS3. Any help much appreciated.

    Thank you :-)

    If the image labels, you have video clips that have the content of your presentation, you must use gotoAndStop ("frameLabel") instead of gotoAndPlay ("frameLabel"). There is no need to play the main scenario, when you go to and present one of these clips. I don't know if that's your problem, but... Using your code, I had no problem.

    In addition, you can configure your animated buttons in a way that eliminates the need to have your ROLL_OVER and ROLL_OUT event. It is not necessarily better, but just another method. Although I could use other ways to animate a button, I don't want to reduce the code to use the buttons in an interface and use only the CLICK in the majority of cases.

  • Order for the first time lost all work and settings.  It can be recovered?

    Close my new Macbook Pro for the first time.  I lost all my work and my settings.  Almost anything can be recovered?

    He was an administrator account or a guest account?

  • Firefox anchor link works the first time, fails the second time

    My site uses anchor of the form href = #1234 file.htm links to access < a name = 1234 > in file.htm.

    It works fine when the site is loaded locally on my PC at home. When I download on my site platform it works the first time I use, then fails by jumping to the top of file.htm. IE works fine on the platform of the site as well as on my PC at home.

    Hello

    I'm glad to hear that your problem has been resolved.

    If you have not already the case, please mark this thread as solved by the solution of marking.

    This will help other users experience similar problems helps to find faster and more efficiently.

    I hope that you will continue using our products and we thank you for contacting the Mozilla Support.

  • I want to record with &lt; alt &gt; &lt; s &gt; in the Exact program online. This function does not work. This is the first time I use this program with firefox.

    Question
    I want to record with < alt > < s > in the Exact program online. This function does not work. This is the first time I use this program with firefox.

    edit, escaped mod < s > in order to avoid the line through question

    A web page can be defined a "accesskey" for an item. Unlike IE/Chrome/Safari, who use the Alt key only, Firefox requires pressing Alt and Shift to activate the element. In other words, try

    ALT + SHIFT + S

    and see if it works.

    I don't know of any way to change this so that the change is not necessary. There may be an add-on?

  • Why the VI does not work the first time?

    Hello fellow users of LabVIEW

    I did a VI that pulls data from a worksheet and then manipulates the data in different rows and columns to give a final spreadsheet of desired values.

    This VI works fine for me, except when I run the first time only, in which case it gives me values of nonsense.

    Could you please tell me what I'm doing wrong with the block diagram. It could be a problem with the data stream.

    Thank you

    mhaque

    My guess was very good.

    Yes, you have a race condition.  You read some values through a local variable in the upper part of your VI.  But you write in fact of all values of these indicators until the first image in your sequence structure.  Either thing could happen first, but it is very likely that your local variables are read first.  Thus the default data meaningless.  You should put these calculations in the first image of the sequence structure.  And use wire to one of the constants in the calculations rather than a local variable.

    In fact, I don't know if you need to use local variables anywhere in your VI.  And I also believe you can eliminate both your internal and external sequence structures.  You should always use wires to define your data flow.  The structure of your internal sequence pretty well done this already.  And if you get rid of your local variables and connect to the source of these values, no sequence structure, no variables, and no race condition.

    Try this VI.  I cleaned up.

  • Hi, I own a first Professional CC Production - full license for windows7 (use it to work). When I installed the first time I had also installed Cloud creative office. Now, since I had to move on to another workstation, I uninstalled

    Hi, I own a first Professional CC Production - full license for windows7 (use it to work). When I installed the first time I had also installed Cloud creative office. Now, since I had to move on to another workstation, I uninstalled then reinstalled and complete the old workstation to the new but creative cloud has not been reinstalled, and I can't find a way to do.

    It works... Thank you very much!

  • Interactive report Javascript Refresh, working only the first time

    Hello

    I'm trying to implement a dynamic action on an interactive report that fires a pl/sql procedure and then reload the IR.

    I have something like this:

    Select par.*,
    CASE
    WHEN (SELECT 1 OF THE AddressBook ch WHERE ch.usr_id = (select id where email = usr: APP_USER) AND ch.address_id = par.id) IS NOT NULL
    THEN ' < img src = "" #IMAGE_PREFIX #wwv_cancel.gif "class alt"Y"="delAddressFromBook"id =" "| par.ID | "" / > "
    ELSE ' < img src = "" #IMAGE_PREFIX #add.gif "alt ="N"class ="addAddressToBook"id =" "| par.ID | " » / >"
    Mapped END
    of nominal addresslist

    My dynamic action uses the '.addAddressToBook' jquery selector, and it fires properly the first time I click Add image. My pl/sql code runs correctly and ist updated IR.
    It is, when I click the second time in another entry, nothing happens. Looks like the javascript works always something.

    Updating of the IR ist done with javascript gReport.pull ().

    Thanks in advance.

    Florian

    Florian,

    If you bind an event javascript on an element that is get updated then after that it gets updated, it will no longer be bound to her event. It is possible to use the event to this situation (http://api.jquery.com/on/) delegation, he took advantage of event bubbling (http://www.quirksmode.org/js/events_order.html) and handles the event to an element that is not updated to a kind of AJAX call.

    Edit
    The following code binds the event listener for the document, but it does that raise the event handler if the initiator of the event matches the selector ".addAddressToBook". I chose the document object, because each page has a document, but you can consider using a parent element that is much closer to the initiator of the event.

    //jQuery 1.7+ use "on"
    $(document).on("click", ".addAddressToBook", function(event){
        alert('addAddressToBook Clicked');
    });
    
    //jQuery1.4.2+ use "delegate"
    $(document).delegate(".addAddressToBook", "click", function(event) {
        alert('addAddressToBook Clicked');
    });
    

    Good luck
    Janet Tyson

    Published by: Tyson Janet on January 23, 2012 07:27

  • Error in connection for the first time, then it works after that (with the same string)

    I have a problem of connection error strange that a "OracleConnection.ConnectionString is not valid" with my program ASP.net/c#, but when I try the page again once it works after that.
    I create the connection string in the code and then pass it a bit like this:

    * private readonly OracleConnection conn = new OracleConnection (oradb); variable in class *.

    * / / in the Page_Load method *.
    _oradb = "password =" + oraPassword + ";". " User ID =' + oraUserName + '; Data source = mydb; » « ;" *
    _conn. Open(); *


    User/login name are also generated and inserted in the connection string and when you debug checked the connection string and it's exactly the same every time. It is as if the connection is interrupted and the first time, it attempts to restore, it gives the error, but then it opens the connection after that and failed again in the same window.
    Any ideas what this might be caused by? I close the connection to another method, after all I want to be the DB and written on the screen.

    The web server is IIS, is the version of .NET 3.5 and the library referenced Oracle is Oracle.DataAccess.dll. In addition, the DB version is 10.2.0.4. Don't know if everything what is necessary, but I thought I'd throw out there, just in case.

    Edited by: psaleh may 24, 2010 23:37

    When you create here of the OracleConnection object.

    * private readonly OracleConnection conn = new OracleConnection (oradb); variable in class *.

    _oradb might be empty or invalid during the first.

    Instead, try this-

    * private readonly OracleConnection _conn = new OracleConnection(); variable in class *.

    * / / in the Page_Load method *.
    _conn. ConnectionString = "password =" + oraPassword + ";". " User ID =' + oraUserName + '; Data source = mydb; » « ;" *
    _conn. Open(); *

    There is a separate forum for the ODP. NET-
    http://forums.Oracle.com/Forums/Forum.jspa?forumid=146

  • Music player "Shuffle all" don't work the first time, you must go back and tap it again every time that the application starts, what gives?

    On the Open of ZTE, the music player "Shuffle all" failed the first time, pressed, instead, it will just load a song at random and read the rest of the list in the order; It's not until I click "Shuffle all" and back again it will play in fact mixed. Is this a bug? All solutions?

    Hello

    Yes, I think that it is a known bug in Firefox OS v1.0. Bug 883781.

    The bug is marked as resolved in Firefox OS v1.1. Once that ZTE full update to version 1.1 the bug on your device.

    version 1.1 of Firefox OS was officially released yesterday. If all goes well, it won't be too long before it reaches the Open of ZTE. See here for more details:

    Update OS of Firefox (1.1)

    I hope this helps.

  • Satellite Z30-A104 - the first time I try to turn on the pc do not work

    I need to press the button 'market' twice to turn on the laptot if the laptop is turned off. The first time that I press the button, I see the toshiba logo and a second later disappear and they turn out at all. The second time, I don't have any type of problem. Still it happened, any solution?

    The laptop is running windows 8 and I bought last month.

    Hello

    If Windows 8 is installed, I guess that the laptop is not to stop completely, but his game to + closed hybrid. +

    I would recommend that you do not have a full stop down as described here:

    [Perform a complete shutdown in Windows 8 | http://aps2.toshiba-tro.de/kb0/TSB2B03EY0002R01.htm]

    Your comments would be appreciated

  • I get an error in XP mode everything works for the first time.

    When you start XP mode (on win 7 ultimate) for the first time. "It makes it to the end of the installation, and then said' didn't install correctly, try again" ive linked result withsame several times.  What can I do to get XP running mode?

    Original title: XP mode (in win7 ultimate) installed, but mistakes so that "fisrt time put in place.

    Hi VeryMetal8,

    I would have you post your query in the TechNet forums because it caters to an audience of it professionals.

    Your request would be more out there.

    Check out the link-

    http://social.technet.Microsoft.com/forums/en-us/w7itprovirt/threads

    Recover if you have questions about Windows in the future. We will be happy to help you.

    Thank you.

  • AutoPlay doesn't work the first time

    Our client is to get a little upset by something happens with their outputs CP4, and I don't know if this is 'normal' or something is wrong.

    The .swf/html play very well the first time.  However, if a user goes again and run the file once again, he plays the first slide, and then jumps to the end.  We checked our navigation and it seems to be well (go to the next slide). We have removed the status indicators, think there is a kind of updated cookie that has identified this module as it was already performed by the user.  The problem occurs if it is served from a server web or played on a local computer.

    I take a great success on this.  And I don't know where else to look at.

    I need to fix it... any suggestions?

    Thanks heaps.

    Hello

    My guess is that you have to click on project > Table of contents. Then click on settings... and make sure that the Self Paced Learning option is disabled.

    If you find that the option is already cleared, you could then review the version of Flash Player.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

Maybe you are looking for

  • found new hardware wizard appears and unknown device device Watch Manager

    Since a few days ago, the Add New Hardware Wizard keeps popping up. I looked in Device Manager and found an unknown device (yellow exclamation mark) should I delete the device? I don't know what to do to identify which device is unknown.

  • HP Laser Jet P 2035

    I bought a HP Laser jet P2035, but there is no network port with only parallel and usb port, I don't want to share this printer through my computer, I want to connect to this printer to a network. is it possible to add a network port in this HP laser

  • I think I deleted windows... How can I get it back? Help!?

    I downloaded Ubuntu stupidly just to see what it was... but I think I should have deleted windows vista. When I turn on my computer, it brings me to a screen startup 'grub '. Windows vista is listed, but when I click on it the screen goes black just

  • application of photo gallery

    I saw the part a photo cut take out and put in another photo. How is this done.î think he might also have involved ms paint!

  • Update blackBerry device OS 6.0 Smartphones

    Hello I have the Blackberry Bold 9700 Smartphone. I realized that RIM has released with OS 6.0 for my device. I tried upgrading my software for device through the desktop of my phone software application. What happens is that when I click on upgrade