dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How to make a flash search button search my site

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    2

    How to make a flash search button search my site

    Hi,
    Very beginner in flash.
    I have a postnuke site and decide to play with a theme . I use html as header and footer, and in the header.html I use a .swf movie where there's a search button with a static text area. I would like the search button to search in different area of my php postnuke site, news, stories, forum, etc, and display the results in the site as an usual search button on postnuke site.
    I browsed many post but did not find something for me. The movie is not part of the site, I mean that links in swf don't call function from php, it's standalone, each link use absolute path.
    Any idea?
    Regards
    Les enfants de Tangaroa vous saluent...

  2. #2
    Senior Member
    Join Date
    Aug 2001
    Location
    Aus land
    Posts
    204
    in flash make a button and use getURL() to call a JavaScript function or hard code the search criteria into the getURL

    ex:

    on(release){
    getURL("http://www.yoursite.com/searchscript.php?searchcriteria=somesearchstring", "_blank", "POST");
    }

    hope it helps

    MikeP

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