dreidesign
New member
Hello,
I was wondering if there is the possibility to call the complete function also when the playToLabel is currently on the right position.
I registered some click events with the "playToLabel". When the "playToLabel" has finished I want to fadein a div.
This is however working, but not in all cases.
Example:
I got 4 buttons:
-button 1 plays to label "frame01" and fades in "highlight01"
-button 2 plays to label "frame02" and fades in "highlight02" ---> From 1 to 2 this works
-button 3 plays to label "frame01" and fades in "highlight02" ---> when I click this button after I clicked button 1 nothing happends, because playToLabel never completes
-button 4 plays to label "frame02" and fades in "highlight04"
This is a simplified version of what I'm using
Any ideas how I can fix this?
I was wondering if there is the possibility to call the complete function also when the playToLabel is currently on the right position.
I registered some click events with the "playToLabel". When the "playToLabel" has finished I want to fadein a div.
This is however working, but not in all cases.
Example:
I got 4 buttons:
-button 1 plays to label "frame01" and fades in "highlight01"
-button 2 plays to label "frame02" and fades in "highlight02" ---> From 1 to 2 this works
-button 3 plays to label "frame01" and fades in "highlight02" ---> when I click this button after I clicked button 1 nothing happends, because playToLabel never completes
-button 4 plays to label "frame02" and fades in "highlight04"
This is a simplified version of what I'm using
Code:
api.images.playToLabel("frame01", 2, function(){
$('.highlight01').fadeIn();
}
);
Any ideas how I can fix this?