Prevent the timeline to replay a second time click on the trigger
Hello. How can I prevent the timeline of a symbol to restart when a second time the button trigger and the timeline has already run. I have a line that grows when I click on the button and I want to keep it as. When I click on the button again the line jumps to its original size.
Thank you
Add a variable on the scenario of the symbol.
var a = 0;
then in your event click in compositionReady use:
{sym.$('buttonName').bind ('click', funciton ()}
{if(A==0)}
sym.getSymbol('name').play ();
A = 1;
} else {}
sym.getSymbol('name').stop ();
}
or you could untie your click event
{sym.$('buttonName').bind ('click', funciton ()}
SYM.$('buttonName'). Unbind ('click');
sym.getSymbol('name').play ();
}
Tags: Edge Animate
Similar Questions
-
rowSetIterator.getRow (key) is null first time click ADF table row
Hello experts, I have very strange problem in ADF table with multiple selection mode. First time when I select a folder and a command button press to treat the selected query, rowSetIterator.getRow (key) throws null pointer exception. Second time click on any record command button and hit it again, rowSetIterator.getRow (key) does not throw an error it gives me rather recording. Here is my code:
< af:table value = "#{bindings.paymentList.collectionModel}" var = 'row' "
Rows = "#{Bindings.paymentList.rangeSize} '"
emptyText = "#{bindings.paymentList.viewable?" "{"No request found.":"Access Denied."}"
columnStretching = "column: c8" width = "860px";
fetchSize = "#{bindings.paymentList.rangeSize} '"
disableColumnReordering = "true" rowBandingInterval = "1".
inlineStyle = ' height: 400px; "
filterModel = "#{bindings.paymentListQuery.queryDescriptor} '"
queryListener = "#{bindings.paymentListQuery.processQuery} '"
filterVisible = "true" varStatus = "vs."
selectionListener = "#{viewScope.myBean.currentSelectionListener} '"
rowSelection = "multiple".
ID = "t1".
Binding = "#{viewScope.myBean.MyTable}" >
< af:column... >
.....
< / af:table >
< af:commandButton text = "ProcessRequest".
ID = "cbProcReq".
Binding = "#{viewScope.myBean.processReqCB} '"
action = "#{viewScope.myBean.processRequests}" > "
< / af:commandButton >
currentSelectionListener():
rksSelectedRows = searchResultTable.getSelectedRowKeys ();
If (rksSelectedRows! = null & &! rksSelectedRows.isEmpty ()) {}
System.out.println ("rksSelectedRows is not null or empty"); / / always runs
}
}
processRequests():
RowKeySet rksSelectedRows = myTable.getSelectedRowKeys ();
If (null! = rksSelectedRows & &! rksSelectedRows.isEmpty ()) {}
Iterator itrSelectedRows = rksSelectedRows.iterator ();
RowSetIterator rowSetIterator = dcItteratorBindings.getRowSetIterator ();
While (itrSelectedRows.hasNext ()) {}
Key = (Key) ((List) itrSelectedRows.next () .get (0);
If (null! = rowSetIterator.getRow (key)) {//works only 2nd time click.} First, click on throw null for getRow()
PaymentReq paymentReq = (PaymentReq) ((DCDataRow) rowSetIterator.getRow (key)) .getDataProvider ();
reqList.add (paymentReq);
} else {}
System.out.println ("getRow() is null");
}
}
I noticed that the key is never null. Something is still getting filled. No idea why this glitch. Why always 2nd time click work?
I also checked that
Row myRow = rsiSelectedRows.getRow(key); is showing myRow as null for the first time. But 2nd time when I click and hit button, myRow is not null !! Do not know what is this glitch.
Appreciate your help.
Thank you
Finally I was able to solve the problem. Noticed that code clear filter in backing bean caused this problem. I am clear the filter of bean support when the user forgets to clear the filter in the user interface and that caused the issue with table selection. I commented on this code and table selection works perfectly well.
-
For the second time in two months, all my messages in the Inbox are not there. Only the SUBJECT and the FROM is left.
Tried to 'fix this folder' and ALL - lost ALL the Inbox.
The file is still there and works well...
How can I stop it and what are the causes?
Thank you all, Gabe
If you have the file somewhere on your hard drive, export and import tools it will be important back to Thunderbird.
https://addons.Mozilla.org/en-us/Thunderbird/addon/ImportExportTools/
Instructions http://chrisramsden.vfast.co.uk/3_How_to_install_Add-ons_in_Thunderbird.html
-
I have Thunderbird loaded on a MacBook Pro. For the second time in six months, disappeared the conent of all emails. I have a list of emails, but the content does not appear in the reviewing pane or if I open the e-mail. I made no changes to the computer Professor at Thunderbird. It's very frustrating! Any ideas as to what is happening?
MikeDo you also have an anti virus program for the second time in six months has quarantined you Inbox?
-
By clicking on the links to files that Excel, used to work. In the last weeks of 2 (?) files are not open. I want to talk of the basic old .xls files.
Clicking once, opens the Excel software only.
Double click on open two windows with empty Excel software.
By clicking on one to open the software. And then to go back to click a second time open the actual file.On all clicks, download popup box indicates the file to download. And no it does not appear on my desktop or in any other file.
What you have in the following list - mine are all set to "always ask":
Orange Firefox button or classic menu Tools > Options > Applications
In the search above the list box, type or paste Excel to filter the list.
You have additional modules related to the registration or downloading files that may affect the .xls files? You can review your modules here:
Orange Firefox button or classic menu Tools > Modules
Check the Extensions and Plugins categories.
-
When I run firefox it takes about 30 seconds and it prevents the functioning of my mcafee? its has started after I updated to version 10!
Hello
You can try to update the add-on of McAfee. The latest version is reported to be less problematic. See also this.
-
I got the claim code to register my hp device connected for the second time and on both occasions, it doesn't have to be displayed in the devices tab.
I tried a disconnection and logging into my account, but this has not solved the problem.
I tried the two Chrome Version 39.0.2171.95 (64-bit) and Firefox 31.0 on a MacBook Pro running Mac OS 10.9
Printer is an Office Jet 8610
Web services are enabled and the printer is connected to the network. I created the computer print jobs and they have successfully completed.
* beep *?
The problem disappeared after I checked my email address
-
Hi - I created a photo album on my iMac with 241 photos in it, but my iPhone shows that 220 photos from the same album. I've deleted the album and created a second time, but got the same result, only 220 photos appear. I 2.9 GB available in iCloud, so it can't be the issue.
Al
Try the settings/iCloud and remove the synchronization. Wait a few minutes and then resynchronize.
Have you tried the signature to iCloud and then reconnect?
-
upgrade to windows 10, cannot open itunes, it opened the first time, and imported all my songs, but does not open a second time, get the error that the path is not correct and file not found
Try to repair the security permissions for iTunes for Windows and the empty/corrupted after upgrade/crash iTunes library.
TT2
-
Dial 1172 error, a run-time error of a VI in the second time in the DLL
Hi all
I am a beginner in labVIEW.
I have to write a test program in labVIEW that uses a DLL created by another programmer.
I called the DLL of my labVIEW for control of DIOs, a serial port, communicate with a slave device, a flashing task.
During the test program, I found that the program is OK if I use it just once, however, if I want to execute coninuously using one-loop While, it failed with
Error 1172.
As far as I could understand, it seems that the DLL creates a log file in C:\ so that he was called for the first time, and the process does not take control of this logfile even after the closure of the DLL.
Then when the DLL is called for the second time, it looks for the same log file to write new info, but as he was taken control by the previous process, there is an error.
Please find the attached files.
Hope there will be someone who can help me to point out my mistakes in my vi or suggest me a solution for this.
Thank you and best regards
Aung
(Because the system does not accept the attachment of the DLL, I changed the extension to .pdf for the DLL file)
This is the DLL file (I have lack of attachment in the post)
-
When I delete the junk emails they come back & I have to delete a second time
I get a lot of email from companies that I'm not like reading, so I want to just delete them, I'm going down the line and click on all the junk emails and then click 'delete '. the e-mails go away, but in a few seconds, that they come back and I have to delete the second time. This has happened for a long time.
First of all, you must provide some additional information:
brand and model of the pc
Operating system and service pack
current antivirus
What E-mail-outlook, hotmail, yahoo?
ensure that your system is free of infections:
Download, install, update and scan with these full free malware detection programs:
Malwarebytes (MMFA): http://malwarebytes.org/
SUPERAntiSpyware: (SAS): http://www.superantispyware.com/
http://www.Microsoft.com/security/scanner/en-us/default.aspx Security Scanner
After return with results and responses.
-
Windows XP problem.
My Windows Xp is not Geniune. And not running the versions of office. not starts the second time.
So buy and install a legitimate version.
-
Dear all,
I had this really common automation error when I run an exe file created by Visual Basic 6 for the second time. Whenever I ran the program for the first time that it works really well. But the second time always fails. When I ran in debug mode in Visual Basic 6, sometimes it worked. I checked the code and found it would be discontinued in the next part - CommonDialog1.ShowSave.
ReDim SelectedVar (1 NumSeleVar)
ReDim SelectedVarTxt (1 NumSeleVar)
I have = 1
For j = 1 To NumVar_GasPlants
If chkOpt (j - 1). Value then
SelectedVar (i) = j
SelectedVarTxt (i) is chkOpt (j - 1). Legend
i = i + 1
End If
Next J'Get the name of the export file.
If not g_RunOutputMacro then ' check-out
CommonDialog1.cancelError = True
CommonDialog1.InitDir = curCasePath
If IsMonteCarlo then
CommonDialog1.FileName = "HourlyData_GasPlants_" & cmbYear.Text & "_" & cmbMonteCarlo.Text & ".csv".
On the other
CommonDialog1.FileName = "HourlyData_GasPlants_" & cmbYear.Text & ".csv".
End If
CommonDialog1.Filter = ' (*.csv) | * .csv.
CommonDialog1.FilterIndex = 1
CommonDialog1.ShowSave
SelectedOutputFile = CommonDialog1.FileName
On the other
SelectedOutputFile = g_Output_FileName
End IfI have been tormented by this problem for almost a month. Any suggestions or ideas would be very appreciated!
Thanks a lot guys!
Hello
This problem would be treated better in the MSDN Visual Basic forums. Expertise it can help you with this problem.
https://social.msdn.Microsoft.com/forums/vstudio/en-us/home?Forum=vbgeneral
Thank you
Stephanie Podder
-
IllegalStateException when Date by selecting the second time by using the date picker.
I didn't think you could add a DatePicker to a field, and the only way to use the component is to use the method. doModal(). So I created a button which FieldChangeListener calls the method. It works the first time I click on the button and select a date, but the second time I get IllegalStateException.
datePickerButton = new ButtonField("Date", ButtonField.CONSUME_CLICK | ButtonField.FIELD_RIGHT); datePickerButton.setChangeListener(new FieldChangeListener() { public void fieldChanged(Field field, int context) { UiApplication.getUiApplication().invokeLater(new Runnable() { public void run() { datePicker.doModal(); datePickerButton.setLabel(SimpleDateFormat.getInstance(DateFormat.DATE_SHORT).format(datePicker.getDateTime())); } }); } });
Thread [Ritis_Maps (181) id = 295359488] (Suspended (exception IllegalStateException))
SpinBoxDateTimePickerView (field) (Manager, int) .setManager line: 5399
DateTimePickerDialog$ ConfirmManager (Manager) .insertInternal (field, int) line: 2203
DateTimePickerDialog$ ConfirmManager (Manager) .add (Field) line: 545
DateTimePickerDialog$ ConfirmManager.Line (field, ButtonField, ButtonField): 307
DateTimePickerDialog.(DateTimePicker, XYRect, long) line: 94
DateTimePickerController.getDateTimePickerScreen (XYRect) online: 332
DateTimePickerController.doModal (int, XYRect) line: 340
DateTimePickerController (DateTimePicker) .doModal () line: 255
AdvancedIncidentListOptions$ 5.run (line): 193
Line .dispatchInvokeLater (Runnable, object, int) UImain (Application): 1456
UImain (Application) (Message) .doProcessNextMessage line: 2088
UImain (Application) (Message) .processNextMessage line: 1530
UImain (Application) () .enterEventDispatcher line: 1371
UImain.main (String []) line: 24Maybe the datePicker does not clean themselves properly and you must create a new instance each time. I guess that since there doModal there are a few static fields/methods within the class to reiinitialized on each call.
-
Has been able to play games downloaded the first time, but can't open the second time I try
Original title: could not open the file
I downloaded a few games and the first time, I could read, but when I tried to open the second time, they just won't open.
It would show the loading symbol, but nothing happens?
Help?
Hello
- Did you follow the steps?
Try to run the game in compatibility mode and check.
Make the programs more compatible with this version of Windows
http://Windows.Microsoft.com/en-us/Windows-8/older-programs-compatible-version-Windows
If the problem persists, try to uninstall and then reinstall the game and check if this may help. You can also post your question in the support forum for Big Fish Games and control upgrade game.
http://forums.bigfishgames.com
Hope this helps
Maybe you are looking for
-
Satellite Pro P100-438: how to disable the CapsLock NumLock or Scroll sounds
Hi out there,. How can I disable these "ugly" notification sounds when I press CapsLock NumLock or Scroll? It's a Satellite Pro P100-438. Does anyone have any suggestions? Thank you
-
Satellite Pro A100-828 refuses to connect to the internet with modem MDA Vario 2
I have an Equium A60 which I use regularly as a modem for mobile internet access. Still, it connects to my MDA VARIO 2 (HTC Tytn) and gives quick access.However I just bought a Satellite pro a100-828 who, for some reason, refuses to connect to the in
-
Find iPhone App no longer works
I recently had to change the battery in my iPhone 5. Tried to use Find iPhone app on my iPad today and nothing happens, message bed "phone in offline mode." App locates the iPad, so the problem must be connected to a battery in the iPhone. Any sugge
-
OfficeJet Pro 8600 more. No menu auto scan when loading documents in the ADF?
I have an Officejet Pro 8600 more again to replace the L7780 who brought up the menu scan, when a document is loaded into the autofeeder. How can I get the only 8600 to do the same. I find that I liked the convenience of the automatic menu, but it
-
can u use Micrsoft office xp prof. with vista
I have micrsoft office on my vista and word works fine, but outlook has problems