Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Oct 2002
    Location
    Baltimore, MD
    Posts
    10
    Member #
    217
    What I would like to do is have a small Flash animation that has a shared variable that people will be able to increment by 1 when they hit a button on the flash animation, similar to a counter. But, I would like everyone to see the value the variable holds, and I would like everyone to see the change in the variable when others increment it as well.

    I guess my question is, is there a way for a Flash program to read and write from a outside variable?
    .........say when.............

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    I don't believe so but I'm no Flash guru. What you can do is pass variables from one page to the next via either HTTP POST, or the easier way: tacking them onto the URL a la ?var1=something&var2=something%20else, etc.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  4. #3
    Senior Member energizze's Avatar
    Join Date
    Oct 2002
    Posts
    260
    Member #
    238
    Yes this is possible in flash, but not flash alone.

    If you want everybody on the site to be able to see it you will need some form of server script running.

    Simple to code in PERL, PHP, ASP ect...

    and if you want it to be live so people see it at the moment someone changes the variable, you will need socket connections from each flash movie to the server and i doubt wether your host will let you do that.

  5. #4
    Junior Member
    Join Date
    Oct 2002
    Location
    Baltimore, MD
    Posts
    10
    Member #
    217
    I actually run my own server, so permissions arent a problem. But, the fact that I dont know PERL, PHP, ASP or how to set up socket connections is Still persuing this, Ill let you know if I have any specific questions. Thanks again!
    .........say when.............


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:42 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com