How can I load this menu into a flash movie?
I've tried to load it like this:
loadMovie("menu.swf",10);
But it loads with the size of the main movie.
(sorry my bad english)
#  /  posted on Dec 03, 2007
Home / Forum / Components Discussions / Multilevel Sliding Menu
_lockroot = true;Then find the global variables _global.gWidth and _global.gHeight wich represent the width and height of the menu. They currently have the Stage dimensions but you can set them any dimensions. After setting your own dimensions recompile de file (open menu.fla and hit Ctrl Enter). Use the generated swf and
loadMovie(\"menu.swf\",10);and everything should work ok. Please let me know if it works.
We are embedding (with: loadMovie(“menu.swf”,inhalt); )
the menu.swf into a main swf for our flash site. When we place the menu.swf into a container on our main swf the menu.swf spans the width of the main swfs stage.
How do we change the settings so that the menu.swf stays at 300px by 360px.
We tried changing the global settings in the actions.as to:
_global.gWidth = 300;
_global.gHeight = 360;
How do we solve this problem?
We also tried the workouraround with
_lookroot = true; as descriped on page 2 in the comments here.
Thank you very much in advance.
best greets
kmeo
we solved the problem according due the last coment from us. But we have annother question.
How to disable the “on mouse click function” in the data.xml file because we didn‘t need further links etc. urls.
Thank you very much
best regards
kmeo
I was wondering how to change the name of the data.xml file because I already have an XML file with the same name? When I do change it I get an undefined in the player/movie?
Please login to post replies.