Knowledge Base


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

Accordion (Tree) Menu V3

(views: 18180)

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: 6334)

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/.


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


Back

Knowledge Base Search

Enter keywords below:
Advanced Search
FlashEff 2.0
Create professional flash photo slideshows online

FREE Flash Stuff

Check out these free, fully functional AS3.0 Flash components by Jumpeye:

FlashEff 2.0 Free
(free for non-commercial use)

JC Panorama
(free for non-commercial use)

JC Play List
(fully free)

Basic Menu Pack V3
(free AS3 version)

MCTE V3
(free AS3 version)

JC Player
(free for non-commercial use)

JC Flash Map
(free for non-commercial use)

Flash Bookmarks
(fully free)

ActionScript Bridge AS2-AS3
(fully free)

JS Charts
(free for non-commercial use)

Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign