PDA

Volledige versie bekijken : Web statistieken voor je SWF bestanden


BDisOKE
%Europe/Berlin %380 %2005, 10:07
http://www.flashfocus.nl/~images/mochibot_logo.gif

De vraag komt regelmatig terug op het forum (http://www.flashfocus.nl/forum/); "kan ik Nedstat ook gebruiken in Flash?", "hoe kan ik zien hoe vaak deze animatie afgespeeld word?".
Er zijn ook mensen die graag in de gaten willen houden wat er allemaal gebeurd met de door hen gemaakte swf.
Het kan allemaal met Mochibot (http://www.mochibot.com)!

Hoe werkt het?
Je maakt een account aan en een naam en omschrijving voor de SWF die je wilt tracken.
Je plaatst een stukje code in je flash file, dit kan AS1 of AS2 code zijn.


AS1
System.security.allowDomain("mochibot.com");
this["swfid"] = "je eigen id...";
var mc = this.createEmptyMovieClip("mochibot", 1);
mc.loadMovie("http://mochibot.com/my/core.swf");

Daarna publish je je swf en dan werkt het al.

http://www.flashfocus.nl/~images/mochibot_stats.gif

Er wordt ook bijgehouden hoevaak hij locaal bekeken wordt.
Nog niet alle features werken maar die komen binnekort.
Je kan nu een gratis account aan maken, deze zal ook gratis blijven.
Later komen er betaalde accounts met meer features.

Meer info:

Mochibot.com (http://www.mochibot.com)
Mochibot.com/blog (http://www.mochibot.com/blog)

wal_toor
%Europe/Berlin %511 %2005, 13:17
Ahhh.. meteen aangemeld en geprobeerd... Nu een paar dagen wachten... Het ziet er allemaal veelbelovend uit.

greetz,
walter

Tha Narie
%Europe/Berlin %541 %2005, 13:59
Hopen maar dat ze geen gekke dingen uithalen ;)

Finesky
%Europe/Berlin %605 %2005, 15:32
Echt wel vet, geen PHP gedoe meer;).

Flashingback
%Europe/Berlin %608 %2005, 15:36
Handig maar ik denk niet dat ik het ga gebruiken.

Roenes
%Europe/Berlin %672 %2005, 17:07
Op zich leuk, maar als je een beetje zelf kan scripten zou ik er mooi 1 zelf maken mbv php. Kun je em precies aanpassen aan je eigen wensen. :)

WernerL
%Europe/Berlin %674 %2005, 17:10
Ik ga deze mischien wel gebruiken maar dat zie ik nog wel als mijn site klaar is. :D

BDisOKE
%Europe/Berlin %683 %2005, 17:24
Ik ga hem wel testen en in mijn nieuwe site hangen denk ik. :)

The_One
%Europe/Berlin %915 %2005, 22:57
pff, een beetje scripter script zelf wat in PHP, leer je ook meer van :)

Hé BD, nieuwe site? cool :cool:

JamesonH
%Europe/Berlin %925 %2005, 23:12
I don't know what you guys are saying, but I hope it's good and I hope that you guys like MochiBot! :D

Thanks for talking about us!

:\\ Jameson
The MochiBot Team

MochiBot.com (http://www.mochibot.com) :: Powering great Flash content

http://www.mochimedia.com/images/Banner01.gif (http://www.mochibot.com)

Dauntless
%Europe/Berlin %927 %2005, 23:15
People here seem to like it! Some say thay would rather builld there own so they can customize it better to their wishes.

Roenes
%Europe/Berlin %948 %2005, 23:46
Hé BD, nieuwe site? cool :cool:Verwacht die maar in 2020 of zo ;)

of nie BD? :D

BDisOKE
%Europe/Berlin %996 %2005, 00:54
2017 is de verwachting. :cool:

JamesonH some people are worried about security isseus here.
A scripter said to me that if you place the code you are basicly giving full access to your file...
Can you give your view on that?

Other then that i like it and will test it and probably use it in my new site. :)

Dauntless
%Europe/Berlin %000 %2005, 01:00
2017 is de verwachting. :cool:

JamesonH some people are worried about security isseus here.
A scripter said to me that if you place the code you are basicly giving full access to your file...
Can you give your view on that?

Other then that i like it and will test it and probably use it in my new site. :)
The person could indeed open a window to his site or something, but I don't think he can do _much_ (or crash your site afcourse :p) . I think that if he would do such a thing, he wouldn't be so popular...

JamesonH
%Europe/Berlin %972 %2005, 00:21
Even without Security.security.allowDomain(), it's possible for a loaded flash movie to getURL to another page. Security in Flash helps protect you from "cross-site scripting" attacks. It's really not very useful, because most "bad things" can be done without this permission. You should never loadMovie SWFs that you do not trust, just as you should never insert <script> tags in your HTML that refer to scripts that you do not trust!

The reason that MochiBot needs this statement is to grant it access the variables from your movie clip. Most importantly, this["swfid"] is stored in your movie clip, and would not otherwise be accessible to MochiBot. It also allows MochiBot to see _root._url, which is more reliable than anything the browser is going to tell us.

The reason that we have a separate SWF on our server, instead of more ActionScript in your movie, is so that we can upgrade the service without you having to publish everything again!

JamesonH
%Europe/Berlin %974 %2005, 00:22
I'd like to start off by saying that security is one of our top priorities at MochiBot.

I think that this is more of a trust and reputation issue than a security issue. Adding the MochiBot script to your FLA is just like adding a hit counter script to your web page. You have to put the same amount of trust in those companies as you do in ours.

To address some technical areas ... even without Security.security.allowDomain(), it's possible for a loaded flash movie to getURL to another page. Security in Flash helps protect you from "cross-site scripting" attacks. It's really not very useful, because most "bad things" can be done without this permission. You should never loadMovie SWFs that you do not trust, just as you should never insert script tags in your HTML that refer to scripts that you do not trust.

The reason that MochiBot needs the allowDomain() statement is to grant it access to the variables from your movie clip. Most importantly, this["swfid"] (your unique SWF identifier) is stored in your movie clip, and would not otherwise be accessible to MochiBot. It also allows MochiBot to see _root._url, which is more reliable than anything the browser is going to tell us.

The reason that we have a separate SWF on our server, instead of more ActionScript in your movie, is so that we can upgrade the service without you having to publish everything again. Our goal is to make the job of traffic monitoring for your Flash content as simple as can be.

We've spent a lot of time thinking about security and ensuring that MochiBot has no affect on your SWFs. If you have any suggestions or feature requests, then please post a message here or to our forum (http://mochibot.com/forum) and we'll discuss implementing your suggestions.

We appreciate these discussions with the Flash community (even though I can't read what you're saying :p ) and hope to work with you guys to improve the product.

:\\ Jameson
The MochiBot Team

MochiBot.com (http://www.mochibot.com) :: Powering great Flash content

http://www.mochimedia.com/images/Banner01.gif (http://www.mochibot.com)

BDisOKE
%Europe/Berlin %891 %2005, 22:24
Thanks for you feedback Jameson!
Much appreciated. :)

JamesonH
%Europe/Berlin %584 %2005, 15:01
Wow! This seems to be a popular topic. :D

We've added graphs into the site over the weekend so now you can see trends in your SWF's popularity. We also improved the MochiBot code so that it can be used in any version of Flash above version 5. We've also reduced the probability of conflicting var names and levels. Here's a sample of what it looks like:


// Note that this works for both ActionScript 1 and ActionScript 2!
if (_global['System']) System.security.allowDomain("mochibot.com");
_level0.__com_mochibot__swfid = "bfe3elac";
// You may choose any unused level
loadMovieNum("http://mochibot.com/my/core.swf", 10301);

Thanks again for hosting this discussion!

:\\ Jameson
The MochiBot Team

MochiBot.com (http://www.mochibot.com) :: Powering great Flash content

http://www.mochimedia.com/images/Banner01.gif (http://www.mochibot.com)

chrisdg
%Europe/Berlin %887 %2005, 22:17
Kijk even binnen het Forum "Flash gerelateerde software". Ik plaatste enkele weken geleden een artikel waarin ik vertelde hoe ik high-end statistieken genereer van Flash-sites met behulp van WebTrends.

WebTrends is (wereld) marktleider, een groot verschil met Nedstat dat met name in Nederland bekend is. Van Mochibot had ik nog nooit gehoord, ik ga mij er eens in verdiepen ;) Mensen die meer informatie willen over WebTrends kunnen meer informatie vinden op www.webtrends7.nl.

BDisOKE
%Europe/Berlin %654 %2005, 16:42
Ze zijn 2 augustus echt live gegaan.
Alle features zitten er nu in.
Verder kunnen we op korte termijn nieuwe features verwachten! :)

http://www.mochibot.com/blog/