Are u the brightest spark @ flash kit??
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Are u the brightest spark @ flash kit??

  1. #1
    Junior Member
    Join Date
    Oct 2004
    Posts
    14

    Are u the brightest spark @ flash kit??



    Hi

    I'm need some help on this one. I am using the following code to load up sub menus from a html text file attached to a button, but I also want to link the sub menu's to individual movie files.

    So any ideas on how I do this?

    This is the code I am using to get my sub menus from a notepad text file:



    var menuVisible;

    subMenuItem._visible = 0;


    function theMenu (n) {



    var newY = 10;

    for (var i=0; i<n; i++) {

    duplicateMovieClip ("subMenuItem", "select"+i, i);

    this["select"+i]._y = newY;

    this["select"+i]._visible = 0;

    this["select"+i].selectText = _parent.subMenu[i];



    newY = newY+20;

    }

    }


    function subMenuVis (b) {

    for (i=0; i<_parent.subMenu.length; i++) {

    this["select"+i]._visible = b;

    }

    }



    What I don’t know is where to place the code for loading a movie and how to get the submenu buttons to activate the movie/image files for each button whether there be 1 of 10 of them.

    Can anyone help me out on this as it is becoming a right mare!!

    Cheers
    Share on Google+

  2. #2
    Senior Member SJT's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    2,563
    You've cross posted this in 3 different forums.

    Only post in one place, and have some patience.
    The correct forum for Actionscript problems is the Actionscript forum, not here or Scripting and Backend.

    Thread Closed.
    Sam


    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com