Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
GallyG webforumsuser@macromedia.com #1
Double-clicking
I hope this isn't too dumb a question - how can I create a "double-click" function for an object? I'm trying to create a scenario where the end user has to double-click a line of text to move forward in the program. Any samples of code would be greatly appreciated. Thanks in advance...Bill
GallyG webforumsuser@macromedia.com Guest
-
Double Clicking on a PDF document, will not open
When double clicking on a PDF document with the default document properties set to Acrobat Professional 8, the document will not launch Acrobat. ... -
Double clicking submit button - duplicates
Hi there, I have a DW insert record behaviour on a php page. If the user clicks Submit quickly multiple times, I end up with duplicate records. Any... -
Double-clicking opens ID but not file
I've checked file associations, and still, whenever I double-click on a ..indd file, IDCS opens but the file doesn't. Any ideas what else to check?... -
Double Clicking doesn't open files
I've got PS CS and PS 7 on my Mac running OS 10.3.3. If I double click on an image file PS CS opens, but the image doesn't open. If I drag the image... -
Double clicking window bar doesn't minimize
In illustrator CS when I double click the bar at the top of the document window the window doesn't minimize to the dock. I actually have to click the... -
Jack. webforumsuser@macromedia.com #2
Re: Double-clicking
this.createEmptyMovieClip("test",1);
test.createTextField("tester",10,10,10,100,20);
test.tester.border = test.tester.html = 1;
test.tester.htmlText = "This is a <a href='asfunction:_parent.fTest'>Test</a>"
function fTest(){
test.onEnterFrame = function(){
if(C1 && getTimer() >= t1+500){
C1 = 0; CC = 0;
click2 = false; trace("double click - "+click2);
}
};
if(C1){
if(getTimer() < t1+500){
C1 = 0; CC = 0;
click2 = true; trace("double click - "+click2);
}
} else {
C1 = 1; CC = 1;
t1 = getTimer();
}
};
hth
regards
Jack..
Jack. webforumsuser@macromedia.com Guest
-
GallyG webforumsuser@macromedia.com #3
Re: Double-clicking
Thanks Jack. It worked like a champ. Very much appreciated.
GallyG webforumsuser@macromedia.com Guest



Reply With Quote

