actionscript

UDP real-time games in Flash/Flex available Open source RTMFP implementation

醉酒当歌 提交于 2019-12-20 10:33:18
问题 Are there any examples of using the Flash 10 beta RTMFP UDP based protocol to build real-time Flash games. The RTMFP examples so far seem to focus on P2P networking between flash clients does anyone know of any examples of traditional client/server UDP based communication over RTMFP. Does anyone know the ability of RTMFP to do NAT firewall punch-through to allow clients to "host" real-time games. Imagine being able to over the web through flash client perform XBox live-like matchmaking and

Is it possible to do a traceroute in the browser?

时间秒杀一切 提交于 2019-12-20 09:55:41
问题 I'm looking for a way to do a traceroute client-side, i.e. in a browser. As far as I know, it's not possible to send ICMP, UDP or TCP packets with arbitrary TTL values via Javascript or Flash. I know Flash allows TCP connections via the Socket class in Actionscript but it doesn't seem useful for a traceroute implementation. Is the only solution to develop a browser plug-in ? EDIT : I just found out that it has been done with a Java applet: http://www.codefromthe70s.org/traceroute.aspx The bad

displaying charts in browser while keeping data safe

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-20 07:35:48
问题 I have recently been exploring the different options for displaying charts in a browser. I have tried using the d3js library, google charts, java applets and actionscript(Flash). My research shows that people are moving away from flash and java. This makes d3js an attractive option. Though I see the value in using d3js I have an issue: Simply right click and 'view source' and one can see the raw data going in to the chart. This is why I considered flash and java since the source can not be

Dealing with infinite/huge worlds in actionscript 2

心已入冬 提交于 2019-12-20 07:15:22
问题 How are infinite/huge procedural generated worlds achieved with minimal lag in actionscript 2? In a game like Terraria or Minecraft for example. What would the best way to go about handling huge world like this be? Obviously looping through every block and moving them that way won't work. I've tried placing blocks into 50x50 'chunks' and then moving each of the chunks, but the result isn't anywhere near as smooth as it should be. Is there any way to completely disable sections of the map if

Collision Detection in Flash Functionalities? (hitTestObject)

拜拜、爱过 提交于 2019-12-20 07:04:49
问题 Hello, so I've been recently using hitTestObject to detect collisions in an android app I'm making. After testing for a bit, I realized that the game was detecting "fake" collisions. What I mean by this is that it was detecting a collisions not when the pixels of an object(s) are touching, but (after doing a bit of research) I found out that the boxes of the objects where colliding. So I had the game stop with a collision, and this is how it looks like: I tried outlining the two object's

Javascript to Flash communication doesn't work

你说的曾经没有我的故事 提交于 2019-12-20 06:09:19
问题 I'm trying to control a flash player from javascript, i did as i saw on the internet and i get an "not supported" error here what i've wrote: on js: function getFlashMovieObject(movieName) { if (window.document[movieName]) { return window.document[movieName]; } if (navigator.appName.indexOf("Microsoft Internet")==-1) { if (document.embeds && document.embeds[movieName]) return document.embeds[movieName]; } else // if (navigator.appName.indexOf("Microsoft Internet")!=-1) { return document

What is the best way to calculate Age using Flex? [closed]

社会主义新天地 提交于 2019-12-20 06:07:17
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . What is the best way to calculate Age using Flex? 回答1: I found an answer at the bottom of this page in comments section (which is now offline). jpwrunyan said on Apr 30, 2007 at 10:10 PM : By the way, here is how to calculate age in years (only) from DOB without needing to account

What is the best way to calculate Age using Flex? [closed]

可紊 提交于 2019-12-20 06:06:16
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . What is the best way to calculate Age using Flex? 回答1: I found an answer at the bottom of this page in comments section (which is now offline). jpwrunyan said on Apr 30, 2007 at 10:10 PM : By the way, here is how to calculate age in years (only) from DOB without needing to account

Hiding nodes in a flex tree component keeping the children visible

流过昼夜 提交于 2019-12-20 05:59:15
问题 I have a tree with a dataprovider which takes the following form: <details name="Cars"> <contact_person>aaaa</contact_person> <list> <car type="A"> <car name="A1"/> <car name="A2"/> </car> <car type="B"> <car name="B1"/> <car name="B2"/> </car> </list> </details> I want the tree to be shown like this Cars A A1 A2 B B1 B2 That is I want to hide the contact_person and list nodes.Deleting the nodes from the dataprovider cannot be done.So what i did was to create a custom tree data descriptor by

use flash action script to develop online games

不想你离开。 提交于 2019-12-20 05:04:01
问题 For short: can you tell me some great resource to study if I want to develop online games using flash technology? Including 3D games. 回答1: You can start with the newly released Flash Platform Game Technology Center on Adobe Devnet. There are quite a few books out there on as3 games, I'll try not to repeat the ones already mentioned: The Essential Guide to Flash Games: Building Interactive Entertainment with ActionScript (source: friendsofed.com) This is a great book, tons of great examples,