dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: passing parameters from html links to flash

  1. #1
    Member
    Join Date
    Apr 2001
    Location
    Manchester, UK
    Posts
    64
    is it possible to pass parameters from a html link for flash to use? basically, when a user clicks on a link, it loads a generic flash file and using this variable loads the appropriate text file of other variables.

    cheers

    vince

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    102
    I am not an html expert or anything but I don't think this is possible without a server side script of some sort. You would have to change the object and imbed tag and insert variable info into them.

  3. #3
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    You could try adding

    id = "movieName" in the object tag (where it has the width and height of the movie) and name = "movieName" swLiveConnect = "true" in the embed tag then make a link like

    <a href="javascript:window.document.movieName.SetVari able('variableName', value);">click here</a>

    to pass a variable to the movie. This will only work on IE on the PC and in some (swLiveConnect enabled) versions of netscape though.

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