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 rishitandon...@yahoo.comwrote:

 **


 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 
 Meetuphttp://www.meetup.com/New-York-Flex-Meetup/
- 2/15/12 – Boston: Boston Flex User Group http://www.bostonfug.org/
- 2/21/12 – Denver: Rocky Mountain Adobe Users Grouphttp://www.rmaug.com/
- 2/22/12 – Seattle: Seattle Flash User 
 Grouphttp://www.seattleflashusergroup.com/links.htm
- 2/29/12 – Chicago: Chicago Flex User Group http://chicagoflex.org/
- 3/7/12 – Los Angeles: LA Flex http://www.meetup.com/laflex/  LA
Flash http://laflash.org/ User Group
- 3/8/12 – San Diego: San Diego Flash User Grouphttp://www.sdfug.org/
- 4/19/12 – Dallas: Dallas Flex User Grouphttp://dflex.groups.adobe.com/

  




-- 
Regards,
Ganaraj P R


Re: [flexcoders] Re: Challenge in Migrating to HTML5 from FLEX.

2012-01-13 Thread ganaraj p r
I am doing something similiar currently. I am evaluating GWT as a possible
replacement for an app that I would have built with Flex.

On Fri, Jan 13, 2012 at 5:27 PM, valdhor valdhorli...@embarqmail.comwrote:

 **


 On another thread someone mentioned zkoss.

 --- In flexcoders@yahoogroups.com, Venkat M venkat_yum@... wrote:
 
  Hi Team,
  Â

  I have a question on migration from FLEX to HTML5. This
  question may be little out of the discussion in here; It would be great
 if someone
  help me out.
  Â

  I have a java server side application. It had a class that
  exposed a bundle of routines that are needed for the flex front end to
 drive
  the backend. I connect this class using with blazeds and get access to
 all the
  routines within and able to work just fine. It worked like a charm and
 everyone
  was happy till date.
  Â

  Now, I have a parallel requirement to build a HTML5 equivalent
  front end that does the same. I am asked to provide a estimate and
 possible frameworks
  that can be used with ease. Can someone put down any views if they have.
  Thanks.
  Â
  Scenario.  Java back end remains the same †Build an
  interactive HTML5 webpage just looking similar to my current flash
 version  - there is a submit_button() java routine
  which I have to call when a button on HTML page is clicked †Web
 server used is
  Jetty †Please Comment!
  Â
  Thanks!!
  Â
  Cheers,
  Venkat.
 

  




-- 
Regards,
Ganaraj P R


Re: [flexcoders] Re: Flex alternatives

2012-01-12 Thread ganaraj p r
 for yourself at their site (zkoss.org).
  
   Ron
  
   --- In flexcoders@yahoogroups.com, Sal sal.celli@ wrote:
   
hi,
as i can sadly see from the message history bottom grid, many
   programmers are leaving flex.
So this thread is to ask you all, if you have already found a valid
   alternative to flex for RIA development.
   
  
   
  
  
  
 

  




-- 
Regards,
Ganaraj P R


Re: [flexcoders] You are the product

2011-12-19 Thread ganaraj p r
All that adobe needs to do is, start attempting to replace the current JS
with AS3.
Currently AS3 is a compiled language and JS is an interpreted language. Now
can adobe come up with an interpreter for as3?



On Mon, Dec 19, 2011 at 9:40 AM, Peter Ginneberge
p.ginnebe...@telenet.bewrote:

 **


  I really don't want to take a step back when I was
  in fact hoping to be getting a new version of
  action script that moved the main language even
  further forward.
 

 I feel the same way. I just dislike JS and going from ActionScript to
 JavaScript is a step back.. a big one.
 If you know Java, you're in luck 'cos with GWT you can just write Java
 apps and they get compiled to JS (with html/css) and you
 still get to use Maven/Spring/Hibernate and do all the OOP stuff and
 whatnot. You don't have to look at javascript at all, let alone
 write a single line of it !
 As I mentioned earlier, if FlashBuilder would do something similar, I'd be
 all over it.
 And it can be done, haXe already does that.
 http://haxe.org/


 regards,
 Peter

 - Original Message -
 From: Glenn Williams gl...@tinylion.co.uk
 To: flexcoders@yahoogroups.com
 Sent: Sunday, December 18, 2011 6:45 PM
 Subject: RE: [flexcoders] You are the product

  The samples are ok, but it's the actual langue I
  dislike.
 
 
 
  I just doesn't feel very complete to me.
 
 
 
  I really don't want to take a step back when I was
  in fact hoping to be getting a new version of
  action script that moved the main language even
  further forward.
 
 
 
  The whole situation just feels like a regression
  to me.
 
 
 
  From: flexcoders@yahoogroups.com
  [mailto:flexcoders@yahoogroups.com] On Behalf Of
  Rick Winscot
  Sent: 18 December 2011 01:29
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] You are the product
 
 
 
 
 
  The charts? The dashboard? The app as a whole?
  Yes. I'd recommend looking into the ExtJS samples
  at Sencha.
 
 
 
  http://www.sencha.com/products/extjs/

  




-- 
Regards,
Ganaraj P R


Re: [flexcoders] You are the product

2011-12-19 Thread ganaraj p r
Hmmm. I doubt that would be possible.

The problem has never been with compiling the code as such. Its about how
the compiled code is finally used. Since we are going to be replacing  /
removing the Flash Player from the picture, whether we compile the code on
the server end or compile the code on the client end it really doesnt
matter.

On Mon, Dec 19, 2011 at 1:17 PM, Rick Winscot rick.wins...@zyche.comwrote:

 **


 Hmm… if Falcon is 10x faster than the previous compiler – could you
 incrementally feed it and have it emit to the browser? Kind of like a
 progressive download?


 From: ganaraj p r ganara...@gmail.com
 Reply-To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 Date: Mon, 19 Dec 2011 10:17:54 +
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com

 Subject: Re: [flexcoders] You are the product



 All that adobe needs to do is, start attempting to replace the current JS
 with AS3.
 Currently AS3 is a compiled language and JS is an interpreted language.
 Now can adobe come up with an interpreter for as3?



 On Mon, Dec 19, 2011 at 9:40 AM, Peter Ginneberge p.ginnebe...@telenet.be
  wrote:

 **


  I really don't want to take a step back when I was
  in fact hoping to be getting a new version of
  action script that moved the main language even
  further forward.
 

 I feel the same way. I just dislike JS and going from ActionScript to
 JavaScript is a step back.. a big one.
 If you know Java, you're in luck 'cos with GWT you can just write Java
 apps and they get compiled to JS (with html/css) and you
 still get to use Maven/Spring/Hibernate and do all the OOP stuff and
 whatnot. You don't have to look at javascript at all, let alone
 write a single line of it !
 As I mentioned earlier, if FlashBuilder would do something similar, I'd
 be all over it.
 And it can be done, haXe already does that.
 http://haxe.org/


 regards,
 Peter

 - Original Message -
 From: Glenn Williams gl...@tinylion.co.uk
 To: flexcoders@yahoogroups.com
 Sent: Sunday, December 18, 2011 6:45 PM
 Subject: RE: [flexcoders] You are the product

  The samples are ok, but it's the actual langue I
  dislike.
 
 
 
  I just doesn't feel very complete to me.
 
 
 
  I really don't want to take a step back when I was
  in fact hoping to be getting a new version of
  action script that moved the main language even
  further forward.
 
 
 
  The whole situation just feels like a regression
  to me.
 
 
 
  From: flexcoders@yahoogroups.com
  [mailto:flexcoders@yahoogroups.com] On Behalf Of
  Rick Winscot
  Sent: 18 December 2011 01:29
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] You are the product
 
 
 
 
 
  The charts? The dashboard? The app as a whole?
  Yes. I'd recommend looking into the ExtJS samples
  at Sencha.
 
 
 
  http://www.sencha.com/products/extjs/




 --
 Regards,
 Ganaraj P R

   




-- 
Regards,
Ganaraj P R


Re: [flexcoders] You are the product

2011-12-19 Thread ganaraj p r
The general consensus is that

a. People hate Flash. ( dont really know why!!! after reading all the HTML
5 vs Flash articles... )  / Developers hate javascript ( atleast the people
who like the OOP paradigm! ).
b. Developers love AS3. ( Its the next best thing to chocolate! ) / People
love nice UI.

The holy grail is to create something that doesnt require flash but can
be programmed with as3 or something similiar and runs on a browser
without any plugin.




On Mon, Dec 19, 2011 at 3:49 PM, Rogerio Gonzalez 
rogerio.gonza...@gmail.com wrote:

 **


 Hello to you all!

 Removing Flash Player from the picture, require use a client side
 technology available in most devices.

 HTML5 will require, at least, javascript. Since 99 I never really trust
 javascript because the cross-browser compatibility.
 Anyone care to illustrate to me what change since then?
 Do browsers in other devices really stick with one version of
 javascript?
 If between browsers, under windows, we don´t got a javascript running
 without a hole bunch of workarounds, what is the difference for others
 devices?

 You don´t wanna flash? I can understand that. But you will need something
 real to get the juice. You will need RIA.

 JavaFX can be an option. Silverlight already is, once the win8 got to
 devices. But none of then will work on iOS. Probably only silverlight will
 work on win8/metro ( 'will not run plugins... a side the ones from
 microsoft' ).

 I will stick with flash/flex for the time being and still waiting on the
 next best thing involving RIA and Web.

 Regards,

 Rogério Gonzalez



 On Mon, Dec 19, 2011 at 11:47 AM, ganaraj p r ganara...@gmail.com wrote:

 **


 Hmmm. I doubt that would be possible.

 The problem has never been with compiling the code as such. Its about how
 the compiled code is finally used. Since we are going to be replacing  /
 removing the Flash Player from the picture, whether we compile the code on
 the server end or compile the code on the client end it really doesnt
 matter.

 On Mon, Dec 19, 2011 at 1:17 PM, Rick Winscot rick.wins...@zyche.comwrote:

 **


 Hmm… if Falcon is 10x faster than the previous compiler – could you
 incrementally feed it and have it emit to the browser? Kind of like a
 progressive download?


 From: ganaraj p r ganara...@gmail.com
 Reply-To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 Date: Mon, 19 Dec 2011 10:17:54 +
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com

 Subject: Re: [flexcoders] You are the product



 All that adobe needs to do is, start attempting to replace the current
 JS with AS3.
 Currently AS3 is a compiled language and JS is an interpreted language.
 Now can adobe come up with an interpreter for as3?



 On Mon, Dec 19, 2011 at 9:40 AM, Peter Ginneberge 
 p.ginnebe...@telenet.be wrote:

 **


  I really don't want to take a step back when I was
  in fact hoping to be getting a new version of
  action script that moved the main language even
  further forward.
 

 I feel the same way. I just dislike JS and going from ActionScript to
 JavaScript is a step back.. a big one.
 If you know Java, you're in luck 'cos with GWT you can just write Java
 apps and they get compiled to JS (with html/css) and you
 still get to use Maven/Spring/Hibernate and do all the OOP stuff and
 whatnot. You don't have to look at javascript at all, let alone
 write a single line of it !
 As I mentioned earlier, if FlashBuilder would do something similar, I'd
 be all over it.
 And it can be done, haXe already does that.
 http://haxe.org/


 regards,
 Peter

 - Original Message -
 From: Glenn Williams gl...@tinylion.co.uk
 To: flexcoders@yahoogroups.com
 Sent: Sunday, December 18, 2011 6:45 PM
 Subject: RE: [flexcoders] You are the product

  The samples are ok, but it's the actual langue I
  dislike.
 
 
 
  I just doesn't feel very complete to me.
 
 
 
  I really don't want to take a step back when I was
  in fact hoping to be getting a new version of
  action script that moved the main language even
  further forward.
 
 
 
  The whole situation just feels like a regression
  to me.
 
 
 
  From: flexcoders@yahoogroups.com
  [mailto:flexcoders@yahoogroups.com] On Behalf Of
  Rick Winscot
  Sent: 18 December 2011 01:29
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] You are the product
 
 
 
 
 
  The charts? The dashboard? The app as a whole?
  Yes. I'd recommend looking into the ExtJS samples
  at Sencha.
 
 
 
  http://www.sencha.com/products/extjs/




 --
 Regards,
 Ganaraj P R




 --
 Regards,
 Ganaraj P R


  




-- 
Regards,
Ganaraj P R


Re: [flexcoders] Flex to HTML5 Conversion tool?

2011-12-01 Thread ganaraj p r
If my understanding is right, Adobe is working on it currently. So you
might have to wait for another 6 months or so.

If that time frame is not suitable for you, I suggest you rewrite the
project in HTML 5.

On Thu, Dec 1, 2011 at 3:27 AM, Sells, Fred fred.se...@adventistcare.orgwrote:

 **


 I am looking at the same problem.  A very long time ago I designed a tool
 called ezX that was similar to Flex but not nearly as robust.  That was an
 Xwindows tool and has since gone the way of the dinosaur.

 ** **

 I’m still researching but I think a tool like pyjamas pyjs.org  might be
 a building block.  You could write an xml parser to handle the mxml to dom
 and then use the dom to generate pyjamas class definitions (which you would
 probably have to tweak by hand).

 ** **

 I’m not sure about the action script.  Source parsing is too tricky and I
 don’t know if the byte code is easy to handle.  Might be better to
 outsource that overseas.

 ** **

 Let me know what you decide

 ** **

 *From:* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] *On
 Behalf Of *Venkat M
 *Sent:* Wednesday, November 30, 2011 12:56 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Flex to HTML5 Conversion tool?

 ** **

   

 *Hi Group,*

 * *

 *I have a quick question.*

 *I have a web application that was developed using 100% flex (AS
 included).*

 *Now to be on the safe side we want to evaluate the options of converting
 the same on to HTML5. *

 * *

 *Do any one know of any tools that can help in the process of converting
 from flex (developed) to html5 version?*

 *Your help will be greatly appreciated.*

  

 Cheers,

 *Venkat.*

  

  

 

  




-- 
Regards,
Ganaraj P R


Re: [flexcoders] Re: Fwd: How are you!!

2011-11-29 Thread ganaraj p r
Can one of the moderators please remove this person from the mailing list?

On Tue, Nov 29, 2011 at 6:55 AM, srikanth reddy
srikanthli...@yahoo.co.inwrote:

 **


 Hey there!
 fkeidjc I was ready to throw in the towel now its impossible for me to
 fall behind its funny how the tables have turned just thought id share the
 wealth
 http://www.happybiddersparadise.com/profile/94WayneWalker/
 c ya.

  




-- 
Regards,
Ganaraj P R


Re: [flexcoders] Is it possible to add Flex components to the Stage?

2011-09-23 Thread ganaraj p r
Flex is a complete framework and each and every component follows the rules
of the framework. Without the framework running in the background its
probably impossible to get a component working unless you do a lot of work
to make it work. Perhaps much easier to write a separate AS3 component.

On Thu, Sep 22, 2011 at 11:22 PM, Jeffry Houser jef...@dot-com-it.comwrote:

 **



  addElement is only defined in spark components; that will just throw a
 compile time error.

  I'm not sure why you want to add a Flex Component directly to the stage.
 I suppose in theory you could; but that would bypass all the Flex Framework
 code to position and size the component.  You'd, in essence, need to write
 your own layout manager. that performs the same functionality as the Flex
 Layout manager.

  In the context of Flex; it probably isn't a good idea to access the stage
 directly.

 On 9/22/2011 2:33 PM, grimmwerks wrote:



 Try stage.addElement  rather than addChild?


  On Sep 22, 2011, at 2:30 PM, Hogs Haven wrote:

  From everything I've read, Flex components can only be added to Flex
 Components (ie: VBox to Application, VGroup to Panel, etc)

 I'm working in an AS3 view library (no Flex, just Sprites) where I need to
 add a Scrollable container component to the Stage on a click event. There's
 no way to do this as I see it unless I write my own Scroll container, use
 Flex SDK (don't think this works), or use fl.containers.ScrollPane (which is
 not an option since we're not using a .fla)

 So basically, I'm trying to accomplish this, as simple runnable example,
 but it fails silently and nothing appears...any ideas? Thanks.


 ?xml version=1.0 encoding=utf-8?
 s:Application xmlns:fx=http://ns.adobe.com/mxml/2009;
 xmlns:s=library://ns.adobe.com/flex/spark
 xmlns:mx=library://ns.adobe.com/flex/mx
 creationComplete=application1_creationCompleteHandler(event)
  fx:Script
  ![CDATA[
   import mx.containers.Panel;
   import mx.core.UIComponent;
   import mx.events.FlexEvent;


 protected function
 application1_creationCompleteHandler(event:FlexEvent):void
 {
  addEventListener(Event.ADDED_TO_STAGE, onAdded);
 }

 private function onAdded(e:Event):void
 {
var myPanel : Panel = new Panel();
myPanel.width=100;
myPanel.height=100;
stage.addChild(myPanel); //nothing happens
 }
  ]]
  /fx:Script
  fx:Declarations/fx:Declarations

 /s:Application




 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo%21Groups
  Links




   Garry Schafer
 grimmwerks
 gr...@grimmwerks.com
 portfolio: www.grimmwerks.com/







 --
 Jeffry Houser
 Technical Entrepreneur203-379-0773
 --http://www.flextras.com?c=104
 UI Flex Components: Tested! Supported! Ready!
 --http://www.theflexshow.comhttp://www.jeffryhouser.comhttp://www.asktheflexpert.com
 --
 Part of the DotComIt Brain Trust

  




-- 
Regards,
Ganaraj P R


Re: [flexcoders] Trying to pass a value to the mxml/swf file from java(android).How?

2011-09-22 Thread ganaraj p r
In order to pass values to a swf you have a concept called as flashVars.

If you come from a java / C background you would know that your main entry
point in there is the main() function. This main function can be called
without any arguments or with arguments..( if you are familiar with argc and
argv[] ). FlashVars is something similiar to that concept.

Just have a read about those and you should be able to get the proper
answers.

On Wed, Sep 21, 2011 at 8:20 PM, rawat rawatsaur...@yahoo.co.in wrote:

 **


 HI,
 I have been trying to pass the values to the mxml file(whose output is .swf
 file) via android (java code) , But i am unable to do this.Here is my
 problem, I think tht .SWF file is a binary file(like exe , .out or .dll or
 .iso) which runs on flash platforms(browser, mobile phone supporting
 flash).Now i want the output of the .swf to be dependent on some values
 which I want to pass thourgh the android code.

 Other way is that I put the mxml files itself inside the eclipse(android
 project IDE) and pass the values to it (don't know how) compile it using
 mxmlc.exe compiler and link(don't know how ) with the android project and
 generate the final output file(we call it apk) and run it.Please suggest me
 which way to go even though my study is still partial but I am at the cross
 roads of confusion.Please suggest me which way to go and how.
 Rgds,
 Saurabh

  




-- 
Regards,
Ganaraj P R


Re: [flexcoders] What is the a correct lifecycle phase to add new child components?

2011-09-07 Thread ganaraj p r
With toggling the visibility property you are creating 1 Button per Item
Renderer.

When you are creating an object each time a user's mouse is over it, and
then deleting it when its out, you are creating 'n' number of objects and
deleting them , the new objects need to be garbage collected.

The initial load is going to be more ofcourse, but then its a set number
since you are only going to be creating a set number of buttons.

On Wed, Sep 7, 2011 at 10:23 AM, Nick Middleweek n...@middleweek.co.ukwrote:

 **


 Alex,

 Just checking/ thinking... But if I go down the visibility route and
 addChild( x ) up front in createChildren() would I be consuming more initial
 memory than if I addChild( x ) as and when I needed it?

 In my case, I have 15 columns, using the same renderer and 40 rows so
 that's 600 extra buttons that would be created that are initially set
 visible = false;

 I'm assuming they are all in memory and when scrolling, this could impact
 scroll performance.


 Or is adding/ removing children dynamically and making each Item Renderer
 go through it's update cycle more expensive?


 Cheers,
 Nick




 On 6 September 2011 19:48, Alex Harui aha...@adobe.com wrote:

 **


 States are still available in the MX way.  You can also hide and show
 instead of add and remove.

 Known children should be created in createChildren or in states.  But
 otherwise, you have to create them when you know you need them.  The List
 components create them in updateDisplayList since that’s when they finally
 know how many to create.


 On 9/6/11 10:48 AM, Nick Middleweek n...@middleweek.co.uk wrote:






 Thanks for this... So I'm extending UIComponent, does this mean I'm doing
 it the MX way?

 Cheers...


 On 6 September 2011 14:38, Haykel BEN JEMIA hayke...@gmail.com wrote:






 Hi Nick,

 if you use Spark components and the child components you want to add are
 fixed and known, e.g. a 'close' button that should be visible on mouse-over,
 then I would use skin states and manage visibility of the components in the
 skin.

 Haykel Ben Jemia

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





 On Tue, Sep 6, 2011 at 10:28 AM, Nick Middleweek n...@middleweek.co.uk
 wrote:






 Hi,

 I've been trying to find the correct 'place' to create new components
 after the parent component is UPDATE_COMPLETE.

 During initialisation, we create child components in *createChildren()*but 
 where/ when should we create them for e.g. in response to a mouseOver or
 a mouseClick event?

 Is it simply 'ok' to *this.addChild( *myNewButton *)* in a MOUSE_EVENT
 function handler or should I be setting some dirty flag to trigger off an
 invalidation and then add the button in a lifecycle override function?


 Thanks,
 Nick


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




 --
 Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, mobile: +44(0)774
 035 5424, blog: http://www.middleweek.co.uk } );


  




-- 
Regards,
Ganaraj P R


Re: [flexcoders] Re: Mobile-Desktop Desktop-Mobile synching

2011-08-26 Thread ganaraj p r
That just means her customers will have to buy another service apart from
her app!

Which just means, her app will become less desirable.

Alternately, one dropbox to rule them all philosophy would just be another
approach to doing it on a web server , since eventually that is what it will
become!

2011/8/26 Csomák Gábor csom...@gmail.com

 **


 sync with dropbox maybe..


 On Thu, Aug 25, 2011 at 8:45 PM, valdhor valdhorli...@embarqmail.comwrote:



 If you can sync to the web why can't you create an embedded web server in
 the desktop application using an esoteric port number?


 --- In flexcoders@yahoogroups.com, Amy amyblankenship@... wrote:
 
  Hi, all;
 
  I have been searching for a tutorial/example that shows how to get data
 from a mobile app to a desktop version of the same app, and vice versa, but
 I have only come up with examples that synch to the web. Can anyone point me
 to at least the basics of how to accomplish synching between mobile and
 desktop?
 
  TIA;
 
  Amy
 


  




-- 
Regards,
Ganaraj P R


Re: [flexcoders] Mobile-Desktop Desktop-Mobile synching

2011-08-25 Thread ganaraj p r
As far as I know, there is no protocol that lets you sync a mobile app
directly to a desktop app. You will , most probably have to go through a
server ( in most cases a web server - since its one of the simplest way to
do it. )

On Wed, Aug 24, 2011 at 6:28 PM, Amy amyblankens...@bellsouth.net wrote:

 **


 Hi, all;

 I have been searching for a tutorial/example that shows how to get data
 from a mobile app to a desktop version of the same app, and vice versa, but
 I have only come up with examples that synch to the web. Can anyone point me
 to at least the basics of how to accomplish synching between mobile and
 desktop?

 TIA;

 Amy

  




-- 
Regards,
Ganaraj P R


Re: [flexcoders] Re: Mobile-Desktop Desktop-Mobile synching

2011-08-25 Thread ganaraj p r
On a very simple basis you could just write all the data in the mobile app
to a file,
transfer the file to desktop and update the desktop app from the file? and
vice versa ofcourse.



On Thu, Aug 25, 2011 at 2:57 PM, Amy amyblankens...@bellsouth.net wrote:

 **


 So, make users use their data even though they have a physical cable to the
 computer? That's crazy.


 --- In flexcoders@yahoogroups.com, ganaraj p r ganarajpr@... wrote:
 
  As far as I know, there is no protocol that lets you sync a mobile app
  directly to a desktop app. You will , most probably have to go through a
  server ( in most cases a web server - since its one of the simplest way
 to
  do it. )
 
  On Wed, Aug 24, 2011 at 6:28 PM, Amy amyblankenship@... wrote:
 
   **
  
  
   Hi, all;
  
   I have been searching for a tutorial/example that shows how to get data
   from a mobile app to a desktop version of the same app, and vice versa,
 but
   I have only come up with examples that synch to the web. Can anyone
 point me
   to at least the basics of how to accomplish synching between mobile and
   desktop?
  
   TIA;
  
   Amy
  
  
  
 
 
 
  --
  Regards,
  Ganaraj P R
 

  




-- 
Regards,
Ganaraj P R


[flexcoders] Flex Testing

2009-12-09 Thread ganaraj p r
Hi,

My confusion lies in the fact that the currently in the application very few
classes exist which do any kind of data manipulation ( And various
components ) .

All that the components do is get the data and display it on the display
list. In such a scenario how do we test the application. What do people test
in general?

My application is flex front end ( UI ) for a PhP backend (data comes from
here).
I was wondering if someone could help me with testing in Flex. What I mean
is, can you post me a code which contains a typical Flex Web App (UI heavy)
and how you go about testing its contents? Any link or pointers here would
be really helpful. I went through some examples that are given for testing.
The one on adobe site which talks about accounts etc ( But in my case im not
creating any non UI objects ).

Also are there any test cases available for build in components ( Like
Button or ComboBox?  just for reference )

-- 
Regards,
Ganaraj P R


[flexcoders] Centering a Scaled Image ( Bug ? ) [1 Attachment]

2009-11-30 Thread ganaraj p r
I was wondering if this was a bug with flex or if I was doing something
totally wrong.

The amount of code in this is extremely low, so , I was guessing that there
was nothing wrong from my part.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
 mx:Image id=myimage maintainAspectRatio=true
horizontalCenter=0 verticalCenter=0
 source=@Embed(source='images.jpg')
scaleContent=true width=100% height=100%/
/mx:Application


This is all the code there is in this application ( I am attaching the app,
for your reference ) .
My expectation from this code is that the image should fit the screen,
maintain the aspect ratio of the image and finally be both centered
horizontally and vertically!


Can someone help me out in this ?

-- 
Regards,
Ganaraj P R


Re: [flexcoders] Centering a Scaled Image ( Bug ? )

2009-11-30 Thread ganaraj p r
Hi,

Thanks. Yes. But that is a workaround right?

I wanted to know if this was a bug with flex! Or if there was an mxml way of
doing it.

On Mon, Nov 30, 2009 at 5:42 PM, Manoj Kumar manoj_kode...@yahoo.comwrote:



 try this mt-

 private function onAppComplete():void
 {
 stage.addEventListener(Event.RESIZE,onResize);
 _spr.x = (stage.stageWidth - _spr.width)/2;
 _spr.y = (stage.stageHeight - _spr.height)/2;
 _ui.width = stage.stageWidth;
 _ui.height = stage.stageHeight;
 }
 private function onResize(evt:Event):void
 {
 _spr.x = (stage.stageWidth - _spr.width)/2;
 _spr.y = (stage.stageHeight - _spr.height)/2;
 _ui.width = stage.stageWidth;
 _ui.height = stage.stageHeight;
 }



 --- On *Mon, 11/30/09, ganaraj p r ganara...@gmail.com* wrote:


 From: ganaraj p r ganara...@gmail.com
 Subject: [flexcoders] Centering a Scaled Image ( Bug ? ) [1 Attachment]
 To: flex_in...@googlegroups.com, flexcoders@yahoogroups.com
 Date: Monday, November 30, 2009, 4:08 PM




 I was wondering if this was a bug with flex or if I was doing something
 totally wrong.

 The amount of code in this is extremely low, so , I was guessing that there
 was nothing wrong from my part.

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe. com/2006/ 
 mxmlhttp://www.adobe.com/2006/mxml
 layout=absolute
  mx:Image id=myimage maintainAspectRatio =true
 horizontalCenter=0 verticalCenter=0
  source=@Embed(source='images.jpg')
 scaleContent=true width=100% height=100%/
 /mx:Application


 This is all the code there is in this application ( I am attaching the app,
 for your reference ) .
 My expectation from this code is that the image should fit the screen,
 maintain the aspect ratio of the image and finally be both centered
 horizontally and vertically!


 Can someone help me out in this ?

 --
 Regards,
 Ganaraj P R


  




-- 
Regards,
Ganaraj P R


Re: [flexcoders] Centering a Scaled Image ( Bug ? )

2009-11-30 Thread ganaraj p r
Thank you :)

that helped a great deal.

On Tue, Dec 1, 2009 at 12:30 PM, Chris zomgfore...@gmail.com wrote:



 Well that is one day to do it, but this should work better:


 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute
 mx:Image id=myimage maintainAspectRatio=true
 source=@Embed(source='images.jpg')
 scaleContent=true width=100% height=100% horizontalAlign=middle
 verticalAlign=middle /
 /mx:Application

 So the issue with the code is more an understanding of scaling:


 My expectation from this code is that the image should fit the screen,
 maintain the aspect ratio of the image and finally be both centered
 horizontally and vertically!


 Techinically the Image above 'fits' the screen, that is its width and
 height is set to 100% of the application. Since it fills the application
 completely, setting verticalCenter and horizontalCenter have no effect. You
 would have to set a width and height of the Image's *content* to center, not
 the image itself. An important but subtle distinction. The Image control
 contains an image, but will have empty space inside it also if
 maintainAspectRatio is true. The alignment of the contents within the Image
 is controlled by the horizontalAlign and verticalAlign styles.

 Peace
 C



 On Mon, Nov 30, 2009 at 10:03 PM, ganaraj p r ganara...@gmail.com wrote:



 Hi,

 Thanks. Yes. But that is a workaround right?

 I wanted to know if this was a bug with flex! Or if there was an mxml way
 of doing it.


 On Mon, Nov 30, 2009 at 5:42 PM, Manoj Kumar manoj_kode...@yahoo.comwrote:



 try this mt-

 private function onAppComplete():void
 {
 stage.addEventListener(Event.RESIZE,onResize);
 _spr.x = (stage.stageWidth - _spr.width)/2;
 _spr.y = (stage.stageHeight - _spr.height)/2;
 _ui.width = stage.stageWidth;
 _ui.height = stage.stageHeight;
 }
 private function onResize(evt:Event):void
 {
 _spr.x = (stage.stageWidth - _spr.width)/2;
 _spr.y = (stage.stageHeight - _spr.height)/2;
 _ui.width = stage.stageWidth;
 _ui.height = stage.stageHeight;
 }



 --- On *Mon, 11/30/09, ganaraj p r ganara...@gmail.com* wrote:


 From: ganaraj p r ganara...@gmail.com
 Subject: [flexcoders] Centering a Scaled Image ( Bug ? ) [1 Attachment]
 To: flex_in...@googlegroups.com, flexcoders@yahoogroups.com
 Date: Monday, November 30, 2009, 4:08 PM




 I was wondering if this was a bug with flex or if I was doing something
 totally wrong.

 The amount of code in this is extremely low, so , I was guessing that
 there was nothing wrong from my part.

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe. com/2006/ 
 mxmlhttp://www.adobe.com/2006/mxml
 layout=absolute
  mx:Image id=myimage maintainAspectRatio =true
 horizontalCenter=0 verticalCenter=0
  source=@Embed(source='images.jpg')
 scaleContent=true width=100% height=100%/
 /mx:Application


 This is all the code there is in this application ( I am attaching the
 app, for your reference ) .
 My expectation from this code is that the image should fit the screen,
 maintain the aspect ratio of the image and finally be both centered
 horizontally and vertically!


 Can someone help me out in this ?

 --
 Regards,
 Ganaraj P R





 --
 Regards,
 Ganaraj P R


  




-- 
Regards,
Ganaraj P R


Re: [SPAM] [flexcoders] Re: how to call a function from a component to another

2009-10-13 Thread ganaraj p r
Can you tell us more specifically why you are not able to assign an id to
the object?


On Tue, Oct 13, 2009 at 7:36 AM, Tracy Spratt tr...@nts3rd.com wrote:



  I think the key here will be to make the event bubble.  This way, you can
 put the listener on any component in the hierarchy above the dispatcher and
 it will call the handler.



 I don’t think it is wrong to say that a listener “listens to the
 component”.  I haven’t been deep enough into the framework event code to be
 specific, but conceptually, that is a valid way to look at what happens.



 Tracy Spratt,

 Lariat Services, development services available
   --

 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *quantum_ohm
 *Sent:* Monday, October 12, 2009 11:56 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [SPAM] [flexcoders] Re: how to call a function from a component
 to another





 ok, thx for your help.

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Clint
 Tredway grum...@... wrote:
 
  no... it doesn't listen to the component.. it listens for an event. X
  broadcasts the event that Y is listening for..
 
  On Mon, Oct 12, 2009 at 10:32 AM, quantum_ohm charly.anto...@...wrote:
 
  
  
   I've tried this... doesn't work since the addEventListener has to
 listen to
   X.mxml so X.addEventListener
   :-(
  
  
   --- In flexcoders@yahoogroups.com 
   flexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.com, Clint
   Tredway grumpee@ wrote:
   
inside an init function or similar just add something like this:
this.addEventListener(EVENT,function)
   
then in your X component just dispatch a custom event that the Y
   component
is listening for
   
When you choose hope, anything is possible.
-Christopher Reeve
   
  
  
  
 
 
 
  --
  When you choose hope, anything is possible.
  -Christopher Reeve
 

  




-- 
Regards,
Ganaraj P R