Adobe Dreamweaver Forums



Last 10 THreads :         Moving custom tag registration between servers. (Last Post : nosredna - Replies : 0 - Views : 1 )           »          How to do this?. (Last Post : Dan Bracuk - Replies : 1 - Views : 2 )           »          How to find number of occurance of each number in biglist of numbers? (Last Post : Amm85 - Replies : 2 - Views : 6 )           »          Spry Menu Background (Last Post : ich_kann_schnell_laufen - Replies : 0 - Views : 1 )           »          Dreamweaver CS4 makes my fonts go mental? (Last Post : theRizzer - Replies : 3 - Views : 9 )           »          mpg video will play in FF but not in IE (Last Post : Old Shoe - Replies : 0 - Views : 1 )           »          Create A Rotator Banner in DW? (Last Post : BigScaryRobot - Replies : 2 - Views : 3 )           »          files are one level too deep (Last Post : bregent - Replies : 5 - Views : 6 )           »          Narrowed down Flex Builder 3 question (Last Post : peteandrus - Replies : 0 - Views : 1 )           »          Unable to load resource module ... at MethodInfo-635() (Last Post : MotionMaker - Replies : 2 - Views : 7 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags: , , , ,



Reply
  #1 (permalink)  
Old 07-09-2008, 01:20 AM
Developer504
 
Posts: n/a
Diggs:
Default Monitoring hits / traffic to Flex Program

I have a Flex App deployed, I'd like to track IP addresses which download the .SWF file, or even just put in a simple hit counter. Can someone reccomend a technote or web example I could look at?


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-09-2008, 01:20 AM
danger42
 
Posts: n/a
Diggs:
Default Re: Monitoring hits / traffic to Flex Program

If you just want a count of the numbre of times the SWF was downloaded (and the
IPs), then add that code to your wrapper or just look at the hit logs. Google
Analytics is also an easy way to see what kind of traffic you're getting.

matt horn
flex docs

Reply With Quote
  #3 (permalink)  
Old 07-09-2008, 01:20 AM
Developer504
 
Posts: n/a
Diggs:
Default Re: Monitoring hits / traffic to Flex Program

By wrapper you mean the HTML file? Because they are currently just going directly to the SWF
Reply With Quote


  #4 (permalink)  
Old 07-09-2008, 01:20 AM
Developer504
 
Posts: n/a
Diggs:
Default Re: Monitoring hits / traffic to Flex Program

Is there any way to do this within Flex?
Reply With Quote
  #5 (permalink)  
Old 07-09-2008, 03:50 PM
*gsb*
 
Posts: n/a
Diggs:
Default Re: Monitoring hits / traffic to Flex Program

Yes.
In your swf, when it is first loaded, you can send a server request to a script (say PHP) that opens a 'hitCounter' file and increments it, ++count.


Reply With Quote
  #6 (permalink)  
Old 07-09-2008, 04:24 PM
Developer504
 
Posts: n/a
Diggs:
Default Re: Monitoring hits / traffic to Flex Program

Thanks much appreciated.
Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 07:57 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk