ActionScript 2.0 :: [FMX] Tracking When Opening CD?
Jan 3, 2005Is 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.
View 3 RepliesIs 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.
View 3 RepliesIs 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.
View 3 Repliesdoes 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
View 7 RepliesGot 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?
View 2 Repliesim 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]...
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 :
[Code]....
I'm trying to add a tracking action to a rollOver, but I can't seem to figure it out.
View 3 RepliesI 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.
View 1 RepliesI've integrated Google Analytics with Flash before using the previous tracker:
Code:
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">[code]...........
PS - Google Analytics is installed properly, as it is registering the index page.
PPS - THis was set up over a week ago, so should be good to go.
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.
View 2 RepliesI have a bunch an as3 game going. In my game when newCrag hits egg_mc the score gets added.
[Code]....
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...
View 2 RepliesThere 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?
View 1 RepliesI am constructing a navigation that uses mouse-tracking. I'd like for the object (the gray rectangle) to disappear when the mouse moves off of it.
I have the following actionscript on the movie clip:
onClipEvent (enterFrame) {
_root.xChange = Math.round(_root._xmouse-this._x);
_root.xMove = Math.round(_root.xChange/5);
this._x += _root.xMove;
}
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?
[code]...
My problem is that the currentFrame given always happens to be the first frame of the flash, because I have the code starting on the first frame, even though the code is throughout the flash.
How can I modify this code so that on click, it actually gets the currentFrame rather than the first?
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?
View 2 RepliesI am currently in the process of creating a scroller that would take in movieclips comprised of images and video. It will continually scroll to the left, and the animations and video will play at a certain point on the stage.
The problem I am encountering right now is how to place the movieclips on the scroller. my first thought was place them in the actual movieclip, but then you can't access them on stage.
My second thought was to assign their x coordinate to a certain part of the scroller and just increment the x coordinate with the same system to make it look like it was attached. The only problem with that is I would need to track the scroller's x coordinate so I would know when it gets to the middle of the stage (so I could play the video inside of the smaller movieclip at that location.)
track a movieclip's x coordinate like that? could I run through it and trace, and then act on that trace? I'm so confused.
Will my first attempt at this work? Is it somehow possible to access movieclips within a bigger movieclip and treat them as if they were on stage?
I want to record to a XML document everytime a user loads a .swf. Simply just increase the number in the XML document by 1. The issue tho is i'm limited to the server side scripting thats available. No asp, no php, only JSP. Client side scripting(javascript,etc) would be perfectly acceptable as well.Is actionscript capable of writing to a xml file and producing the results i'm aiming for?
View 9 RepliesI've got a movie clip, with another clip (let's say its a rectangle) nested inside it. Now I've got another movie clip on the _root of my movie that I want to track to the _x, _y of the rectangle. I want it to follow the rectangle when the rectangle's parent is dragged or scaled.
i'm having trouble targeting the _x / _y of the rectangle relative to the stage rather than its relative _x / _y relationship with its parent. is there a way to find these values?
I have a listbox that needs to be populated when a variable is sent to my .swf. What happens is...if the variable is already passed a value before my .swf loads, then it works fine, but the variable will be passed after the .swf loads, so that leaves the listbox empty. would like for the listbox to populate when it notices the variable has been changed. I used object.watch, but it's not successful. Here's my code:
[AS]
stop();
//Importing component classes
[code].....
how to get flash to recognize if a button is being clicked and dragged or not. This is for a progress bar slider that runs along the bottom of the slideshow and shows progress. The user can click on the bar anywhere and the the movie jumps to that location. The user can also drag the playhead button along the bar and when s/he releases it the movie jumps to that location.
However when I implement the code for having the playhead button follow with the progress bar, it conflicts when the user tries to drag it.
Here is the code currently.
Code:
var progressBar:Number;
var count:Number = 0;
var duration:Number = 50;
[Code]....
So I'm guessing that I need to set up an if - else statement that relates to wether or not the pbutton_mc is being dragged or not. But I'm not sure how to do that.
if (pbutton_mc.onMouseDown = true)? but where do I put it? do I need a mouseListener object?
I've been fiddling around with After Effects and Flash, exporting tracking data from the former and using it to distort a bitmap in the latter:- [URL]The test works well locally; though online I run into problems where the tracked bitmap slips from the FLV on which it sits.What binds everything together is an FLVPlaybackComponent firing CUE_POINT events, which provide the location of the four corner points used by an instance of Flash Sandy's DistortImage class.
It's not about jerky playback. It's about the bitmap remaining synchronised with the FLV, regardless of playback integrity. It's almost as though the CUE_POINT event isn't being fired when the FLV stutters (next thing to check after the weekend).
Is there anything I can do, has anyone experienced anything similar, or am I reliant on the host being able to serve the FLV at sufficient speed (out of interest, the video is currently coming from a dedicated video streaming server?
i've been following a tutorial based on webcam motion tracking however the tracker only follows on an X axes basis and i want it to follow around the Y axes as well, so it tracks all around the screen.
View 1 RepliesI want a set of 2 buttons. One button would be a nextBtn, that would mover the user forward one frame, and the other would be a homeBtn that would take them back to frame one.What I want to do is track what frame they are on (say frame 5) so that if they click the homeBtn and go back to frame 1, they could later click the nextBtn and now instead of going to the nextFrame they would go back to whatever frame they were on (which was 5). Here is was I was working on but I don't know how to store the frame the user left on.
PHP Code:
nextBtn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToNextFrame);
function fl_ClickToGoToNextFrame(event:MouseEvent):void
{
var frame:Number;
[code].....
how to update this action script from flash 6 to flash 7.Its for a scrolling line of pictures.
mouseh = getProperty("/tracker", _x);
mousev = getProperty("/tracker", _y);
if (Number(mousev)>0 and Number(mousev)<552) {[code]..............
I am working on an augmented reality project and I cannot use FLARToolkit because the marker I tracking is a company logo, The logo is a black T-shape with white writing inside and I cannot use any part of it to create a marker that FLARToolkit will recognise. I decided to implement my own tracking / bitmap recognition which follows the following process...
1) Convert to B&W
2) Color all possible regions in different colors
3) Find the best candidate from the colored regions
Here is the tracking code so far: [URL]. It works but it is suffering form a few problems; It's slow, sometimes a dark area is mistaken for the logo, it isn't aware of orientation, it is affected by different lighting conditions.