[Flashcoders] should this work?
I have an application on my computer which is simply a socket listening for a connection on 127.0.0.1 port 5824. So, in AS3 I created a swf with the following code var sock:XMLSocket = new XMLSocket(); sock.connect(127.0.0.1,5824); and uploaded it to my server. Now, when I go to the web page where I uploaded the .swf, it connects to the socket in my local application -- giving me the ability to issue commands from Flash to the local machine. Repeat: the swf is running from the web server, not in the Flash sandbox... Is that correct? Or if I do try to create some Flash-localhost hybrid, will I get bitten by some sandbox/security issue in the future? ___ 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] should this work?
COOL!! On Feb 13, 2007, at 4:22 PM, Ron Wheeler wrote: It would seem to be alright. If the computer opening the socket is accepting messages from Flash, why would the FlashPlayer care about that. It can not possibly tell if the person who wrote the server application at the other end of the socket has compromised the server The server administrator is letting the socket be opened so once again, why should the FlashPlayer care. The fact that the server is 127.0.01 and th server administrator is the same person driving the browser should all be lost on Flash. Flash did not break the user's security. The user did when the socket was opened up. Anyone who can get to that socket can do whatever the socket allows. On a LAN, this will be fun for hackers. Ron Lance Massey wrote: I have an application on my computer which is simply a socket listening for a connection on 127.0.0.1 port 5824. So, in AS3 I created a swf with the following code var sock:XMLSocket = new XMLSocket(); sock.connect(127.0.0.1,5824); and uploaded it to my server. Now, when I go to the web page where I uploaded the .swf, it connects to the socket in my local application -- giving me the ability to issue commands from Flash to the local machine. Repeat: the swf is running from the web server, not in the Flash sandbox... Is that correct? Or if I do try to create some Flash-localhost hybrid, will I get bitten by some sandbox/security issue in the future? ___ 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
[Flashcoders] job
Sorry for being a bit off topic. The company I'm working for *really* needs high end actionscripters with solid PHP experience. Please email me if you're available, or if you know somewhere else I can find people. Thanks, Lance http://www.intertechmedia.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] List Components, matrix data, and object properties
I create a playlist which is an array of tracks. Each track has a title, an id, an artist, and a URL. Magically, when I set my List Component's dataProvider to playlist, it shows all the titles. But the real miracle is that when I click on a title all the track properties corresponding to that title are available. Does this means the List component holds 2D data (I thought is was a list only)? And is it safe to assume this is not anomalous behavior, but something I can count on for the future (because this *really* makes life much easier)? L GorillaPop - Connecting People Through Music http://www.gorillapop.com/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] onSoundComplete
onSoundComplete does not seem to be firing. I've noticed others have had the same issue. Has anyone come up w/ a solution? Thanks, L GorillaPop - Connecting People Through Music http://www.gorillapop.com/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] onSoundComplete
I have a spider which streams files from all over, so I don't have the option of modifying the id3... :( My dodgy work around: var pos_timer = setInterval(checkPlayTime, 1000, theMP3); function checkPlayTime(s1:Sound){ curPos = s1.duration-s1.position; if (curPos200) { clearInterval(pos_timer); nextTrack();// function to get and play next track in the playlist... } }; Clumsy, but it works (http://www.gorillapop.com/gorilla/xspf/ xspf.html is a demo) L GorillaPop - Connecting People Through Music http://www.gorillapop.com/ On Jan 12, 2006, at 8:32 PM, Ramon Tayag wrote: It works just fine with me. Before I start, I make sure I fill up the TLEN of all the songs. I use TLEN for another reason but that's the only thing I can think of that I do to all my files. It might work. Goodluck On 1/13/06, Lance Massey [EMAIL PROTECTED] wrote: onSoundComplete does not seem to be firing. I've noticed others have had the same issue. Has anyone come up w/ a solution? Thanks, L GorillaPop - Connecting People Through Music http://www.gorillapop.com/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Ramon Miguel M. Tayag ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] tossable boxes and editing text
Hey all, I'm working on yet another XSPF mp3 player for my site. A couple of the boxes are tossable (e.g. if you drag and let go, they float to a stop), but when I try to make the Search box tossable I can no longer enter text into the search field. Any ideas? (It seems to be an issue with using enterFrame to control the animation) Also -- any suggestions on implementing drag 'n' drop between the lists? Thanks, L The demo is at: http://www.gorillapop.com/gorilla/xspf/xspf.html ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders