[AS2] Navigation à partir d'un bouton dans clip vers une autre séquence

Bonjour à tous,
Je suis entrain de développer une animation en AS2, mon problème est le suivant:
Je travaille avec clip qui contient des boutons, et en cliquant sur ces boutons je souhaite passer à d'autres séquences. J'ai réussi à naviguer dans la même séquence en utilisant "_root.gotoAndStop(num_image);" mais je n'ai pas réussi à naviguer vers d'autres séquences.
l'arborescence de mon animation est la suivante :
- séquence 1 (nommée "maquette") : elle contient un premier symbole clip "clip1", qui contient à son tour un clip "clip2" (cad clip2 est integré dans clip1). Clip 2 contient un bouton, en cliquant sur ce bouton je veux aller à l'image 1 de la séquence 2 (nommé seq2), mais je n'arrive pas.
Pouvez vous m'aider? Merci

English Translation from Google: Hello everyone, I am trying to develop an animation in AS2, my problem is this: I work with clip with buttons, and clicking on these buttons I want to move to other sequences. I managed to navigate through the same sequence using "_root.gotoAndStop (num_image)," but I was not able to navigate to other sequences. the tree of my animation is as follows: - Sequence 1 (called "model"): it contains a first symbol clip "clip1", which in turn contains a "clip2" clip (ie is integrated into clip1 clip2). Clip 2 contains a button, clicking this button I want to go to Frame 1 of the sequence 2 (named seq2), but I can not. Can you help me? thank you
By "sequence" I assume you mean "scene", since you say you can navigate within the first sequence using "_root.gotoAndStop".  Unfortunately, Flash's gotoAndStop( [scene:String], frame:int ) overload just doesn't work when you try to specify a scene name.
To work around that, just put a unique frame label on your 2nd scene's main timeline and navigate to it using _root.gotoAndStop("frame_label").  Flash will figure out which scene the label is on as long as you use _root.gotoAndStop.
Your handler would look like this:
clip1.clip2.button.onMouseDown = function() { _root.gotoAndStop( "frame_label_in_scene_2" ); }

Similar Messages

  • BOUTON DANS MUSE

    Bonjour, a part dans photoshop pour utiliser les calques,  comment créer un bouton dans muse avec 2 textes l'un sur l'autre apparaissant ou pas selon l'état du bouton ?

    You can try this one : http://musewidgets.com/collections/all/products/hover-effects
    Additionally check this out for more options :
    http://musewidgets.com/collections/all/text
    Thanks,
    Sanjit

  • Tinting part of an animated movie clip

    Hello - I have a need to tint part of an animated movie clip. For example, I might have a movie clip that consists of 2 layers, 1 layer that is tinted, and one layer that is not tinted. The animation needs to be done by an artist - it is not an algorithmic animation.
    One way to do this is to make each layer a separate movie clip. Then I can apply a tint using the colorTransform property in ActionScript 3 on the 2nd movie clip. This works correctly but has several issues:
    It makes it extremely difficult for the artist who creates the original animation. They can't scroll through the timeline and see what the final result looks like (like they could before the layers were converted to movie clips).
    In order to drive the animation, you have to call gotoAndPlay on each sub-movie clip, instead of just once at the root level. This can cause mistakes if one movie clip's animation is slightly different than the other's.
    I've played around with a ton of ways to do this, but nothing seems to work - either the tint ends up getting lost as the movie clip plays, or the tint sticks but the animation on the movie clip disappears.
    Some examples of the types of things that would make this possible would be being able to assign a Tint setting from the the Flash IDE to an actionscript variable that I could change dynamically, being able to apply tints to layers instead of movie clips, etc. As far as I can tell, none of this is accessible in actionscript.
    Does anyone have suggestions on how I can solve this problem, either through actionscript or by changing how the original Flash .fla is set up? To reiterate - making it so the artist can easily create the animation and maintain it is a top priority.
    Thanks!

    it doesn't matter what kind of loop you use as long as it
    checks frequently enough to catch the termination condition, not
    too frequently so it wastes computing resources and terminates when
    no longer needed.

  • Rotate PART of a 5 minute clip

    greetings,
    I have a movie clip not quite 5 minutes long.It is a MVI.AVI format of a band.As I recorded this band,during 1 song I turned the camera to get full shot of guitar player.It plays back at that part needing to be rotated (NOT ENTIRE CLIP) about a 2 minute section needs to be rotated.According to help in iMOVIE,if you rotate ANY of the clip,the whole clip gets rotated,I ONLY NEED A PART ROTATED
    NOT THE WHOLE CLIP.How do I rotate THE PART ONLY that needs rotated.The rest of the short clip is normal.Thanks in advance for your help.
    Message was edited by: tommy gunn

    Hi
    Yes I had a problem with this in iM'08 and only solved it by making a double Capture
    a. I cut out the piece that needed to rotate and put it into project and rotated it
    and to my supprice the clip in Events was rotated in full too.
    b. By making two Imports/Captures I could rotate oner and keep the other as is.
    ∆ At last I gave up - I wanted the actual rotation to be in horizon too - only way I could figure
    was to do this in FinalCut Where I could rotate bit-vice and by use of many key-frames
    get it to look as I wanted it to.
    Yours Bengt W

  • Dps bouton dans un état d'objet

    Bonjour
    J'aimerais coller dans un état d'objet un bouton qui lit une vidéo
    mais lorsque le bouton se trouve dans l'état je n'ai plus accès à la vidéo (sans vidéo) dans la palette bouton.
    Si c'est réalisable. Pouvez-vous me dire comment faire. merci
    Ulysse

    Ce que vous essayez de faire ne fonctionne pas.
    Vous pouvez avoir jusqu'à 3 niveaux d'imbrication d'objets interactifs, sauf pour les états d'objets et boutons dans un état d'objet où l'action sera annulée.
    Par contre, vous pouvez, je pense, remplacer votre bouton par un hyperlien et mettre une image du bouton.

  • Creation de boutons dans un PDF

    Bonjour à tous,
    Je souhairerais pouvoir créér des boutons sur un pdf afin de pouvoir rattacher à ces boutons par exemple . lorsque l'utilisateur appuie sur le bouton il va sur la page 2, ou envoie par mail etc...
    Pouvez vous me dire quel logiciel utilisez, et si cela est réalisable?
    Merci

    Acrobat fonctionne très bien pour ajouter ce genre de boutons.
    Si vous utilisez un programme comme InDesign pour créer vos documents, vous pouvez directement ajouter vos boutons dans le document InDesign et exporter le document sous forme de PDF.

  • Creer interface avec lien vers d'autres VI s'ouvrant dans une autre face avant

    Je crée un TP pour des élèves et je souhaiterais créer une face avant permettant aux élèves d'accéder à tous les VI dont ils auront besoin, un par étape, comme créer une icone qui nous mène comme un lien hypertexte à une autre face avant. Comment puis-je faire?
    De même, est-il possible de configurer le VI pour qu'il s'ouvre en mode Execution sans s'exécuter, pour que les élèves puissent utiliser le VI sans le modifier?
    Merci d'avance

    Bonjour,
    alors pour aller au plus simple :
    Il suffit d'aller dans les propriété du VI pour chaque sous vis, et dans la catégorie "windows appearance", sélectioner "Custom" puis sélectionner les options suivantes pour chaque sous-vis :
    "Show front panel when called"
    Cela aura pour effet de dégriser l'option suivante :
    "close afterward if originaly closed"
    à cocher également
    Cette opération est à effectuer pour chaque sous-vis dont la face avant devra être vue.
    Ensuite pour éviter des modifications des sous-vis, le plus simple sera de décocher la case "show abort button" ce qui aura pour effet d'obliger à fermer le sous-vi par un bouton "stop" placé sur la face avant, et donc, avec la case "close afterward if originaly closed" cochée, le sous vi sera ferm
    é et l'accès au source ne pourra s'effectuer qu'à partir du vi principal arrêté.
    Mais le plus simple à mon avis, est d'aller dans la catégorie "security" dans les propriété du VI et de sélectionner "password locked".
    Voilà, j'espère avoir répondu correctement à la question, bonne chance!
    Best regards,
    G Liagre

  • Est-il possible d'encrypter le carnet d'adresse pour éviter la copie de données dans i cloud ou autres nuages?

    Est-il possible d'encrypter le carnet d'adresse pour éviter la copie dans i cloud et "autres nuages"?

    You might want to translate this into english to get more responses.
    http://webtranslation.paralink.com/French-English-Translation/

  • Je voudrais signaler plusieurs dysfonctionnements dans plus d'une application suite au passage à iOs 8... Surtout pour les Notes... Insupportable... Perte de passages, changements de titres, instabilité quoi... Que faire??

    Je voudrais signaler plusieurs dysfonctionnements dans plus d'une application suite au passage à iOs 8...
    Surtout pour les Notes... Insupportable... Perte de passages, changements de titres, instabilité quoi... Que faire??

  • Comment exporter des photos avec des corrections réalisés dans Lightroom vers Photoshop ?

    Bonjour, quelqu'un pourrait me dire
    Comment exporter des photos avec des corrections réalisés dans Lightroom vers Photoshop ?
    A chaque fois que je fais cette maneuvre, je perds systématiquements tous les réglages de Lightroom,et mon fichiers une fois dans ouvert dans Photoshop redevient  vierge. !

    Once you've made all the LR corrections you want, right click on the image and chose Edit In Photoshop.
    If Photoshop does not come up as the default external editor, go to LR>preferences>ExternalEditors tab and chose PS as your external editor. Once you make your edits in PS, be sure to SAVE (not SaveAs) and the file will go back to LR and be included in your catalog.
    Hope the adobe translator works on my reply - it worked fine on your message :-)
    Cheers,
    Tom

  • AS2 Navigation assistnace/advice

    Hi
    My AS2 is not too good and Im wanting to move onto AS3
    learning after my current project.
    Ive been working on a tutorial and managed to get a
    navigation system where buttons react to each other, ie. change
    state and then move to the appropriate place in the movie.
    It all seems to be working as coded but Im not sure how to
    tell the movie that it is on the homepage, and make the button1
    show in its selected state. I.e when movie loaded it is on the
    homepage.
    Could anyone show me the code to achivev this please.
    Ive attached the zip with fla in for download below
    Thanks for any help, or point me to another tutorial that
    covers this
    Voddie
    ZIP

    I didnt expect you to do this for free.
    I have purchased many many components for flash, I dont
    suppose I would be able to use these in AS3?
    If that's the case, I havent any projects that I could do in
    AS3 at the moment. I thought that if I was going to learn AS, I
    might as well learn AS3. So a template would get me started with
    understanding what youve created.
    Voddie

  • Selecting part of MPEG-4 media clip to import

    Whilst editing a multicam project I cannot select part of an MPEG-4 media clip in "Media Import", and wonder if there is a trick to it? Importing AVCHD is ok, but I have one camera which produced 29GB of media in one chunk. That is a lot to ingest for one clip so I hoped to select just part of that to import at any one time.
    When I play the clip in the Media Import Window the "In and Out"  do not work, giving the error tone. It reads the MPEG-4 movie and plays it. Do I need to change the file format?

    Thanks for the speedy help on this.
    The problem was no doubt that the files which were given to me were neither on a camera, nor a true camera archive, for they had been converted to MP4 from something on a Sony Pro camera.
    I have just upgraded my iMac and needed to upgrade my file-conversion prog. I have been using Wondershare Video Converter Ultimate, so I went back to it, upgraded to the Mavericks version, and it will let me edit the range of the clip before converting it. I chose to convert it to the FCPX output, and Bingo, I now have a 2 minute MOV clip ingested and on the timeline.
    ProRes was available as an alternative, but I thought I would use the default FCPX setting this time. Seems fine.
    Thanks for making me look at the problem a different way.

  • Deleting Part of a Source Media Clip

    Good Morning;
    For example; If I have a 4 minute clip in it's original (h.264) imported into fcpx and find that 2 minutes of it is useless and want to permanently delete it to save disk space.  What would the work flow  be?
    Thanks

    Could be done two ways:
    1) Trim it before importing.  Import the trimmed version.
    2) Make a project out of it. Trim it, export it, import it.  Delete the project and the original, un-trimmed, version of the media. I have not tested what I have read here but, according to what I have read, Final Cut will re-encode the video when exporting, not just trim it.  You probably don't want it to re-encode the video and lose quality so your best choice would be a ProRes version that is 10 times the size of the original, thus taking much more space, not less, than the original clip. 
    As far as I can tell, there is no way to split a clip in the event viewer and delete one part.

  • Is there a way to remove only parts of audio in a clip (remove music but keep voiceover)

    I've been given a promotional video to edit, with a voiceover and background music. The file I have is an MP4 file, and I do not have the separate pieces of the file (Video, audio, and music).
    Is there a way to remove the music but keep the voiceover? I doubt there is..
    Thanks

    If the voiceover is in a narrow range of frequencies you might get lucky. You can use the Graphic Equalizer to reduce the volume of all frequencies except those that the voice is using. There may still be some music in these frequencies as well, but it is worth a try.
    Select your clip and open the inspector to the Audio Tab. Under Audio Enhancements, you will see the word "Equalization". Over to the right you will see a small icon of a graphic equalizer. Click this and it will open the Graphic Equalizer.
    That will bring up the Graphic Equalizer window. You can set the Graphic Equalizer to display 10 bands of frequencies or 31 bands. Choosing 31 bands will give you more control.
    There are probably many other things you could try, since you have access to all the Logic Pro X synthesizers in FCPX, but that is the most straightforward.

  • «A Nightmare called 6210 Navigator» - Part II / Ex...

    In the post - «A Nightmare called Nokia 6210 Navigator» - I explained my disappointment with this new navigator model, specially for people, like me, who own and intensively used the «6110» before.
    In all fairness to all of you - Nokia included - I found I should explain myself better.
    I have both 'Navigator Phones' - 6110 (with firmware 6.01) & 6210 (with Firmware 3.08, updated first to 3.25 and now to 4.13, if I remember correctly) - have returned the first 6210 and will return again this second unit, mainly because of its lousy sound and 'bluetooth' crackles every time I got Map/Road directions... From which you hear the last words - only - most of the time and what makes this phone useless as a ('voiced') navigation tool.
    Maybe the navigation function/program is not supposed to be the main phone feature any more, because Nokia is also using one bad/cheap loudspeaker in the 6210, while the 6110 had two good ones that worked fine against the engine/road/car noise...
    My second 6210 surely confirms this is the case, as by now I know that my first (6210) returned unit was clearly not a defective one in terms of 'sound/bluetooth' capabilities - I returned it to the shop during my legal 30 day return period - because for what sound is concerned, this second unit confirms it: The phone is just like that - scrappy!
    There are, however, other major problems to be concerned about...
    The 'voice command dedicated button' was also removed - this function is now available through the upper right button - making it impossible to use (activating 'bluetooth', for instance) if you are inside any phone application (Maps 2.0, included)!
    Has anybody tried a prototype before the phone release? Has anybody used a 6110 Navigator before? I guess not!
    This is even more stupid/cumbersome, as for instance, the lower left button is free for this action (keep it pushed for more than 1 second) and would be a much more clever (and logical) solution...
    It seems developers either don't waist much time balancing their solutions or haven't thought about it at all! (At least, this can be fixed by remapping the button in a further firmware update, although I doubt they care - or will, eventually, do it...)
    IMO, the above described hardware shortcomings, alone, are enough to rule out this phone as a (Car/Driving) navigator unit, and no software or firmware update/release is going to (or can) alter this fact.
    If you need to stay with Nokia, the (two years) 'old' «6110 Navigator», is undoubtedly a much better and user friendly 'Phone Navigation' unit - with or without Nokia's Maps application!
    If you want to know a little more about other 6210's "Shortcomings & Problems', please do read further...
    Maybe releasing a new model every year doesn't give them much time to think... Nevertheless it's there option and frankly it's not an excuse, at least, as far as I'm concerned!
    Ergonomically there are other basic errors:
    1. The phone front 'fascia' doesn't open/slide enough for you to have space to effectively use the upper keyboard row/buttons.
    2. The lower keyboard row is placed to close to the unit's end, making it quite difficult to dial with your thumb while holding the phone in the palm of your hand.
    ...Sorry to say, but it's a bad/defective layout design! Again, I doubt a prototype was tested by human hands!
    ...And now - as it seems to be usual with the last Nokia products - The Bugs:
    (Please feel free to add the ones you've found - It came a time I gave up using the phone any more!)
    1. I couldn't connect the phone by 'bluetooth' with Nokia's own/dedicated «Pc Suite v.7.1.18.0»! (I'm using Win XP Prof SP3)
    A bug, the lousy 'bluetooth' sound/connection, or a defective unit?
    I discovered that it only happened with my first unit, which I now conclude - was defective. (I had given up after several hours lost trying to figure out what was wrong and discovering that the 'old' 6110 still worked perfectly, even with the new/last «Pc Suite» versions and settings!)
    The second phone works now flawlessly with the «Pc Suite» program, I have to say!
    2. Setting an alarm to a different day rather than the actual one, switches the alarm back to the actual day, as soon as you save it!
    Another bug that 'Beta Users' seem to have forgotten. It's unbelievable how basic things like this can happen... Well, maybe they never used the alarm (or the phone), after all?
    Corrected in firmware 4.13; so it seems... (However it took two firmware releases to correct it! Inexcusable, from my point of view!)
    3. When navigating, if you receive or make a phone call the 'Navigation Screen' doesn't show back again after ending the call, although you continue receiving 'road voice indications'; to have your 'Map Display/Visual Road Indications' once again you need to 'hit' the 'Start
    Application Button' once again - Delirious!!!
    4. With 'bluetooth' on, if you give a 'Contacts Voice Command' you don't have sound/voice 'feed back / confirmation' for the 'dialled contact' (as you had in the 6110) - you have to look at the screen to aknowledge it - Quite unsafe if you're driving...
    Last... And as usual... Some 'phone freezing', so we can rehearse (and improve) our 'Remove Battery' exercise...
    Welcome to the club, thank you very much, I hope you enjoy!
    There are several other 'malfunction' that I will not go into depth, as they are user/personal related, and quite frankly I'm so tired of this phone, that I don't feel like going on, and on, pointing out all those shortcomings - after all this should be Nokia's Team own home work!
    The ones I pointed out are enough, at least for me, to say - bye, bye, «Nokia 6210 Navigator».
    I may even continue to use my old '6110' - Why not? Not perfect, but a much better (navigator) phone - But I'm surely will looking quite closely into another brand for my next (navigator) phone!
    Best wishes to all of you (Nokia, included),
    telele
    P.S. - As usual, you are entitled to contradict my findings... Update the bugs list... Or even praise the «6210 Navigator» phone.
    All your comments are surely welcome!
    I, on the other hand, will be returning this second unit.
    Sorry, but I had enough - Period.
    Message Edited by telele on 18-Jan-2009 06:54 PM
    Message Edited by telele on 18-Jan-2009 06:55 PM

    I have also 'upgraded' from a 6110 Navigator to a 6210 Navigator and found the newer model to be considerably harder to use.
    In particular, your point #4 about not having a warning beep when issuing a voice command while in bluetooth/car mode is my number 1 gripe as it makes my cars bluetooth and phones voice dialling completely useless.
    If you have found a solution to that particular issue please let me know.

Maybe you are looking for