FORUM

Dock Menu Basic

Home / Forum / Components Discussions / Dock Menu Basic / Page 5

  • Snowcat,


    Cool component. I have a question that was briefly touched upon on page 8.


    I want this to function only within the .SWF itself so when you click a picture it goes to a frame #. You mentioned that you should replace the getURL method with the desired code for onPress event for each image. If possible, would you be able to tell me the specific coding to replace and what EXACTLY I should replace it with?


    #  /  posted on Dec 15, 2008
  • shdavistx, you should replace getURL() with
    gotoAndPlay(Number(urls[i]));
    and in the XML file set a frame for each image in the url attribute, for example url=“5” (so when you click that image it will execute gotoAndPlay(5);
    If you don’t manage to make it work you could consider upgrading to 3.0 version of this product, where the support for this behavior is built in, along with video tutorials on how to do this.


    #  /  posted on Dec 15, 2008
  • Hey, thanks for the response. I managed to figure it out on my own a little differently.


    I changed it to gotoAndPlay(urls[i]); and then I labeled frames in the timeline. Inside the XML I simply took out the web address and put in the frame name. :)


    #  /  posted on Dec 15, 2008
  • Hi snowcat,


    I have two questions: – How can i disable background (make transparent) – Im looking a way to add itens dinamiclly from a database where, instead of a static goto frame, each item is suposed to pass a parameter to a particular function on the movie. Is it possible?


    Thanks in advance,


    #  /  posted on Dec 17, 2008
  • To disable the background you’ll have to delete first the gradient rectangle on the Stage if there is one, then in the SWF embedding code in the HTML file you’ll have to set
    <param name=“wmode” value=“transparent”>


    It’s not very clear to me what you’re trying to do, but I’m sure there’s a way to tweak that. You could after all call gotoAndStop(a_frame), and in every specific frame to change the value of a global variable, and make your function to use that specific variable.


    #  /  posted on Dec 17, 2008
  • Thank you for the fast answer.


    I want to disable the background of the dock, to be able to see the background layers throught the dock.


    The use of GotoAndStop does not suit my needs because the item elements come dynamically from a database, using PHP to generate XML. I do not want to add / removes frames each time the database changes. :)


    < photo image=“something.jpg” bigimage=”“ url=”“ target=”privateFunction(privateparameter); “ lightboxInfo=”“><![CDATA[Label]] > < / photo >

    #  /  posted on Dec 18, 2008
  • To disable the background you have to do just as I said.
    I see you’re referring actually to the 3.0 version, which I recommend anyway. I hope you have read here the instruction on how to make the background transparent.


    If you’re using PHP to generate the XML file I’m sure you can find a way to use the menu according to your needs. I’m afraid I didn’t understand exactly what you meant by “each item is supposed to pass a parameter to a particular function on the movie”. Send me a private message with a more detailed description of what you’re trying to do.


    #  /  posted on Dec 22, 2008
  • I would like to have two of these docks on one page, each dock playing different pictures. but how can you make each dock read different .xml files?


    #  /  posted on Dec 24, 2008
  • You could achieve that by editing the FLA of one of the two dock menus and change this line:
    xml.load(“images.xml”);
    with
    xml.load(“a_different_xml_file.xml”);


    So you need to have different XML files for each dock menu in which you can specify different image sets for each menu.


    #  /  posted on Dec 29, 2008

  • #  /  posted on Dec 29, 2008
  • First of all – Great package! =)


    and one question:
    Is it possible to change Ypos for each icon in the dock(arranging icons on arc)?
    For example:


    I have 7 icons, icon in the middle should have the highest Y coordinate, nearest icons from both sides a bit lower Y coordinate and so on…


    Thank you :)


    #  /  posted on Dec 29, 2008
  • Hello SnowCat, im willing to buy your special offer packages 1 & 2 but i have one question regarding the dock menu.


    Can it be used as an xml picture gallery as well ? I mean if i have the component in one .fla let’s say, is it possible to make a “picture handler” (a place on the stage where i want to load the big pictures) in the same fla where the component is and load the big pictures there, with preloader and transition fx ?


    Thank you very much.


    #  /  posted on Dec 31, 2008

  • #  /  posted on Dec 31, 2008
  • alexisys, I’m afraid that wouldn’t be possible
    Of course, anything is possible, but in this particular case it would be extremely hard to achieve that given the current algorithm of Dock Menu


    mar-q, that shouldn’t be difficult at all if you’re having a basic to average Flash knowledge
    You’ll need to replace the getURL function in the code (for the onPress event) with some code which loads a big image in a picture holder


    #  /  posted on Dec 31, 2008
  • Hello!


    I allready purche this component, and when I compile the application with the icons, the icons have a grey background, how can I make a transparent background?


    I am using flash cs3


    Thanks,
    Lucas


    #  /  posted on Jan 07, 2009
  • unutoiul, set loadSmoothed = false;


    #  /  posted on Jan 09, 2009
  • thnx snowcat, i have some basic knowledge of flash but at the time i was asking that question i wasn’t the happy owner of the .fla :)
    esti tare taticu, bravo ;)


    #  /  posted on Jan 13, 2009
  • hmm why don’t i have the “has bought the file” tag ?


    #  /  posted on Jan 13, 2009
  • Hi Snowcat,


    Would like to know how to reduce the reflection height?


    If we use large image the reflection will become tall. Is there any way to reduce the reflection height?


    Thank You.


    #  /  posted on Feb 04, 2009
  • You can reduce the reflection height by editing the “masker” symbol from the Library (using the Color Mixer window).


    But I would highly recommend you to upgrade to 3.0 version


    #  /  posted on Feb 04, 2009
  • Hi Snowcat,


    Another question.


    Is there any way to reduce the scroll speed? I’ve tried to reduce the speed by reducing the fps, but it didn’t looks good?


    Thank You.


    #  /  posted on Mar 06, 2009
  • Hi,


    You have the variable scrollSpeed in the code which is just for that


    #  /  posted on Mar 09, 2009
  • Hi, is it possible to set automatic scroll (without mouse action)??
    And, second question, is it possible to make a loop (infinite circle)?
    Thank you.


    #  /  posted on Apr 06, 2009
  • Hi, these are available in 3.0 version of this product: Dock Menu XML 3.0


    #  /  posted on Apr 28, 2009
  • Hi, Snowcat.
    Just one question:
    I don’t want the buttons to call an external url, but i would like them to load external .swf movies in the same scene with the LoadMovieNum action in flash, How and where in the script can i change this?
    Thanks a lot for this product.


    #  /  posted on May 05, 2009
  • Hi,


    Why the demo2 & demo3 not in th ezip file?


    Coffee


    #  /  posted on May 05, 2009
  • moduki, you can do that instead of getURL function (find it with Ctrl F in the code)


    coffee, I just re-uploaded the archive with demo2 and 3 inside, please re-download


    #  /  posted on May 09, 2009
  • Hello Snowcat.
    compliments for your work. I bought “Dock Menu XML 2.0” I want to connect the
    images of the icon menu with images. jpg with Lightbox 2 effect <http://www.huddletogether.com/projects/lightbox2/>. I’m not
    very experienced help my with programming.
    Thank you.
    REPARTOGRAFICO ITALY


    #  /  posted on May 18, 2009
  • Hi repartografico, you could find this article useful.


    #  /  posted on May 18, 2009
  • Thanks for your valuable help.
    Congratulations again for its seriousness and readiness.
    REPARTOGRAFICO (IT)


    #  /  posted on May 20, 2009