Re: [Flashcoders] Grab IP address
I want to develop a little Flash widget, with a character that 'read' some news. The news are loaded dynamically, like .mp3 files, and are 'generated' by a RSS feed, so they change continuously. The question is: given that I want provide the character with a simple lips move, there is a way to obtain - from a loaded .mp3 file - when the voice (the sound) is talkin' and when not, so I can start-and-stop the lips animation consequently? Maybe something about volume level... I need help for MX 2004 Pro, not 8. Any suggest (or tut, .fla and similar) will be very appreciate. * Enrico Tomaselli * web designer [EMAIL PROTECTED] http://www.metatad.it * Skype: MetaArt RSS: http://www.metatad.it/mnfeeder.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Grab IP address
i don't see what this has got to do with IP addresses :P have a look at marmalade media's FlashAmp, swiftMp3(if it's still around), failing that use AS3... MetaArt wrote: I want to develop a little Flash widget, with a character that 'read' some news. The news are loaded dynamically, like .mp3 files, and are 'generated' by a RSS feed, so they change continuously. The question is: given that I want provide the character with a simple lips move, there is a way to obtain - from a loaded .mp3 file - when the voice (the sound) is talkin' and when not, so I can start-and-stop the lips animation consequently? Maybe something about volume level... I need help for MX 2004 Pro, not 8. Any suggest (or tut, .fla and similar) will be very appreciate. * Enrico Tomaselli * web designer [EMAIL PROTECTED] http://www.metatad.it * Skype: MetaArt RSS: http://www.metatad.it/mnfeeder.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- __ Tom Rhodes - Developer / Composer Wheelhouse Creative Ltd, 2 Albion Place, Hammersmith, London. W6 0QT Tel: 020 8748 4466 Fax: 020 8748 4850 www.wheelhousecreative.co.uk __ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Grab IP address
Come the f**k on. I googled get ip with javascript First result: http://www.rgagnon.com/jsdetails/js-0019.html SCRIPT var ip = new java.net.InetAddress.getLocalHost(); var ipStr = new java.lang.String(ip); document.writeln(ipStr.substring(ipStr.indexOf(/)+1)); /SCRIPT Do a little research before you ask questions, vampire. ;) http://www.slash7.com/pages/vampires -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MetaArt Sent: Monday, May 15, 2006 2:14 AM To: Flashcoders mailing list Subject: [Flashcoders] Grab IP address There is a way, automate or based on any user input, that give a chance to grab the user IP address by a Flash movie? I'm in search of something without use of any server-side language, so just full Flash, or Flash/JavaScript can be good. Any suggest? Link to .fla or tutorial are really appreciate * Enrico Tomaselli * web designer [EMAIL PROTECTED] http://www.metatad.it * Skype: MetaArt RSS: http://www.metatad.it/mnfeeder.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Grab IP address
Come the f**k on. I googled get ip with javascript First result: http://www.rgagnon.com/jsdetails/js-0019.html SCRIPT var ip = new java.net.InetAddress.getLocalHost(); var ipStr = new java.lang.String(ip); document.writeln(ipStr.substring(ipStr.indexOf(/)+1)); /SCRIPT Pretty funny that this is Java code, not at all what the original poster asked. Do a little research before you answer questions, vampire. ;) Nicolas ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Grab IP address
Did you actually try this solution? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: 15 May 2006 10:19 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Grab IP address Come the f**k on. I googled get ip with javascript First result: http://www.rgagnon.com/jsdetails/js-0019.html SCRIPT var ip = new java.net.InetAddress.getLocalHost(); var ipStr = new java.lang.String(ip); document.writeln(ipStr.substring(ipStr.indexOf(/)+1)); /SCRIPT Do a little research before you ask questions, vampire. ;) http://www.slash7.com/pages/vampires -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MetaArt Sent: Monday, May 15, 2006 2:14 AM To: Flashcoders mailing list Subject: [Flashcoders] Grab IP address There is a way, automate or based on any user input, that give a chance to grab the user IP address by a Flash movie? I'm in search of something without use of any server-side language, so just full Flash, or Flash/JavaScript can be good. Any suggest? Link to .fla or tutorial are really appreciate * Enrico Tomaselli * web designer [EMAIL PROTECTED] http://www.metatad.it * Skype: MetaArt RSS: http://www.metatad.it/mnfeeder.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Grab IP address
This looks like what you might be looking for, I havnt tested it (or even read passed the first page :) but I think that your best be t is to find a free web service that you can access with actionscript. http://www.strikeiron.com/ProductDetail.aspx?p=149 Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MetaArt Sent: 15 May 2006 10:14 To: Flashcoders mailing list Subject: [Flashcoders] Grab IP address There is a way, automate or based on any user input, that give a chance to grab the user IP address by a Flash movie? I'm in search of something without use of any server-side language, so just full Flash, or Flash/JavaScript can be good. Any suggest? Link to .fla or tutorial are really appreciate * Enrico Tomaselli * web designer [EMAIL PROTECTED] http://www.metatad.it * Skype: MetaArt RSS: http://www.metatad.it/mnfeeder.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Grab IP address
Do a little research before you answer questions, vampire. ;) It doesn't matter if that link works or not. I dind't care to verify and I wasn't providing a solution. The point is there are tons of other links that point towards the solution with one google search. Be a little more resourceful. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Grab IP address
problem with the webservice from as is that the sandbox will kick in. it has to be proxied via the server (which then makes the java sollution valid) or you have too hope that they have a crossdomain policy file. On 5/15/06, Jim Tann [EMAIL PROTECTED] wrote: This looks like what you might be looking for, I havnt tested it (or even read passed the first page :) but I think that your best be t is to find a free web service that you can access with actionscript. http://www.strikeiron.com/ProductDetail.aspx?p=149 Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MetaArt Sent: 15 May 2006 10:14 To: Flashcoders mailing list Subject: [Flashcoders] Grab IP address There is a way, automate or based on any user input, that give a chance to grab the user IP address by a Flash movie? I'm in search of something without use of any server-side language, so just full Flash, or Flash/JavaScript can be good. Any suggest? Link to .fla or tutorial are really appreciate * Enrico Tomaselli * web designer [EMAIL PROTECTED] http://www.metatad.it * Skype: MetaArt RSS: http://www.metatad.it/mnfeeder.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Grab IP address
I guess for every vampire there's someone willing to stick their neck out... and then complain about the bite marks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: 15 May 2006 10:35 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Grab IP address Do a little research before you answer questions, vampire. ;) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Grab IP address
And you bothered answering the question in the first place, why? ... Steven Sacks wrote: Do a little research before you answer questions, vampire. ;) It doesn't matter if that link works or not. I dind't care to verify and I wasn't providing a solution. The point is there are tons of other links that point towards the solution with one google search. Be a little more resourceful. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Grab IP address
Well, controversies apart, the Google search don't match good result... apparently, JavaScript IP grab can be done only on Mozilla, and with Java enabled, and this isn't good for my goal. I'm developing a widget, and I need a way to check the owner IP, to ban a self, improper, use. Cause the way the widget can be inserted in a web page (just some rows of code, but necessarily only JavaScript and/or Flash embed, because I can't know if the user can modify his page(s) to php...), I need an approach that match some simply rules: - easy and crossbrowser way to insert in web page(s) - a trustwhorty way to identify the owner, to avoid that in case he should use the widget I think that the better way to achieve this goal is grab the IP. Actually, I can grab the IP, via PHP, when the user come to get the code... but, however, I have always a doubt about it: is this the better solution to achieve my goal? Tell me your opinion... * Enrico Tomaselli * web designer [EMAIL PROTECTED] http://www.metatad.it * Skype: MetaArt RSS: http://www.metatad.it/mnfeeder.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Grab IP address
Hi, i'd go with the server side solution instead of depending on java running. Let's face it, if we all had such great confidence in java we'd be posting on the javadev list:) (ok erase that comment). Anywayz, php makes for a good solution i think, but I believe standaard ssi env vars will do the trick as well? eg if ssi is configured for your webserver and you use the vars from http://hoohoo.ncsa.uiuc.edu/cgi/env.html see http://httpd.apache.org/docs/1.3/howto/ssi.html as well. What you are suggesting, if i got it right, to not allow the user to download the code at all, if his ip was already banned, seems good to me too:). grtz H -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MetaArt Sent: Monday, May 15, 2006 1:21 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Grab IP address Well, controversies apart, the Google search don't match good result... apparently, JavaScript IP grab can be done only on Mozilla, and with Java enabled, and this isn't good for my goal. I'm developing a widget, and I need a way to check the owner IP, to ban a self, improper, use. Cause the way the widget can be inserted in a web page (just some rows of code, but necessarily only JavaScript and/or Flash embed, because I can't know if the user can modify his page(s) to php...), I need an approach that match some simply rules: - easy and crossbrowser way to insert in web page(s) - a trustwhorty way to identify the owner, to avoid that in case he should use the widget I think that the better way to achieve this goal is grab the IP. Actually, I can grab the IP, via PHP, when the user come to get the code... but, however, I have always a doubt about it: is this the better solution to achieve my goal? Tell me your opinion... * Enrico Tomaselli * web designer [EMAIL PROTECTED] http://www.metatad.it * Skype: MetaArt RSS: http://www.metatad.it/mnfeeder.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Grab IP address
It also depends which IP you want to display. Do you want to display the IP of the client machine or the external IP as seen on the internet? You have to watch out these are not the same as the user might be behind NATs/proxies. For a client-only solution: (wild guess) I think your only chance is to make a socket connection back to your server and look at some of the structures involved in the connection?- The external IP might be available in there (really not sure). I do not know enough about NATs to know if it is even possible(!). The better/safer way is surely a server-based solution. If you want the IP of the client machine - then you will have to look at a flash / javascript / Java solution running on the client machine. One of the core problem is that some connections might not even use TCP/IP and thus there are no IPs involved at all. For example: if you open an html page located on your local hard drive. So any solution you might have on the client side will be some kind of hack one way or the other. I think it can't be standard. B. 2006/5/15, j.c.wichman [EMAIL PROTECTED]: Hi, i'd go with the server side solution instead of depending on java running. Let's face it, if we all had such great confidence in java we'd be posting on the javadev list:) (ok erase that comment). Anywayz, php makes for a good solution i think, but I believe standaard ssi env vars will do the trick as well? eg if ssi is configured for your webserver and you use the vars from http://hoohoo.ncsa.uiuc.edu/cgi/env.html see http://httpd.apache.org/docs/1.3/howto/ssi.html as well. What you are suggesting, if i got it right, to not allow the user to download the code at all, if his ip was already banned, seems good to me too:). grtz H -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MetaArt Sent: Monday, May 15, 2006 1:21 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Grab IP address Well, controversies apart, the Google search don't match good result... apparently, JavaScript IP grab can be done only on Mozilla, and with Java enabled, and this isn't good for my goal. I'm developing a widget, and I need a way to check the owner IP, to ban a self, improper, use. Cause the way the widget can be inserted in a web page (just some rows of code, but necessarily only JavaScript and/or Flash embed, because I can't know if the user can modify his page(s) to php...), I need an approach that match some simply rules: - easy and crossbrowser way to insert in web page(s) - a trustwhorty way to identify the owner, to avoid that in case he should use the widget I think that the better way to achieve this goal is grab the IP. Actually, I can grab the IP, via PHP, when the user come to get the code... but, however, I have always a doubt about it: is this the better solution to achieve my goal? Tell me your opinion... * Enrico Tomaselli * web designer [EMAIL PROTECTED] http://www.metatad.it * Skype: MetaArt RSS: http://www.metatad.it/mnfeeder.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Grab IP address
thanx 2 all for suggestions and comments... * Enrico Tomaselli * web designer [EMAIL PROTECTED] http://www.metatad.it * Skype: MetaArt RSS: http://www.metatad.it/mnfeeder.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com