Results 1 to 5 of 5

Thread: Sending Flash Choices to HTML Forms

  1. #1
    Join Date
    Apr 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Sending Flash Choices to HTML Forms

    I have created a flash movie whereby a customer chooses a color for one of our products.
    I want to design script that loads the choice into an html form with javascript.
    The page can be found at http://www.asanaclimbing.com/disturbedEnlarge.htm

    The flash movie is operating, but does not communicate with the html forms.
    I have tried some javascript to get it to work, but to no avail.
    Presently my customers have to choose the color in the Flash movie and then again in the html code which is a pain.
    Can anyone point me in the right direction?

  2. #2
    Join Date
    Apr 2010
    Posts
    32
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    You can use the flash ExternalInterface.call() to call a JS function and pass vars to that function .... the documentation is here

  3. #3
    Join Date
    Apr 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks so much,
    Do you have a good resource for getting the variables from the javascript to the html forms?

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

    Default

    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  5. #5
    Join Date
    Apr 2010
    Posts
    32
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    I think i understand what your asking.... here is a link to a page on how to do a Javascript POST.... if this is not what you mean please just let me know

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
  •