Search:
Type: Posts; User: AS3.0
Search:
Search took 0.08 seconds.
-
also it is workWindow.visible that's currently false not workWindow.LD2nd.visible
-
if it is not visible the mouse event can't see it, I recommend you use alpha to hide it
-
LD2nd.visible needs == not = alone.
stage.addEventListener(MouseEvent.MOUSE_MOVE, showLD2);
function showLD2 (e:MouseEvent):void {
if (mouseY <= 344 && workWindow.LD2nd.visible == false ){...
-
that's really good if you need more help include another .fla that says what it needs with your updated scripts
-
That's a really nice window that appears by the way it has like a clear red
-
instead of a bunch of event listener you can also use one for all 3 buttons like
addEventListener(MouseEvent.CLICK, appExecute);
function appExecute(e:MouseEvent){...
-
in the main timeline, .visible hides mouse movements, take out the first line from the maintimeline and it works now, you can use alpha=0.0 to hide and still use mouse functions for next time
-
wait use this:
stop();
var LDSroot = MovieClip(root).LDS;
stage.addEventListener(MouseEvent.MOUSE_MOVE, peekOff);
function peekOff (e:MouseEvent):void {
if (MovieClip(root).mouseY <=...
-
stop();
var LDSroot = MovieClip(root).LDS;
stage.addEventListener(MouseEvent.MOUSE_MOVE, peekOff);
function peekOff (e:MouseEvent):void {
if (mouseY <= LDSroot.y-44) {
trace("true")...
-
if you just do mouseY alone inside the movieclip timeline, y=0 from the movieclips first pixel, if you do MovieClip(root).mouseY y=0 will start at the first pixel of the swf.
-
addEventListener(MouseEvent.MOUSE_MOVE, showLD2);
function showLD2 (e:MouseEvent):void {
MovieClip(root).LD2nd.alpha=(MovieClip(root).mouseY-MovieClip(root).LD2nd.y)/MovieClip(root).LD2nd.height
}
-
this.addEventListener(MouseEvent.MOUSE_MOVE, showLD2);
function showLD2 (e:MouseEvent):void {
LD2nd.alpha=(mouseY-LD2nd.y)/LD2nd.height
}
-
this.addEventListener(MouseEvent.MOUSE_MOVE, showLD2);
function showLD2 (e:MouseEvent):void {
if (mouseY <= LD2nd.y+LD2nd.height/2){
LD2nd.visible = true;
}else
{
LD2nd.visible =...
|
Click Here to Expand Forum to Full Width
|