Re: [flexcoders] Red 5 Flv Player

2008-05-15 Thread Chris Allen

Hi Sajid,

Sorry that I didn't notice this email earlier. Buffering can be  
tricky. ;)


Before you go to far down the line of developing your player, you  
might want to look at the Jedai project first. We are building a whole  
framework and a series of components to work with Red5 and FMS. Please  
ask the guys there about your question, and it might be nice to have  
your help on the project. The FLV Player component would be a needed  
addition to the project.


http://jedai.googlecode.com or contact Project leader Dominick  
Accattato at dominick (at) infrared5.com.


-Chris

On May 8, 2008, at 4:46 AM, Sajid Hussain wrote:



Dudes ,

I m creting Flv player for red 5 , all functions are mostly done but  
I m stuck with its buffering bar . u may say I dont have more  
knwoldge about buffer :P

but could any one suggest how to create buffer bar ?

Sajid
Pakistan


Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  
Try it now.







Re: [flexcoders] flex bluetooth.

2007-03-05 Thread Chris Allen
Jim's right. This is way beyond the scope of Flex by itself.

I feel like a broken record because I keep suggesting Red5
(http://osflash.org/red5) on this list, but in this case (like many
others) It could be just what you need. It in this scenario Red5 would
be used as a sort of proxy to do the Bluetooth communication.

There are some Java libraries for bluetooth that you could hook up and
use with Red5. Or you could use JNI to do the communication to a C++
application. Then you could have calls from Flex/Flash sent either
through RTMP or remoting then get broadcasted to your Bluetooth device
via this Java API.

There's also a book on the subject of using Bluetooth with Java:
http://www.amazon.com/Bluetooth-Java-Bruce-Hopkins/dp/1590590783

I certainly think that it would be a pretty cool and novel way of
using these technologies. I would love to hear more about it if you
have some success getting this to work.

I hope this helps and good luck.

-Chris

On 3/2/07, Jim Cheng [EMAIL PROTECTED] wrote:
 Tom Chiverton wrote:

  Does the bluetooth keyboard work without Flex, i.e. with Notepad ?
  If not, it's not Flex's fault, and we can't help.

 If it's something that's not handled natively by Windows (for instance,
 Bluetooth keyboard or mouse), getting it to work with Flex is probably
 beyond the scope of this list.

 Gunadi's best bet at that point would be to access the appropriate
 driver for the device using an adapter program and exposing the API to
 it for Flex to use via a socket or ActiveX control.  If an ActiveX
 control already exists for accessing the particular Bluetooth device, a
 third party extender like Zinc or SWF Studio might be able to do the
 trick via direct API calls.

 Unfortunately, such solutions are more hackish than not and are unlikely
 to work well outside of IE (with additional trusted ActiveX controls) or
 a third party wrapper to the SWF.

 Jim Cheng
 effectiveUI



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






Re: [flexcoders] Re: FDS/Hibernate Sample of updating hierarchical list of values

2007-02-27 Thread Chris Allen

Hi Simon,

I'm one of the leaders for the Red5 project (http://osflash.org/red5), and I
also run a consulting business focused on Flash, Flex, Java and Red5.

I saw this post that you sent to the Flexcoders list about the troubles that
you are having with FDS and Hibernate. I thought that it might be worth your
while to look at Red5. Integration with Hibernate through the Spring context
is really well established and of course Red5 is open source so you could
conceivably fix any problems that might arise. I know that others have
successfully integrated Red5 and Hibernate with little or no problems. It
would be great to get more people to look at using Red5 as an alternative to
FDS. Right now, I don't think that people realize that you can even do this,
not to mention the power in doing so.

Anyway, feel free to contact me if you have any questions, and good luck
with your project.

-Chris

On 2/23/07, simonjpalmer [EMAIL PROTECTED] wrote:


  PW and Jeff,

PW, you and I seem to be in the same boat. I am trying to fight off
the people who were flex skeptics to start with. Not being able to
write data back makes the whole thing look pretty amateur and confirms
people's belief that the technology isn't ready - which given this
experience it clearly isn't. The baby is definitely at risk of being
thrown out with the bath water. It stands in our company simply
because I have the final call as Technical Director (CTO if you are in
the US).

I am a huge flex advocate and really doing my best to evangelise on
the topic. What's more I think that the bridge to operational data is
the most profound leap forward for flash, it takes it out of the world
of gimicks and into the world of real business applications.

Jeff, you and your and team deserve huge credit for that vision and
excellent execution.

However, much as it pains me to say it, the bottom line is that the
hibernate middle tier provided does not work, as PW and I (and a host
of other people on various forums) have found. I know that I can
re-write the whole thing myself and will probably have to, but when
introducing new technologies it is unfortunately all about initial
perception.

I have made a career of doing this sort of thing myself and I have
seen excellent projects fail to fly because of low initial quality,
even though we fixed them immediately, the damage was done because
people's impression was that they were flaky. I'm sure you know it is
hard to get back from that first impression and the word of mouth that
springs from it. Once it becomes entrenched that opinion becomes fact
and you are irrevocably lost. If I were Adobe I would be a little
worried about the tone of the posts I am seeing about integration with
Hibernate.

The Hibernate Assembler is very important and I would really hate to
see that happen to it. The corollary is very unfortunate. That
little bit of technology transform the boardroom conversation about
FDS. Suddenly the cost of the licensing of FDS becomes justifiable
against the dev cost savings because we can just plug into the ORM.
Having made that justification myself it is very difficult for me now
to go back and say, by the way I also have to incur the dev costs.
When asked why? I have to confess that the Adobe code doesn't work and
we don't know when we're getting a fix. For the Flex/Flash skeptics
in the room that's a god send.

For me it is a complete nightmare. It is hard for me to separate the
cost of FDS licenses (which is almost prohibitively large) against the
cost of dev. I would urge Jeff and Co to get the Hibernate Assembler
code watertight and shipping asap. If I can be of any assistance I
will gladly offer my services.

If either of you would like to contact me, post a reply and I will
happily give you my details.

Simon Palmer
Technical Director
The PMCo
62 St Peters Street
St Albans
HERTS AL1 3HG
UK

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
parkerwhirlow [EMAIL PROTECTED]

wrote:

 Thats very unfortunate. I'm getting farther and farther into hot water
 not being able to reliably update our data model using Flex.

 Last it was just wait for 2.0.1, there's a lot of Hibernate/FDS fixes
 in it and now we're waiting for another unknown amount of time for
 fixes we can only hope will help our situation.

 I'm apologize, I understand it's not your fault, and I really
 appreciate the insight you provide as to what can be causing our
 problems, I'm just getting up to my neck in unsolved problems.

 If you have any insight as to roughly when this next release could
 occur, can you tip me off?

 thanks,
 PW

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Jeff
Vroom jvroom@ wrote:
 
  I have finished making the changes and the use of the merge call
seems
  to be a) much simpler and b) more robust than the way the current code
  works.
 
 
 
  Unfortunately we've made enough changes to the code surrounding the
  HibernateAssembler so I can't just send you the updated file and

Re: [flexcoders] Re: FDS and licensing issues

2007-02-23 Thread Chris Allen

Chaitanya,

Depending on what you are doing with FDS you could more than likely use Red5
in its place. Red5 is now supporting AMF3 with remoting and RTMP sockets. It
also does video and audio streaming, which FDS doesn't do. We have been
building a few applications using Flex2 and Red5, and so far things have
been going well. One thing to keep in mind though, is that Red5 is still
pretty new and still under heavy development. At any rate, you way want to
look into it as it's an open source solution.

I'm one of the leads of the project so of course I'm coming at this with a
bias. Just want to clarify that before some people jump all over me for
suggesting Red5.

Best of luck.

-Chris

On 2/23/07, Chaitanya Mutyala [EMAIL PROTECTED] wrote:


  thanks jayson

but my system uses and requires multiple CPU machines.

-Chaitanya


On 2/22/07, Jayson [EMAIL PROTECTED]  wrote:

   This is copied right from the Adobe download page for Flex and FDS

 Flex Data Services 2 Express
 A powerful solution for creating data-intensive rich applications.
 The Express edition is a free, non-expiring commercial-use product
 for applications deployed on a single machine with no more than one
 CPU.

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 chaitanya raja
 [EMAIL PROTECTED] wrote:
 
  Hmm.. I guess you could classify this as a rant. Anyways, here it
 goes.
 
  Could someone please suggest what i could do.
  Consider, I am a small software firm and I create a product which i
  sell to different companies. I think Flex and FDS provides me a
 really
  good implementation of part of my product. There are other options
  available for the functionality, but I do like Flex. But then
 again,
  should i pay the huge sum that FDS costs me for every sale I make? I
  think this is not fair.
 
  This is my understanding of the licnesing for FDS. Let me know if
 its
  not so. Also do let me know if I have any other alternative
 licensing
  options available for FDS.
 
  Regards,
  Chaitanya
 


 



Re: [flexcoders] Java developer is glad to participate in open source Flex project.

2007-02-13 Thread Chris Allen

Why use OpenAMF when it hasn't been updated in quite a while? I say come
help us out with Red5 (http://osflash.org/red5). It does the same things
that OpenAMF does and much much more; it is also currently being developed.
Please fill out the sign up form on the site and send it to John and me.

-Chris

On 2/12/07, dorkie dork from dorktown [EMAIL PROTECTED]
wrote:


  Hi Alex,

It sounds like OpenAMF might be a good place to start as well. I would
personally like to see more support (documentation, installation docs) on
this project. Let me know what you decide (contact offlist).

On 2/12/07, Igor Costa [EMAIL PROTECTED] wrote:

  Hi Alexander

 you could start looking at Code Google
 and

 www.riaforge.com
 www.osflash.org


 Best.

 On 2/12/07, alex_s9v [EMAIL PROTECTED] wrote:
 
Hi all!
  My name is Alexander.
 
  I have a passion for Flex and I'd like to participate in open source
  flex project.
 
  I have 2 years experience with server-side java (Struts, JSF and
  Hibernate) and a little experience with Eclipse RCP.
 
  I am searching for open source flex project where I can avail and can
  improve my Flex skills.
 
 


 --
 
 Igor Costa
 www.igorcosta.org
 www.igorcosta.com
 skype: igorpcosta


 



[flexcoders] Red5 now supports AMF3

2007-02-12 Thread Chris Allen

Hey everyone,

I'm sure that some of you may have seen this, but since it should make an
impact on Flex coders, I thought that I should pass this on.

We just released a new version of Red5 yesterday, and now Red5 (
http://osflash.org/red5) is supporting AMF3, either via remoting (HTTP) or
over RTMP for push style messaging. Of course it still can also do video and
audio streaming to and from the Flash player and a whole lot more. I can't
wait to see what kinds of Flex applications people build using this new
technology!

Please try it out and let us know what you think.

A huge thanks to the entire Red5 team for their hard work!

-Chris


Re: [flexcoders] More Mac licensing issues: [WAS:: Max OS X Flex Builder 2.01 License Issue - still waiting

2007-02-06 Thread Chris Allen

On 2/6/07, Paul Andrews [EMAIL PROTECTED] wrote:


   I saw rather a neat powerbook the other day and the idea of using a
powerbook appealed until I realised I wouldn't be able to have flex on my
main PC and on a Mac Powerbook with the same licence. Stick with the Dell
then..







Well, then you HAVE to use Windows (obviously). I think that Adobe should
seriously consider revising their licensing to work on multiple platforms.
There are plenty of people that own Mac laptops and Windows desktops and
would love to have the chance to run Flex Builder on both without having to
resort to solutions like Parallels or Boot Camp.

At any rate, these guys at Adobe have been very helpful in getting to the
bottom of our issue. I really appreciate the attention that they've given to
us. The thing is, all of these issues people are reporting would not exists
if they just let us use the same license regardless of the platform, thus
saving time and money for all involved.

-Chris



- Original Message -

*From:* Shannon Hicks [EMAIL PROTECTED]
*To:* flexcoders@yahoogroups.com
*Sent:* Monday, February 05, 2007 3:36 PM
*Subject:* Re: [flexcoders] More Mac licensing issues: [WAS:: Max OS X
Flex Builder 2.01 License Issue - still waiting

I'm planning on switching to a Mac in a few months... Maybe I should start
the process for switching my Flex license now, so I have it in time :)

Shan

Xavi Beumala wrote:

 I'm having the same problems here! It's incredible but I've been trying
to transfer my win license to mac for the last 3 weeks, and today my trial
has finally expired! I won't get my license in less than a week so... this
means I can't work!

really bad
X.

On 2/3/07, Matt Chotin [EMAIL PROTECTED] wrote:

  I'll look into it.



 Matt

 Flex PM


  --

 *From:* flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED]
 *On Behalf Of *Chris Allen
 *Sent:* Friday, February 02, 2007 12:46 PM
 *To:* flexcoders@yahoogroups.com
 *Cc:* [EMAIL PROTECTED]; [EMAIL PROTECTED]
 *Subject:* [flexcoders] More Mac licensing issues: [WAS:: Max OS X Flex
 Builder 2.01 License Issue - still waiting



 To anyone at Adobe who's listening:

 I'm working on a Flex2 project for Scholastic http://scholastic.com and
 we are running into a wall in terms of getting our Flex Builder licenses
 transfered to the Macintosh platform. We purposely bought Windows versions
 knowing that it wouldn't be a problem to transfer the license when the Mac
 version became available.

 This licensing situation that we and others have experienced is
 completely unacceptable. John Dowdel, do you think that you can help us out
 a bit, or escalate the issue, as you did for others experiencing these
 problems? Or maybe Ted Patrick, you could let others there know that this is
 a major issue for people, and it should be addressed.

 Here are the issues that we are currently facing:

 1. In order to transfer the license you have to be the authorized
 purchaser of the software and Adobe won't accept a request form the actual
 end user of the license. To make it worse Adobe won't tell us who that
 person is. At a rather large organization (10,000 + employees) like
 Scholastic, finding this authorized person is really difficult to do.
 2. Even if we do find the person above, we are told that the process
 will take five days from the approved request before Adobe will issue the
 Mac license number.
 3. Currently there's no way for us to extend the trial version until
 this is worked out. We either have to install the trial on another computer
 or just wait it out.

 It's a pitty that such a great piece of software has so many barriers
 and red tape to actually use it.

 Thanks very much for you attention to this issue.

 -Chris

 On 2/1/07, *Brendan Meutzner* [EMAIL PROTECTED] wrote:

 Hi,

 Transferring licenses doesn't seem to be the only issue.  We've been
 using a trial Mac version which just expired and I put through the order for
 a Mac license online last night thinking we'd have a valid key within a few
 minutes (like we did for the PC version last summer)...  Not quite... it
 immediately showed as pending last night, and remained that way this
 morning.  So after 30 minutes on hold with customer support this morning,
 I'm told that the more expensive transactions are processed manually and
 that somebody would be reviewing the details within the next 2-3 days.
 WTF?  Since when is a $499 FlexBuilder license expensive, and even so, why
 do they need to process manually?  Really really not happy this morning...
 especially because it's pretty much impossible to find a temporary key for
 the Mac version (I didn't just say that though)...

 It's too bad that the fantastic relationship we have with the Adobe
 engineers can't spread over to the CS department a bit...


 Brendan



  On 1/25/07, *Tom Chiverton* [EMAIL PROTECTED]  wrote:

 On Wednesday 24 January 2007 19:53, John Dowdell wrote:
  What you and Ethan describe doesn't seem

[flexcoders] More Mac licensing issues: [WAS:: Max OS X Flex Builder 2.01 License Issue - still waiting

2007-02-02 Thread Chris Allen

To anyone at Adobe who's listening:

I'm working on a Flex2 project for Scholastic http://scholastic.com and we
are running into a wall in terms of getting our Flex Builder licenses
transfered to the Macintosh platform. We purposely bought Windows versions
knowing that it wouldn't be a problem to transfer the license when the Mac
version became available.

This licensing situation that we and others have experienced is completely
unacceptable. John Dowdel, do you think that you can help us out a bit, or
escalate the issue, as you did for others experiencing these problems? Or
maybe Ted Patrick, you could let others there know that this is a major
issue for people, and it should be addressed.

Here are the issues that we are currently facing:

1. In order to transfer the license you have to be the authorized purchaser
of the software and Adobe won't accept a request form the actual end user of
the license. To make it worse Adobe won't tell us who that person is. At a
rather large organization (10,000 + employees) like Scholastic, finding this
authorized person is really difficult to do.
2. Even if we do find the person above, we are told that the process will
take five days from the approved request before Adobe will issue the Mac
license number.
3. Currently there's no way for us to extend the trial version until this is
worked out. We either have to install the trial on another computer or just
wait it out.

It's a pitty that such a great piece of software has so many barriers and
red tape to actually use it.

Thanks very much for you attention to this issue.

-Chris

On 2/1/07, Brendan Meutzner [EMAIL PROTECTED] wrote:


  Hi,

Transferring licenses doesn't seem to be the only issue.  We've been using
a trial Mac version which just expired and I put through the order for a Mac
license online last night thinking we'd have a valid key within a few
minutes (like we did for the PC version last summer)...  Not quite... it
immediately showed as pending last night, and remained that way this
morning.  So after 30 minutes on hold with customer support this morning,
I'm told that the more expensive transactions are processed manually and
that somebody would be reviewing the details within the next 2-3 days.
WTF?  Since when is a $499 FlexBuilder license expensive, and even so, why
do they need to process manually?  Really really not happy this morning...
especially because it's pretty much impossible to find a temporary key for
the Mac version (I didn't just say that though)...

It's too bad that the fantastic relationship we have with the Adobe
engineers can't spread over to the CS department a bit...


Brendan



On 1/25/07, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Wednesday 24 January 2007 19:53, John Dowdell wrote:
  What you and Ethan describe doesn't seem acceptable to me either, but
  let me get some more information on this, and get back to the list
 when
  I do, good?

 Sounds great.
 Could you also try and find out if there are plans to just automate the
 whole
 process ?
 It strikes me that converting license betwen platforms shouldn't really
 require a human in the loop, if it's only done once.

 --
 Tom Chiverton
 Helping to advantageously aggregate prospective experiences

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office address
 is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
 available for inspection at the registered office. Any reference to a
 partner in relation to Halliwells LLP means a member of Halliwells LLP.
 Regulated by the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged.  If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents.  If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






--
Brendan Meutzner
Stretch Media - RIA Adobe Flex Development
[EMAIL PROTECTED]
http://www.stretchmedia.ca

 



Re: [flexcoders] FDS - POJO class data mapping - no int support?

2007-01-22 Thread Chris Allen

AFM3 uses the Integer data type on the Java side, not the primitive type
int.

Here is the complete data type mappings:
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1102.html

See http://osflash.org/amf3/index?s=amf3 for what's going on under the hood,
if you are curious.

Also as a side note, Red5 is well on its way to having full AMF3 support.
Joachim just finished the majority of it this weekend.

-Chris

On 1/21/07, Collin Peters [EMAIL PROTECTED] wrote:


  I am doing some testing and created a simple FDS app that transfers a
simple value object (or POJO) back and forth. It seems that the Java
native type 'int' is not supported. Java int is not mentioned
anywhere here:
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1102.html

The Java native type double works just great but I can't get int to
work at all. Am I missing something or is this not supported?

--
Collin Peters
Lead Software Developer
InTouch Technology
 



Re: [flexcoders] FDS - POJO class data mapping - no int support?

2007-01-22 Thread Chris Allen

It could be that your int is outside the accepted range. Below was cut and
pasted from the Flex documentation:

java.lang.Integer

int

If i  0xF000 || i  0x0FFF, the value is promoted to Number.
Other than that thought, I have no idea why it's not working for you. Sorry.

-Chris

On 1/22/07, Collin Peters [EMAIL PROTECTED] wrote:


  I'm confused as to why they would not map a Java int to an Integer
though.  Seems straightforward to me.  Better then sending the value into a
black hole.

I am now trying my test app with an Integer on the Java side and an int on
the Actionscript side and am still getting nothing.

Actionscript:
package ca.mcrt.services
{
[Bindable]
[RemoteClass(alias=ca.mcrt.services.POJO)]
public class POJO
{
public var id:int;
public var name:String;
public var description:String;
public var price:Number;
public var quantity:int;
}
}

Java:
package ca.mcrt.services;

public class POJO {

private Integer id;
private String name;
private String description;
private double price;
private Integer quantity;

public Integer getProductId() {
return id;
}
public void setProductId(Integer id) {
this.id = id;
}

snip
  etc... (getters  setters)
 this is all from Chrisophe Coneraets example
/snip

Does anyone see any issues with that?  If I change the int to a Number on
the Actionscript side then I get NaN.

Collin


On 1/22/07, Chris Allen [EMAIL PROTECTED] wrote:

  AFM3 uses the Integer data type on the Java side, not the primitive
 type int.

 Here is the complete data type mappings:

 
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1102.html

 See http://osflash.org/amf3/index?s=amf3 for what's going on under the
 hood, if you are curious.

 Also as a side note, Red5 is well on its way to having full AMF3
 support. Joachim just finished the majority of it this weekend.

 -Chris