I think it might be a bug within Papervision and nothing within me..
http://dnecklesportfolio.com/pv3d/materialsDemos/materialsDemo.html
and you know I also went back to the basic Materials Demo I got from the CLaSS
in SAN FRAN...
and simple added the rollover states
and I got the same issue.. in fact here is the code
dnecklesportfolio.com/pv3d/materialsDemos/materialsDemos.zip
and sometimes when rolling over you'd notice while on the clip that the roll
off mousepointer appears and is is inconsistent..
this problem will be considered a BUG and wont take priority ..
It's be great if someone would please confirm so I can move on..I spent weeks
on this one small issue..
Dwayne
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Fri, 28 Mar 2008 20:20:10 +0000
Subject: Re: [Papervision3D] Inconsistent rolling over for a plane
gang maybe i should use Mouseevent instead of interactivescene3devent???
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Date: Fri, 28 Mar 2008 19:42:48 +0000
Subject: Re: [Papervision3D] [Flash_Tiger] Re: Inconsistent rolling over for
a plane
Gang,
Just when we thought we got it..
To make things SIMPLE I took out the text and have a simple red movieclip
So now I have a papervision plane -> movieclip (as its material) -> movieclip
-> textfield
i use e.currenttarget instead of e.target in the onPlane Click function
but i still get the inconsistent rolling over
Frustrating cause im sure its something im doing wrong
Check out onPlaneOver and onPlaneOut do they access e.target by default..How do
I access e.currentTarget
Is that even the issue.. I may start from scratch and go back to basics..
public function onPlaneClick(e:InteractiveScene3DEvent):void {
if (BUTTONS_ENABLED) {
trace("e.currentTarget: "+e.currentTarget)
trace("e.target: "+e.target)
var plane:Plane = Plane(e.currentTarget);
trace("targets name", e.displayObject3D.name );
} else {
trace("wait till its done..");
}
}
public function onPlaneOver(e:InteractiveScene3DEvent):void {
viewport.containerSprite.buttonMode = true;
trace("e.currentTarget: "+e.currentTarget)
trace("e.target: "+e.target)
}
public function onPlaneOut(e:InteractiveScene3DEvent):void {
trace("e.currentTarget: "+e.currentTarget)
trace("e.target: "+e.target)
viewport.containerSprite.buttonMode = false;
}
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [Flash_Tiger] Re: Inconsistent rolling over for a plane
Date: Mon, 24 Mar 2008 05:06:19 +0000
More info on this...
http://www.flepstudio.org/forum/tutorials/428-target-currenttarget-actionscript-3-0-a.html
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Date: Sun, 23 Mar 2008 11:12:02 -0400
Subject: [Flash_Tiger] Re: Inconsistent rolling over for a plane
Dwayne Neckles wrote:
> Check out.. http://dnecklesportfolio.com/pv3d/index.html
>
> Rollover one of the main links.. you will see that the pointer changes from
> pointer to hand and back.. It's not supposed to do that... though it could be
> , I'm not sure its a papervision issue..
>
> Any suggestion why this happens..
This is one of those issues that seems to get neglected in most AS3 books and
online references. Then it's maddeningly difficult to find what's going wrong.
You assume that if you've added an eventlistener to the button clip, in the
handler the event target will actually be the button. However, although you
added the MouseOver listener to the button, the event target in the handler
actually turns out to be the text within the button.
I would handle this in one of two ways:
*** In the handler function, instead of using "target", use "currentTarget".
*** Set the mouseChildren property of the button to false.
Either way, your rollover should then display properly.
::. clive
Clive Sweeney
Durham NC
MetaConverse.com
__._,_.___
Messages in this topic (11)
Reply (via web post)
|
Start a new topic
Messages
| Files
| Photos
| Links
| Database
| Polls
| Calendar
Flash_Tiger Mailing List
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch
format to Traditional
Visit Your Group
|
Yahoo! Groups Terms of Use |
Unsubscribe
Recent Activity
5
New Members
Visit Your Group
Yahoo! Finance
It's Now Personal
Guides, news,
advice & more.
Ads on Yahoo!
Learn more now.
Reach customers
searching for you.
Wellness Spot
on Yahoo! Groups
A resource for living
the Curves lifestyle.
.
__,_._,___
Watch “Cause Effect,” a show about real people making a real difference. Learn
more.
Watch “Cause Effect,” a show about real people making a real difference. Learn
more.
Watch “Cause Effect,” a show about real people making a real difference. Learn
more.
Watch “Cause Effect,” a show about real people making a real difference. Learn
more.
_________________________________________________________________
In a rush? Get real-time answers with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_realtime_042008_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders