ActionScript 2.0 :: Way To Track Users Ip Address?
Aug 18, 2004
Is there a way to track the users ip address?I wonna do this because i want to create a survey/poll but i dont want anyone to cheat and since my site is 100% flash, there is only one way and it is to refresh the page. So i want to create a log that will track the users ip address so that he/she wont be able to vote untill ofcourse the next one.
View 2 Replies
Similar Posts:
Aug 18, 2004
Is there a way to track the users ip address? I wonna do this because i want to create a survey/poll but i dont want anyone to cheat and since my site is 100% flash, there is only one way and it is to refresh the page. So i want to create a log that will track the users ip address so that he/she wont be able to vote untill ofcourse the next one.
If anyone knows how to track ip addresses
View 1 Replies
Jul 14, 2009
how to get your logo to appear next to the address of your web site when your website address is typed in,
for example if you look at the website address at the top of the screen you see (logo) [URL]
View 1 Replies
Nov 20, 2009
How do I check if email address is a legitimate email address? Is there any possibility in that?
View 7 Replies
Apr 9, 2010
The buttons on the page cause a jump to the individual movies (the web pages) which are on one layer concurrently. What I have right now works and now I want to add audio. The intent is to have a song start when the viewer connects to the website and will have controls to stop it if they wish. I added a layer that contains the audio which works OK but clicking the Home button causes the audio to play again resulting more than one audio track. I was able to fix that by starting the Home movie one frame later than the audio but I don't really think this is the right approach. Is the method I'm using for the audio correct (see screenshot) or is there a better way to do it? I need to control the audio independently with affecting the other layers. The music track will be in the Sound layer. I had to remove it because the song hasn't been released yet.The attached FLA is saved in CS3 but I am working in CS4.
View 2 Replies
Jan 5, 2011
Does anyone know of a way to track the load time of an XML document? I have an xml document that has over 150,000 lines and it takes a little time to load. I am ok with the load time in general however I would like to create a preloader to tack its process.
I have tried putting the xml load/onLoad code in a movie clip and use getBytesTotal and getBytesLoaded to track the mc progress but it seems as though when that mc is loaded the application freezes until the xml is fully loaded.
View 5 Replies
Apr 29, 2011
How can I created an advertisement in flash where the server can track the number of clicks from the web user ?
View 5 Replies
Apr 13, 2011
I"m using Flex 4 and an AdvancedDataGrid. I need to keep track of the previously selected item. I can't think of where to capture this though. In an itemClickHandler method, the grid's selectedItem value is already the current selected item.
View 2 Replies
Mar 19, 2009
I know that manipulate sound with as2 is limited. I wondered is it possible to manipulate a sound/track is possible with AS3?
View 3 Replies
Apr 25, 2009
I'm trying to make a "next track" button. "T" is meant to be track number, and every time they click this button, I wanted "T" to increase by one until T>4 where I need it to go back to T=1 (I've only got 4 tracks). Then, I want, depending on what "T" equals, for it to start playing Track"T" and stop playing previous track. I also want the track playing to be looping continuously. At the moment, everything is muted, until I press the button; where it then plays all four tracks at once. I also have a problem with the mute button, but I've got a strong feeling both are of the same reason. I think my problem is that it does not know what "T" equals to begin with so it accepts all if statements; playing all tracks. But I'm new to Flash (my second project) so I'm not sure.
on (release){
stopAllSounds();
T =T+1
if (T>4){
T=1
} if (T = 1){
_root.snd1.start(0, 100);
[Code] .....
View 3 Replies
May 21, 2009
has anyone seen a handy component or code to monitor playback of your flv to see if flash is dropping frames.It would be nice to see total frames dropped, and maybe average frames dropped per second.In a perfect world it would be a graph over time.
View 3 Replies
Nov 12, 2009
I am trying track to see if mouse is between 0 and 200 pix in the Y coordinate, then do an if statement.
stage.addEventListener(MouseEvent.MOUSE_MOVE, mousePosition);
// I use this to track readings.
function mousePosition(event:MouseEvent) {
[code].....
View 3 Replies
Mar 30, 2010
I'm trying to dynamically create buttons that will change accordingly to the matching array vars. So far, the only part that isn't working is the mouse down event. The trace just goes nuts and I'm kinda confuse here.[code]...
View 1 Replies
Aug 3, 2011
what am I doing wrong here? The getchildByName value stays null, therefore it is not removing the movieclip.
var myMC:MovieClip;
mybtn.addEventListener(MouseEvent.CLICK,track);
function track(e:MouseEvent):void {
[code].....
View 1 Replies
Sep 20, 2009
I am using an array with a pIndex value of 0:
this.pArray = ["1.swf", "2.swf", "3.swf", "4.swf"];
this.pIndex = 0;is pressed, the array number increases by 1:
MovieClip.prototype.changeImage = function(d) {
[code].....
View 6 Replies
Jun 13, 2010
I am using an addChild() method to place an intro MovieClip into a website. It has a short ten second musical track. I also have a skip intro button on the stage which does a removChild(). I keep trying to write code that will also stop the sound, which continues to play. I tried loading the sound separately and used the channel.stop(); So far nothing is working. It seems like I've been here before.
[Code].....
View 5 Replies
Sep 11, 2010
so in Macromedia Flash, how do i stop a music Track in macromedia Flash halfway through when its playing?
View 1 Replies
Sep 17, 2010
I have a quiz created in Flex using Spark forms, with a series of questions which are a group of radio buttons. When the user clicks "next", I get the value of the selected radio button in the group. What I need to do is keep track of these values; at the end of the quiz I will need to see which value was chosen the most. So if the user mostly picked the questions with a "3" value, I can display a summary based on that, e.g. "You mostly chose type 3 answers". I was thinking about having an int variable for every choice (there are 5), and incrementing the appropriate variable when the user clicks "next", as in
private function enterScore(i:int):void {
switch (i){
case 1:
num1++;
break;
But this seems unwieldy. I also will need to compare the 5 tallies for which one was chosen the most...
View 1 Replies
Mar 9, 2011
I am using CS4.What I want to do is gather input from a user, and each time they click on a certain button, in this case the YES button, I would like a number added to the var such as score++. This way, I can use a case statement at the end to direct the user to the right product.However, my code does not work,
var score:Number = 0;
var score_txt:TextField = new TextField();
score_txt.x = 150;
[code]....
View 3 Replies
Mar 13, 2012
I would like to continuously loop an audio track which is being played, meaning I would like to click the button once have the track continue to play over and over again. This is the code I have so far which allows me to click the button and for the track to play only once.
var mysound:Sound = new Sound();
var mychannel:SoundChannel;
var myrequest:URLRequest=new URLRequest("drums.mp3");
mysound.load(myrequest);
[code].....
View 3 Replies
Apr 2, 2010
So I have an mp3 file. I have some frames inserted. Now I Need to insert this track as flv sound. How to du such thing (for frames insert I use this class [URL]
View 1 Replies
Jan 11, 2011
The timer class seems to accrue a lot of error over time so I'm wondering what other solutions people have come up with for a more accurate Timer.
View 4 Replies
Apr 29, 2011
Can I track the keys pressed, using ActionScript?
View 1 Replies
Jan 30, 2012
The user is downloading the .swf file (an e-brochure) from a link in an email. I'm trying to track the users interaction on the offline .swf. Is this possible?
View 1 Replies
Mar 30, 2010
I'm trying to dynamically create buttons that will change accordingly to the matching array vars. So far, the only part that isn't working is the mouse down event. The trace just goes nuts and I'm kinda confuse here. Perhaps theres a better way of doing this?[code]...
View 2 Replies
Mar 2, 2011
I have the code that adds a page number to each page. However, when I go backwards or back to the beginning, the numbers overwrite each other, and will not reset back to zero (first frame)Here is what I am using
ActionScript Code:
var pageCount:Number = 0;
var pageTotal:int = 14;
[code]....
View 0 Replies
Jan 14, 2009
In summary, I have an image scroller that loads a series of thumbnails defined in an XML file. All of the image load and begin scrolling. When I rollover the scroller, the scrolling stops then resumes again when I roll out.My problem: In addition to a mouseover pausing the scroller, I would like to be able to load text from another XML node based on which thumbnail the mouse is currently over.My question: How do I keep track of which thumbnail the mouse is over? Do I need to create an additional array to keep track of the thumbs or is there a simpler way to do this?
View 1 Replies
Feb 2, 2006
how would this be done correctly:i have some rectangles (about 200) on screen. now i would like to track for mouseOver on each...but I would like to do this without an empty button, just by adding a listener to the rectangle.
View 2 Replies
Apr 10, 2006
I'm trying to build a music player that has multiple songs it can play. It should be fairly simple with next and previous buttons. I'm trying to get it to load a song based on an array I have created. Everything works fine with only one track but I'm unsure how to add more tracks. This is what I've done so far:
Code:
stop();
// --------------------------<load and loop sound>-------------------------- \
this.createTextField("status_txt", this.getNextHighestDepth(), 72,630,100,22);
[code]....
View 1 Replies
Apr 29, 2006
[URL]
I've been fiddling around with the above player and find it simple to use and personalise.
The only problem is that I can't seem to find a way for the next track to play automatically. And I guess to start at the beginning again after the last track.
I'm sure it's just a play/stop or true/false that I've over looked
Here's the code on the MC that contains the player's buttons:
Code:
onClipEvent(enterFrame) {
//trace(_root.s.position / 1000);
secondsPlayed=int(_root.s.position / 1000);
[Code].....
View 1 Replies