Tracking One Button And Doing Many Things With It.
I am trying to get a single instance of button(mc) to do a check to see what a (var total) is on and if 1,2 or 3 I want it to reload with new items. Can someone point me somewhere for direction? Thanks, MT
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 09-05-2007, 02:43 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Button Tracking
I have a button that is made up as only text. So the only time the button registered the mouse being over it is if its over the pixles.
So if the mouse was in the middle of an "0" or in between letters it wont register it.
How do i get around this to register as a box within the (x,y,width,height) dimensions. Basically adjust the shapeflag for the button.
Thank You.
Tracking Which Button Is Pressed, And When
Bear with me, I'm an actionscript newbie!
I have 8 buttons. The user will click on up to 3 of them. With each click, some text will appear. Once the 3 buttons have been clicked, the text will line up in a list on the right side of the screen.
When the first button is clicked, its text will appear at the top of the list. The second button click will put its text below the first. The third button click will put its text below the second. After the third button has been clicked, a bunch of other stuff will happen, and the next time the user clicks one of these buttons, the whole thing will reset and start a new list.
What I have to figure out here is how to track which button has been clicked first, second and third. From there, I think I know how to put them where I want them.
What I've tried so far:
I've placed the following variables on frame one of their own layer in the scene timeline:
var count = 0;
var first = undefined;
var second = undefined;
var third = undefined;
Each click of a button increments "count." Then "count" is used as a condition to test whether the button clicked is first, second or third.
Each button has "count += 1;" on release, however, my "count" variable isn't being incremented. So I have to learn how to scope this as a global variable, right?
If you can help with the specifics or the generalities, I would greatly appreciate it!
Thanks,
- LB
Tracking Button Clicks
It is possible to do this using non flash websites. Is there a way to track button clicks in Flash made websites?
Tracking Button Clicks
Hello!
I have a movie clip that consists of subsections that are accessed by five buttons that appear on frame one. What I want to do is send the user to a new frame (with a "Watch again?" prompt) once they've watched each subsection once. The problem is that the user can access the subsections in any order, depending on the order in which he or she clicks the buttons.
Can someone suggest an efficient method for tracking the user's progress through the subections?
I'm using AS3, and here's the code I'm using to connect a button click to a subsection:
ActionScript Code:
stop();
function buttonClick(event:MouseEvent):void
{
gotoAndPlay(event.target.name);
}
earbtn.addEventListener(MouseEvent.CLICK, buttonClick);
eyebtn.addEventListener(MouseEvent.CLICK, buttonClick);
handbtn.addEventListener(MouseEvent.CLICK, buttonClick);
tonguebtn.addEventListener(MouseEvent.CLICK, buttonClick);
nosebtn.addEventListener(MouseEvent.CLICK, buttonClick);
Thanks in advance!
--J
Tracking Button Clicks
I have an e-card that where the users vote by clicking on one of three buttons. I want to count the number of times a button is clicked (like a counter) not in an individuals session but during the entire duration of the swf's posting. I know that banner ads can track clicks with getURL(), but can I do this without having to open a new window or navigating away from the page?
Thanks!
[AS2] Tracking Button Clicks
My boss has had me make a flash animation for the company web site, but now he wants to track when buttons are clicked in the flash site - much like how he could track which pages got hits in his old web stats software when the web site was just a bunch of HTML pages.
How would I do this?
Tracking What Button Has Been Clicked... Need Some Help.
Hi All
I have a script to do partially what I need to do.. basically control some buttons but I need to track which button has been clicked and then assign a numerical value to a variable called buttonclicked so I can refer to this variable and pull info from an XML document on frame 5. Here's the short script...
Code:
stop();
this.button1.textBTN_txt.text = "ABOUT US";
this.button2.textBTN_txt.text = "SERVICE";
this.button3.textBTN_txt.text = "PORTFOLIO";
this.button4.textBTN_txt.text = "CONTACT";
var buttonNum:Number = 4;
for (i=1; i<=buttonNum; i++) {
this["button"+i].onRollOver = function() {
if (this.clicked != "yes") {
this.gotoAndPlay("over");
}
};
this["button"+i].onRollOut = function() {
if (this.clicked != "yes") {
this.gotoAndPlay("out");
}
};
this["button"+i].onRelease = function() {
gotoAndPlay(5);
_global.buttonclicked=?what do I need to put here?;
this.gotoAndStop("out");
this._parent[_root.clickedButton].gotoAndPlay("out");
this._parent[_root.clickedButton].clicked = false;
this._parent[_root.clickedButton].enabled = true;
_root.clickedButton = this._name;
this.clicked = "yes";
this.enabled = false;
_root.on_txt.text=this._name +" in "+this.textBTN_txt.text;
};
}
Can anyone help?
Regards
Nick
Tracking Button Clicks Or GoTo's?
I am working on a "pop" interactive demo project that requires some activity tracking. The client is asking for the ability to track the number of times a button has been "pressed." (This may actually be easier to track the labeled key frames than the actual button the viewer has pressed to get there.) Does anyone have any recommendations on a tried and true method? Any advice is appreciated.
BUTTONS: Tracking How Many Times A Button Is Clicked?
Hello,
I'm somewhat familiar with how Flash works, but haven't done anything with it for at least 1 year. Having said that, here is what I'm trying to do. (Looks lengthy, but once you read the concept behind what I'm trying to do, the answer should be pretty simple, I would think).
I want to create bunch of different(dragable) buttons and each time one of them is clicked, all I want to happen is for that click to be tallied somewhere.
I'll tell you what it is for and that will make it easy to visualize what I'm saying.
I work as a DJ at a strip club (really).
It is my job to keep track of how many table dances each girl does.
I want to take a picture of each girl, make it into a button, bring up the pictures (buttons) of the girls working on my shift, and when I see one of them giving a table dance, click on her picture (button) and have that click get tallied somewhere (Excel). Each time I click the girl's picture, one more click is added to the tally, so that at the end of the night I can just run a report and see that "Candy" did 86 dances.
It seems that this would be extremely simple to do, however I'm at a loss as to how to do the tallying part of it.
Another thing I'm trying to accomplish is that I would like these pictures of the girls (buttons) to be draggable (not hard to do), but also standalone (I think that is what I mean to say,...Let me explain my reasoning for this and you can tell me if that is what I really want, or if there is another way to go about getting the same result)....
In the center of the laptop screen at the club will be PCDJ which is the music program that I will be using to play songs for the girls. It will not take up the entire screen. Around the perimeter of the PCDJ UI I want to place these pictures (buttons) of the girls. I'll just open a folder with the pictures (Flash Buttons) of the girls, click on them to launch the buttons, drag them to the perimeter of the stage (in the stage rotation that I want), and drop them there. Having done that, when I see a girl giving a table dance I can just click on her picture and the fact that I clicked the button will be stored somewhere so that I can run a report at the end of the night to see how many times that button was clicked.
In addition to what I have stated above, is it possible that once I have launched the button instance that it could put the dancers name (or name of the button instance) into a spreadsheet (say in A1), then every time I clicked her button it would increase the tally next to her name in cell B1?
I can't imagine that this is a really difficult thing to accomplish, I just have no idea how to go about the part of Tallying button clicks.
Any help would be greatly appreciated.
Best Regards,
Justin
BUTTONS: Tracking How Many Times A Button Is Clicked?
Hello,
I'm somewhat familiar with how Flash works, but haven't done anything with it for at least 1 year. Having said that, here is what I'm trying to do. (Looks lengthy, but once you read the concept behind what I'm trying to do, the answer should be pretty simple, I would think).
I want to create bunch of different(dragable) buttons and each time one of them is clicked, all I want to happen is for that click to be tallied somewhere.
I'll tell you what it is for and that will make it easy to visualize what I'm saying.
I work as a DJ at a strip club (really).
It is my job to keep track of how many table dances each girl does.
I want to take a picture of each girl, make it into a button, bring up the pictures (buttons) of the girls working on my shift, and when I see one of them giving a table dance, click on her picture (button) and have that click get tallied somewhere (Excel). Each time I click the girl's picture, one more click is added to the tally, so that at the end of the night I can just run a report and see that "Candy" did 86 dances.
It seems that this would be extremely simple to do, however I'm at a loss as to how to do the tallying part of it.
Another thing I'm trying to accomplish is that I would like these pictures of the girls (buttons) to be draggable (not hard to do), but also standalone (I think that is what I mean to say,...Let me explain my reasoning for this and you can tell me if that is what I really want, or if there is another way to go about getting the same result)....
In the center of the laptop screen at the club will be PCDJ which is the music program that I will be using to play songs for the girls. It will not take up the entire screen. Around the perimeter of the PCDJ UI I want to place these pictures (buttons) of the girls. I'll just open a folder with the pictures (Flash Buttons) of the girls, click on them to launch the buttons, drag them to the perimeter of the stage (in the stage rotation that I want), and drop them there. Having done that, when I see a girl giving a table dance I can just click on her picture and the fact that I clicked the button will be stored somewhere so that I can run a report at the end of the night to see how many times that button was clicked.
In addition to what I have stated above, is it possible that once I have launched the button instance that it could put the dancers name (or name of the button instance) into a spreadsheet (say in A1), then every time I clicked her button it would increase the tally next to her name in cell B1?
I can't imagine that this is a really difficult thing to accomplish, I just have no idea how to go about the part of Tallying button clicks.
Any help would be greatly appreciated.
Best Regards,
Justin
BUTTONS: Tracking How Many Times A Button Is Clicked?
Hello,
I'm somewhat familiar with how Flash works, but haven't done anything with it for at least 1 year. Having said that, here is what I'm trying to do. (Looks lengthy, but once you read the concept behind what I'm trying to do, the answer should be pretty simple, I would think).
I want to create bunch of different(dragable) buttons and each time one of them is clicked, all I want to happen is for that click to be tallied somewhere.
I'll tell you what it is for and that will make it easy to visualize what I'm saying.
I work as a DJ at a strip club (really).
It is my job to keep track of how many table dances each girl does.
I want to take a picture of each girl, make it into a button, bring up the pictures (buttons) of the girls working on my shift, and when I see one of them giving a table dance, click on her picture (button) and have that click get tallied somewhere (Excel). Each time I click the girl's picture, one more click is added to the tally, so that at the end of the night I can just run a report and see that "Candy" did 86 dances.
It seems that this would be extremely simple to do, however I'm at a loss as to how to do the tallying part of it.
Another thing I'm trying to accomplish is that I would like these pictures of the girls (buttons) to be draggable (not hard to do), but also standalone (I think that is what I mean to say,...Let me explain my reasoning for this and you can tell me if that is what I really want, or if there is another way to go about getting the same result)....
In the center of the laptop screen at the club will be PCDJ which is the music program that I will be using to play songs for the girls. It will not take up the entire screen. Around the perimeter of the PCDJ UI I want to place these pictures (buttons) of the girls. I'll just open a folder with the pictures (Flash Buttons) of the girls, click on them to launch the buttons, drag them to the perimeter of the stage (in the stage rotation that I want), and drop them there. Having done that, when I see a girl giving a table dance I can just click on her picture and the fact that I clicked the button will be stored somewhere so that I can run a report at the end of the night to see how many times that button was clicked.
In addition to what I have stated above, is it possible that once I have launched the button instance that it could put the dancers name (or name of the button instance) into a spreadsheet (say in A1), then every time I clicked her button it would increase the tally next to her name in cell B1?
I can't imagine that this is a really difficult thing to accomplish, I just have no idea how to go about the part of Tallying button clicks.
Any help would be greatly appreciated.
Best Regards,
Justin
BUTTONS: Tracking How Many Times A Button Is Clicked?
Hello,
I'm somewhat familiar with how Flash works, but haven't done anything with it for at least 1 year. Having said that, here is what I'm trying to do. (Looks lengthy, but once you read the concept behind what I'm trying to do, the answer should be pretty simple, I would think).
I want to create bunch of different(dragable) buttons and each time one of them is clicked, all I want to happen is for that click to be tallied somewhere.
I'll tell you what it is for and that will make it easy to visualize what I'm saying.
I work as a DJ at a strip club (really).
It is my job to keep track of how many table dances each girl does.
I want to take a picture of each girl, make it into a button, bring up the pictures (buttons) of the girls working on my shift, and when I see one of them giving a table dance, click on her picture (button) and have that click get tallied somewhere (Excel). Each time I click the girl's picture, one more click is added to the tally, so that at the end of the night I can just run a report and see that "Candy" did 86 dances.
It seems that this would be extremely simple to do, however I'm at a loss as to how to do the tallying part of it.
Another thing I'm trying to accomplish is that I would like these pictures of the girls (buttons) to be draggable (not hard to do), but also standalone (I think that is what I mean to say,...Let me explain my reasoning for this and you can tell me if that is what I really want, or if there is another way to go about getting the same result)....
In the center of the laptop screen at the club will be PCDJ which is the music program that I will be using to play songs for the girls. It will not take up the entire screen. Around the perimeter of the PCDJ UI I want to place these pictures (buttons) of the girls. I'll just open a folder with the pictures (Flash Buttons) of the girls, click on them to launch the buttons, drag them to the perimeter of the stage (in the stage rotation that I want), and drop them there. Having done that, when I see a girl giving a table dance I can just click on her picture and the fact that I clicked the button will be stored somewhere so that I can run a report at the end of the night to see how many times that button was clicked.
In addition to what I have stated above, is it possible that once I have launched the button instance that it could put the dancers name (or name of the button instance) into a spreadsheet (say in A1), then every time I clicked her button it would increase the tally next to her name in cell B1?
I can't imagine that this is a really difficult thing to accomplish, I just have no idea how to go about the part of Tallying button clicks.
Any help would be greatly appreciated.
Best Regards,
Justin
Tracking How Many Times A Button Is Clicked By User
I am building a website the I need to know how many times a button is pressed and how many times a movie is loaded. I'm in the process of trying to make a hit counter activated bya button click but am having no luck.
I have searched all over the web and have found nothing. I'm sure that someone has tried this before.
Any suggestions would be greatly appreciated, or just point me inthe right direction.
Thank you
Kevin
Need Some Help... Tracking Mouse Click + State Of Button
I don't know if I'm approaching this correctly..probably not as I can't get it work. Need some help here.
Movieclip A is playing in the foreground on the main stage, when button B(on the main stage) is clicked, it plays frame 10-15 of Movieclip A and after it played it will goes to Movieclip B. And if button C is clicked, it will check if Movieclip A or B is on the main stage, if it is it will play Frame 10-15 of MovieClip A or B depends which is on the foreground playing and after it played, it will goes to MovieCip C.. and so on..
Here is the code I tried..
Need Some Help... Tracking Mouse Click + State Of Button
I don't know if I'm approaching this correctly..probably not as I can't get it work. Need some help here.
Movieclip A is playing in the foreground on the main stage, when button B(on the main stage) is clicked, it plays frame 10-15 of Movieclip A and after it played it will goes to Movieclip B. And if button C is clicked, it will check if Movieclip A or B is on the main stage, if it is it will play Frame 10-15 of MovieClip A or B depends which is on the foreground playing and after it played, it will goes to MovieCip C.. and so on..
Here is the code I tried..
Button To Do 2 Things?
Hi im not sure what is going wrong. But basically i have 3 scenes to a movie. On the first scene i have an animation that is shown which makes the page look like its being built. I want to be able to press a button, which then goes to another frame on the same scene which plays the animation backwards, then loads the other scene. However i can only get the button to do one or another.
on (release) {
gotoAndPlay(36);
gotoAndPlay("clients", 1);
}
This is what i was trying to use, to do this. Have you any ideas..
THanks Alex
Having A Button Do Two Things?
Keeping this very brief and simple (as it no doubt requires a simple and brief solution) - this is what I want to happen:
A user to click on a button on my splash page, and then for it to popup a window/fullscreen of my main site..and for the original splash page to change to an exit / relaunch graphic as seen on many sites.
Obviously I have taken care of the popup, centered it, etc. no problem - but I am having trouble having the button in flash execute 2 commands (change the main/parent page AS WELL as do the popup). I can only seem to get one or the other to work..
Is there some kind of javascript I can put in the html to make the original page change to a new one?
Please help..thanks in advance!!
Eric
Want Other Things To Appear When On Button
So I've got this button.
And when you move over the top of it, it changes appearance, which is good.
It's going to play video eventually. So, I want some video stills to appear when you put the mouse over the button.
Essentially, I want a graphic to appear when someone's over the button.
I totally new to this program. I mean, totally.
Getting A Button To Do 2 Things
Getting a button to do 2 things
im trying to get my button to play a sequence. for example i need the play head to play from frame 1 till 10 then play from 15 to 20 in one action. (I have used frame labales instead of numbers) I thought there would be a simple action sript command like "and" or "and then" to link the 2 play commands but i couldnt find one.
Any ideas.
Much appreciated
Tab Button + Different Things
Hey guys.
well i have it set up that when the user presses the tab button 4 mc's i have play a fade in animation and then goto a frame in there timeline with a stop action.
But that works but when the user presses tab while they are on the frame with the stop action is just plays the same animation again and i dont want it to do that i want it to goto another frame in the mc's timeline.
var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
if(Key.getCode()== Key.TAB) {
frame_mc.gotoAndPlay("_dissapearing")
login_mc.gotoAndPlay("_appearing")
border1_mc.gotoAndPlay("_change")
borderpart2_mc.gotoAndPlay("_appearing")
backbutt_mc.gotoAndPlay("_appear")
}
};
Key.addListener(keyListener);
var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
if (Key.getCode()== Key.TAB) {
frame_mc.gotoAndPlay("_reapear")
login_mc.gotoAndPlay("_dissapear")
border1_mc.gotoAndPlay("_foldingback")
borderpart2_mc.gotoAndPlay("_changingagain")
backbutt_mc.gotoAndPlay("_invisible")
}
};
Key.addListener(keyListener);
thats the code i have above so what im asking is where or how would i tell it that if the user presses tab again while there on the frame with a stop action that it goto's and plays another frame of i.
dou get it?
im on msn now if u didnt understand what im after so hope u can help
Getting One Button To Perform Two Things
I have a button simulating the button on a remote control. When the user moves the mouse cursor over that button, I want it to go to frame 1 of a new scene and when the mouse cursor is moved away it goes back to the current scene (which is frame 24 of a scene called 'selections').
This I have tried and it works with the following code:
on (rollOver) {
gotoAndPlay ("contact", 1);
}
(also frame 1 of the scene 'contact' simply has a stop action on it)
I also want to make it that if you were to click on that same button, it would take you to a different scene called 'email'.
This I have tried and it works with the following code:
on (release) {
gotoAndPlay ("email", 1);
}
However, if I try to combine both actions on the one button with the following code:
on (rollOver) {
gotoAndPlay ("contact", 1);
}
on (release) {
gotoAndPlay ("email", 1);
}
only the rollover parts works fine, clicking on the button then does nothing
Please share some of your genius with me
thanks
Assign Two Things To A Button
HOw do i assign two things to a button? I want to make it so that if on roll out it goes to frame 1 and if on release it goes to and stays frame 5. THanks for any help.
Same Keyboard Button Does Different Things
Here is what I need the code for:
if "F1" is pressed then the "0" key goes to and stops at frame 2.
if "F2" is pressed then the "0" key goes to and stops at frame 3.
if "F3" is pressed then the "0" key goes to and stops at frame 4.
Idealistacally, the F1, F2, and F3 keys would only have to be pressed once and not held down in order to change the actions of the "0" key.
If anyone knows how to code this, I would be very appreciative, because I am awful at action scripting!
Button And Frame Things
Sorry I'm posting in random, but I want a quick answer. How do you make a button, to where you press it, it plays a different frame from inside a defferent movie clip? Where that button is outside that movie clip.
Thanks
G/B
Button And Frame Things
Sorry I'm posting in random, but I want a quick answer. How do you make a button, to where you press it, it plays a different frame from inside a defferent movie clip? Where that button is outside that movie clip.
Thanks
G/B
How To Make A Button That Does Two Things?
I'm trying to make a button that first tells a swf file externaly loaded into the flash page to go to and play at frame 50 and then when that is done load another external swf in the same box as the previous one was in.
How can I do it?
Button Question. Two Things
Anyone know how I can make a button do both of these?
Do something when the user clicks it, and do the same thing when the user hits enter. Thanks
Does It Make Things Easier To Plan Things Out Before Programming?
I know this may seem like a stupid question, but as a Actionscript beginner i'd like to know if its easier to plan things out before hand. Basically i've got to make a Class that does the following:
- Creates a shape with a size and colour defined by values passed through the constructor
- the initial position of the shape should be passed to the constructor
- the horizontal vertical speed should be passed to the constructor
- the initial direction (up or down) should be passed through to the constructor
- the shape should reverse direction on "impact" with the stage top and bottom.
Now i want to make the thing itself, but i think im going to struggle. unless i make a really decent plan of the class. so can anybody recommend what the best way to plan out this is?
if anyone can help, i'd appreciate it - if not, no worries.
HOW DO I MAKE A BUTTON DO DIFFERENT THINGS IN DIFFERENT PLACES?
Okay, i have this button, which, when the mouse hovers over it, changes color. except, i use it with two different backgrounds. Is there any way i can use two different mouse over colors using the same buttons, or do i have to make a new button for each background?
A Button With Things Going On Inside The Text.
Hello. Hi I have a question. I have a button... I want when the mouse goes over the button it animates sumthing inside it. For emample go here and check out the button.
http://www.clantsw.cjb.net/ look at the button at the end of the intro? can u give me a turtoil of that or tell me how to??? Thx
Jake
Can You Click Twice On A Button/movie & Do Two Different Things?
Hi,
Is it possible to have a button or movie clip do one thing when it is clicked then do another thing if it is clicked a second time.
I guess, this would be useful if you needed to click to reveal something then click again to make it go away. A menu sliding out then sliding away again.
How would you do this?
thanks.
Julain
HELP Clicked Button Still Active And Tracking While Underneath Newly Loaded Movie?
I just tried to load a new movie on top of an old one, with the old movie being the initial navigation interface screen. I got everything to work, but there is one flaw...when the new movie loads, the hit area of the button "underneath" is still active and when you mouseover where the button on the previous interface used to be, it still tracks it as a button even though on the new screen, it is just part of the newly displayed background space...how should I make it so that the button cant be used if it's underneath another swf?
I could disable the button as part of the onRelease, I 'spose...I just wanted to know if you guys knew a better way to swap interfaces/load new files...below are my two tried attempts...they both do the interface loading/swapping just fine, but that damn button is still active underneath the newly loaded mynextMov.swf
loadMovie("mynextMov.swf",loadPoint);
OR...
loadMovieNum("mynextMov.swf",2);
[F8] How Do I Get Things To Follow Things?
I'm trying to get the enemy follow what you control in an overhead game and my current actionscirpt is...
onClipEvent(enterFrame){
function locate(uuuxe) { //function name is locate()
xd=this._x-_root.uuuxe._x //the difference in-between this symbol's x and the other symbol's
yd=this._y-_root.uuuxe._y
npx=(xd+yd)/Math.pow(2,1/2)
npy=(yd-xd)/Math.pow(2,1/2)
if(npx>=0 && npy>=0) {
this._rotation=0
this._y-=2.5
return 1
} else if(npx>=0 && npy<=0) {
this._rotation=270
this._x-=2.5
return 2
} else if(npx<=0 && npy>=0) {
this._rotation=90
this._x+=2.5
return 4
} else {
this._y+=2.5
this._rotation=180
return 3
}
}
}
What am I doing wrong? Thanks!!
FlashNoobXanthus
Tracking
I was wondering if anyone could supply some script that would allow an object to rotate itself to track another... Such as the little eye effect where the eyes follow you cursor, or in games where the enemy shoots at you, not just randomly. Any help is appreciated. TY
Tracking
i have a mail form on site for people to respont is there any way to track it, to find out the email address of the people who do fill it out
thanks
Tracking
I am currently developing a fully flash web site and I want to have animated transitions between pages. How, when i click to go to another 'page' or section of the animation, do i get flash to remember where it is and play an 'out page' animation before bringing in the new page?
I hope i've described what I want well enough for someone to understand what it is i want to do. I am reasonably comfortable with flash but i'm far from an expert.
Please help!
_x _y Tracking For Mc In Mcs
may i ask...
if i have a mc embedded in another mc, and then in another mc, is there any way to track the real exact x and y position of the deepest embedded mc?
say, i have _root.ball.spot
and i want to track the exact x and y position of the spot mc, even if after _root.ball has been rotated, resized, whatever...
is that possible? because i know references to _root.ball.spot._x would not change if _root.ball had been rotated or reshaped or transformed in any way.
Thanks in advance~!
_x And _y Tracking For Mc Within Mcs...
hiyo...
i have this question - i have a mc with an mc, can i get the exact _x and _y positions of elements within the mc with script? because when you change the scale and rotation of the outermost mc, the internal mc's _x and _y doesn't register...
attached is a fla that might explain things better...
hope some1 can answer this for me!!
Tracking Swf's
one of our clients needs to track where people go in their website, which is all flash
the server tracks swf's loaded, but inaccurately
i believe that if the swf is in the browser's cache, it wont always call for a new swf
so the stats arent correct
i tried to do something where i add a counter to the swf calls like this:
loadMovie("a_movie.swf?counter=1");
but that doesnt work, it works for xml, asp, php
it even works on the html file that calls the initial swf, but not within flash
the only other idea i have is to build a database and actually push file names into the database as they are clicked
i'd rather let their server stats take care of some of that if i could
any sugggestions?
Tracking Via .PNG From A SWF
Hello,
I am trying to track impressions on a flash rollover using a .PNG (can't use gif or jpeg, as our server logs for some reason won't let us) through a .swf. when I try to call the .PNG by rolling over the png will not display, but in theory as I understand it should still make a request therefore making it trackable and accessible in the logs. Is there an easy way to use external images to track from a rollover state (trying to figure out how many people are rolling over the button). Any help would be GREATLY appreciated
Thanks,
Brandon
IP Tracking
Does flash provide any method for determining the IP address of the user?
Tracking An SWF
Hi! M workin on a project to develop an audio commenting system.I hv developed the widget to perform the audio recording and playback.This widget would be available to any general user to host o n his/her site.The problem i hv is that i want to track the usage of the widget.I f it is copied and hosted on any other domain i want to keep tracvk mof the number of times the widget is being viewed,well thats jst the first step.Wat i want to do is to find a way to capture the url of the page that is hosting the widget.Like say if the widgetis named MyWidget.swf and if it is hosted at http://somedomain.com/audiocomments/comment.html i want a way to capture that entire url.So far all i hv managed is to capture the domain along with the name of the swf.That is for the above example it wld be http://somedomain.com/audiocomments/MyWidget.swf Its possible to capture the url that i want using a javascript call from flash,but that requires the javascript function to be present in the page that has the widget embedded in it.I hv been tryin to find a way to get the reqd url using jst actionscript.Does anyone hv any idea hw to do this????
Tracking From A CD
What is the solution for tracking users progress when a course is delivered on cd. the user should be able to pick up where they left off just like using an LMS
i know when a course is published with SCORM an LMS will automatically track the users progress.
Ad Tracking
We want to create flash ads and track the click-thrus.
We are using coldfusion. We have build all of our standard ad tracking in-house and do not wish to use any 3rd party software unless it is the best option.
Is Flash Remoting the best option? Or am I looking at the wrong product?
Is there any server overhead with flash remoting?
Tracking An SWF
Hi! M workin on a project to develop an audio commenting system.I hv developed the widget to perform the audio recording and playback.This widget would be available to any general user to host o n his/her site.The problem i hv is that i want to track the usage of the widget.I f it is copied and hosted on any other domain i want to keep tracvk mof the number of times the widget is being viewed,well thats jst the first step.Wat i want to do is to find a way to capture the url of the page that is hosting the widget.Like say if the widgetis named MyWidget.swf and if it is hosted at http://somedomain.com/audiocomments/comment.html i want a way to capture that entire url.So far all i hv managed is to capture the domain along with the name of the swf.That is for the above example it wld be http://somedomain.com/audiocomments/MyWidget.swf Its possible to capture the url that i want using a javascript call from flash,but that requires the javascript function to be present in the page that has the widget embedded in it.I hv been tryin to find a way to get the reqd url using jst actionscript.Does anyone hv any idea hw to do this????
Tracking?
Is there a way to track users who log into a Flash site? We have company id's and we would like to see who has accessed our products. If it's possible maybe even track how long they used them and any quiz results.
We used Authorware to do this but now we are switching over to Flash 8.
Any tips would help.
Thanks,
Adam
IP Tracking
Hey!
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 please post a tutorial or anything helpful, or if anyone knows an alternate way please post also.
Thanx to everyone in advance!
alphaOne.
FMX- Tracking Xml Sent To ASP
Hello to all flash coders worldwide!
this might be more of an ASP question but I figured that a lot of us deal with that programming AS so here it goes...
is there a way to track an xml sent to an ASP? I mean, is there a way to make sure that the xml was actually received by the ASP?
Here is a summary of how I send it to the ASP:
xmlToSend=<data><userId>5</userId<elementId>6</elementId>...</data>
objToSend=new XML(xmlToSend);
objToReceive.onLoad=myResponse;
objToSend.sendAndLoad(regURL,objToReceive);
myResponse is just a function that gathers and parses the ASP response.
My problem is that the ASP (which I'm not programming myself) might not be receiving the xml because it returns an error message (it could be due to many things I guess). I've used the same method for a login system and worked perfectly....so...I'm kinda stuck!!!
help! thanks yo all!!!
|