FORUM

Horizontal Scale Menu XML

Home / Forum / Components Discussions / Horizontal Scale Menu XML

  • New tags have been added for the new component Horizontal Scale Menu XML
    #  /  posted on Jun 15, 2009
  • For whatever reason if you edit any of the .fla file it stops the navigation working when you preview the index.html file. As I wanted to get rid of the gradiant bitmap, but when I remove it and export it. It no longer works.


    Also, I think there should be more documentation to go along with this Flash file as it doesn’t describe how to change the font.


    #  /  posted on Jul 05, 2009
  • You need to install font written in readme.html. Otherwise, if you export it, you can’t see it working. You need to open fla library & change font in fonts_mc. Then, you need to change font name in com/flashdo/flashblue/ScaleMenu.as.


    If you can’t do it, mail me with your font to change.


    #  /  posted on Jul 05, 2009
  • Does this come with a Main_Symbol to drag and drop onto Flash CS3 Document?


    Or is it just for external links to HTML pages?


    #  /  posted on Jul 26, 2009
  • You need to know a little AS3 load it into another project. There’s a sample in Main.as file how it’s done.


    #  /  posted on Jul 26, 2009
  • How do I place the menu in a specific location in a SWF?
    Is it possible to have a selected state when on the relative page?


    thanks, James


    #  /  posted on Oct 03, 2009
  • Open XML file. You’ll see


    positionX=“center” positionY=“center” parameters.


    Change “center” to integer values.


    #  /  posted on Oct 03, 2009
  • I found what you were talking about. STill there is an inconsistent problem.
    I cannot set positionY integer to anything greater than 0. .....
    I'm discovering that it is essential to include the decimal (like this 12.0) even if it is an even integer. I discovered this while writing this post. Perhaps it will help someone else:)

    thanks.


    #  /  posted on Oct 03, 2009
  • I solved it. There was a mistake in com/flashdo/flashblue/ScaleMenu.as


    Change:


    menuHolder.y = parseInt(globals.positionY+positionY);


    to:


    menuHolder.y = parseInt(globals.positionY)+positionY;


    #  /  posted on Oct 03, 2009
  • Please, re-download.


    #  /  posted on Oct 03, 2009
  • HI, Im liking this menu.
    How would I link a menu item to a labeled keyFrame on the main timeline?
    Or, load another swf or MC?


    thanks, microsushi


    #  /  posted on Oct 14, 2009
  • You need to change buttonMouseClick function on com/flashdo/flashblue/ScaleMenu.as


    #  /  posted on Oct 14, 2009
  • Would you please show me the proper way to change the AS3 function to call a swf or movieclip. I’ve pasted the passage of code from com/flashdo/flashblue/ScaleMenu.as.


    //Button On Click private function buttonMouseClick(e:MouseEvent):void { var i:int = e.currentTarget.i; var url:String = item[i].url; var target:String = item[i].target; navigateToURL(new URLRequest(url), target); }


    #  /  posted on Oct 14, 2009
  • var request:URLRequest = new URLRequest("path_to_your_swf.swf"); 
    var loader:Loader = new Loader(); 
    loader.load(request); 
    addChild(loader); 
    


    #  /  posted on Oct 14, 2009
  • I am opening new window each time. I would like to target the stage or named_mc.
    HOw do I do this?
    Im getting lost as to where or how to do this.
    Your help is greatly appreciated.


    This is my code on menu.xml file: <item> <name>CLIENTS</name> <url> scrollingText.swf</url> <target></target> </item>


    This is my code on ScaleMenu.as: //Button On Click private function buttonMouseClick(e:MouseEvent):void { //var i:int = e.currentTarget.i; //var url:String = item[i].url; //var target:String = item[i].target; //navigateToURL(new URLRequest(url), target); //this method will load swf or mc var request:URLRequest = new URLRequest(); var loader:Loader = new Loader(); loader.load(request); addChild(loader);


    }


    p.s. my formatting gets lost when I publish my code, how to control this?


    #  /  posted on Oct 14, 2009
  • It would seem the
    loader.load(request); addChild(loader);
    method would load it into the same swf.
    ...
    This is my code on menu.xml file:
    <item>
    <name>CLIENTS</name>
    <url> scrollingText.swf</url>
    <target></target>
    </item>


    This is my code on ScaleMenu.as: //Button On Click
    private function buttonMouseClick(e:MouseEvent):void {
    //var i:int = e.currentTarget.i;
    //var url:String = item[i].url;
    //var target:String = item[i].target;
    //navigateToURL(new URLRequest(url), target);
    //this method will load swf or mc
    var request:URLRequest = new URLRequest();
    var loader:Loader = new Loader();
    loader.load(request);
    addChild(loader);


    }


    #  /  posted on Oct 15, 2009
  • You must know AS3 a bit to make it load external swf.


    #  /  posted on Oct 15, 2009
  • I changed codes. Please, re-download it.


    #  /  posted on Oct 15, 2009
  • I bought this hoping that I could use it as is, but didn’t realize that the background gradient was part of the flash stage. I don’t have flash and I don’t see any way to deal with background colors as part of the XML. Is there some way to have it just be black short of flash? I don’t own flash and wasn’t intending to buy it which is why I was looking for XML oriented tools.


    Thanks in advance.


    #  /  posted on Oct 17, 2009
  • If you can’t open fla source, send me a rpivate message to flashblue80@hotmail.com


    #  /  posted on Oct 17, 2009
  • Hi Flashblue

    You know how I should write my links in the menu.xml file, so they can be loaded in an iframe, which is in the same html file of the flash menu.

    regards

    Julio


    #  /  posted on Nov 18, 2009
  • You need to give a name to your iframe & write your URLs like that:


    http://www.sitename.com, iframe_name


    on args parameter of XML. (method should be navigateToURLs )


    #  /  posted on Nov 18, 2009
  • You need to give a name to your iframe & write your URLs like that:


    http://www.sitename.com, iframe_name


    on args parameter of XML. (method should be navigateToURLs )


    #  /  posted on Nov 18, 2009
  • Doesn’t work, by the way I’m in the product, Vertical Scale Menu XML v2.
    I haven’t touch de scalemenu.as.
    My menu.xml looks like this

    <item fontColor="#efefef" fontColorOver="#FFFFFF" bgColor="#989898" bgColorOver="#ff0000">
    <title>Identidad</title>
    <method>navigateToURLs</method>
    <args>contenido1.html, contentframe</args>
    </item>

    the name of the iframe is contentframe, and in the html looks like this:

    <iframe src="contenido2.html" width="100%" height="700px" align="top" frameborder="0" marginheight="0" marginwidth="0" name="contentframe" id="contentframe" ></iframe>

    i dont know if i have to add something.
    i'ma very lost here
    thanks for your help


    #  /  posted on Nov 18, 2009

  • #  /  posted on Nov 19, 2009
  • There’s an issue with Flash navigateToURL method in AS3 with dynamic targets.


    You should change code on line 329 in com/flashdo/flashblue/ScaleMenu.as to:


    navigateToURL(new URLRequest(url), "contentframe"); 
    


    #  /  posted on Nov 19, 2009
  • It works perfectly!!!!

    thanks so much Flashblue!!!

    Regards


    #  /  posted on Nov 19, 2009
  • No problem.


    #  /  posted on Nov 19, 2009
  • Hi just bought the component and needing to make the links go to pages in my site. I’m using adobe golive 9. what do I need to open the files with extentions “.as” to make all these changes?


    I’ve done what I can to change the link info in the menu.xml file but that is not changing anything.


    please advise.


    Regards,
    Bruce


    #  /  posted on Mar 22, 2010
  • Can you send me your test URL? You just need to change XML variables.


    flashblue80@hotmail.com


    #  /  posted on Mar 23, 2010