My account
Shopping cart
Knowledge base
Support

Knowledge Base

Important! All new questions are usually answered within the next business day.

Accordion (Tree) Menu V3

(views: 25383)

Accordion Menu V3 and Accordion Tree Menu V3 are xml flash accordion menus featuring customized states, customized transitions and tweens. Here are all known issues for Accordion Menu V3 and Accordion Tree Menu V3, they should be similar, since basically it is the same component. If you have any questions that you think we should discuss here please let us know.



Go to different frames by pressing a menu item

(2007-08-17 - views: 9252)
Q: How can I go to a certain frame of my movie clip when I click on a menu item ?
A: This is possible by inserting an extra attribute in the xml file of the menu. In this example we added the "frame" attribute to our items, which we than read when an item is pressed. The frame can be identified either by frame number or by its label. This method can be used for both components: the Accordion Tree Menu and the Accordion Menu.
Files: ATM_gotoAndStop.zip 


User Comments

Bug?
posted by jmast on 2008-01-16
When you click the same menu item twice in the example file, the playhead moves to the next frame with a stop(); in it. Why is this, can it be fixed somehow?
Problem corrected
posted by negush on 2008-01-17
Thank you for reporting it. We've made a modification to the code: changed the me.gotoAndPlay(frame) line of code to me.gotoAndStop(frame), in the useFrame() function. Seems like even if there was a stop() method on that frame, the playhead went on to the next frame. Again, sorry for this. Go ahead and download the new file.
Go to a different FlashMovie Frame within a Frameset!
posted by sav on 2008-03-08
Is it possible to change frames on a different movie clip which is in a frame?

So for example i have built a website that is in 3 frames. Top, Left & Right.

The Top frame is a flash movieclip (containing picts)
Left Frame is the Accordian tree menu &
Right Frame is the content.

Currently i have it changing the Right frame with the content but also need to change the Top frame movieclip.

Any help much appreciated!





To sav
posted by negush on 2008-03-10
Unfortunately we didn't understand exactly what you are trying to use. Are you referring to frames from the Flash time line or frames in an HTML document ?

If you are talking about HTML frames, then you could use the ExternalInterface class or the LocalConnection class to communicate between the three Flash clips.

If you are talking about frames in the time line, then simply use the corresponding MovieClip methods (gotoAndPlay / gotoAndStop).

If this still didn't answer your question, then you should address on the support page (http://www.jumpeyecomponents.com/contact.htm).
Does this work in the trial version?
posted by cd5150 on 2008-04-03
Hi,

When I click any of the menu items, I can't get it to go a play a frame. Is this a restriction of the trial version?
It works in the trial version
posted by negush on 2008-04-04
The only limitation of our trial versions is that they don't work in the browser based flash player or the stand-alone flash player. So the above example works very well if tested in Flash IDE.
gotoAndPlay in loaded swf file
posted by leftfield on 2008-10-08
I need the navigation to do two things.

1. loadmovie() into a specific movie clip. ( i have already found the fix for this)
2. gotoAndPlay() to a specific frame in the loaded swf.

Is this possible?
gotoAndPlay in loaded swf file
posted by leftfield on 2008-10-08
I also need to know how to gotoAndPlay a specific frame inside a movieclip in the main swf.

Hate being a pain.
Cheers
gotoAndPlay in loaded swf file
posted by negush on 2008-10-09
For loading movies when a menu item is selected, please use the knowledge base item found at this location: http://www.jumpeyecomponents.com/knowledgebase/Accordion-(Tree)-Menu-V3/Load-movies-on-item-select~281/.

For the second point, you can use the example from this page.

For the third problem, just create a global function inside your fla file that would receive the target clip and the frame that it should navigate to. Then you can specify this function call directly in the setup xml for the menu, to each menu item you need.
gotoAndPlay in loaded swf file
posted by kryppled on 2008-10-23
Do you have this script in AS3. It would be very helpful. Thx
gotoAndPlay in loaded swf file
posted by negush on 2008-10-24
We just posted the AS3 code in our knowledge base: http://www.jumpeyecomponents.com/knowledgebase/Accordion-(Tree)-Menu-V3/Go-to-different-frames-by-pressing-a-menu-item~1327/.
Scroll over
posted by user401327 on 2010-09-02
Is it possible to go to the frame when you scroll over a button?
RE:Scroll over
posted by kneo on 2010-09-03
Yes, that's possible and quite simple. On ITEM_ROLL_OVER event you need to add a gotoframe method.


Login to post your comment login to post your comment

Other questions in this item

Call JavaScript from XML Open menu item pages into target - "_self" Can I add a rollover sound? Item description from XML Change Text Color on Rollover Load movies on item select Insert a line break into label Use hand cursor on menu Add different styles for each main items. Transparent background menu Align header text to right Go to different frames by pressing a menu item Disable-Enable Accordion (Tree) Menu V3 Keep the Accordion (Tree) Menu V3 vertically aligned How do I add the AccordionTreeMenuV3 on stage in runtime? Referencing item's textfield in Accordion (Tree) Menu V3 Underline On Rollover Use hand cursor on menu Scene navigation Adding icons Accordion Tree Menu expandAll() Automatic Collapse Add a fixed item under the menu acc.height not updated? Selected item level How do I add the AccordionTreeMenuV3AS3 from class file to stage hotwo: submenus already expanded on activation? how to change fontsize Animated items clickItem() and expandItem() do not execute actions of menu item Get the type of the selected item Letter kerning Autoexpand on Start Change the position of the menu icons Go To First Child When Select Top Level Menu Item Open menu upwards Children of a menu item Change the position of the folder icons Rotated text for menu items Menu Item visibility / disable Reference to text fields within menu items Step backwards and forwards through menu Spacing between menu items Accordion menu accurate size Letter kerning Title on multiple lines

Back