Re: [flexcoders] Re: How to access IP camera with Adobe air?

2012-01-18 Thread James Ong
You need to convert that into MPEG-4 format before it can be playback on
Adobe AIR.
Try google for flash video tutorial and NativeProcess to give you some idea
how to implement it.

The NativeProcess function in AIR is useful to control FFMPEG application
in the background which can be convert the video, once the conversion
is complete, you can implement your AIR application to load the video and
playback.

As there are various type of video camera, we have no idea if this work for
your case.


On Thu, Jan 12, 2012 at 11:20 PM, markflex2007 wrote:

> **
>
>
> Hi James,
>
> Thanks for help.
>
> how to to access offline mjpeg video? please give me a help.
>
> Thanks
>
> Mark
>
> --- In flexcoders@yahoogroups.com, James Ong  wrote:
> >
> > Video stream back through mjpeg and output to AIR will be tricky unless
> you
> > have a streaming server and serve over UDP protocol.
> > Definitely need a server to push data into the AIR application.
> >
> > If you prefer to access offline mjpeg video, it should be easy as using
> > netconnection.
> >
> > On Thu, Jan 12, 2012 at 3:00 AM, markflex2007 wrote:
> >
> > > **
>
> > >
> > >
> > >
> > > IP camera is not attached to current computer. and just provide a
> access
> > > ip that is a mjpeg format file.
> > >
> > > Any idea to do this.Thanks
> > >
> > > Mark
> > >
> > >
> > > --- In flexcoders@yahoogroups.com, "markflex2007" 
> > > wrote:
> > > >
> > > > Hi
> > > >
> > > > IP camera can provide a link/url with mjpeg format. I am not sure how
> > > air/flex can access it.
> > > >
> > > > The problem is how to load mjpeg link in Flex/Air now.
> > > >
> > > > mjpeg is motion jpeg. I try different ways and I can not load the
> link
> > > in flex.
> > > >
> > > > Please help.
> > > >
> > > > Thanks
> > > >
> > > > Mark
> > > >
> > >
> > >
> > >
> >
>
>  
>


Re: [flexcoders] Checkbox

2012-01-18 Thread Alex Harui
See the itemrenderer posts on my blog


On 1/18/12 2:08 AM, "abhinay.dronamraju"  wrote:






Hi I am new to flex and I am not able to figure out how to stop checkboxes from 
randomly getting selected in a datagrid. here is the code I have so far. Thanks


http://ns.adobe.com/mxml/2009";
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="550" height="400"
creationComplete="initDataGridData()"
>





























































































































































































--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


[flexcoders] App-level Spark Label style vs. Button fontSize -- bug?

2012-01-18 Thread William Mitchell
I've got a really really basic question about the scope of application level 
styles.

At the app level there's a

s|Label  {font-size:11;} 

style and with that in place it seems that *every* Spark Button has an 11-point 
label and that can't be overridden!  Is there any way to override that 
app-level setting on particular buttons?

Here's the code:


http://ns.adobe.com/mxml/2009"; 
   xmlns:s="library://ns.adobe.com/flex/spark">

@namespace s "library://ns.adobe.com/flex/spark";
s|Label {
font-size: 10;
}




If you run it, what'll you'll see is a 10-point "test" button, not a 30-point 
"test" button.

I believe I'm seeing this behavior because SparkButtonSkin's labelDisplay is a 
Label.  I can make a new button skin and set the fontSize on labelDisplay and 
that solves the problem, but that's pretty clumsy.

Even doing b1.setStyle("fontSize", 30) in a creationComplete handler or a click 
handler for another button doesn't cause the font of b1 to change.  (I stepped 
through the framework code for that call, and I just didn't see a place where 
labelDisplay's fontSize is ever touched.)

It sure seems like a bug to me but maybe I'm missing something.

p.s.
You might ask, "Why not just remove that app-level style for s:Label?"  That's 
a possibility, of course, but in the app where this problem turned up, there 
are a LOT of buttons and labels that would then need to be given a style in 
some other way.

William Mitchell
Research Programmer
School of Information: Science, Technology,  and Arts
The University of Arizona
520-870-6488







[flexcoders] Problem with data tip in the chart swf dynamically loaded in parent application

2012-01-18 Thread amit_kulk44
Hello everyone, 
In flex 3, datatips of Linechart are placed in the wrong coordinates. 
If a datatip is supposed to be show according to  mouse pointer coordinate  of 
the Linechart. 



[flexcoders] Checkbox

2012-01-18 Thread abhinay.dronamraju
Hi I am new to flex and I am not able to figure out how to stop checkboxes from 
randomly getting selected in a datagrid. here is the code I have so far. Thanks


http://ns.adobe.com/mxml/2009"; 

xmlns:s="library://ns.adobe.com/flex/spark" 

xmlns:mx="library://ns.adobe.com/flex/mx" 
width="550" height="400"  
creationComplete="initDataGridData()"
>

 









































































































































  



















  






   

Re: [flexcoders] Re: Flex alternatives

2012-01-18 Thread Sam Lai
On 18 January 2012 02:05, Merrill, Jason wrote:

>
>
>  The problem isn’t even that large companies are in bed with Microsoft
> (that is a problem), but it’s that they have many many existing legacy
> enterprise apps that only work or have only been tested to work in IE, and
> those systems need to be supported and in place for years to come.
>

It is also worth mentioning that if any of you have spent any time being a
Windows desktop system administrator, you will appreciate the management
features that only IE has in conjunction with group policy.
Changing/enforcing proxy settings, certificate authorities, cache policies,
homepages, look and feel settings and more can be done by just flicking a
few settings in Group Policy.

To do the same with Firefox, you'll have to modify a bunch of files on
installation, and on every change, push out a new prefs.js file. Sounds
easy enough, but try doing that when you have different settings that apply
depending on the site the user is at, the groups they're a part of, etc.

Unfortunately, none of the alternative browsers seem to pay much attention
to the enterprise, so IE is pretty safe until there is a reasonable
alternative.


>  Jason Merrill
> Instructional Technology Architect II**
>
> *Bank of America*  Global Learning 
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> ___
>
> ** **
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] *On
> Behalf Of *valdhor
> *Sent:* Monday, January 16, 2012 9:20 AM
>
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Re: Flex alternatives
>
>  ** **
>
>   
>
> Good luck on convincing IT departments in large corporations who are
> generally Microsoft shops.
>
>
> --- In flexcoders@yahoogroups.com, Guy Morton  wrote:
> >
> > A thought on cross-browser hell…
> >
> > If every web developer in the world today decided to drop support for
> IE, everyone would go get Chrome or Firefox.
> >
> > This would be a win-win, as they would get a better browser, and we
> would get a better development environment.
> >
> > Who's with me?
> >
> > Guy
> >
> >
> > On 16/01/2012, at 6:31 AM, Ron G wrote:
> >
> > >
> > >
> > > Valdhor:
> > >
> > > You are right about that. That is precisely why we went with Flex
> originally (it insulated us from X-Browser issues). But, since we can't
> count on that lasting, and even Adobe is telling developers to plan on
> moving to HTML5, it seems like they're pushing us back into x-browser hell.
> > >
> > > I didn't want to go there, which is why we chose ZKoss. Yes, there is
> still going to be HTML/JS/CSS ultimately used, but it's how much. Even Flex
> SWFs are wrapped in HTML and JS when deployed. So, it's not that I'm
> against using any amount of HTML/JS; it's how little can I get away with to
> avoid these issues.
> > >
> > > Even with HTML5 libraries, such as the much touted jQuery, is, to a
> large degree, an insulator against x-browser issues. If you read the actual
> jQuery code, it deals with those issues for you.
> > >
> > > Now, ZK has a ZK Client JS library, which includes jQuery, that is
> designed to be a communicator mechanism between the client and the bulk of
> app logic that resides on the server. So, your normal editing and data
> manipulation that you might write in JS in a full blown HTML5 app is
> actually stored as Java on the server, and executed as needed per the EDA
> (event driven architecture). This type of JS is typically what breaks the
> page on different browsers and versions thereof. By limiting the amount of
> client-side JS, as does a jQuery type library, yes, you have some exposure
> to potential x-browser issues, but not as much as a HTML5 app that does
> everything on the client. And, when there are issues, they can be resolved
> in the ZK Client library as a patch/fix.
> > >
> > > So, now it seems to me that developers have several choices. Stick
> with Flex and you won't break the browser; you just won't be able to have
> your app viewed by millions on iOS products. If that seems like a better
> solution that minimal exposure to x-browser issues by using ZK or some
> other technology, well, that's certainly a choice each company has to make.
> > >
> > > Ron
> > >
> > > --- In flexcoders@yahoogroups.com, "valdhor"  wrote:
> > > >
> > > >
> > > > On a side note, I like the look of ZKoss. I don't know if there are
> cross browser issues with it seeing as we use older versions of browsers.
> One of the great features of Flex is we don't have to bother coding for
> compatibility between different browsers and versions. When IT deployed
> IE7, Flex applications worked just as they had before.
> > > >
> > > > Anyway, just my 2c from the enterprise perspective.
> > > >
> > >
> > >
> >
>
>  
>  --
> This message w/attachments (message) is intended solely for the use of the
> intended recipient(s) and may contain information that is privileged,
> confidential or proprieta

Re: [flexcoders] Announcing Flex User Group 2012 Tour: North America Dates

2012-01-18 Thread ganaraj p r
Just a request. Would be great if you guys could record the sessions and
upload on adobe tv or atleast youtube.

On Wed, Jan 18, 2012 at 7:08 AM, Tandon, Rishi wrote:

> **
>
>
> Announcing Flex User Group 2012 Tour: North America Dates
> by Deepa Subramaniam
> As we promised at the end of last year, we are kicking off an
> international Flex User Group Tour to discuss recent announcements
> regarding Flex and the Flash Platform. These meetings will clarify any
> changes to Flex and Flash including updates on the runtimes and tooling.
> Additionally, the sessions will educate folks about the Apache process and
> what it takes for Flex SDK, as a project within the Apache Software
> Foundation, to continue to thrive. These meetings will be the best place to
> get accurate and up-to-date information about anything related to Flex.
> Below are the cities and dates for our first wave of visits in North
> America. Europe and Asia dates will be posted shortly. Please refer to
> individual user group sites for detailed descriptions about the Flex
> sessions and speakers, including information on how to register to attend.
> Note: This information will be posted in the coming weeks and we will
> update *this blog post* with more detailed information as it becomes
> available.
> We hope to meet and talk with as many developers as possible – so mark the
> dates and we’ll see you there!
> *North America*
>
>- 2/13/12 – New York: New York Flex 
> Meetup
>- 2/15/12 – Boston: Boston Flex User Group 
>- 2/21/12 – Denver: Rocky Mountain Adobe Users Group
>- 2/22/12 – Seattle: Seattle Flash User 
> Group
>- 2/29/12 – Chicago: Chicago Flex User Group 
>- 3/7/12 – Los Angeles: LA Flex  & LA
>Flash  User Group
>- 3/8/12 – San Diego: San Diego Flash User Group
>- 4/19/12 – Dallas: Dallas Flex User Group
>
>  
>



-- 
Regards,
Ganaraj P R