My mouse out event interferes with my "clicked" animation...
I created a page that contains several buttons. Whenever you mouse over any given button the graphic on the page updates to new information. Everything works fine at the level. Then, I created a click event on one of the
buttons, that makes an animation play on top of the information.
Everything works fine except whenever you click on a button, the animation will play...BUT as soon as the cursor "mouses out" (intentionally or not) the whole animation goes away and the page goes
to default ( as if you've moused out without ever have clicked the button )
I'm a complete newbie and know very little about Javascript and zero about jquery. I thought I could do a "workaround" and do it very simply but none of my "simple" solutions work.
I don't want to re-think or re-design the page but I may have to.
thanks
What if I pasted into this email? (see below)
Adobe Edge Animate Composition Actions
Edit this file with caution, being careful to preserve
function signatures and comments starting with 'Edge' to maintain the
ability to interact with these actions from within Adobe Edge Animate
(function($, Edge, compId){
var Composition = Edge.Composition, Symbol = Edge.Symbol; // aliases for commonly used Edge classes
//Edge symbol: 'stage'
(function(symbolName) {
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 1845, function(sym, e) {
sym.stop();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 1110, function(sym, e) {
sym.stop();
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "$", "mouseover", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("trans1");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "$", "mouseout", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("trans3");
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 3435, function(sym, e) {
sym.stop();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 2705, function(sym, e) {
sym.stop();
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "$", "mouseover", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("child1");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "$", "mouseout", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("child3");
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 953, function(sym, e) {
sym.stop();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 4190, function(sym, e) {
sym.stop();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 4930, function(sym, e) {
sym.stop();
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "$", "mouseover", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("rec1");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "$", "mouseout", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("rec3");
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 6200, function(sym, e) {
sym.stop();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 5475, function(sym, e) {
sym.stop();
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "$", "mouseover", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("eco1");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "$", "mouseout", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("eco3");
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 7438, function(sym, e) {
sym.stop();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 6759, function(sym, e) {
sym.stop();
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "$", "mouseover", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("progman1");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "$", "mouseout", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("progman3");
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 14877, function(sym, e) {
sym.stop();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 8390, function(sym, e) {
sym.stop();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 10076, function(sym, e) {
// stop the timeline at the given position (ms or label)
sym.stop(1000);
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "$", "mouseover", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("ed_work1");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "$", "mouseout", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("ed_work3");
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 8975, function(sym, e) {
sym.stop();
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "$", "click", function(sym, e) {
sym.play("reveal");
//Edge binding end
})("stage");
//Edge symbol end:'stage'
//=========================================================
//Edge symbol: 'EarlyChildhood_yarn'
(function(symbolName) {
})("EarlyChildhood_yarn");
//Edge symbol end:'EarlyChildhood_yarn'
//=========================================================
//Edge symbol: 'Transportation'
(function(symbolName) {
})("Transportation");
//Edge symbol end:'Transportation'
//=========================================================
//Edge symbol: 'recandleisure'
(function(symbolName) {
})("recandleisure");
//Edge symbol end:'recandleisure'
//=========================================================
//Edge symbol: 'ecodev'
(function(symbolName) {
})("ecodev");
//Edge symbol end:'ecodev'
//=========================================================
//Edge symbol: 'prog_mang'
(function(symbolName) {
})("prog_mang");
//Edge symbol end:'prog_mang'
//=========================================================
//Edge symbol: 'KEY'
(function(symbolName) {
})("KEY");
//Edge symbol end:'KEY'
//=========================================================
//Edge symbol: 'earlychildspinner'
(function(symbolName) {
})("earlychildspinner");
//Edge symbol end:'earlychildspinner'
})(jQuery, AdobeEdge, "EDGE-4775192");
Similar Messages
-
Problem with MOUSE OUT event in complex MCs
Hi,
I've got a problem with detecting mouse out event (AC3)
appearing when MC
contains other embeded MCs. The Event.MOUSE_OUT seems to be
unusefull
because every MC attached to parent triggers this event. I
can't turn off
mouse listening for these objects because they are a kind of
buttons
(thumbnails in picture gallery). So MOUSE_OUT event is
triggered even when
we are still inside parent MC. More over - MC has irregular
shape which
makes impossible to check mouse position and compare it 'by
hand' with
object with not rectangular boundary. Does anybody know how
to solve this
issue ?
Regards,
Marek> yes this is expected behaviour with MOUSE_OUT, which is
why there is
> another
> event ROLL_OUT, which as Flash help says, "...is to
simplify the coding of
> rollover behaviors for display object containers with
children."
Thanks a lot Craig !
Now it works fine. -
XY graph "mouse move" event stops generating when click on cursor
Hello All
When the mouse is moving freelly inside the XY graph control, the "mouse movement" event is fired.
The same happens when muse clicks anywhere in the graph with the exception of cursors.
hen mouse clicks on cursors the "mouse move" event is NOT generated even though the mouse is phisically moved.
Is there any explanation to this.
I enclose the example.
regards
PawelJust today I had the same problem -> my solution:
set event timeOut to some value(I have it at 1ms) then
add to globalVariables some BOOL variable that will signal if mouse is down or up (set the flag in appropriate event),
then add a case in the timeOut event which will read this
global variable(flag) -> if it's TRUE then change the needed parameter.
So even if the mouse move event isn't fired the main timeout event is.
Not a perfect solution, but better than nothing.
Peace
Waldemar -
Other events interfere with abort for state machine started by an event
In the attached VI there is a state machine that is triggered by a boolean “start” change event. There is also a boolean “stop” that stop the state machine, a numeric “voltage” that has an event handler and a boolean “exit” that has an event handler.
The stop button works as expected unless if the voltage value is changed before the stop button is pressed. I was thinking this might be because there is an event for the voltage value change but there is also an event for the exit button value change and the problem does not occur if the exit button is pressed before stop.
If anyone could explain the reason I am only running into the problem with the voltage value change and/or how to properly implement the stop/abort function I would appreciate it!
Thanks,
Dave (LabVIEW 7.1)Well that certainly solves the problem I was having! The case in a while in a case in a while reminds me of the 10-level deep if statements I used to end up when starting C programming. I guess the inner case/while are required for the state machine and the outer while is required for the Producer / Consumer. I always find myself thinking in terms of "if/then" statements and the case/comparison took the place of that.
Regardless, problem solved. If anyone has tips on how to make it (attached) look better, please post them!
Lynn, I wasn't quite sure about your instructions on passing the exit and stop commands through the queue. I went with the idea of keeping the long-running loop separate. I know I still have a bit more to work out such as use of exit button while state machine is running, and the stop button only works in between state machine iterations.
Message Edited by davey31415 on 11-27-2006 07:04 PM
Attachments:
PowerfoldMeasStat.vi 158 KB -
Mouse cannot open file with double click
Hi all,
Presently using latest iMac.
my files or folders on the desktop does not open with 2 left clicks. But it does if from the dock. However It will open only when I right click and mouse over to 'open' from the pull down menu. What setting did i not do correctly ?
F. MattYou can look in System Preferences > Accessibility > Mouse & Trackpad and check/adjust the double-click speed there, too.
If that doesn't help, I'd suggest you test for the same issue (the apparent inability to double-click) with another mouse. -
VI Keydown event interferes with menu selection
My application requires that the user log a data point with a spacebar pressed. To do this, I want to use the Key Down event at the VI level. However, I find that when I include this event it disables the keyboard's Alt- menu selection, even though I'm passing all the parameters through KeyDown unchanged. I've included a skeleton VI that exhibits this behaviour. Has anyone else run into/overcome this problem?
Thanks,
David Moerman
Advanced Measurements Inc
www.advmeas.com
Attachments:
VI_KeyDown_vs_MenuSelect.vi 41 KBInstead of using keydown, use keyup. I have written the attached VI to decode the scancodes on my computer so that one can tell what key was pressed. Unlike with keydown, this method allows the alt-keys of the window to work and it will indicate a larger number of keys.
Jeremy Braden
National Instruments
Attachments:
Decode_scancodes_into_ascii.vi 487 KB -
HT1933 Sound is out of sync with picture on animated movie.
Purchased two Barbie animated movies for the family. Both movies start off playing just fine. About halfway through, the sound starts to lag versus the picture. This gets worse and worse until what you see and hear no longer makes sense. For example, a man character is heard speaking but the picture shows a woman character lips moving.
Near new computer and didn't have any trouble with downloading.
Have reported the problem but thought I'd ask for some advice on here.extend the timeline that contains the flvplayback component to match the duration of the video.
assign an instance name to your flvplayback component (eg, flv_pb) and add the following to the first keyframe in the timeline that contains flv_pb:
stop();
flv_pb.addEventListener(fl.video.VideoEvent.PLAYING_STATE_ENTERED,f);
function f(e:fl.video.VideoEvent):void{
flv_pb.removeEventListener(fl.video.VideoEvent.PLAYING_STATE_ENTERED,f);
play(); -
Mouse over - mouse out - click
HELLO
i have a menu :
Mouse over : color change
Mouse out : Back to default color
CLICK : animation
PROBLEM : when I click , the animation starts , but there are still triggers of mouse over and mouse out
which means animation got issues and return to mouse out positionYou need the call to the handleBackClick function to be triggered by the end of the gotoAndPlay("click") animation, not by clicking it.
-
My Logitech mouse interferes with the display.
Ever since updating to Mavericks several months ago my Logitech M225 wireless mouse will occasionally interfere with the display memory when coming out of sleep mode. This happens every few days and can only be cleared by restarting my MacBook Pro. If it comes out of sleep fine there is never a problem. The interference is in the form of columns of random bits distributed here and there across the display. Each movement of the mouse results in changing interference. I'm now at OS version OS X 10.9.4 (13E28). This happens when using an external monitor.
MBP does not sleep when display is closed?
For: A portable Mac doesn't appear to respond properly when you close or open the lid.
Reset SMC. http://support.apple.com/kb/HT3964
Choose the method for:
"Resetting SMC on portables with a battery you should not remove on your own". -
Flash files with right click imported in dreamweaver files
Flash files created with Captivate which contain rightclick
functionality are imported to html files created in Dreamweaver. In
other words, I don't use the html created by Captivate but another
html file to build up a whole course. But now a couple of those
flash files contain a right click and obviously I have to adjust
the dreamweaver file with some of the script that William Heinz has
created. I am not an HTML expert and I am not 100% confident that I
can do with just endless try&error. Could anyone give me some
hints?
I suppose I need to use the second bit of William's article
"the more complex requirement".
When I insert the flash file this is what I get: (This is
where I am suppose to make the changes????)
<script type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','widt h','746','height','591','title','Schedule
Let
Me','vspace','5','src','Resources/Sched_LM_skin','quality','high','pluginspage','
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','Resources/Sched_LM_skin'
); //end AC code
</script><noscript><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
width="746" height="591" vspace="5" title="Schedule Let Me">
<param name="movie" value="Resources/Sched_LM_skin.swf"
/>
<param name="quality" value="high" />
<embed src="Resources/Sched_LM_skin.swf" width="746"
height="591" vspace="5" quality="high" pluginspage="
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash"></embed>
</object></noscript>
I am not sure what to do with the "<Body
onload='javascript:init()..... "etc as suggested by William.
Thanks for any advice on this!!!I hope there is one person out there who can help me with
this issue.
I have started from scratch and created a blank html with
dreamweaver and inserted the flash file (with right click
animation) created with Captivate.
Then I made the adjustments as per Heinz and also included a
ID=Captivate1 as the RightClick.js refers to that.
The main difference between this html file and the html file
created with Captivate, is that the Captivate one also has
writedocument bit.
Anyway, is there anybody in the world who can give me
atip/hint/suggestion????? -
Hover actions taking over click animation
My click action does an animation and then links to another page. If I move my mouse cursor from the element it immediately stops my click animation and triggers the "mouse out" part of the timeline.
Is there a way to disable the mouse out action temporarily while the click action is in progress?
Here is a direct link to my Edge Animate file.
http://www.blakmantis.com/1_edgeanimate/intro.zip
Any help would be greatly appreciated.Hi ,
Animation triggers appear as simple animations in 7.0.7(without trigger).
Mouse Hover Actions are working text only. Mouse click work for both.
We are working on these. All these PowerPoint features will be coming in next release of Presenter. -
I use an iMac 27" (mid 2011). Until recently I had OSX 10.6.8 installed, but both, the HDD and SSD had to be replaced, and I lost all the memory.
After the repair through Apple Care I had OSX 10.7.5. (Lion) installed, which developed a Magic Mouse problem.
Unlike with most users, I have no problems with connection, but grapple with a different kind of erratic behaviour.
All fancy stuff is turned off in the mouse preferences. When I try to move, open or close pages, unrelated submenus pop up and hinder the
required task. No matter how often I click, these menus stay there, and they even come up when clicking on the bare desktop.
It renders the mouse absolutely useless, as no work can be done with it.
The first 'Magic Mouse' had depleted batteries every few days, despite switching it off after use.
I was supplied a new Mouse, which does better battery-wise, but the problems are the same. I can't get a result by clicking on any link, due to
the pop-up menus, so both 'Magic Mice' are totally useless.
At present I am using the old USB mouse from my Mac Pro, and that works still o.k.
The problem are not the mice, but the software. The first 2 weeks after installation of OSX 10.7.5 the Magic Mouse worked though.
I have no idea as to what the reason may be.
Has anyone in the community ever experienced that particular problem. Any hint would be welcomed.
Thank you!Not using any mouse pad, I have a very smooth desktop. But I just tried to use a sheet of A4 printing paper, but no result, the problem persisted.
Someone on this forum suggested, that USB3 may interfere with the magic mouse.
I have 2 LaCie HDD's about 70 cm away from the mouse, I use them on Thunderbolt. But in operation or not - the result is the same, the mouse plays up! Just now I was clicking the desktop and the mouse created a new folder!!
Thanks for the advice, Bee
Cheers, Gerd -
Detect clicked cluster in mouse down event for clusters within multiple stacked clusters
With the help of Ben (see http://forums.ni.com/t5/LabVIEW/Determine-cluster-element-clicked-in-mouse-down-event/td-p/1245770)
I could easily find out what sub-cluster had been clicked on (mouse down event) within the main cluster, by using the Label.Text Property.
However if you have a cluster within a cluster within a cluster then you probably have to use individual mouse down events for each sub-sub cluster.
I just wanted to use one "Main Cluster":Mouse Down event and from that determine which of the sub-sub clusters had been clicked on - is this even remotely possible?
Chris.Chris Reed wrote:
With the help of Ben (see http://forums.ni.com/t5/LabVIEW/Determine-cluster-element-clicked-in-mouse-down-event/td-p/1245770)
I could easily find out what sub-cluster had been clicked on (mouse down event) within the main cluster, by using the Label.Text Property.
However if you have a cluster within a cluster within a cluster then you probably have to use individual mouse down events for each sub-sub cluster.
I just wanted to use one "Main Cluster":Mouse Down event and from that determine which of the sub-sub clusters had been clicked on - is this even remotely possible?
Chris.
Yes but... you will have to pass through 26 Kudos worth of Nuggets to get there (Well maybe you can skip the last 5 or so).
This Nugget by Ton teaches us how to use Dynamic Event Registration. (15 Kudos, must read and understand)
This Nugget by me talks about getting at references inside arbitrary data structures. (11 Kudos, You don't have to read the whole thing, only enough to get at nested objects).
SO use the stuff I wrote about to gather up the references to the clusters. Build them into an array and then use dynamic event registration and what you learned in that thread you linked in your question.
So Possible? Yes!
Easy? YOU tell me.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Events will not open with double click/double click not working.
Have just upgraded to iPhoto'11 and finding it a pain to use after previous iPhoto. Events will not open with double click (even though highlighted in yellow) and photos will not open with double click or videos play. How can we fix this please?
That sounds very like an issue with your mouse/trackpad and not iPhoto. Go to your SystemPreferences and chck the speed you've set for double clicking
Regards
TD -
Determine cluster element clicked in mouse down event
Is there anything similar to the ArrElem Property Node, that allows a user to detect which element in an array has been clicked on (mouse down event), but for a cluster?
It seems the only way I can detect which sub-cluster in my main cluster (see attachment) has been clicked on, is to work out the screen coordinates of each element and compare that to the mouse coordinates of the click - is there any other (better) way? There's is going to be eight of these main clusters all stacked vertically.
NOTE: All sub-clusters in the main cluster are disabled so that nothing "pops-up" when the user clicks on an object.
I was thinking of using an array of clusters, but I need the ability to set various properties (eg. blinking) for each individual object.
Chris
Attachments:
Lane Bays.ctl 80 KBThat's not bad Ben - thanks.
I made up a quick VI based on your solution which works great if I have one cluster, but if I have eight+ Main Clusters I have to repeat this Event eight+ times - no? I was wondering if there was a more scalable solution?
I suppose I could just lump ALL the sub-clusters into one massive Main Cluster, but the text string for that Event is going to be very, very long eg. "Main Cluster.Cluster1"....."Main Cluster.Cluster24": Mouse Down
Chris
Attachments:
Get Clicked Cluster Element.vi 13 KB
Maybe you are looking for
-
Error while provisioning a user to EBS UM
Hi All, I am trying to provisioning a user to EBS UM from OIM 11g R2 and it is remaining in provisioning state. When i checked the resource history in the Create User task it is saying the following Invalid Person ID entered. In the logs i found the
-
Disfunctional DVD Drive (ejects all DVD's)
Hi, there's something wrong with my sister's DVD drive on her mac mini. She bought the computer two years ago and this problem has been going on for two months. Whenever she puts a DVD in the drive it "thinks" for a moment and then ejects it. It does
-
2 Dual core intel xeon vs quad core. Whats the difference??
I came across someone who's selling his mac pro 1.1 (aprox 2-3 years old machine) which hosts 2 dual core intel xeon processors 2.66 Ghz (4 total cores) with an L2 cache of 4 MB per processor and 3 gb of RAM. He is asking for 1200.00 I wonder: 1. is
-
Reader 10.1.3 freezes SAP
We have the SAP GUI 7.2 and within the GUI when we view a pdf it opens fine, just like opening a pdf in IE. When we click the email button it will open outlook and have the pdf attached to send the email. At this point when we send the email as nor
-
Storing and linking audio file
The only way that I can figure out how to store a file on my iPhone is via Google Drive. I move to the public folder, turn link sharing, copy the link and then paste it here: https://docs.google.com/file/d/0B7SHK5853zdOZGZ0ZlpkMzNDSkk/edit?usp=docsli