Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Tracking Loadmovie() Progress


Hi, How can I track the loadedbytes/totalbytes of a movieclip that I load dynamicly with a button ?
I cant manage to do it




KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 02-25-2005, 08:55 AM


View Complete Forum Thread with Replies

Sponsored Links:

Tracking Loadmovie() Progress
Hi, How can I track the loadedbytes/totalbytes of a movieclip that I load dynamicly with a button ?
I cant manage to do it

View Replies !    View Related
Elearning Tracking Progress
Elearning
How can you store user progress in flash without using a LMS.
i want to to be able to let the user pick the application up where they left off.
The application is a swf that will be on the users pc, i can store the data that gets inputed in the application name, company etc. But i want to track the progress...
Anyone else come across this problem..........

View Replies !    View Related
Tracking User Progress
I have an elearning course that i am working on and im trying to find a way to track the user progress without using scorm.

The course opens to the menu screen with links to the chapters, when a user completes a section i want a check mark to indicate to the student that that chapter is complete, much like a simplified version of scorm tracking. i don't need the user to return to where they left off and i don't need to record scores.

The course is contained in a members section which the user would have had to log in to to access.The site is html, the only flash would be the course. im using php, mysql anf obviously flash. i dont want the user to have to log in again to the elearning piece itself, rather i would like to use the session information from from the users origional log in to the site.

Is there anyone who could guide me as to how i could do this, i have seen it done in a course i recently had to take but i have no idea how to do it or even where to start.

View Replies !    View Related
XML Not Tracking Loading Progress
I have a very large XML file that I am loading and it loads up just fine.

The problem is that I am trying to make a progress bar and it's not working right - I have a trace tracking the progress, but the progress does not show up until the file has already loaded! In other words, the MovieClip just hangs (stalls) until it's loaded... once it's loaded I see all the progress on the output tab.

Here is my code:


Code:
stop();
var timeDatabase:URLRequest = new URLRequest("databases/Main.xml");

//Assign a new loader
var dataLoader:URLLoader = new URLLoader();

//Add a complete listener
dataLoader.addEventListener(Event.COMPLETE, completeListener);
dataLoader.addEventListener(ProgressEvent.PROGRESS, progressTracker);

//Load the database
dataLoader.load(new URLRequest("databases/Main.xml"));

//Track Progress
function progressTracker(e:ProgressEvent) {

trace(e.bytesLoaded/e.bytesTotal);
}

//Load complete
function completeListener(e:Event):void {

//Remove load listeners
dataLoader.removeEventListener(ProgressEvent.PROGRESS,progressTracker);
dataLoader.removeEventListener(Event.COMPLETE, completeListener);

//Assign the database
var time:XML = new XML(dataLoader.data);

//Notify
trace("complete");
}
Any ideas?

View Replies !    View Related
Shared Object Progress Tracking HELP Please
Hey,
I need some help with this concept. I have seen the shared object used for many purposes but not this and so far my tests have failed. I am working on a cd rom..I need to be able to record where the user left off and resume at that point on their next use of the cd. Ideally i would like to have a number of framelabels as milestones throughout the program both to record if they've been to there and to return to these points based on if they've been there.

One concern is i want to make sure that if they have viewed 50% of the content, and re-enter at the midpoint but choose to navigate back to earlier sections, that their next visit resumes at their farthest progress and not neccessarily the last area they had open.

Can anyone help by showing an example code. That checks the shared object on entering the movie. Then starts at the corresponding point they left off at last time...


Any help would be appreciated.

View Replies !    View Related
Tracking Combined Load Progress
I have a project that loads an XML file, an audio file and an external SWF. I currently track the loading of each of these processes individually, check to see if all have been fully loaded and then start my movie.

I'd like to develop a single preloader that accurately reflects the percentage of the combined loads -- is there a relatively painless way to go about this?

Thanks.

View Replies !    View Related
Tracking Combined Load Progress
I have a project that loads an XML file, an audio file and an external SWF. I currently track the loading of each of these processes individually, check to see if all have been fully loaded and then start my movie.

I'd like to develop a single preloader that accurately reflects the percentage of the combined loads -- is there a relatively painless way to go about this?

Thanks.

View Replies !    View Related
Tracking Users Progress Through A Site / Course
Hello List,

I currently have a course built for a client who eventually would like to be able to track a users progress throughout the course (this was not specified at the time creation). The pages were built in MX 2004 and the current structure involves every new page/movie being loaded into a shell contained on the root timeline. I am using an Array to contain all of the file names for the movies that are to be loaded in and using basic navigation methods (forward and backward) to load the load the pages sequentially.

My question is what process should I take now that the pages are created to implement a tracking mechanism for each student as they make their way through the course? Its OK if I have to go back and modify the pages.

I built the structure thus far by myself but am at a point where I need some advice as we are beginning work on the next course next week and I would like to implement as many of the coding changes as possible as well as research the XML, database, or LMS issues that will arrise.

All advice is greatly appreciated.

View Replies !    View Related
Tracking Progress Of Movie Clip
I have a movie clip playing on the main timeline. I want to begin playing a second movie clip when the first one is complete. The trick is, I only want to do this using actionscript in the root timeline, NOT the first movie clip's timeline.

Any suggestions?

View Replies !    View Related
Tracking PHP Data Send Progress Correctly ?
I already started a thread on a different forum so I'd rather link you guys to that thread instead of repeating myself again: http://www.actionscript.org/forums/s....php3?t=185432

You'll see that tracking the progress is quite easy just that there's a tiny problem. The displayed percentage is just crazy... instead of having something like 24% 55% 87% 100% I'm getting stuff like 100% 56% 87% 99% 100% 56% 100% and I have no idea why and how to solve this.

You'll find a link in that thread to an example I uploaded that demonstrates the problem. If anyone has any ideas why this is happening and how to solve it, then I'd really appreciate some feedback.

Thanks.

View Replies !    View Related
Loadmovie With Progress Bar
Hi -
I'm trying to make a button that will load a movie "m1.swf" intp a movieclip myMC

I can do that - the thing is, i want to make a progress bar thart will say how much is loaded. Ive seen it done, but when i try it, it doesnt work.

Can somebody please help me - thanks!

View Replies !    View Related
Loadmovie With Progress Bar
Hi -
I'm trying to make a button that will load a movie "m1.swf" intp a movieclip myMC

I can do that - the thing is, i want to make a progress bar thart will say how much is loaded. Ive seen it done, but when i try it, it doesnt work.

Can somebody please help me - thanks!

View Replies !    View Related
Getting Load Progress Of LoadMovie Object
I'm loading in external jpg's into my movie, but they don't load right away, so I put a load bar in that is seen before the image loads. How would I code this properly?
The bar's instance name is loadBar, which is on the same timeline as the MC the image is being loaded into, imageOne.
Loading is not the issue here, that's simple, it's checking the progress of the loading image.

Thanks in advance for any help!

Sean

View Replies !    View Related
Progress Of A Movie Clip To Initiate Loadmovie?
hey this is probably a really easy question. in my startup sequence i have a movieclip that runs through for about 60 frames. on frame 45 of that id like it to trigger an swf to load into my target on the main timeline. mc that runs is called armsign_mc, on the inside of that movieclip im trying to make it load "frontpage.swf" into my blank mc (feedMe_mc)

armsign_mc.onEnterFrame = function(){
loadMovie("frontpage.swf",_root.feedMe_mc);
}
ive tried it a million ways in a million places and thats the code im left with for it.
thanks for the help.

View Replies !    View Related
Hook Up The Progress Bar Component For An External Swf With Loadmovie()?
How do i hook up the progress bar component to display a progress bar for an externally loading swf using loadMovie?

The swf is loaded with this action script on the frame it's being loaded into.

_root.new1.loadMovie("Quentin.swf");

any help would be appreciated. I am tearing my hair out...it's for a cd rom due this week.
thanks

View Replies !    View Related
Hook Up The Progress Bar Component For An External Swf With Loadmovie()?
How do i hook up the progress bar component to display a progress bar for an externally loading swf using loadMovie?

The swf is loaded with this action script on the frame it's being loaded into.

_root.new1.loadMovie("Quentin.swf");

any help would be appreciated. I am tearing my hair out...it's for a cd rom due this week.
thanks

View Replies !    View Related
Progress Bar For Showing Progress Of Loading Data From A CFC?
Hi all,

I wondered if anyone knew any way of showing a progress bar when calling a CFC through actionscript? I have a CFC which returns a ton of data, and so would like to show the progress of the data being loaded.

I know you can do this when loading a webpage, through using URLLoader, and getting the progress by listening to the ProgressEvent.PROGRESS event. However, when I call the CFC, I don't use the URLLoader class. My code for calling the CFC service looks like below


Code:
var service : RemoteObject = RemoteObject( ServiceLocator.getInstance().getService( "productService" ) );
var responder : GenericResponder = this.initResponder( getProductOptionListResult, getProductOptionListFault, resultHandle, faultHandle );
var call : AsyncToken = service.findOptionsForProduct( product );
thanks in advance for your help!

Mark

View Replies !    View Related
AS3 - Coding A Progress Bar To Show Progress Of A Timer.
Coding a progress bar to show progress of a Timer.

I have a timer that is set for (8000, 0). Pretty much what I would like to do is show the progress of where the timer is at but with a graphic. Something simple like a loader bar. Pending on where the timer is at the progress bar would load accordingly.

I am going to give it a try with out help but thought I would ask on the forum incase someone has an idea of how to do this before I go on a wild goose chase. Anyhow here goes the chase. If I figre it out before someone can help me I will post my code here.

Thanks,
Artofacks1

View Replies !    View Related
Progress Bar Not Showing Progress
Hi all

I have putted the code below in frame1, and then the actual movie in frame 2. The problem is that the code below doesn't show the progress unless i put the movie to start from say frame 5. Could someone please tell me why that is and any good progress bar code with percentage? I've actually tried a few tutorial sample and only this one works but need to move to higher frame no.

// stop the movie from continuing
stop();

// create a function called onEnterFrame
// with this name, it is an event handler
// and is called automatically by the flash
// player every frame at intervals specified
// by the frame rate of the movie
onEnterFrame = function(){

// percent loaded is loaded/total
var percent_loaded = _root.getBytesLoaded()/_root.getBytesTotal();

// assign percent loaded to preloader movie clip
// in the form of the variable named value
preloader_mc.value = percent_loaded;

if (percent_loaded == 1){

// delete the onEnterFrame event handler
// so that it is no longer being called
// every frame
delete onEnterFrame;

// tell the main timeline to play
play();
//gotoAndPlay(12);
}
}

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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!

View Replies !    View Related
_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~!

View Replies !    View Related
_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!!

View Replies !    View Related
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?

View Replies !    View Related
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

View Replies !    View Related
IP Tracking
Does flash provide any method for determining the IP address of the user?

View Replies !    View Related
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????

View Replies !    View Related
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.

View Replies !    View Related
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?

View Replies !    View Related
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????

View Replies !    View Related
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

View Replies !    View Related
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.

View Replies !    View Related
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!!!

View Replies !    View Related
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.

View Replies !    View Related
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!!!

View Replies !    View Related
Tracking User
I'll be building an online course in Flash and need to know how I can track a user's progress.

For instance - there is a voice over on the first screen that is supposed to play when a user first comes to the screen, but not on subsequent visits to that same screen.

Also - there needs to be a checkmark by a menu choice to show when a user completes the lesson. There will be a text file I can hit to determine the user's progress, but I'm not sure of the Actionscript to use for these procedures.

Any help greatly appreciated.

View Replies !    View Related
Tracking Variables?
Is there a way to keep track of/have access to a variable that was on level0 when another movie is loaded in level0?

TIA,

Rick

View Replies !    View Related
Mouse Tracking
Okay, this is TWO questions in one post.
What I want to do is track the mouse movement. Now, I CAN do this, but there are two things I want to ask.
I have two dynamic textboxes called posX and posY.
First, a look at my code:

Frame 1:
var posX = _root._xmouse;
var posY = _root._ymouse;

Frame 2:
gotoAndPlay(1);

Now, here are my two questions.
1) How come I always get whole numbers whenever I move my mouse around? Is that the way it always is? Is there a more accurate way? Or should I not even bother?

2) Is there a better looping system then using 2 frames and going back to another frame? There's got to be a better way to do the loop so that it's more exact.

Riki

View Replies !    View Related
Tracking Traffic Thru An Swf
hi all,

does anyone know how i may set up tracking inside an swf file. I need to track all traffic source from asp file which has the swf embedded, through to completion of a form in flash. Basically we need to know what the "src" is when a customer submits a form in flash.

any suggestions????

thanx

View Replies !    View Related
Tracking The Mouse? Possible?
Hi
is it possible to continously track the position of a mouse in an MC
I tried using the
_xmouse
_ymouse
properties and returned the values to a text field
but it only gave me the position of the mouse for only one position.

i need to continously track the mouse so i can implement an action that does something when the cursor goes out of a specific area that is designated in the form of a square by two x values and two y values

Thanx

View Replies !    View Related
Tracking Question
i know how many people click to go to my site but the opening page is an enter button i want to be able to track how many people actually enter. can any one help
thanks

View Replies !    View Related
Tracking Activity Within Swf
Is there a precedent for tracking activity within a swf file (scenes entered, images clicked, time spent on a page, etc.)?

If so, please point me in the right direction.

Thank you

View Replies !    View Related
Tracking Probs
Well my main mc rotates according to the mouse angel and i have a bullet that should follow the mc but it doesnt anyone know the math to have the bullet go tward the mouse?

View Replies !    View Related
Button Tracking
What is button tracking & how do I do it??
Please help
D

View Replies !    View Related
Tracking Banner Ad
(MX) I am creating 2 ads: a banner and a pop-under, and need to inlcude a tracking pixel that the ad will load from an external hosting server that I control. The ad itself will be hosted with the advertiser. I want to put in a 1 X 1 pixel image in the ad where the pixel will be hosted on my server, that the ad will load when displayed so that I can make sure I am getting what I'm paying for. What do I embed and how do I do it?

View Replies !    View Related
Tracking Information
I link to a few affiliated sites from my website, however they seem unable to track that the links are coming from my flash animated site. I tried using the POST and GET variable, but neither seem to help. Have you got ant suggestions?

Lucas

View Replies !    View Related
Text Tracking
I know you can use textFormat to set the leading, how about the tracking for text? is it possible... if the object doesn't do it... any workarounds to set the spacing between characters? thanks

View Replies !    View Related
Music Tracking
Hi

I am attempting to create a music studio using flash mx so that users can preview and insert samples into a timeline and play back/save their creations. I am fairly new to flash and I need to be pointed in the right direction. Any help MOST appreciated.

Bungledog

View Replies !    View Related
Tracking In Flash
okie...

i have a website that is fully flash, importing swfs on to many levels.

Now i'm wondering.. is there any way of tracking the users clicks..eg. users click "1.swf" more than "2.swf".

I was thinking the only way to do it is to write something to a database when the user clicks on the button..ie in the "on (release)"

Has anyone done something like this... am i on the right track..??

any feedback would be great.

eChimp!!

View Replies !    View Related
Tracking _x And _y Coordinates...
I have attached movies... with swatches that you can drag upon... using this code...

code:
swatchHDash.onPress = function() {
if (_root._currentframe == 51) {
if (Key.isDown(18)) {
_rotation += 45;
}
startDrag(this, true);
}
};
swatchHDash.onRelease = function() {
stopDrag();
};

If I put it in debugger the corridinates do not move while i drag the item... i need these corridinates... am I doing something wrong???

Thanks,
Carlos

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved