I working on a flash file that contains a catalog. From the catalog a user clicks an item and is directed to an .asp page. From the .asp the user can click again to purchase the catalog item. I know there is a way to track when a person clicks the original button but is there a way to track if both clicks are made?
I'm trying to figure out how to track clicks from an xml fed video streamer. I read the article at Google about adding the event to a basic Flash button: [URL] But how do you compile the info from an external XML document? The beauty of XML is the ease of switching out content. I just don't know enough about AS to tell it to not only stream the video but also to send urchinTracker info back to my Analytics report.
you look at the first banner that is displayed on our web site you will see how the banners work.We have click tags on the buttons that click thru to the dealers web site. We can easily track the performance of the click thru to the site with google analytics.I've been trying to find a way to track the other buttons that get clicked that don't send the user to the clients web site.Example: If I click on the "locate a dealer" button I'd like for there to be someway for flash to send me information saying "locate a dealer button was clicked 20 times" that way we can report to our client that they had 10,000 impressions and 20 people clicked the "locate a dealer" button.
I am currently trying to create a multiple choice quiz. Alright, what I want to do is this - I want to create a multiple choice like this, where user click the answer and they will be linked to a feedback page, telling them what is wrong with their answer. Then they can click an "OK" button to proceed to the next scene where there will be the next qns. The reason why I am not putting all in the same scene is because I need to do up a different scenario for each of the qns.
If I were to have ten qns in one scene, I was told it is "no good" by my lecturer. At the end of the ten qns, there will be a grading of points. I want the script to be able to track all correct answers despite all qns being on different scenes. Because I want the grade to show at the evaluation scene. is it possible to capture the answer user has clicked on, store to the array, store in another array as one point if it is a correct answer and click next to go to the next scene for the 2nd qns, not next frame.
how to detect clicks on various movieclips I am generating. Basically I am allowing the user to attach an arbitrary number of instances of the same movie clip. I would like each instance to A) be clickable and B) pass its reference to the click-handling routine.
For example I have something like this:
function addMissile() { this.attachMovie("missile", "missile"+mtop, this.getNextHighestDepth(), {_x:startx, _y:starty});
[Code]....
I want to add a callback on-click for each of these movie clip instances.
I have a flash file, and I'm making just a simple "ad" with right and left buttons..When you click the right/left arrows I want it to scroll and it basically will alternate between 3 different photos/ad's and thenloop.. I have set up motion tweens on my time lines so when you click it will switch pictures/ads and this is the action script I have and it is still not working? is this correct? what am I doing wrong, maybe something is not labeled?This is just for one button the "right" button It just scrolls through all the motion tweens.. I tired to put a stop(); on the layer the photos are on ndit stops but then when I try and click one of the buttons it will not scroll...
stop(); var buttonClicked:Boolean = false; right_btn_btn.addEventListener(MouseEvent.CLICK,
I have a flash file, and I'm making just a simple "ad" with right and left buttons..When you click the right/left arrows I want it to scroll and it basically will alternate between 3 different photos/ad's and thenloop.. I have set up motion tweens on my time lines so when you click it will switch pictures/ads... I cannot seem to get the action script rightfor this
I need to create a demo where a button is pushed several times to go to several items in a menu. Like this:
If button is clicked once --> show menu item1 & go toandplay frame 2 If button is clicked twice --> show menu item2 & go toandplay frame 3 If button is clicked 3x --> show menu item3 & go toandplay frame 4 etc.
Actually it also needs a delay, so when the button is clicked once, it shows menu item 1, but if it is clicked again within 3 seconds, it should go to the next menu item in stead of going to play frame 2...
"how to disable a button" posts but I'm looking to disable a button after 5 clicks. Is this possible and if so what can I do? Basically what I'm doing is using a button to tween a movie clip through a mask, a sliding doors technique if you will, and at the end of my movie clip content i want it to stop, rather than tween on forever.
This seems like someting I should already know but I am working on a user interface that I want to be skinable. I have about 8 different graphical elements and I want to change the appearance of these 8 different movieClips just by clicking a single button. I thought I would just create a new keyframe in my main time line and then manipulate the movieClips but that changed the appearance of the movie clip on frame 1 as well. Clarification: I want to change the color of my user interface background and I want to change the color of some clickable images as well. I want frame 1 to have a white background and I want frame 2 to have a red background. Do I need to create more movie clips and drag them onto my stage or can I just use the existing movieClips since all I really want to do is change colors?
I have a movieClip that a user can click on to hide/show a different movieClip (for this example, lets say its a circle). I have an 'onPress' on that movieClip that tells it go and play the next frame inside itself movieclip (there are two frames which just have different graphics to represent off/on) and also the line of code to hide the other movieClip.
The problem is that if a user clicks on the movieClip to hide the circle and then keeps their mouse in the exact same position and tries to click again to show the circle, nothing happens... they have to move the mouse at least a little bit before it will recognize it is being clicked again. The same thing happens with buttons I have that scroll the page... which is extremely annoying since you can't just click the same spot multiple times, you have to move your mouse a bit and then click again.
I'm building a project that has a character navigate through a room by clicking on the floor. Right now, the walls, character, and floor are all children of the same display object for sorting purposes. My question: is there a way to disable mouse clicks to the walls and character while allowing clicks to the floor? Using mouseChildren appears to be an all or nothing deal and I can't seem to isolate individual floor/wall/character objects for use with mouseEnabled.
does flash have a way of tracking down every where that an mc is being used?
in my library I have an mc that says it is being used 3 times ... but I can only find two of them ... the mc has a sound in it that i need to get rid of.
I did have previous help with screen movement from Vincent, unfortunately how to get a Variable that tracks an objects Y position on movemnt is eluding me
Got a question from a fellow designer about the use of Tracking Pixels in Flash. Does anyone use tracking pixels in their Flash creatives? If so, how/where do you embed them?
im doing a FlashLite 2.1, now have following code.
stop();fscommand2 ("SetSoftKeys", "", "Quit Game"); Key.removeListener (myListener); var myListener:Object = new Object ();myListener.onKeyDown = function (){ var keyCode = Key.getCode (); if (keyCode ==
[code]....
but i cant be doing this for all 12 movieclips so have source for help and did this:
var bowlList:Array = [ball1,ball2,ball3,ball4,ball5,ball6,ball7, ball8,ball9,ball10,ball11,ball12];function movestones(bowlIndex) { var numStones = bowlList[bowlIndex]._currentframe-1; for (;numStones>0;numStones--) { //place stone }}s_1.onPress = function(){ movestones(0); }
Trying to create a banner ad as a one-off project for a client. I am using Flash Builder / AS 3 and with my simple hello world example. Google Adwords rejects the add with: Encountered flash error - ad cannot use mouse tracking.
I Have not been able to figure out what I am doing that signals to Adwords that I am mouse tracking. Follows is my simple mxml file: (the handleClick is to adhear to their clickTAG specification)[code]...
Is there any way to track when a SWF file has been run on a CD? I've been sending out portfolios on CD and would like to keep track of when they are being viewed.
there will be a simple solution to my problem. I have an onEnterFrame event that happens when I am dragging a wheel. At a certain point during dragging, a boolean statement is set to true, and a mc with 120 (120*3=360) frames is targeted, so that when the user drags a wheel, if rotation is incremented +/-3, the mc._currentframe is +/- one frame.
the mc is 120 slices serving as a mask of a circular bar, which is hidden or exposed depending on the rotation of the wheel by the user. The problem I have is tracking when the rotation has incremented by +/- 3, since Im using onEnterFrame I cant find out how to store the rotation variable somewhere when it hits the +/-3 mark, and then continuly check for the next increment. Here is the code :
Is there any way to track when a SWF file has been run on a CD? I've been sending out portfolios on CD and would like to keep track of when they are being viewed.
I was wondering if there is a way in CS4, some option that you could turn on that when your program runs it'd walk you line by line through every code before it's executed and only execute it when you pressed a key such as Enter. There's gotta be a way to debug rather than constantly using the trace() command.
I'm making a Flash piece consisting of a few different pages and clicks to take you to different chapters. The company I'm making it for have sent me URL's of pages that will track the person on it - what page they're on, what chapters they view etc.
So, where do I put these url's?If I put them in a getURL won't that just redirect the person away from the page with the SWF in it?
im looking for any full body motion tracking software that is free or free to try. im trying turn my pc into something like microsoft kinect. if anyone knows of this please send me any info or a download link.
I have this flash application that opens a socket connection with a server. What I need to do is to read packets sent and received byt he application to write a sort of "history" ( in WIndows). Now, questions are: How is the simplest way to do it? Application hooking? Load the flash application in my application and take control over it? No packet sniffing allowed. Is it possible to do it in C++, or you think it's better to use another programming language? My first choice was java, but it seems that do it is troublesome...
There are cases where shipping javascript code with your flash video is not an option. One of these cases is when you've bought space on a website to place your ad banner. In those cases I want to use the 1x1 pixel image tracking method on Google Analytics or Yahoo Web Analytics to track the amount of views on my banner.I have heard that flash blocks any attempt to load data from a third party host (frankly I don't see why they would do that) which presents a problem. I would love a solution.I can picture several methods and their downsides.I could host the banner on my own server, counting the downloads. Unfortunately this would prove to be a tremendous load on my server when possibly millions of downloads would happen per day.
I could write a PHP script, hosting it on my own server, that when requested tracks a page view in GA or YWA. I could place a crossdomain.xml file on my server allowing the flash banner to request my script using a Loader. Unfortunately, the problem of server load still exists as my private server probably can't handle millions of requests per day.Possible solutions are other tracking hosts that allow for flash cross domain file requests, or perhaps a method I haven't thought of.The challenge here is to be able to track the number of views on a flash video without using any javascript. The problem is the sheer amount of load this would put on my own servers if I were to track using my server as a proxy. The best solution would be a tracking service using crossdomain.xml
I've got an AS2 flash movie that I need to add Google Analytics tracking into. The only classes I can find are for AS3, do you know of any class method to track in AS2?
If you look at my reference, I'd like the gray arrowed-rectangle to only appear when the mouse is inside the lighter gray rectangle (the navigation bar). When a user mouses outside of that area, the gray arrowed-rectangle will disappear.Perhaps we have to set an area where the mouse will load the movie clip and an area that will unload the movie clip?