Cesar Aracena
asked on
Have Flex application read WordPress username
Hi all,
I have to start saying that I'm absolutely new to Flex and AS but I'm a quick learner and very enthusiast.
I want to make my own FLV movies player for my CMS (WordPress powered) and one of the functions I want is a text chat. There will be live streams and I want viewers to send comments and questions to the presenter of the show, but only to registered members.
Just as information, I'm using a Wowza Media Server to handle both videos and text chat.
I've already have an example of a simple chat application made in Flex that connects to my server and works pretty well so I have the "base" for the application. I do need to modify it so people don't have to enter the server's address they want to connect to (just mine) and take the nickname out putting the WordPress username automatically in there (and graying out the chat if the visitor is not a registered member).
Anyone knows how to do this?
I have to start saying that I'm absolutely new to Flex and AS but I'm a quick learner and very enthusiast.
I want to make my own FLV movies player for my CMS (WordPress powered) and one of the functions I want is a text chat. There will be live streams and I want viewers to send comments and questions to the presenter of the show, but only to registered members.
Just as information, I'm using a Wowza Media Server to handle both videos and text chat.
I've already have an example of a simple chat application made in Flex that connects to my server and works pretty well so I have the "base" for the application. I do need to modify it so people don't have to enter the server's address they want to connect to (just mine) and take the nickname out putting the WordPress username automatically in there (and graying out the chat if the visitor is not a registered member).
Anyone knows how to do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
For some special cases, you can use Flex Remoting, Web Sevices
I have used Flex Remoting to get user credentials, session variables, etc.
I have used Flex Remoting to get user credentials, session variables, etc.
ASKER
Both links will be usefull. I think both approaches will be difficult to implement as I don't have a lot of control (if any) over WordPress' PHP or JavaScript but I'll see the light... eventually.
I guess it would be much easier to implement on a standard WordPress powered website but I have my WP and vBulletin connected using some "handle-with-care" plugins for users namagement and I can break everything while playing with source code (PHP or JS). I'll give it a shot... thank god for daily backups ;)