The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 4 of 4

Thread: Memory SWF add a number to each application, as3

  1. #1

    Memory SWF add a number to each application, as3

    Hello Guys

    I wonder if it is to add a number to a variable each time the swf play.

    If anyone knows if it is possible and how it can be done right now I thank

  2. #2
    You may open and update a text file with a script (i.e. PHP) invoked by your main SWF. Or you may rely on trackers (google analytics or similar). Hope it helps.
    Last edited by giobongio; April 26th, 2012 at 05:42 AM.

  3. #3
    TheCanadian's Avatar
    Noo doot aboot it, eh?
    Or use SharedObject.
    Proud Montanadian
    We tolerate living and breathing. And niches.

    Name Brand Watches

    Maybe getTimer() or TweenMax is the answer to your problem . . .

  4. #4
    TheCanadian Thanks for the help, I researched about it and get SOME results
    but still not perfect, maybe you can help me improve.

    The code below only works if I give a value to;
    the first run I determine a value for the; = 0, and run
    after I closed I delete the "= 0" and is as it is in the code below

    [code] import;

    var item: SharedObject = SharedObject.getLocal ("id");;

    if (> = 5) { = 0;
    trace (; + +;
    item.flush ();
    [/ code]

    It seems to me necessary to determine which must be of type int, but I can not do.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012