A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Passing a variable to a swf via a URL?

  1. #1
    Member
    Join Date
    Jan 2001
    Posts
    54

    Passing a variable to a swf via a URL?

    Let's say I have a swf with a variable name of "number" that I'd like to be able to set via the url, such as:

    http://www.domain.com/page.html?number=4

    How do I set up the swf/html to allow this?

    Many thanks.

  2. #2
    Registered User nunomira's Avatar
    Join Date
    May 2002
    Location
    portugal
    Posts
    7,003
    hi,

    Two examples:
    Using javascript here.
    Using php here.

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