[flexcoders] Examining static variables when debugging with Flash Builder

2011-11-15 Thread William Mitchell
I've got a class like this:

package tos.model
{
public class Global
{
public static var x:int
}
}

when at a breakpoint in Flash Builder 4.5, I'd like to find out what the value 
of Global.x is.

Global doesn't appear in the Variables view.

I've tried adding watches for Global, Global.x, tos.model.Global, and 
tos.model.Global.x.  All produce '' in red in 
the Value column.

Any ideas on how I could get a look at Global.x?

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


[flexcoders] Adobe AIR Flex support for Natvie Development Tool

2011-11-15 Thread saurabh rawat
Hi, There is NDK(native development Kit) available in the android sdks via 
which we can write the c code (platform specific) , cross compile it and call 
the functions inside it using the JNI calls (from the java code).Is the same 
faciltiy available there in the Adobe too , do they also provide ndk or adb 
shell kind of thing for native code writing and debugging respectively.Plz 
assit.I am developing an app for camera using the native development 
mathod.Rgds,Saurabh

      " The ultimate test of a 
relationship is to disagree but to hold hands..."       
  

[flexcoders] Re: Replacing double slash with a single slash

2011-11-15 Thread valdhor
Can you give an example source string and how you would want it to look? Or a 
couple so that I don't just look at a single instance?

--- In flexcoders@yahoogroups.com, Nick Middleweek  wrote:
>
> Hi Valdor,
> 
> Thanks for the reply, I've just tried this code but no joy... :(
> 
> var doubleSlash : RegExp = //g;
> var slash : RegExp = //;
> winMessage = winMessage.replace( doubleSlash, slash );
> 
> I'm sure it's easy when you know how :)
> 
> 
> Nick
> 
> 
> 
> On 8 November 2011 19:24, valdhor  wrote:
> 
> > **
> >
> >
> > As I understand it the backslash character is special in both the regex
> > and the replacement string, so it has to be double escaped in both places.
> > That means, for every single backslash you want to match or insert, you
> > have to put *four* backslashes in the regex or replacement string.
> >
> >
> > --- In flexcoders@yahoogroups.com, Nick Middleweek  wrote:
> > >
> > > Hi,
> > >
> > > I'm trying to replace a double slash with a single slash and am having a
> > > little trouble, has anyone done this before?
> > >
> > > Here's what I've got thus far...
> > >
> > > var doubleSlash : RegExp = /(\\)(\\)/g;
> > > var slash : RegExp = /(\\)/;
> > >
> > > winMessage = winMessage.replace( doubleSlash, slash );
> > >
> > >
> > > Cheers,
> > > Nick
> > >
> >
> >  
> >
>




Re: [flexcoders] Why Flex now?

2011-11-15 Thread Farid Shahlavi
This is basically all the rats abandoning ship in my opinion, here's an
article from just over a month ago from Adobe that completely contradicts
what they announced last Friday, how is this possible that they didn't have
foresight to see this coming,?!

http://blogs.adobe.com/flex/2011/08/flex-where-were-headed.html

Farid

On Tue, Nov 15, 2011 at 12:04 PM, Haykel BEN JEMIA wrote:

> **
>
>
> Because today HTML5 is not yet ready and will not be ready for the next
> 5-10 years in my opinion. There are still many things you can only do in
> Flash and many other that are very difficult to do with HTML5. In my
> opinion HTML5 is a hype anyway, some new tags, css and js elements and
> functions. Browser-compatibility, layout, animation, video and much more is
> handled very easily with Flex/Flash. Should we replace the strong-typed and
> compiled AS 3 language with JavaScript? I'm working on a video chat
> application that uses FMS and P2P multicats, can you do that with HTML??
>
> Personnally I don't think Flex is dead, the Flex community will continue
> to implement it and there will be some companies offering support for it.
>
> Only when Adobe stops the development of the Flash player for the Desktop
> I will say that Flash is really dead.
>
> Let's help the Spoon project and make Flex better than ever!
>
> Haykel Ben Jemia
>
> Allmas
> Web & RIA Development
> http://www.allmas-tn.com
>
>
>
>
> On Tue, Nov 15, 2011 at 4:43 PM, Rick Schmitty  wrote:
>
>> **
>>
>>
>> I've been a Flex developer since it's first beta however many years ago.
>>  Today I just saw this response from Adobe:
>> http://blogs.adobe.com/flex/2011/11/your-questions-about-flex.html
>>
>>
>> *Does Adobe recommend we use Flex or HTML5 for our enterprise
>>> application development?
>>> *In the long-term, *we believe HTML5 will be the best technology for
>>> enterprise application development*. We also know that, currently, Flex
>>> has clear benefits for large-scale client projects typically associated
>>> with desktop application profiles.
>>> Given our experiences innovating on Flex, we are extremely well
>>> positioned to positively contribute to the advancement of HTML5
>>> development, starting with mobile applications. In fact, *many of the
>>> engineers and product managers who worked on Flex SDK will be moving to
>>> work on our HTML efforts*. We will continue making significant
>>> contributions to open web technologies like WebKit & jQuery, advance the
>>> development of PhoneGap and create new tools that solve the challenges
>>> developers face when building applications with HTML5.
>>
>>
>> Emphasis mine.  If anyone has followed any game
>> or application development where 'many members' of the team are switched to
>> the next greatest thing, that normally means there are
>> few maintenance developers for the existing product and not much new
>> innovation to it.  The company wants its best and brightest working on its
>> future, not supporting its past.
>>
>> Combine that with the facts that Adobe bought PhoneGap and released Edge
>> preview.  It's not hard to put all these facts together and see that long
>> term they want an IDE & framework for app development in HTML5.  Perhaps
>> Flex5 will be an HTML5 version of Flex as they start putting together html5
>> components
>>
>>
>> Outside of "having to support IE6" why would you choose to start a
>> project in Flex today?
>>
>>
>  
>


Re: [flexcoders] Why Flex now?

2011-11-15 Thread Haykel BEN JEMIA
Because today HTML5 is not yet ready and will not be ready for the next
5-10 years in my opinion. There are still many things you can only do in
Flash and many other that are very difficult to do with HTML5. In my
opinion HTML5 is a hype anyway, some new tags, css and js elements and
functions. Browser-compatibility, layout, animation, video and much more is
handled very easily with Flex/Flash. Should we replace the strong-typed and
compiled AS 3 language with JavaScript? I'm working on a video chat
application that uses FMS and P2P multicats, can you do that with HTML??

Personnally I don't think Flex is dead, the Flex community will continue to
implement it and there will be some companies offering support for it.

Only when Adobe stops the development of the Flash player for the Desktop I
will say that Flash is really dead.

Let's help the Spoon project and make Flex better than ever!

Haykel Ben Jemia

Allmas
Web & RIA Development
http://www.allmas-tn.com




On Tue, Nov 15, 2011 at 4:43 PM, Rick Schmitty  wrote:

> **
>
>
> I've been a Flex developer since it's first beta however many years ago.
>  Today I just saw this response from Adobe:
> http://blogs.adobe.com/flex/2011/11/your-questions-about-flex.html
>
>
> *Does Adobe recommend we use Flex or HTML5 for our enterprise application
>> development?
>> *In the long-term, *we believe HTML5 will be the best technology for
>> enterprise application development*. We also know that, currently, Flex
>> has clear benefits for large-scale client projects typically associated
>> with desktop application profiles.
>> Given our experiences innovating on Flex, we are extremely well
>> positioned to positively contribute to the advancement of HTML5
>> development, starting with mobile applications. In fact, *many of the
>> engineers and product managers who worked on Flex SDK will be moving to
>> work on our HTML efforts*. We will continue making significant
>> contributions to open web technologies like WebKit & jQuery, advance the
>> development of PhoneGap and create new tools that solve the challenges
>> developers face when building applications with HTML5.
>
>
> Emphasis mine.  If anyone has followed any game or application development
> where 'many members' of the team are switched to the next greatest thing,
> that normally means there are few maintenance developers for the existing
> product and not much new innovation to it.  The company wants its best and
> brightest working on its future, not supporting its past.
>
> Combine that with the facts that Adobe bought PhoneGap and released Edge
> preview.  It's not hard to put all these facts together and see that long
> term they want an IDE & framework for app development in HTML5.  Perhaps
> Flex5 will be an HTML5 version of Flex as they start putting together html5
> components
>
>
> Outside of "having to support IE6" why would you choose to start a project
> in Flex today?
>
>  
>


[flexcoders] Why Flex now?

2011-11-15 Thread Rick Schmitty
I've been a Flex developer since it's first beta however many years ago.
 Today I just saw this response from Adobe:
http://blogs.adobe.com/flex/2011/11/your-questions-about-flex.html


*Does Adobe recommend we use Flex or HTML5 for our enterprise application
> development?
> *In the long-term, *we believe HTML5 will be the best technology for
> enterprise application development*. We also know that, currently, Flex
> has clear benefits for large-scale client projects typically associated
> with desktop application profiles.
> Given our experiences innovating on Flex, we are extremely well positioned
> to positively contribute to the advancement of HTML5 development, starting
> with mobile applications. In fact, *many of the engineers and product
> managers who worked on Flex SDK will be moving to work on our HTML efforts
> *. We will continue making significant contributions to open web
> technologies like WebKit & jQuery, advance the development of PhoneGap and
> create new tools that solve the challenges developers face when building
> applications with HTML5.


Emphasis mine.  If anyone has followed any game or application development
where 'many members' of the team are switched to the next greatest thing,
that normally means there are few maintenance developers for the existing
product and not much new innovation to it.  The company wants its best and
brightest working on its future, not supporting its past.

Combine that with the facts that Adobe bought PhoneGap and released Edge
preview.  It's not hard to put all these facts together and see that long
term they want an IDE & framework for app development in HTML5.  Perhaps
Flex5 will be an HTML5 version of Flex as they start putting together html5
components


Outside of "having to support IE6" why would you choose to start a project
in Flex today?


[flexcoders] Shantanu Narayen greeted the Flash community with his left hand

2011-11-15 Thread juan.estevas
Shantanu Narayen greeted the Flash community with his left hand, show their 
discontent by signing the petition created by Peter Elst:

http://www.change.org/petitions/adobe-systems-shantanu-narayen-to-step-down-as-ceo#

Description:
"The announcements on November 9th 2011 around Flash Platform technology - and 
the way in which communication happened - have caused irrefutable damage to 
developers and stakeholders worldwide.

As CEO, Shantanu Narayen has shown a complete disregard for customers and his 
lack of leadership has resulted in widespread chaos and uncertainty.

It is time for Adobe to move on under a new CEO and regain the trust of its 
user base and community."

Disclose to all!