Post Reply »

You must log in to post.

Dock Menu XML 2.0
  1. shdavistx
    Member

    Has bought the file

    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 6 months ago #
  2. snowcat
    Member

    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 6 months ago #
  3. shdavistx
    Member

    Has bought the file

    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 6 months ago #
  4. helderpestana
    Inactive in forum

    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 6 months ago #
  5. snowcat
    Member

    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 6 months ago #
  6. helderpestana
    Inactive in forum

    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 6 months ago #
  7. snowcat
    Member

    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 6 months ago #
  8. wwwbrianspdrcom
    Member

    Has bought the file

    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 6 months ago #
  9. snowcat
    Member

    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 6 months ago #
  10. alexisys
    Inactive in forum

    Posted 6 months ago #
  11. alexisys
    Inactive in forum

    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 6 months ago #
  12. mar-q
    Inactive in forum

    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 6 months ago #
  13. snowcat
    Member

    Posted 6 months ago #
  14. snowcat
    Member

    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 6 months ago #
  15. unutoiul
    Inactive in forum

    Has bought the file

    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 5 months ago #
  16. snowcat
    Member

    unutoiul, set loadSmoothed = false;

    Posted 5 months ago #
  17. mar-q
    Inactive in forum

    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 5 months ago #
  18. mar-q
    Inactive in forum

    hmm why don’t i have the “has bought the file” tag ?

    Posted 5 months ago #
  19. clarence
    Inactive in forum

    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 5 months ago #
  20. snowcat
    Member

    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 5 months ago #
  21. clarence
    Inactive in forum

    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 4 months ago #
  22. snowcat
    Member

    Hi,


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

    Posted 3 months ago #
  23. myfranz
    Inactive in forum

    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 2 months ago #
  24. snowcat
    Member

    Hi, these are available in 3.0 version of this product: Dock Menu XML 3.0

    Posted 2 months ago #
  25. moduki
    Inactive in forum

    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 2 months ago #
  26. coffee
    Inactive in forum

    Has bought the file

    Hi,


    Why the demo2 & demo3 not in th ezip file?


    Coffee

    Posted 2 months ago #
  27. snowcat
    Member

    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 1 month ago #
  28. repartografico
    Inactive in forum

    Has bought the file

    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 1 month ago #
  29. snowcat
    Member

    Hi repartografico, you could find this article useful.

    Posted 1 month ago #
  30. repartografico
    Inactive in forum

    Has bought the file

    Thanks for your valuable help.
    Congratulations again for its seriousness and readiness.
    REPARTOGRAFICO (IT)

    Posted 1 month ago #