A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Dynamic Input Help Please

  1. #1
    Left-Handed Flash User mickbrit55's Avatar
    Join Date
    Nov 2003
    Location
    NJ USA
    Posts
    1,375

    Dynamic Input Help Please

    Hiya

    I have been designing some small applications but have just come up against a brick wall for a few of them and was wondering if anyone can point me in the right direction.

    What I need is a way of getting information from an external website into Flash. For example, I need the conversion rate for the UK Pound when the user enters the site. I can get this from any number of financial sites, but how would I get this into a variable dynamically? I don't know if I need XML, PHP or an Ice Cream Sundae

    Any help would be greatly appreciated.

    Mick

  2. #2
    Senior Member SJT's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    2,563
    you can set a variable in Flash from your html by adding the variable name/value pair to the end of the swf document name like this:

    In the Movie parameter of the Object tag
    PHP Code:
    VALUE="myswf.swf?loadMe=myVar" 
    In the embed tag
    PHP Code:
    src="myswf.swf?loadMe=myVar" 
    (p.s. this isn't php, it's just plain html)
    Sam



  3. #3
    Left-Handed Flash User mickbrit55's Avatar
    Join Date
    Nov 2003
    Location
    NJ USA
    Posts
    1,375
    Hiya ...

    Thanks for replying but I don't understand that at all. How do I get the info from the site in the first place?

    Mick

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