all groups > flash actionscript > july 2004 >
You're in the

flash actionscript

group:

Tree node open on rollover?


Tree node open on rollover? Emon_
7/30/2004 11:35:14 PM
flash actionscript:
Re: Making a tree node open on rollover? Emon_
7/31/2004 12:56:16 AM
Alright, so I got that working by use the rollover event things and just
manually opening/closing.

Two problems:

1. I'd like to use the slide animations with this rollover, but there seems to
be a lag, and it doesn't open or close properly all the time, and sometimes
they open seconds late. I tried setting all the style delays with no result.
This isn't that serious though.

2. How can I make it so it won't close the menu if it's on a child? Can I
check to see if the cursor is on a child node? If so then it's just the matter
of an IF statement.
Re: Making a tree node open on rollover? mambobob
7/31/2004 9:15:48 AM
Please Emon,
This is not the topic but may you give me the solution of your previous thread
subject : "Getting dimensions of a dynamically loaded JPEG
". I encounter the same pb as you using the onloadcomplete function and I
can't get the new MC._width and MC.height. The both returns 0.
In fact I do need to use the MovieClipLoader class, because i do need the
function onloadError....
Any solution and a sample of code would be welcome...
Thanks for your help
Cordially
JM
Re: Making a tree node open on rollover? Emon_
7/31/2004 5:59:12 PM
All I remember from that project was that checking the dimensions in
onLoadComplete wasn't "late enough", as if it hadn't fully loaded or registered
yet. If you try it somewhere why past when it gets loaded in your code, it
should work. I think in that thread I marked one of the posts as the answer.

By the way, you signed "JM", are you the JM I am thinking of? :)
AddThis Social Bookmark Button