SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jan 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help needed with Flash SetVariable in classic asp

    I'm going crazy by I can't really figure how to call flash SetVariable from classic asp.
    I've got this looping flash that shows something similar to a map. In vb6 i just call object.setvariable(Variable,value) to change the color of the part of the map i need to show. How can I achieve that in asp?
    To clear things out, I've just got this asp page with the flash object and for each record I read in a database I have to change the color of the relative part of the map. Of course I cannot do that just passing variable in the flash cration, but dynamically.
    Any help appreciated.

  2. #2
    SitePoint Wizard siteguru's Avatar
    Join Date
    Oct 2002
    Location
    Scotland
    Posts
    3,629
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    The flash object is embedded in the HTML, so lives on the client (browser) side. ASP lives on the server and has no knowledge of the flash object.

    Do a search for AJAX Javascript Flash.
    Ian Anderson
    www.siteguru.co.uk

  3. #3
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,551
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    You don't need to use ajax or javascript, just pass data to the swf via the html that embeds it - see flashvars


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
  •