Play two MCs with one button
Hello
I'm doing the main timeline go to section 2, and another MC go to section 2 by clicking on a button.
Here's what I'm trying...
on (release) {}
_root.gotoAndPlay (2);
Snap1.gotoAndPlay (2);
}
When the button is clicked, the main timeline goes to frame 2, but the instantane1 (instance name) to MC, do not play. I use AS2.
???????
If this code is attached to a movieclip (as opposed to a simple button) button, use:
on (release) {}
_root.gotoAndPlay (2);
_root. Snap1.GoTohasndPlay (2);
}
Tags: Adobe Animate
Similar Questions
-
Can I install Acrobat Pro DC on two computers with one subscription? I have my mac for the trip, but a PC for my office. I only use one device at a time - don't want to buy two subscriptions. Thank you
Yes, your license allows this.
-
hiding and showing captions with one button of evil
I try to display a legend (MSO) with the click of a button and then hide them again with the same key. I created an ESM with two States that with the text, the other without and then created an icon with a more [normal] sign that triggers the second State with the text. Once the button is pressed, it becomes a sign less [click here], that the next step is where I am running into trouble. I just want the user to click the button "-" to hide the legend before moving on to the page next or article. I tried all the button state combinations but cannot hide legend short of creating a new button somewhere else on the page, this is not desired. I've seen this feature in publications such as National Geographic and Vogue, so I know it's possible. It seems so simple but I can't understand it. Be able to close the legend after showing it will add another level of interaction and professionalism to my post... Please help someone.
Hi, how to do it is to have an invisible button on top an object multistate it passes to the next State (or the State no matter what you call it). You will notice in the National Geographic that you don't have to click exactly on the button for the text.
So state one would signal more, State 2 would your text your sign and the legend. The invisible button would include button region or a larger area. make sense?
-
Two actions to one button - delaying the second action
Hi all
I have a menu on my site - this menu does two things when you click each button - they charge two separate sovereign wealth funds in video clips already on the scene.
I want to do is delay one of the actions of a few seconds so that the file always starts loading before the other (one is a background, it is a foreground)
any suggestions?
my site: www.ponch.biz/portfolio (still much to do in detail but comments on what is happening here are welcome)
Thank you very much
PonchDavid,
Thank you very much, who did it!
see you soon
Ponch
-
CreateInsert and see the popup with one button?
Hello
jdev 11.1.1.0.1 is used on an xp sp3 computer.
in a jspx, I have a table surround with a collection of panels
on this Panel, an imagelink binding action 'CreateInsert.execute '.
Then I have to click another button to open a popup form to edit the new line.
user wants to create and show the population with a single button
1 click imagelink must do:
-createinsert
-display the pop-up form
I try clientlistener and showpopupbehavior, but only the first action (craeteinsert) is performed.
I think that the updating of the page, then the showpopup action is forgotten...
Thanks for help
Published by: bradici on October 21, 2009 14:47Open the context menu programmatically. delete showpopupbehaviour.
FacesContext context = FacesContext.getCurrentInstance(); String popupId = clientId; StringBuilder script = new StringBuilder(); script.append("var popup = AdfPage.PAGE.findComponent('").append(p1).append("'); "). append("if (!popup.isPopupVisible()) { "). append("var hints = {}; "). append("hints[AdfRichPopup.HINT_ALIGN_ID] = '").append(ot2).append("'; "). append("hints[AdfRichPopup.HINT_ALIGN] = AdfRichPopup.ALIGN_AFTER_END; "). append("popup.show(hints);}"); ExtendedRenderKitService erks = Service.getService(context.getRenderKit(), ExtendedRenderKitService.class); erks.addScript(context, script.toString());
-
Several areas of form with one button recording
Hello
Is it possible to have several areas of form on a single page, with a single button that validates the changes made in all parts of the form save? If so, the forms must be manual forms?
If this is not possible, or a bad way to go with APEX, what are my options?
I try to avoid the user having to click through many screens to enter data. Logically each section should be in another table, but I would like to group some of the sections together to reduce the number of pages, users need to navigate to.
Thanks in advance for your help,
Johnnie
Published by: johnniebillings on June 1st, 2009 21:33OK, Johnnie - let us know if you need something more on this
Andy
-
can perform us two actions with a single button in two clicks, one after the other?
Mr President.
can perform us two actions with a single button in two clicks, one after the other?
I want that when I click on the button Add once it add data to the database and when I click again on this button it clears the form data to the empty fields.
Concerning
TanvirIn the code, it should be easy.
The following code adds that a button called butman with text 'ADD '.
It then registers a listener that will be called if the user clicks the button.This listener then calls the runAddData method if you clicked butman while it contained the text of "ADD" and it calls the runClearData method otherwise.
That's why he will swap the functionality of the button between ADD and CLEAR on each click.final Button butman = new Button("ADD"); butman.setOnAction(new EventHandler
() { @Override public void handle(ActionEvent t) { if (butman.getText().equals("ADD")) { butman.setText("CLEAR"); runAddData(); } else { butman.setText("ADD"); runClearData(); } // END IF-THEN }}); I hope that's what you wanted.
Further reflection.
You might want to run the ADD and CLEAR methods in their own son so that it can run in the background without slowing down your user interface.I also reuse rather a single button for several features instead of to apply with hundreds of nodes used only rarely with masses of code to show and hide as needed.
-
Wmoviemaker has a feature that would play two videos side by side on one screen?
Wmoviemaker has a feature that would play two videos side by side on one screen?
If Yes, could someone please tell me how? Is not, then... Well well... :((Hello
I'm afraid to inform you that we do not play two videos in Windows Movie Maker on a single screen.
For your reference: Learn more about Windows Movie Maker.
http://Windows.Microsoft.com/en-us/Windows-Vista/getting-started-with-Windows-Movie-Maker
Work with clips in Windows Movie Maker
Make a movie in four simple steps
Hope this information is useful.
-
Two actions with a single button Oracle adf
Hello
Dear all,
I want two action with a single button. Before posting, I studied this thread, but it seems that it cannot solve my problem two actions with a single button?
It's my button and its action http://4.bp.blogspot.com/-tpP5wIW8JLI/T66zhLZgG0I/AAAAAAAAAPY/F1A-Ka8KGPY/s1600/req1.JPG
getReqID button is actually a call to a procedure that returns a value to his class of action. The cb1_action function is...
public String cb1_action() {}
BindingContainer links = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("getReqID");
Object result = operationBinding.execute ();
int id = Integer.parseInt (result.toString ());
System.out.println ("result =" + id);
If (! operationBinding.getErrors () .isEmpty ()) {}
Returns a null value.
}
Returns a null value.
}
It works very well. Don't know I want to, click this button, it also opens a page of .jsff. but I'm unable to open this page.
Help, please
Thank you
Muhammad NasirThe first image you provided shows a small 'Attention' sign on the "request for quote-global-TF" which, I guess, gives you the sentence.
This warning tells you that there is a problem with the task flow that you imported from the pot. Move the mouse over the warning sign a see what message you get from the frame on the error. If you don't get one, in 'source' view and look for red or orange squares in the gutter of the right hand. Scroll to the position of the red square and move the mouse over the underlined part red or orange of the code.Timo
-
Progress bar when audio plays on a slide with the button
Hello
I use 6 Captivate.
I have a zipper opening for my demo that introduced the demo. This slide contains 1-3 minutes of audio. On this slide, I have a standard button named 'Start', that the learner must click Start the demo (which is on the next slide). I also have a PlayBar with rewind, Play/Pause, Back, Next buttons and Audio.
Once the project starts, the Play/Pause button on the playback bar turns into mode 'Play '. This, I believe, is an expected behavior because of the presence of the 'button '. However, it causes me problems because, if the learner clicks on the 'Play' button (instead of the start or next buttons) after the end of the audio to the slide of the opening, the progress on the playback bar bar moves for the duration of the audio, so that nothing changes on the screen.
Is it possible that I can:
- Move the progress bar with the button Play/Pause in "Pause" mode when opening, slide audio playback and switch to 'Play' mode once the audio ends? In this case,.
a. If the learner pauses the audio by clicking Pause and then click on Play, it must continue with the audio.
b. If the student click on the play button after the audio ends must take sound to the next slide.
2. turn off the Play/Pause button so that the learner will not click on it?
I don't want to hide the PlayBar on this slide as I want to give the Rewind option to the learner so play the audio again if he / she wants.
Anthony
A colleague found an easier solution than the one I was talking about earlier.
He just moved the point to pause the start until the end of the slide button. Now, the progress on the playback bar bar moves with audio and the Play/Pause button passes in "Play" mode when audio stops at the end of the slide. On clicking the play button, the project will move to the next slide.
-
My stop button for Windows 7 has always a shield orange with one! indicating that an upgrade is required, but it is never done. Why?
Check for an update that fails in Windows Update-> View Update History - maybe tring to install and fail to each start cycle. If so, please post the details of the update (including KB only, & error codes). Error codes can be found in law clciking on the update failed and select details.
All the answers and suggestions are provided by an enthusiastic amateur and are therefore no explicit or implicit guarantee. Basically, you use my suggestions at your own risk.
-
I currently have a creative cloud with an e-mail account, however I have a behance with an e-mail account that I have had for many years (even Adobe and Behance made before part of the same group). Can I combine these two accounts into one? I want to use the account that I pay cloud Creative if I can use the new portfolio feature.
Thank you.
This is an open forum, not Adobe support... below to connect with Adobe personnel to help
While the forums are open 24/7 you can't contact Adobe support at any time
Chat support: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">===>
Don't forget to stay signed with your Adobe ID before accessing the link below
Creative cloud support (all creative cloud customer service problems)
-
While playing the slide with audio, if the customer has hit a tab with audio interaction, two sounds play together, which is not a good customer experience.
How to avoid what is happening? Placing a marker can help, but cannot solve the problem when the compliant/no intentional user, press tab.
Better, if the presenter can triggle tab automatically at some point, or click interaction, no game bar function.
Hi Louie,
My sincere apologies for not being able to help on your previous question.
Now, that the Interactions are concerned, they were initially designed to be placed as standalone content on the slide.
Also if you try to resize your interaction and place it on the slide as well as other content/objects released published will always give a priority to the Interaction that it deemed to be a specific slide of Interaction.
In the previous project, you shared, you try to time the Interaction with PowerPoint animations and wanted it to appear later on the set of slides, rather than on the start. But, as explained above, presenter honored not this setting in your project, because he in fact has considered a slide of interaction and display interaction since the beginning of the slide room itself.
Also the number listed in this thread is concerned, there is no direct way to do it but I would like to suggest something that might help.
If you want to keep the interaction on your slide and other content, Interaction will be available at the beginning of the slide. Surely there is no way that delaying his appearance, but you can still use animation related to Interaction in another goal. Within your presentation-> playback option settings, you can enable the feature of 'Pause after each animation' (see screenshot below). It will essentially help you achieve the function of auto-faisant a break from your animations, using your narration would automatically stop, just before you claim in your narrative and inform the learner to click on the different tabs of the Interaction. All you have to do is your narration and animation correctly so that the slide play does not break too many times in the time interval. Hope you find the idea of what I'm trying to say.
Please mark this answer as being correct, if you find it useful. We would certainly look at such scenarios to be achievable directly at the request of our updates and later version.
Thank you
Zeeshan Hussain
Adobe Presenter Engineering Team
-
Control edge file animate OAM with the buttons play/pause of Captivate on the skin.
Hello world
I worked on a project where I mix a variety of objects and animations. I do animations animate on board. The problem I have is that when the user clicks the button pause on the Captivate playback controls, the oam file do not pause. I found descriptions of how I can make an animation to play/pause the Captivate timeline button on board, but I can't find anything on the use of the Captivate pause button to control the Edge file animate. Discussions only that I managed to find on that seem to be the answer. Someone had a bit of luck with this question?
Any advice would be appreciated.
Thank you
Randy
OK, it's a bit hacky, but it works quite to control the main timeline object in a file of edge of Cape Town, where the Edge file has been imported to Cap 9 as a Web (oam) object. I went seeking answers same like you and came from vacuum, then start to tinker myself and came across the following method.
Let's use window.postMessage to send a string between Cape document window and document edge iframe window then react accordingly. You can learn more about postMessage accepted battery answer here: http://stackoverflow.com/questions/3076414/ways-to-circumvent-the-same-origin-policy
In your dashboard file click the support of Actions for the stage object in the timeline and select the compositionReady event. Paste this code into the text window:
addEventListener for Chrome, attachEvent for IE
window.addEventListener ('message', receivedFromCaptivate, false);
window.attachEvent ('onmessage', receivedFromCaptivate);
function receivedFromCaptivate (event) {}
switch (event.data) {}
case "play":
SYM. Play();
break;
case "pause":
SYM. Stop();
break;
}
}
Save the file and publish it as an oam, then import the OLS in a slide of Cap, as you normally would. Now, to put in place things of the CAP. Here is a visual aid for the rest of the explanation...
In the PAC file select the control that you use to start playing the chronology of the edge (in the example above the "slide4Play"), select the checkbox 'Use as button' in the properties on the right, select the "Actions" tab, then to the drop-down list for 'Success' choose "Execute advanced Actions." Click the folder next to the selection of Script control and advanced Actions dialog box should appear. Name your action something (for example, "playEdgeSlide4"), then click the 'Add' in the grey bar to add a new action in the queue. In the drop down "Select Action"... ", choose"execute Javascript. "In the drop down menu"select the window... ". ", choose"current ". Then click on the 'Script_Window' button to bring up a window of text Javascript crap. In this window, you can paste this:
try {}
$("iframe") [0].contentWindow.postMessage ("play", "*");
} catch (e) {}
Console.log (e.message);
}
Select 'OK' to close the window of text Javascript crap, then click the 'Update Action' button to save your new action. Now let's do the same for break action - select the control that you use to pause, go through the steps above, the name of the action, implement advanced action in the same way and in the Javascript crap text window, paste the following text:
try {}
$("iframe") [0].contentWindow.postMessage ("break", "*");
} catch (e) {}
Console.log (e.message);
}
Cap incorporates the Edge file in an iframe on the page that has its own document window. In order to communicate between base ceiling windows and the iframe, we use the postMessage call. So when you hit your button Pause/Play in Cape Town, he publishes an event to the function that gets recorded in the iframe on board. And in the event.data is the string we send above the Cap base window in the function postMessage ('play' or 'pause'). We use a simple switch to react to the data string, stop or have fun with the main symbol of the scene at the edge (sym.play(1000) (), sym.stop ()).
I hope this helps!
-
Problem with interactive buttons
Hi all
I seem to have trouble with interactive buttons.
InDesign CS5 - Version 7.0.3
I create a document with 2 pages (Pages face is checked).
Add a text box to each page, Page it says "1" text box and two page says '2 '.
Text box on page two I right click and select Interactive | New hyperlink Destination - Type: Page, Page: 2, Zoom adjustment: fixed
On the Page, one I add a sample since the button panel button.
I select the button and then display the button panel.
I delete the default "Go To URL" action and add a 'Go To Destination' action using the event to "on release".
When I preview the page in the "Preview" Panel, I click "Play" and that he can see the first page and the (large) button, but when I click on the button, nothing happens.
Changes of mouse I have the mouse on the button, the button state changes rolling State... everything seems good, but it is not actually exercise the action of going to the next page.
I tried the export in PDF and ensuring that 'Include bookmarks' and 'Référence' is checked so that ensuring that 'create PDF containing the tag' is checked, but the exported pdf file does not work the action!
What I am doing wrong? It seemed so easy when I watched some video tutorials on how to do it.
Any help would be appreciated.
Thank you
Andy
You export to PDF (Print), by the sound of it, and the buttons do not work in Print PDF. Try to export to PDF (Interactive).
And ID update for 7.0.4
Maybe you are looking for
-
Can I temporarily disable the password saving and then reactivate without losing my passwords?
Currently, I am producing a video screenshot to ask my users on how to complete the automated process of 'forgot password'.I want to just disable the password save dialogues while I save the screenshot. However, I don't want to lose all my passwords/
-
Facebook has changed recently and I was ordering a temporary password to access itFine. But now I want to change my password. For this I must first key in this 'temporary' password and because that I would not change my bookmark, registering there no
-
Question on drive recovery on Satellite P200-143
Okay, guys, I bought a Satellite P200-143 at the start, and I have to get it back today, just to get rid of all the junk on this subject and when that I start, press F12 and it's fine. When the small black screen appears and it says "progress [insert
-
Useless help att, Motorola can help?
I had a phone unlock code for ATT, but now, it asks for a network unlock pin code SIM now, and it is likely, I should have entered the same code, but I didn't write it. ATT said it rises also unlock, but they have no code listed for give me. The best
-
How to install 3d vision in y580 GTX660m, I put latset verstion shape the nvidia site and still it used to solv the problem. Please help me to install the 3d vision drivers.