A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: jsp dynamic menu; is it possible?

  1. #1
    Member
    Join Date
    Nov 2002
    Posts
    88

    jsp dynamic menu; is it possible?

    Hi, this is my very first time doing a dynamic menu. But since my collegue digs jsp, we were thinking about doing a flash menu that loads variables from jsp (with categories and links). Is it possible? Are there any tutorial out there? I searched the movies section with no results and the web offered no answer so far as well...

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    regardless of which external scripting you use, you must send
    data to Flash in a format that the program can decipher.

    this is typically in the format -
    PHP Code:
    &Name=Dan&Posts=78
    use a LoadVars object to load the data from the script
    and the onLoad function to interact with the loaded data

    Code:
    lv = new LoadVars();
    lv.load("your.script");
    
    lv.onLoad = function(){
    trace(lv.Name);
    trace(lv.Posts);
    };

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