Adobe Cirrus In Flash App Without Flex?
Apr 1, 2012Now I am using Adobe Cirrus in my Flex app, but I think that Flex is too complicated for such simple application.
View 1 RepliesNow I am using Adobe Cirrus in my Flex app, but I think that Flex is too complicated for such simple application.
View 1 RepliesAdobe Cirrus offers a number of options for transferring data from peer to peer: Directed Routing, Object Replication and Multicasting to name a few.I just want to send the data to one specific peer, its fine for other peers to 'see' it in transit.
My experiments with Directed Routing (the obvious answer) have not gone well. all the sendto... methods fail, while NetGroup.post works fine on the same netgroup. I am concerned about using direct connections because of reliability.
Has anyone successfully implemented a one to one messaging strategy (not one to many), which can still message between non-connected peers - (Directed Routing) or solved this problem successfully?
I am considering various workarounds, but I am quite perplexed that these NetGroup methods: sendToNearest, sendToNeighbour & sendToAllNeighbours just seem to fail, for no apparent reason.
I am developing flash p2p chat. It works fine on my friends' computers (they can chat each other), but not on mine. The problem is that I have local network at home, and I think that Flash Player tries to make p2p requests to peers inside my local network.Can I check if user have local network in AS3 and up the level of network to the WWW?
View 1 RepliesI've heard a couple of people say only 50% succeed, but that sounds suspiciously low and the people saying that are probably all repeating the same rumor. My own very limited tests with various friends & colleagues work 100% of the time, as long as they have Flash Player 10, but that's obviously not right either.
Do you have some data from a largish test or deployment of home/corporate users?
I have a NetGroup established using Adobe Cirrus. All clients can connect fine and see each other, since I receive NetGroup.Neighbor. Connect and NetGroup.MulticastStream.PublishNotify events when a new stream is being published.However, if a user subscribes to a published stream, the publisher does not receive a notification (no NetStatusEvent and no callback to the onPeerConnect method). The subscriber receives the stream without problems, though.All other questions about the non working onPeerConnect method were related to NetStream.DIRECT_CONNECTIONS, but in my case, I am using a NetGroup.
What is wrong here? Only the relevant parts, a few things have been stripped (e.g. connect the netGroup only when the NetConnection has been established etc.)
var groupSpecifier:GroupSpecifier = new GroupSpecifier("group");
groupSpecifier.multicastEnabled = true;
groupSpecifier.postingEnabled = true;[code].....
I'm trying to come up with the best way to do some random match making in a simple game.While experimenting with netStreams using Adobe Cirrus, I can easily set up direct connections, send data, text, video, sound all using Cirrus which is great. I find it pretty easy to get a simple P2P connection going, and it works just like i need it to.But I really want to implement a random matchmaking feature using ONLY cirrus so everything is though p2p...How would I go about grabbing a random peer in the same group...that's not in a direct connection with someone else already?
-I was thinking maybe I could use object replication...and when someone connects to the GroupSpecifier, I could then push another object into this shared array that has the local peerID and their status. then i could just alter the array when theyre in a game. But then im worried there is no guarantee that their entry will get removed if the person just closes the web window.
-I also thought about just doing a "post" to the group containing the nearID, and other peers can get the post...and those that aren't in a game will try and direct connect back. Then that side will then connect to them. so then theyll both be in direct connections with each other. But then i feel like if potentially 100s of people that are "available"...get the post...then they all try and connect to one person, then it could cause problems.
-Also, I thought about just doing sendToNearest...but wouldnt that not be the best way to match people...because you can only have so many neighbors i think... if there were 1000 people in the group. youll only be able to connect to a few peers actually considered your neighbor right? Then basically you could end up just matching up with the same 5-10 people or however are technically considered a neighbor.
I dont want to connect to a server over socket. I would like to know if it is possible to connect from one AIR app on machine A to connect to another AIR app on machine B via sockets without cirrus. I'm not asking for someone else to do my work, I couldnt find any documentation or possibility of the above thing. My conclusion now is that it is not possible, but I would just like it to be verified by other people(experts).
View 2 RepliesIs it true that Flash p2p cannot be done without Cirrus/LiveCycle Collaboration Service? I've seen a similar question on SO and it is claimed there that it cannot be done. So, why not? Also, I've seen comrade back2dos had some thoughts on the problem, but he was downvoted
View 4 RepliesI am interesting in creating a P2P application using Cirrus [URL]. The examples given create a connection with servers managed by Adobe. I'd like to do this on my Node.js server, how should I implement this? Or does Adobe force developers that use Cirrus to buy Flash Media Servers?
View 1 RepliesMultiple axis creation via MXML works fine:
http:[url]...
But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?
<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....
I have some shared code between an Adobe AIR App and an Adobe Flex App.
On one line of this code, the program must behave differently depending on if it is running within the Air runtime, or the Flex runtime.
How can I programmatically detect the difference?
I am using flex. But i find it hard.Should i use Adobe flash so that i can insert the components by drag and drop
View 1 Repliesis it possible to use Video Phone (Cirrus Sample Application) with FMS4?It seems to be possible because in Video Phone source can be found these text: rtmfp server address (Adobe Cirrus or FMS)[Bindable] private var connectUrl:String [code]
View 6 RepliesThere is Flash Builder product by Adobe Flash.Is it possible to use Adobe Flash product as Flash Builder when working with FLEX SDK? Have you the experience?
View 2 RepliesWhat Approach can you use to Connect Adobe Air Application to a Local Network? Examples of function is send a message to other computer that is connected to a network, sending files or viewing their desktop.
View 1 Repliesi would like to add nice animations and other graphics to my application. do i need to use flash to create partial swf files and to load them or is there another way?
View 2 RepliesHow to add images into Adobe Flex RichTextEditor control? I mean using a button =)
So we have some text editor with RTE a-la
We want to get into its content images using some button. How to do such thing?
BTW: I found this [URL] but I really do not understand how to make it work so if any one can publish simple project with simple (DIRTY IS OK) source it would be grate!)))
I am working on a game in flex, and I am trying to figure out how to create menus in the game. I am was thinking it would be easy just to add and remove a child for the menu, but then it would be a pain to make interactive.I am trying to do both a pop up menu and an always on screen menu, like a bottom menu bar, so if anyone has any ideas please let me know. I am completely new to flash and flex and don't really know where to start past making the actual game.
View 2 Repliesif I can create a SWF in Flex WITHOUT using Flash Builder ?
View 4 RepliesWith Adobe now you can make Flash/Flex compile to the iPhone and iPad. How does that compare to MonoTouch? Does the Adobe solution really compile into native iOS code? Or is it just a iOS Air container that runs your code which is able to access the natife iOS calls through the Air container? I'm wondering what is different with Adobe compared with MonoTouch. I just want to know the differences between the two technologies. If any. Or do they work exactly the same way on principle.
View 3 RepliesI am trying to generate XML file in Adobe Flex 4.6. This is my code.
public var prefsFile:File;
[Bindable] public var prefsXML:XML;
public var stream:FileStream;
[code].....
Adobe flash: How to determine users CPU characteristics? (its mhz, its current ocupation) I need to know how fast is users computer now, and I have only 150 ms for it. How to do such thing in actionscript?
View 2 Repliesi have searched a lot but could not find the exact way to do this. you will understand better if you will look once this page. freescale. open this in IE.Here is my scenario... click om power Actuation present in leftnav under Analog & Power Management. you will get result table and above that i have a container which shows different filter criteria. now find a filterable header(match header name with filter header) that is out of the screen fold to the right.then Choose a value for filter exercise, filter by it. now here my problem arises after reloading the results, the table-view comes back to it's starting position, which creates the confusion to end user about the results.
[Code]...
I am trying to add a search field to an Adobe Flex project and when you type in the newly created search field, I get the following Error:[code]
View 2 RepliesI am trying to have radio button on adobe flash. I have the following code
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
[code].....
I have a column chart that I made using Adobe Flash Builder.
I'd like to be able to dynamically add (or remove) column series.
have no experience in Adobe Air/Flex and wanna know, Are there some principles(design patterns) for develop Adobe Air/Flex applicati
View 4 RepliesIn my machine I have installed only Adobe Flash CS5 proffesional trial version. Now this installation is not supporting adobe.utils.Extension class in this version. I have tried with all latest updates from adobe site. My doubt is does adobe.utils.Extension class is available in licensed version of Adobe Flash CS5 proffesional?
View 12 RepliesI want to create a simple game (Adobe Air) based on 2 players using ActionScript 3.Let's assume I want to create online chess game.So that I can play with my friend at work, at home, from anywhere via internet.Should I use flash server? Or something similar for this purpose, or there is simpler way to connect 2 players and make fully functional interaction between them?
View 2 Repliesdifference between key code and character code. For example, the number 1 (one) and the character ! (bang) both have the same key code but different character codes. Likewise, the number 7 from the row of numbers and the number 7 from the numpad have different key codes but the same character codes.
I'm programming a music rhythm game in Adobe Flex and would like to bind keyboard keys. This isn't a problem, but I certainly would have a problem, say, setting the default keys to A, S, D, and F and telling the user that this is the case.If you take a look at the documentation for flash.ui.Keyboard, you'll see that there are constants for keyboard keys to key codes. However, these are only available in Adobe AIR and not the browser. This makes sense since not all operating systems and keyboards are alike (or present!), so key codes can vary.
So, how can I assign default keys that have meaning instead of picking key codes and praying?My only sane thought is to store the character codes for the key bindings and then provide an character code to String mapping so I can tell the user what to press. However, my gut tells me that this will break in subtle or not-so-subtle ways. Like CAPSLOCK.