Visits Counter In MX
visits counter in MX. Is it possible? I never saw one in a Flash web page! if anyone knows anything about...
Thanks in advance
Ultrashock Forums > Flash > Flash Professional
Posted on: 2003-08-29
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Visits Counter
This visit counter is based on tutorial by Lionbichstudio.com( the web site is currently offline) for Flash MX and I?m using Flash 8 Pro. When I start LS .fla everything works ok but when I make my .fla it dosen?t work. The resul of visits is NaN. First I changed publish settings from Flash 8 to Flash 6 but nothing.
The .fla file has two layers ( 1.actions, 2. txt). In txt layer there are two dynamic textbox`s one has text "Visits number" and second is empty with instance name visited.
On actions layer:
Code:
mySharedObj = SharedObject.getLocal("visits");
mySharedObj.data.visitCount++;
visited.text = mySharedObj.data.visitCount;
mySharedObj.flush();
Thanks
Flash Visits Counter
Does anyone know how to make an visits counter in flash without
php stuff??
I need to make a counter for a flash site in a free host.
any help welcome
Hot Counter - Can It Show If Someone Visits A Scene
hi,
i have a flash website that has two swf's. the second swf has three scenes. is it possible to have a hit counter that increments if a certain point in a scene is reached rather than just checking if the second swf is loaded? if it is then it would give a clearer idea as to what the user did on the website.
i'd appreciate any thoughts on this.
cheers
yabai
Count Visits
Is there a possibility to place a counter for total visits on your site?
Thx,
AmunRa
PS. It's for www.dokuritsu.nl
Monitor Visits?
This is, I think, a pretty straight forward question. I want to add a popup to my site (not the problem) that visitors can enter their name and email address to be notified of site additions or changes.
THEN, hopefully, I can also add a cookie that can tell if they have been there before so they don't get the popup again.
My actionscripting knowledge isn't super developed, so I'm looking for a little bit of a newbie style explaination.
Thanks in advance.
Okay
http://www.mediocracy.com
Need To Know Who Visits My Site
Hi everybody,
I am setting up a site with a username/password protected area, and I was wondering if there is anyway that when somebody logs in, it saves their username so I can check in and see who has gone into the protected area...
Does anybody know how to do this, or can you point me to a tutorial?
Thanks in advance.
Need To Know Who Visits My Site
Hi Everybody,
I am setting up a username/password protected area on my Flash site, and I was wondering if there was anyway that when somebody logs in, I get a record of their username, so I can tell who has been entering the protected area.
Has anybody done this before, or can you lead in the direction of a good tutorial? Thanks in advance!
Mike Parker
www.hmsdesign.com
Reporting Visits, Hits Etc.
Hi all,
I am working on a site that was made by someone else.
The problem is that at this point I am not able to log visits, hits etc and run a report using (for example) WebTrends. I know that it is possible to do this and I have some semi informational instructions on how to do it.
My question is:
How can I take what is already there and cut that up into many smaller 'movies' so that on each click I can load those movies, hence, the browser will send a request and the server can log that request.
Like I said I know the path to take, but I am not sure how I can cut the "big" movie into little small ones.
Any ideas? It would be greatly appreciated!
Thanks
Nik
Tracking Visits/Usage
I'm working on my first project in Flash for a client who wants an interactive cd. I know everything he wants is possible except for collecting data for tracking uses/visits. Data such as time on cd, what they clicked, operating system, etc. From my search on this subject the only thing I've come up with to date is this site http://www.flashstatistics.com/
What I would like to know is where should I be looking to collect, store and send the data and then what program should I learn to decipher the data sent?
Right now I'm thinking that I should be using a lot of vars and some kind of db program.
Any direction and/or tutorials would be greatly appreciated.
AS Coding Help For: Amount Of Guests + Total Visits
I need help with 2 scripts:
1st problem, I need some example coding or a tutorial for being able to show the amount of guest users at your flash movie at a given time. I need to be able to show that through a dynamic textfield Here's an example: http://www.innovativedesigns.org.uk/innovat/index.php
2nd problem, I also want to be able to show total hits via a dynamic textfield through actionscript. Any help would be greatly appreaciated.
Can Shared Object Remember Previous Visits?
I am trying to get my flash movie to start from a certain frame and skip portions ONLY if the page has been viewed before by the visitor. I wonder if shared object is the way to do it....and how? I dont want to use an html cookie if i dont have to
Site Does Not Respond Well If User Visits Same Page More Than Once.
i'm building a site and I find that if the user visits the same page more than once....it screws with the browser and becomes unresponsive. I thought it might me the AS effect that reveals each page not being properl;y terminated, but i went through and added a delete this.onEnterFrame to kill the effect and i still get the same result...
I can post FLA's if necessary but please check it out and let me know if you have any ideas what it may be.... it's very frustrating. I need it to work for my job.....for agents in my office to be able to upload and download files I have created for them. BUt i don't want to give them the site address until i have it working properly...
anyway please check it out and oiffer any suggestions you feel may help... in terms of my problem as well as design and UI. THANKS IN ADVANCE.
HERE IS THE SITE ADDRESS
OH.... it works best in ANY browser that IS NOT Microsoft Internet Explorer...and for those of you using IE...WHY are you still using it???
Simply Count Visits And Date Of Visit
Hi there!
I am a beginner but I successfully have set up a Flash-PHP-MySQL login process which functions perfectly.
I want to know what I must add to my PHP Script in order to:
1 - Add 1 to an appropriate column in the row corresponding to the visitor each time the visitor loggins and...
2 - Insert the date of this visit which replaces, of course, the date of the preceeding visit.
I know of course how to insert new columns to my table and I also know how to pass variables from Flash (MX not MX2004) to PHP.
If needed, I can post here the PHP Script I use.
Many thanks in advance for your help!
Best regards
Show An Intro The First 3 Times Someone Visits My Site
Hello everyone
I know flash got something similar to cookies called Shared objects.
I´ve got an intro on my flash page that I only want to show the users the first 3 times they visists my page and then reappear after two weeks.
Can someone explain how to do that?
Cheers!
Tony Bolero
Show Preloader Everytime S.O. Visits My Web Page?
Hi!
I have two preloaders working in my web site.One for the whole movie and one for the sound file.IF You access my web site for the first time you see the preloader, but if you come to back to visit my web site again, since the web site is already inside the cache of your computer, you wont see the preloader again.
Is there any way to show the preloader everytime someone visits my web site he/she sees the preloader working?
Using A Shared Object To Track Time/Visits (AS2)
Hello, and thanks in advance for any help. I'm a designer/developer about to learn AS3, but for now I'm still cobbling things together with my limited knowledge of AS2.
My overall goal: I have an intro animation on a page that ends on a frame with buttons linking to more HTML pages. I want it to play once upon an initial visit, but then to jump to that final frame with the buttons upon returning to that page.
It's easy enough make this happen with the Shared Object, but the problem is that if I set one to indicate that the site's been visited, it's pretty much permanent until someone flushes the SO library. The client likes the animation not replaying when hitting "back," but they want it to play again upon the next browser session.
Since there doesn't seem to be a way to control the SO library on a browser session basis (like a "clear" instead of a saving on browser close), I am attempting to use a Shared Object to create a timestamp that will check to see how long it's been since they last visited. If it's been more than, say, five minutes, the timestamp will reset and the intro will play once more.
I had some help from a friend, and this what we've come up with. The problem is... well, it's not working. Any thoughts?
Thanks so much!
My preloader is in a separate initial scene. One the first frame I have:
Code:
var today = new Date();
var so:SharedObject = SharedObject.getLocal("time");
var period = 1200000;
var amountLoaded:Number = _root.getBytesLoaded()/_root.getBytesTotal();
loadText.text = Math.round(amountLoaded * 100) + "%";
My second frame:
Code:
if(_root.getBytesLoaded() == _root.getBytesTotal())
{
if (!((_root.today-_root.so.data.val)<_root.period))
{
_root.so.data.val = _root.today;
_root.so.flush();
_root.gotoAndPlay("main", 1); //full animation
}
else
{
_root.so.data.val = _root.today;
_root.par = "skip";
_root.gotoAndStop("main", 1201); //my ending frame
}
}
else {
gotoAndPlay(1);
}
Different Image Every Time User Visits Flash Site
Anyone have a script that will make a flash file load a different image everytime a user visits the site?
I did a search but came up with nada. I use either flash mx, or
flash 5.
Any help would be appreciated.
thanks, Nippy.
Total Visits/total Sound Plays
How can I get a "total visits"type function but instead of recording the number of visits, it records the number of sounds streamed from that flash movie and makes it visible
Total Visits/total Sound Plays
How can I get a "total visits"type function but instead of recording the number of visits, it records the number of sounds streamed from that flash movie and makes it visible
Total Visits/ Total Sounds Played
How can I get a "total visits" type function that makes the number of times a page has been visited visible, but instead of recording the number of visits, it records the number of sounds streamed from that flash movie and makes it visible. (Not pages but externally loaded and streamed sound.)
tks
ken
Reset Counter - NOT HIT COUNTER
Hi all, I have a counter going to repeat some frames, and then when it reaches the number of times I want it to repeat, I have it go to another frame to play a different movie clip...then at the end of the new movie clip, I want it to start over "fresh"...
Does anyone know the coding for reseting the counter?
Here is my current code:
counter = counter+1;
if (counter == 4) {
play();
} else {
gotoAndPlay("ad");
}
Thanks,
Wendy
Wendy@pixelchix.com
Total Visits/total Plays
How can I get a "total visits"type function but instead of recording the number of visits, it records the number of sounds streamed from that flash movie and makes it visible
Hit Counter
can we create hit counter in flash 5
if yes what will be the coding.
thanks for anyhelp
Counter
How can i make a script which counts down to minutes, when its over, somethings happens????? Help
Counter For _x
Any ideas pls for such thing:
In a panoramic view by Henrik Dahm
http://www.flashkit.com/movies/Effec...60/index.shtml
i added a dynamic text field that checks X coordinates -
meters = xposition;
(rounded)
here:
http://www11.brinkster.com/samsonart/zabor.asp
how can i make it width relative so it returns a number between 0 and 128 starting from left side (e.g. when movie loads it is a middle so should show 64) - without minuses and so it starts again after reaching the end?
Thanks for all who can think of this mathematics
Counter
Does anyone know of a script that I can use that would act like a counter? I may need it to be able to speed up or slow down, also.
At this point I guess it will act almost like a timer. So when it starts it will begin at 0 and then count 1 number at a time until it is stopped.
Thanks
Counter
Is there anyway to make a counter in flash? I don't want to get one of those commercial or free counters that are html script. What would be the script for a counter in flash? What I mean by "counter" is simply the showing of the number of people that visit my site.
Counter
I'm trying to set a variable to act as a counter to record how many times I've dragged and dropped an item.
I'm using the if, else if and else commands, they all seem to work except the counter. What am I doing wrong?
I have set a variable in the first frame.
counter = "0"; (no expression set)
Then, on the button executing the action is:-
on (press) {
_root.app1.startDrag(true);
}
on (release) {
stopDrag ();
if (counter <2 && getProperty("/app1", _droptarget) == "/chip2") {
tellTarget ("_root.upload1") {
gotoAndPlay (2);
counter = "counter +1";
}
} else if (counter >=2) {
tellTarget ("_root.error") {
gotoAndPlay (2);
}
} else {
setProperty ("_root.app1", _x, "200");
setProperty ("_root.app1", _x, "250");
tellTarget ("_root.error") {
gotoAndPlay (2);
}
}
}
What I'm trying to do is drag an item called 'app1' onto a area called 'chip2'. Each time this happens the counter adds 1 and a upload message is called. If the area is not hit then it returns to it's original position and an error message is callled. When there are more than 2 apps on the chip1 then it's rejected and a error message is called. There will be the same code on an item called app2, app3 etc. The above code is only for app1.
Everything works, except I can have as many app1, app2 etc on the chip2 and I never get my error message. It seems to be ignoring the counter!
What am I doing wrong, Please advise.
Any help would be appreciated.....
[Edited by louisehall@4mostinfo.com on 09-03-2001 at 07:02 AM]
Hit Counter?
Can anyone tell me if you can have a hit counter in flash5.
I so, can I download it from somewhere?, thankyou in advance
Counter
Hi,
I've got a counter that counts backwards for every item that has been seen. I use this code in frame one of the main timeline:
counter=7;
if (counter==0){
loadMovieNum ("exit.swf", 0);
}
The counter works, it goes down to 0 but then the exit.swf doesn't load. What I'm I doing wrong?
Thank in advance for your help.
Danielle.
Hit Counter?
Hi
I was wondering if someone could tell me how to do the most basic of hit counters?
Thanks
Hit Counter
how would i make a hit counter. Would i use a varable? Please Help me on this
Hit Counter
Can someone please help me. I need a Flash hit counter to put on my site. Ive tried the ones that are on this site but i dont like them. Is there anyone out there that can point me to a hot flash hit counter.
Thanks so much
PHP Counter
I am trying to get the tutorial for a php counter to work correctly (it is also on http://www.flash-db.com). It keeps increasing the count every 10-20 seconds. I have eliminated the loop, but it still does it.
My movie begins at frame 5 (it loads to 5 from the preloader). So basically I can sit and watch it count up gradually.
Frame 5:
loadVariablesNum ("PHPCounter.php?ran="+random(9999), 0);
Frame 6:
loadVariablesNum ("PHPCounter.txt?ran="+random(9999), 0);
Thanks.
Counter Help
any body know the easiest way to put an accurate hit counter into my flash intro??
i want one that is accurate, small and dosnt rely on a third party just me and my server .
I tried the flash kit tutorial and it dont work!! It is too vague and sketchy and leaves too much to common sense which is something that i dont posess!
cheers tony
Php - Counter
I am currently using php and a text file to run a counter on my main timeline, however, I want to put the counter in a movie clip so it is independent of the main timeline, but when I use the same keyframes and php code it doesn't work. I know clips reside in different levels so do I need to add some code somewhere?
Counter
I need some help creating a counter. I have multiple draggable movie clips that can be released into a target area. I want to create a counter, so that when the value of the MCs equal a certain number no other MC can be dragged into the area and dropped. Problem is, I don't have a clue as how to start building the counter. Can anyone help?
Counter
Hopefully I can explain this so you get the idea.
I have created a drag-n-drop application in which there are multiple target areas for multiple MCs. Each MC has a different number of instances on a given scene. Each MC will have a different value, ex. there are 6 different drawers. One is 3 inches, one is 6" and so on up to 15".
The different target areas (which are MCs) also have different sizes, one is 24" another is 36", up to 60". What I am wanting to do, is create some sort of a counter for each target areas. I want it to count the different values of the MCs (or instances of MCs) that are dropped within the target area and when it reaches a value like 24" it will not allow anything else to be dropped into the target area.
So if 8 instances of the 3 inch drawer were dropped onto target area 1, it would add them up and equal 24. It would then not allow anything else to be dropped onto the target area.
Can anyone help me get started?
PHP Counter
Another issue I have, is that I tried to incorporate a PHP Counter.
On the first frame of my main movie i have this action:
loadMovie ("PHPCounter.swf", "_root.container2");
The PHPCounter.swf has the following actions:
First frame:
loadVariablesNum ("/cgi-bin/PHPCounter.php?ran="+random(999), 0);
Second Frame:
loadVariablesNum ("/cgi-bin/PHPCounter.txt?ran="+random(999), 0);
It is not working and I don't know why.
Oops, here are the scripts:
PHPCounter.php:
#!/usr/local/bin/php
<?
$filename = "PHPCounter.txt";
$fp = fopen( $filename,"r");
$Old = fread($fp, 100);
fclose( $fp );
$Old = split ("=", $Old, 5);
$NewCount = $Old[1] + '1';
$New = "Count=$NewCount";
$fp = fopen( $filename,"w+");
if (flock($fp, 2)) {
fwrite($fp, $New, 100); }
fclose( $fp );
print "Count=$NewCount";
?>
PHPCounter.txt:
Count=1
I have no clue why it is not working.
Can someone help?
Thanks
HELP I NEED A COUNTER
PLEASE HELP ME ANYONE!!!!!!
How do i make a counter????
I have made 3 dynamic texts;
1 = Minutes
2 = Seconds
3 = Miliseconds
I need to make them count for 00:00:00 to 38 minutes.
You might not understand what i am saying but please have a go!
Counter
hello
i have a dynamic text box and two buttons,when i click start button the text box should display numbers from 0 to 100 and if i click the stop button the numbers should not change,and there should be some gap between two numbers so that the number change is visible.
pls help me how to do this
bye
geethanandh
Counter
hello
i have a dynamic text box and two buttons,when i click start button the text box should display numbers from 0 to 100 and if i click the stop button the numbers should not change,and there should be some gap between two numbers so that the number change is visible.
pls help me how to do this
bye
geethanandh
HP Counter
I'm making a game where you smack my network administrator around witha few tools/weapons. The only thing is, he just stands there and takes it. Is there any way I can get him to have a HP meter/counter and show the wear and tear being inflicted on him?
Counter
Is it possible to make a visitor counter in flash, but visitor won't see it, just the webmaster (me) ?
Counter
Hi, I've been trying to install a flash counter and ran into a few problems.
First off my ftp-server (for the site) didn't allow chmodding so I decided to upload just the php to another account I had somewhere that does allow chmodding.
Now I could actually live test it on my pc since both the php and the text that got created needed to be loaded in from an http://... anyway. And it worked just fine, no problems, so I uploaded it and it doesn't work anymore, any idea what might cause this? If it worked fine on my pc, why doesn't it work online?
Anyway here's the counter I used, fine job to the autor btw
http://www.flashkit.com/tutorials/Dy...56/index.shtml
This is the site (it's pretty newbish, but I don't aim high)
http://www.3dactionplanet.com/seriou...hole/site.html
and here's the php and text that should be read by the flash file
http://antichrist.multimania.com/PHPCounter.php
http://antichrist.multimania.com/PHPCounter.txt
Thx for any help I get!
Counter
How do i import a counter on to my flash page?
|