Old 12-21-2008, 09:35 PM   #1 (permalink)
Junior Member
 
Join Date: Dec 2008
Posts: 4
Default Can the 2 level menu be a 3 Level

I bought this with intention of trying to learn proper OOP actionscripting and then taking this existing 2 level drop down to a 3 level drop down. Not working out at the moment. Any suggestions for a relative newbie to OOP Actionscripting? I've been working with Flash Animation and less complex Actinoscript for a while so I have an understanding of how things should work but actually getting them to work is proving to be much harder.

Thank you in advance.
hokiehokie is offline   Reply With Quote
Old 12-22-2008, 02:28 AM   #2 (permalink)
OXYLUS Staff
 
Razvan's Avatar
 
Join Date: May 2008
Posts: 1,266
Send a message via Skype™ to Razvan
Default

Quote:
Originally Posted by hokiehokie View Post
I bought this with intention of trying to learn proper OOP actionscripting and then taking this existing 2 level drop down to a 3 level drop down. Not working out at the moment. Any suggestions for a relative newbie to OOP Actionscripting? I've been working with Flash Animation and less complex Actinoscript for a while so I have an understanding of how things should work but actually getting them to work is proving to be much harder.

Thank you in advance.
Hello, of course it can be a 3 level drop down menu. First of all you must create another node in the xml for the 3rd menu items. Create one class that handles one list of items for the 3rd level, create another class for each button for the 3rd level. When you will mouse over level 1... level 2 will appear, when you will mouse over level 2 level 3 ( for the level 2 item you are mousing over) will appear. You must also change the interval limits in order to detect the 3rd level and not fade out.

It's not the best application you could start for oop actionscript, start with just a simple menu ( click-able ) and after you got it 100% right go to the next level and so on.

Visit this -> gotoandlearn.com - Free video tutorials by Lee Brimelow on the Flash Platform maybe it will help you.

All the best !
Razvan is offline   Reply With Quote
Old 12-29-2008, 04:35 PM   #3 (permalink)
Junior Member
 
Join Date: Dec 2008
Posts: 4
Default

Can you elaborate on the solution. I'm having a hard time simply understanding how all of this is stitched together. What exactly do Level1Item.as & Level2Item.as do differently from each other? Do they simply construct the lists?
hokiehokie is offline   Reply With Quote
Old 12-29-2008, 06:17 PM   #4 (permalink)
Junior Member
 
Join Date: Dec 2008
Posts: 4
Default

Well...some plundering around in the files has produced a semi-workable solution. I have 3rd tier menu. Its masking correctly underneath its parent node menu item. Problem is now...its not pushing (or moving) the menu items below it to fully open and its also not pulling the items it pushes down back up when the menu closes. So lets say I open the 3rd Level of Menu Items from around the top of the menu. If I click on any menu item below it, it reads the correct height to display the menu items but the actual items are not there.

Any ideas?
hokiehokie is offline   Reply With Quote
Old 12-29-2008, 08:44 PM   #5 (permalink)
Junior Member
 
Join Date: Dec 2008
Posts: 4
Default

I've managed to figure out the problem but no solution. It appears the "allItems" array houses the list of movieclips that moveOthers pushes down. Problem is that from with the 3rd level class I can't access the top level of items. So the main menu items are not getting pushed down. If there is anyone out there -- thoughts would be appreciated.
hokiehokie is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:37 AM.