Results 1 to 3 of 3

Thread: useing flash to change javascript variable

  1. #1
    Join Date
    Apr 2007
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default useing flash to change javascript variable

    I have a js file that i want to change the var showimage_1 useing flash ?

    I can make a flash with a drop down box but what code do i use to change the var showimage_1 in the js file.


    var showimage_1 = "yes"


    if (showimage_1 == "yes") {
    document.write('<br><TABLE cellpadding="0" cellspacing="0" border="0"><tr><td class="borders">');
    document.write('<IMG SRC="sidebar.jpg" border="0"><br>');
    document.write('</td></tr></table><br>');
    }

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Do you want it in Flash or PHP? Cause having different posts all over the board with the same question is confusing.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Apr 2007
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i am going to make two verstion of this editor. One in php and the other in flash.

    i don't mean to confuse anyone just trying to get all the info i can get.

Bookmarks

Posting Permissions

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