Dynamic Button Help

  • I am brand new to actionscript and are trying to figure out how this works. I have 4 buttons on stage with instance names of btn_1, btn_2, btn_3, and btn_4. They have linkage ID's the same as instance names. I want to be able to send a number from HTML into flash, and display those particular numbers. If I send a 2, only button 1 & 2 will show. Please excuse this very basic question, I've just started learning actionscript 3 weeks ago.

    Thanks


  • It would help alot if you posted your actionscript, so we can see what you're currently doing. :)


  • It would help alot if you posted your actionscript, so we can see what you're currently doing. :)

    I don't have any actionscript for the buttons yet. This is for an image zoom tool with 4 small buttons for alternate images...

    this is what I have in the actions layer so far...

    _root.image_holder.image.loadMovie(datasrc);
    _root.image_holder.image._xscale = 50;
    _root.image_holder.image._yscale = 50;
    _root.image_holder._x = 264;
    _root.image_holder._y = 250;
    _root.image_holder._xscale = 100;
    _root.image_holder._yscale = 100;
    width_value = _root.image_holder._width;
    height_value = _root.image_holder._height;
    x_value = _root.image_holder._x;
    y_value = _root.image_holder._y;
    _root.zoom_upper_limit = 10;
    _root.zoom_lower_limit = 0;
    _root.zoom_state = 0;
    //end root level code
    stop();

    I've got the buttons placed on the stage with instance names of btn_1, btn_2, btn_3, & btn_4.

    Im just at a dead end and don't know where to being.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Dynamic Button Help , Please add it free.