Knowledge Base |
Important! All new questions are usually answered within the next business day.
Drop Down (Tree) Menu V3
(views: 11473)
Drop Down Menu V3 and Drop Down Tree Menu V3 are xml flash accordion menus featuring customized states, customized transitions and tweens. Here are all known issues for Drop Down Menu V3 and Drop Down 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.
Initiate DropDownTreeMenuV3AS3 by ActionScript code
(2008-10-24 - views: 2285)
Q: I am creating a full AS3 website and would like to initiate the drop down tree menu from the actionscript without placing it on the stage.
A: The menu is added to the stage just like any other component. All you have to do is instantiate the menu, add it to the display list and set the properties (especially the XML data):
var myMenu:DropDownTreeMenuV3AS3 = new DropDownTreeMenuV3AS3();
this.addChild(myMenu);
myMenu.width = 400
myMenu.xmlPath = "properties.xml";
var myMenu:DropDownTreeMenuV3AS3 = new DropDownTreeMenuV3AS3();
this.addChild(myMenu);
myMenu.width = 400
myMenu.xmlPath = "properties.xml";
User Comments
ActionScript 3 Menu Configuration
Yes, you can use a code generated XML data, either by using the setXL() method which has to receive a parameter of type XML (which you can create by ActionScript code), or you could use the xmlPath property which you could set with the path to a .php script (or any other server side script) which generates the XML data.
Please note that the XML data must have the structure specified in the documentation: http://www.jumpeyecomponents.com/Flash-Components/Flash-Menus/Drop-Down-Tree-Menu-V3-35/xml.htm.
posted by negush on 2008-10-28
Yes, you can use a code generated XML data, either by using the setXL() method which has to receive a parameter of type XML (which you can create by ActionScript code), or you could use the xmlPath property which you could set with the path to a .php script (or any other server side script) which generates the XML data.
Please note that the XML data must have the structure specified in the documentation: http://www.jumpeyecomponents.com/Flash-Components/Flash-Menus/Drop-Down-Tree-Menu-V3-35/xml.htm.
ActionScript 3 Menu Configuration
Just to be clear about code-generated XML:
Does the menu expect *always* to load an existing XML file from the server (which may have been code-generated on demand)?
-or-
Can the menu use XML data internal to the runtime player which is generated at runtime (which might, for example, be extracted from an XML content file with broader scope)?
posted by Shirley on 2008-11-04
Just to be clear about code-generated XML:
Does the menu expect *always* to load an existing XML file from the server (which may have been code-generated on demand)?
-or-
Can the menu use XML data internal to the runtime player which is generated at runtime (which might, for example, be extracted from an XML content file with broader scope)?
ActionScript 3 Menu Configuration
Yes, the menu always has to receive XML data with strictly the structure specified in the documentation. It can either receive the XML data from an external source, like a .xml file or a server script generating that XML data, or it could be created dynamically based on some other information received from the server, using ActionScript and setting the XML data by using the setXML() method of the component.
posted by negush on 2008-11-05
Yes, the menu always has to receive XML data with strictly the structure specified in the documentation. It can either receive the XML data from an external source, like a .xml file or a server script generating that XML data, or it could be created dynamically based on some other information received from the server, using ActionScript and setting the XML data by using the setXML() method of the component.
How to prevent "potentially unsafe operation"
Every time I try to open my swf with the V3 Drop Down Tree menu I am unable to because Flash security settings say Adobe Flash Player has stopped a potentially unsafe operation because the application is trying to communicate with jumpeye components.com.
How do I stop this from happening? i am using AS 2.
posted by steve200 on 2009-06-30
Every time I try to open my swf with the V3 Drop Down Tree menu I am unable to because Flash security settings say Adobe Flash Player has stopped a potentially unsafe operation because the application is trying to communicate with jumpeye components.com.
How do I stop this from happening? i am using AS 2.
free trial versions works only within IDE
You are using the free trial version of the component in your document. To be able to use the component in your website page or to play it with the stand alone version of the Flash Player you will have to purchase the full version of it.
posted by florodebat on 2009-07-01
You are using the free trial version of the component in your document. To be able to use the component in your website page or to play it with the stand alone version of the Flash Player you will have to purchase the full version of it.
Login to post your comment



Is it possible to bypass using XML for the menu and configure the menu purely through AS3? The idea is to be able to get menu items and theme configuration from a database push them into an array and push that array into DropDownTreeMenuV3!