"Logging" Text
Yes.. im trying to make sort of a message system but i want flash to write the text a user inputs to a text field.. i have 2 fields one called "name" and the other "message". Is there any way to have what a user enters into those fields be written to a text file?
Thanks for your time.
Matt
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 12-20-2005, 10:56 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Logging Events To A ...text File?
Any ideas on the best way to log events to a text file? ...Events such as specific time-out intervals that have been invoked, server error/failed connection, going to a specific frame of a flash movie, etc.
This is for kiosk development, and for the purpose of being able to troubleshoot when things go wrong.
Is it true that I can't directly write to a text file from Flash? I'm already using XML objects to send and load data for other purposes...but not sure if that's the most efficient way to log event files as well.
Any ideas/comments? Thanks in advance.
Logging In?
i'm a bit confused to simply signing in. when i do the screen says" thanks for logging on cartoonboy" then it returns to the login page and asks me to do it again. and so we go round and round and............... I only got here now through a link in my emails, and i'm puffed. it's hard to post a problem when my problem is getting here! any suggestions? flash rocks!
Key Logging
Ok, I am trying to make a small key logging device (although it sounds dodgy, it in actual fact needed for an assesment protocol.) I obviously can make a flash movie which records key presses when it has focus, but as soon as the focus is gone, so is the key capturing.
Has anyone made anything similar?
(if anyone wants to try it, think of typing something into a word document, and your unfocussed flash movie also picks up the same typing.)
Logging In
I'm creating a game in flash which connects to a MySQL database on a webserver. Basically what I want to do is let the players either start a new account, or if they've already done that, log into one. All that should be needed is their account name, password and email address.
I have an idea about what I need to do. Send it to a PHP script, which in turn sends the info to the database, and I reckon I could make a script to do that quite easily, but what if the connection fails or the account name is already taken? How will it display this in flash?
If that is too complicated, however, I can always make it pop up an external browser to tell the user of the outcome, but I think this way would be better.
Thanks in advance if anyone can help - I'd just like a pointer in the right direction, at least.
FMS 3 Logging
I have posted a message about logging earlier. Can anyone tell me how logging is done in FMS3? Why are the entries for a single instance broken into multiple play-stop-play-stop entries? I am talking about just one file streamed only once. Please help.
Thanks,
Shan.
The Logging API
hey, you all know about this?
http://livedocs.macromedia.com/flex/...=00001533.html
very nice. i was just starting to build my own and i kinda stumbled across it -- so now i'll build one of these instead
Logging
On the mail php tutorial, i figured it out at last with a working script up on my server now. I am interested in trying to find a way of logging the IP's of people who submit the form just so i can trace if need be.
Thanks,
Spud.
Logging Positions
Right im making a running game involving six runners, Im capturing their individual times, and trying to capture their positions, the time thing is all sorted but om having real probs with the positions bit.....the way im attempting it at the minute is by having the variable finish=0 to see how many have finshed and test who is first im trying if finish<=0 then carry out the positioning stuff. the prob lies with the other positons because the finish marker is an mc and the script is run off a onclip(enterframe) so as the intersect occurs all of the if's are true at some point because of the enterframe so it knock all of it out totally......
has anyone any suggestions?
mant thanks if so
Logging In To Other Servers Possible?
I wan to know wether we can login to other servers like Yahoo by typing user id & password from my flash movie & view oe get some file from a yahoo group or mail box or some thing like that?
PLease help. Asusual I'll wait online for your reply
Ip Logging In Flash?
here's a question... is there a way in flash to read in a visitor's ip address and turn them into values in flash?
i'm guessing it will involve some java scripting, and i have NO idea how that works... if it's really quite complicated, then er, would some1 care to help a bit?
thanks in advance
Ip Logging In Flash~?
is there any way of getting the ip values of the machine/node/whatever browsing your page, and parse it into a flash variable or something?
i'm guessing it'll take some javascripting between the flash and the html and stuff, and i'm hoping some1 knows a bit about that cos i really don't...
thanks in advance eh!
Ip Address Logging
I would like flash to detect whether or not a user has voted in a flash poll by comparing a list of ip addresses [that have voted] to the user's current ip address. (I am using this in conjunction with shared object for redundancy.)
I have searched the forum and have found a way to pass (through a php script) the ip address using the following actionscript code:
Code:
getIP = new LoadVars();
getIP.onLoad = function() {
trace(this.ip);
};
getIP.load("http://domain.com/folder/get_ip.php");
How do I assign the output to a variable in flash?
Then, after assigning the ip address to a variable, I would like to pass that ip address to a[n ambigious] .txt file where it will be saved to a list of ip addresses of those who have already voted.
So when a user runs the poll swf it first compares his ip address to those listed in the txt file. How do I compare a single piece of data to a list of data? (arrays?)
After that point I will just have a return of something like voted=0 or voted=1...I know what to do from there. My coding skills just are not that great.
Anyway, thank you for taking the time to read...
Any help to these questions is greatly appreciated,
Todds
I Have Problems Logging
Hello! Help solve the problem.
Very often try to enter the forum, but says that the password is not correct.
Regrettably use of remembering. Give like to be?
Thank you!
Logger / Logging
Hi!
We have found this Logger, but we can't make it log only one class (or a whole package). So it is all or nothing...useless to our project.
We don't know if it is possible (because Flash security), but we need the output in XML file or something similiar so that the user be able to send us the file to analise.
Does anyone have any clue?
Cheers
Logging Not Working
ok, so I am still evaluating flash media server and have run into a strange issue.
I deleted all the files out of my log dir, and then stopped and started the flash server again, and now the logs aren't writing!
the only thing I change during the reboot of the service was the following;
<FileName>access.[DDMMYYYY].[NN].log</FileName>
<History>999</History>
on their first appearance right at the top of logger.xml..
I tried <history>5</history> but to no avail!
How do i get my logging back :P
Logging Not Working
I have a problem with the log files not updating sometimes.
The main log files (access, admin, core, edge and master) all seem to log correctly all the time, but the application logs in the logs directory and the _defaultVHost_appname directories seem not to log sometimes. I cannot work out why it ever stops, but sometimes they log for some applications, sometimes not.
In the admin console, I can see output being logged into the console screen, but when checking the actual log files, nothing has been written to them for days!
This is a bit of an issue when trying to debug applications, as obviously I have no history of what happened!
Has anyone come across this before, or have any idea what I can do about this?
Cheers,
K.
Edited: 09/02/2008 at 06:41:19 AM by karnal69
Logging In With Flash
For my design website i'm trying to let my clients log into phpcollab through flash. I know this is possible but does anyone know wht variables to pass and how to do it. I'm a bit new to actionscript and i don't see many tutorials on the subject.
Logging In To Firstclass. Pt II
Alright, I've got a really quick fix for any actionscript guru out there. I"m trying to log in to a firstclass server (example to be found at :
http://www.user.firstclass.com/login
login:guest
pass: guest
using only flash from a remote page (the resulting login to be in a new window). If anyone could help I could REALLY use a lifesaving fla.right about now.
Logging In With Flash
For my design website i'm trying to let my clients log into phpcollab through flash. I know this is possible but does anyone know wht variables to pass and how to do it. I'm a bit new to actionscript and i don't see many tutorials on the subject.
Logging In To Firstclass. Pt II
Alright, I've got a really quick fix for any actionscript guru out there. I"m trying to log in to a firstclass server (example to be found at :
http://www.user.firstclass.com/login
login:guest
pass: guest
using only flash from a remote page (the resulting login to be in a new window). If anyone could help I could REALLY use a lifesaving fla.right about now.
Helpme: Logging In W/flash And Php
Hello,
I am using this tutorial as a reference, and can't find out where I have gone wrong: http://www.flashkit.com/tutorials/Ba...35/index.shtml
I have been trying to use flash as a front end to a php database. So far, I have succeeded in using flash to 1) register an account, which consists of username, password, and 2) succeeded in using flash to login to the database.
Unfortunately, I haven't been able to make flash respond to logging in to the database. I can successfully send variables from the login.php to input text boxes, but I cannot use those same variables inside an 'if' statement to cause profile.swf to load into _level1.
I am certain that the problem is with my actionscripting, and not with the php.
What is going on:
Inside index.swf is a MC at _root.login that contains the input text boxes, a dynamic text box (_root.login.lstatus) and a button which successfully passes username and password vars to login.php.
login.php successfully passes variables to flash via this code: echo "&login.lstatus=logged in!&go=1";
What I am trying to do:
I'm trying to use the var "go" to instigate the loading of profile.swf into _level1.
On frame 2 of index.swf (which is at _level0)
if (go ne "") {
loadMovieNum ("profile.swf", 1, "POST");
gotoAndStop (4);
} else {
gotoAndPlay (2);
}
Here are the .fla's available for dload. Please take a look at what is going on.
http://ncgn.steeped.net/index.fla
http://ncgn.steeped.net/profile.fla
The page in progress is at http://ncgn.steeped.net
Mx Messenger > User Logging
I'm creating a flash (v. MX) messenger with in a program.... I need to know whether or not, the MX server will allow connection directly between two computers, and if so, log the accociated IP address.
-Tyler
MX Messenger: Logging Clients
Im working on a 'MX Messenger' if you will, as the core chat functionality w/ in a game, all for a tech class project. Weve created a small Flash MX app (not yet coded to hook up to the Database), and have a created a small ColdFusion Database, to ref. passwords and usernames as well as IP address.
Question:
Will I need to use Flash MX Server to connect directly to another computer and chat? Is this possible w/ Flash even without the MX Server? And is it possible to obtain an IP address w/ in the Flash MX app, then store that in the database so that when a user logs on, his buddy lists ref. the signed on users and uses that logged IP to connect?
Any ideas on where i should start or where to look for help is greatly appreciated.
-Tyler
Logging Flash Pages
is there any ways to log how many times particular flash animations withing a page were visited?
[CS3] User Action Logging
I'm writing a small model of a GUI, which I'm going to perform user tests on via the web. For these tests, I need to log all user action (button clicks etc). I have no problem with the actual logging, but how do I submit it from the tester so I'll be able to view the statistics? Note that the tests will be performed at the testers own computers.
Thanks a lot in advance.
Error Logging System
Hello all,
How can I make an error system that will catch all errors that occur in my swf at runtime and save them to a log file on my server?
I can't exactly put a try and catch over all my code!
Thanks all
User Action Logging
I'm writing a small model of a GUI, which I'm going to perform user tests on via the web. For these tests, I need to log all user action (button clicks etc). I have no problem with the actual logging, but how do I submit it from the tester so I'll be able to view the statistics? Note that the tests will be performed at the testers own computers.
Thanks a lot in advance.
Logging Stream Traffic
Does anyone know of a premade product (or actionscript technique) to track traffic to a stream? We would like to know: 1) how many times a stream is initiated, 2) how many times the stream is completely watched and 3) how long (time) the stream is watched
Ultimately we need to have a tracking mechanism to report on pre-roll ad usage, but these same stats would be helpful for general site traffic as well.
Logging: Traffic Calculation
Hello everybody,
for accounting I need some infomation on the FMS access log data.
We need to bill our clients for Player traffic. In order to do that, is it a valid procedure to
1) extract all lines with an x-category of "stream" and an x-event of "stop" and
2) pick out the value of the sc-stream-bytes field
to get the traffic for a single stream hit, taking into account all pause and seek operations?
The documentation says:
"To calculate the bandwidth usage per stream, subtract the 'sc-stream-bytes' in the 'play' event by the 'sc-stream-bytes' in the 'stop' event.
It might get a little difficult to find the corresponding "stream/play" entry for a "stream/stop" event, especially if the entries are contained in different log files. Anyway, in all my testing I always got an "sc-stream-bytes" value of 0 for "stream/play" events. Under which circumstances can the value of this field be greater than 0?
Any help on this topic is appreciated.
Thanks
Stefan
Logging All Unhandled Errors
Is there a way to retrieve the debug information for all unhandled errors and perhaps output that error to a web script (php etc)?
I was looking for a listener which could listen for any error which is thrown. Otherwise how would you ever know what errors happen in the public? People need to be running the debug flash player to see errors. So assume there would be a way to record them also.
Can anyone offer any advice?
Yamzbrowser Logging Into Server
re: Yamzbrowser
does someone have the code to add
that will open the login window for the server
so the user can enter name and password
before uploading
so you don't have to set priviledges to "everyone"
the up.php file just uploads if the priviledges are set to "everyone"
and doesn't open the login window for the server
seems like EVERYONE would want that
anyone??
it is made extra difficult if your french is not advanced enough
to understand technical lingo
Logging Flash Pages
is there a way to log individual flash pages in a site to see how many users actually watched the animation.
Different Pages For Each Client When Logging In
Not sure if i'm posting in the right place, but here it goes...
Ok, say i wanna have a client login function in my flash site, and i want each client to get into their own part of the site that only this person can view (and another client would have different content when logging in). How do i do this?!
The thing is, i got a musicvideo producer that wants his clients to be able to login to their part of the site so that he can put out work in progress videos for them to see. But he dosen't want everybody to see each others videos (work in progress).
hope you guys understand what i mean... Thanks, Keni
Flash Logging Clarification
Hi All
I am doing the logging feature for my project. I am doing that by writing onto a text file. The problem is I am able to see the logfile.txt generated only when I debug a movie. When I try to run the flash movie,I wont be able to able to generate the logfile.txt..!
Can anyone help me in this..??
Thanks in Advance
Nirmal.
Logging User Interaction
Hi,
I have made a flash standalone application which I'm running on a touchscreen computer open to the public. I'm getting several reports that the program keeps crashing- I have tried to reproduce the error but can't. Is there any way that you can output all user interaction in flash in some kind of external log file?
Thanks.
Lilalfyalien
Logging On With Flash (FCS3.AS2)
i've looked on the site and it doesn't quite have what i need (great site btw)
anyway this is what im looking for.
actionscript 2 for;
a stand alone flash program
that several users can log on
and multiple accounts can be made
and it will save and remember where the user was if they log in again
basically i'm making a puzzle flash game
if they finish level 1 level 2 gets unlocked and level 3 after level 2 is complete.
i'm thinking of heading on the lines of
if the user logs on and plays the variables (level 1, level 2, level 3) change from false to true until they complete the previous level (with the exception of level 1 always being true)
then when logging on again if the name and password is the same as previously used then they will be able to resume from either level 1 2 or 3 (they will have to start from the beginning of the puzzle naturally, not from their last move)
so is there any way to do this without mySQL and without PHP? or do i have to use them? because i'm using a stand alone flash file and at most use a simple .txt or an .xml file.
also its preferred that all scripting done on the first frame and not on buttons and using instance names not the var box down in the bottom right hand corner.
(if not ill translate it on my own)
fast help will be greatly appreciated
thanks in advance!!
z~
PS im not a flash wiz or anything... i just know the basics...
Yamzbrowser Logging Into Server
re: Yamzbrowser
does someone have the code to add
that will open the login window for the server
so the user can enter name and password
before uploading
so you don't have to set priviledges to "everyone"
the up.php file just uploads if the priviledges are set to "everyone"
and doesn't open the login window for the server
seems like EVERYONE would want that
anyone??
it is made extra difficult if your french is not advanced enough
to understand technical lingo
Banner Linking - Referral Logging
We have several Flash banners which open referral pages whenever user clicks them. This is done in swf and works fine.
What we want is to count "click rate", so we want the banners to direct to our (PHP) script, which will redirect to our referrals itself.
Problem is that we cannot change the swf files (it is not possible since referrals upload them freely using a special web interface), as well as we cannot force referrals to submit banners especially made to point to our redirect script.
Is there any way how to do this???
I found several answers in previous threads and nobody has solved this so far (and so far i have found ;-)
We tried to put an extra blank transparent SWF movie over the banner, but it does not seem to work, as browsers seem to draw both of them concurrently and we could not specify which banner is "on top"
Logilizer/ Flash Logging Application
HI
I have made a application for logging and searching.
Its pretty easy to use
Url:
http://www.nettvei.com/en/Log
Please comment at the site (If you want )
Logging Centralized Events From Different Clients
I am developing a Chat Application based on Flash 8 that uses a XMLSoket Connection to connect to a Server Thread.
The Server is a running thread accepting XMLSocket connections from different Clients and is used for authentification and messages broadcast.
The Client Side consists of a swf file that the users use to connect to the Server thread on a specific IP and PORT. I want to log different events and warning messages from all the Flash Clients in one single file (like a *.log file) located on the server on which the Server Thread resides. Can anyone give me some pointers on how that should be done?
Thanks. Cris
Logging Performance Stats Externally
Can I programatically obtain the kind of performance stats you see in the management interface, e.g. get a count of number of connections, number of active streams etc.
We use tools like munin and nagios for server tracking, I'd like to integrate FMS into this.
Can anyone recommend the best way to go about this?
Logging Actionscript Errors From A Projector
Hi All,
We are current working with a public display installation, and we are looking for a way to log any Actionscript (ver 3) errors Flash runs into while it is running. Is there a way to set a projector file to save a list of errors it encounters to a file? We are running the public display on OS-X 10.5. Any help would be greatly appreciated (even a push in the right direction).
We could put a heap of try/catch inside the app however the chances of catching every possibility is slight. Having a log that we can check over every few days would make life so much easier.
Logging Errors From A Flash Projector
Hi All,
We are current working with a public display installation, and we are looking for a way to log any errors Flash runs into while it is running. Is there a way to set a projector file to save a list of errors it encounters to a file? We are running the public display on OS-X 10.5. Any help would be greatly appreciated (even a push in the right direction).
We could put a heap of try/catch inside the app however the chances of catching every possibility is slight. Having a log that we can check over every few days would make life so much easier.
Cheers,
Andrew
Logging VOD Or Live: File Path Not Included?
I'm looking for a way to log VOD and live streams, preferably with a CLF style syntax.
Specifically I'd like to log the content path (directories under the root and the filename), the remote IP, timestamp and server-to-client bytes.
I'm unable to extract this info from the default logging setup. This is critical to the acceptance of FMS in our organisation, as we need extensive accounting information.
Trap The Duplicate Logging On FMS, LoggOff Old One And Accept New Instance.
Hi All,
I need help on the following topic of FMS 2.0.
On FMS Server I want to trap the duplicate logging, Logoff Old One and accept New Instance.
The scenario is like this, if a user logged in with the name “wins” on FMS Application from his Office, after some time he came to his home and want to logging again.
I want to disconnect or logoff the instance of application which is logged in from his Office and allow him to logging from his home.
Actually I want to implement the functionality like Yahoo messenger.
Yahoo messenger gives the facility to login from another system and logoff the previous instance.
So, tell me what I have to do to achieve this.
Thanks
Logging In W/flash And Php/ Can't Make Flash React To Imported Variable.
Hello,
I am using this tutorial as a reference, and can't find out where I have gone wrong: http://www.flash-db.com/Ex1/
I have been trying to use flash as a front end to a php database. So far, I have succeeded in using flash to 1) register an account, which consists of username, password, and 2) succeeded in using flash to login to the database.
Unfortunately, I haven't been able to make flash respond to logging in to the database. I can successfully send variables from the login.php to input text boxes, but I cannot use those same variables inside an 'if' statement to cause profile.swf to load into _level1.
I am certain that the problem is with my actionscripting, and not with the php.
What is going on:
Inside index.swf is a MC at _root.login that contains the input text boxes, a dynamic text box (_root.login.lstatus) and a button which successfully passes username and password vars to login.php.
login.php successfully passes variables to flash via this code: echo "&login.lstatus=logged in!&go=1";
What I am trying to do:
I'm trying to use the var "go" to instigate the loading of profile.swf into _level1.
On frame 2 of index.swf (which is at _level0)
if (go ne "") {
loadMovieNum ("profile.swf", 1, "POST");
gotoAndStop (4);
} else {
gotoAndPlay (2);
}
Here are the .fla's available for dload. Please take a look at what is going on.
http://ncgn.steeped.net/index.fla
http://ncgn.steeped.net/profile.fla
The page in progress is at http://ncgn.steeped.net
|