A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Changing variables with inline code

  1. #1
    2008 Man of the Year JWin's Avatar
    Join Date
    Aug 2005
    Location
    here
    Posts
    768

    Changing variables with inline code

    Is it possible to change a global variable dynamically from an inline bit of code. Something like:
    Code:
    <a href="javascript: ;" onclick="change global variable value"></a>
    Thanks
    -J

    SAMedia Blog (general bs) :: jwinmedia (my music site)
    "Think of an advertisement where the product you're marketing is Jesus!"
    -From a work for hire ad

  2. #2
    Allan Jardine
    Join Date
    Dec 2000
    Location
    Turtle hunting
    Posts
    192
    Yes - absolutely. It won't do anything interesting unless you then kick off another process though. onclick and friends can run any javascript.

    A

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