Re: [flexcoders] Loading the IDE (Flash Builder) error

2012-05-14 Thread John Fletcher
Hahahaha. New cafeteria menus promote tighter bun control in schools.

2012/5/11 Davidson, Jerry jerry.david...@illinois.gov

 **


 Whoops.   I once asked a guy about “gun control”, but I used a “B” instead
 and was told to go to the gym.

 ** **



Re: [flexcoders] Loading the IDE (Flash Builder) error

2012-05-11 Thread John Fletcher
2012/5/10 Davidson, Jerry

 **

 I spoke too soon.  We are suing ClearCase and I can’t check out and update
 a module now without the error.



Sue the pants off them I say!

John


Re: [flexcoders] Re: Flex alternatives

2012-01-17 Thread John Fletcher
Out of interest... why does ZK marketing material never mention HTML5? They
used to say direct RIA though I can't see that on the site anymore. I
thought HTML5 was the new buzzword and that it would make sense to state it
at least 3 times on every page?
John
2012/1/17 Ron G rgri...@sinclairoil.com

 **


 Hi Joaoak:

 You can make the coupling as tight or loose as you want. Each UI object
 can have a client side widget that is primarily the appearance, and a
 server side component that should contain the more complex logic. So, you
 can hide as much as want by placing it in the server side component as Java
 code, or keep in the client side widget as JS. In fact, since you indicate
 you are moving to HTML5, ZKoss actually might be a good choice, since it
 relies heavily on jQuery, which is considered a favorite HTML5 library. The
 difference is ZK lets you choose where client side logic is stored - as JS
 on the client or Java on the server. Another type of HTML5 approach won't
 offer that.

 Ron



Re: [flexcoders] Re: date problem?

2012-01-13 Thread John Fletcher
Months start at 0 and go up to 11.

Don't ask me why.

John

2012/1/12 luvfotography ygro...@all-digital-links.com

 **



 http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Date.html#methodSummary

 says:

 If you pass two or more arguments, the Date object is assigned a time
 value based on the argument values passed, which represent the date's year,
 month, date, hour, minute, second, and milliseconds.


 --- In flexcoders@yahoogroups.com, luvfotography ygroups@... wrote:
 
  Why does:
  trace((new Date(2012,01,15)).toString());
  and
  trace((new Date('2012','01','15')).toString());
 
  return:
 
  Wed Feb 15 00:00:00 GMT-0800 2012
 
  February??
 

  




-- 
John

*You're old enough to make your own decisions about the environment without
me telling you what you should and shouldn't print. But if you do print, I
hope this signature doesn't cause the message to go onto an additional
page. Because that would be kind of stupid, wouldn't it?*


Re: [flexcoders] Re: date problem?

2012-01-13 Thread John Fletcher
Or maybe the person that wrote the Java Date class is from Venus and
the person that wrote the Actionscript one just copied him. You might get
quite some support on the Java assertion...

John

2012/1/13 Rick Winscot rick.wins...@zyche.com

 **


 I'm suspicious… I think that the person that wrote the Date class is from
 Venus.

 Cheers,

 Rick Winscot

 From: John Fletcher fletch...@gmail.com
 Reply-To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 Date: Fri, 13 Jan 2012 10:03:28 +0100
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: date problem?



 Months start at 0 and go up to 11.

 Don't ask me why.

 John

 2012/1/12 luvfotography ygro...@all-digital-links.com

 **



 http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Date.html#methodSummary

 says:

 If you pass two or more arguments, the Date object is assigned a time
 value based on the argument values passed, which represent the date's year,
 month, date, hour, minute, second, and milliseconds.


 --- In flexcoders@yahoogroups.com, luvfotography ygroups@... wrote:
 
  Why does:
  trace((new Date(2012,01,15)).toString());
  and
  trace((new Date('2012','01','15')).toString());
 
  return:
 
  Wed Feb 15 00:00:00 GMT-0800 2012
 
  February??
 




 --
 John

 *You're old enough to make your own decisions about the environment
 without me telling you what you should and shouldn't print. But if you do
 print, I hope this signature doesn't cause the message to go onto an
 additional page. Because that would be kind of stupid, wouldn't it?*

   



Re: [flexcoders] Timed Progress bar for 2 minutes.

2012-01-11 Thread John Fletcher
You could take a page from the book of most routers. When you click
reboot on the web interface there is generally a message like this will
take about 2 minutes and a progress-bar type thing which edges towards
complete. This is not actually polling the device in anyway, in fact
usually this takes longer than the device actually takes to reboot (safe
margin of error). Eventually it refreshes the page and says now you can
log in or takes you to the login page.

I would be transparent about the fact that it's going to take ages. Like
even a countdown timer instead of a progress bar perhaps.

John

2012/1/10 Paul Andrews p...@ipauland.com

 **


 On 10/01/2012 22:39, Guy Morton wrote:

 The OP has said what it's doing - a firmware update. It takes 2-3 minutes.
 It's not a db transaction.


 Ah, I missed that. In that case the bar with enter_frame/timer will do the
 trick.

 Thanks for the explanation.

 Paul




  On 11/01/2012, at 4:01 AM, Paul Andrews wrote:



 On 10/01/2012 16:46, Venkat M wrote:

  My application will try to connect to a java framework, which in turn
 calls some scripts to execute on a server.
 If it is a firmware update script that is called, it will typically wait
 for 2-3 minutes before the update on the server is complete. So I have to
 keep user understand that process is going on (or else, they may think the
 system is hanged or not responding with 2 minutes of spinning), to provide
 some understandably, I am thinking of static pooling a progress bar for 2-3
 (standard time which we know) minutes that looks more user friendly. What
 say?


 I have never worked on a server that took two or three minutes to update.
 Usually more than a few seconds is considered unacceptable.

 Where there have been operations performed on the server that take a long
 time, I usually have status changes informing the user what is happening.
 For example, on one system, multiple printouts initiated by differrent
 users were queued for printing. Each job included a processing element, so
 the jobhas various statuses QUEUED/ACTIVE/PRINTING/PRINTED/PAUSED/CANCELLED
 and the user had access to those statuses. I don't know if such a system
 would apply here, or you just have a very bad database server doing
 incredibly slow updates.

 What is your server doing?

 Paul


  *
   Cheers,
 Venkat.
*



   --
 *From:* Paul Andrews p...@ipauland.com p...@ipauland.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Tuesday, January 10, 2012 4:13 AM
 *Subject:* Re: [flexcoders] Timed Progress bar for 2 minutes.


  On 10/01/2012 09:17, claudiu ursica wrote:

  Are you sure it is exactly 2 minutes?
 DO you really need to show progress? A spinning animation might suit you
 better, keep it spinning until the load is done.


 It would just look like the application had hung.

 As Rick suggested, two minutes is a very long time. What is it that takes
 two minutes to be ready?

 If it's a database query, I'd suggest sorting out the server, because two
 minutes is a ridiculous amount of time to be waiting for a result.

 It really looks like your application has a fundamental problem.

 Paul


  C

   --
 *From:* Venkat M venkat_...@yahoo.com venkat_...@yahoo.com
 *To:* flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 *Sent:* Tuesday, January 10, 2012 2:09 AM
 *Subject:* [flexcoders] Timed Progress bar for 2 minutes.


  Hi,

 I have a scenario in my application.

 I know that the wait time for the response is 2 minutes.
 Can someone let me know how we can run a progress bar for 2 minutes
 loading from 0% to 100% in the same 2 minutes?

 Or


 Is there a better way to indicate the wait for 2 minutes? (This is a fixed
 wait time)

  *
   Cheers,
 Venkat.
*










  




-- 
John

*You're old enough to make your own decisions about the environment without
me telling you what you should and shouldn't print. But if you do print, I
hope this signature doesn't cause the message to go onto an additional
page. Because that would be kind of stupid, wouldn't it?*


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

2012-01-11 Thread John Fletcher
Cool. Do you understand Italian? Maybe you should ask the author. I think
different cameras have different ways of getting access to the stream
depending on the vendor. But really I'm not sure; there are smartphone apps
which let you control major brands of camera and I always wondered how they
do that. Of course you could always try and get the relevant HTML page
inside air but I don't think that is what is happening in the link.

John

2012/1/11 markflex2007 markflex2...@yahoo.com

 **


 IP camera can provide a line with mjpeg format. I am not sure how air can
 access it.

 I like do something similar with:

 http://www.youtube.com/watch?v=gF-ELum2iyA

 in the demo. one air app can access many ip cameras.

 Please give me a idea.Thanks

 Mark

  




-- 
John

*You're old enough to make your own decisions about the environment without
me telling you what you should and shouldn't print. But if you do print, I
hope this signature doesn't cause the message to go onto an additional
page. Because that would be kind of stupid, wouldn't it?*


Re: [flexcoders] FlexPMD / cut and paste detector - is it alive ?

2012-01-09 Thread John Fletcher
No but I've noted down to look into this tool soon.

John

2012/1/8 Rick Winscot rick.wins...@zyche.com

 **


 I'm a heavy PMD / CPD user… I'll do what I can.

 Cheers,

 Rick Winscot

 From: tom.chiverton ya...@falkensweb.com
 Reply-To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 Date: Fri, 06 Jan 2012 14:34:54 -
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 Subject: [flexcoders] FlexPMD / cut and paste detector - is it alive ?



 Does anyone else use the FlexPMD / FlexCPD tools ?

 There's a bunch of unanswered questions over at
 http://forums.adobe.com/community/opensource/flexpmd (not all from me !)
 including one from the start of November.

 Tom

   




-- 
John

*You're old enough to make your own decisions about the environment without
me telling you what you should and shouldn't print. But if you do print, I
hope this signature doesn't cause the message to go onto an additional
page. Because that would be kind of stupid, wouldn't it?*


[flexcoders] Bug tracking Jira / Apache

2011-12-22 Thread John Fletcher
This might be of interest to anyone who logs bugs in Flex:

http://forums.adobe.com/message/4097963


Re: [flexcoders] Flex to HTML5 Conversion tool?

2011-12-02 Thread John Fletcher
There's another key issue - who wants to work with machine converted code?
Sounds like a nightmare.
John
2011/12/1 Doug McCune d...@dougmccune.com

 **


 Just to throw in my two cents... I would not hold out any hope for any
 solution that will magically convert your Flex app to a HTML/JS app. Not in
 6 months, not in 6 years. I don't want to be a downer, but I just don't see
 it happening. Sure, we may see some tech demos that work on super simple
 Flex apps, but I think that's about as far as you'll get. You also might
 get tools that let you write a new app in MXML/AS, specifically with
 targeting HTML/JS in mind, and that might work well. But I have almost no
 confidence that you will ever be able to take an existing, large Flex app
 and magically get it to run well as an HTML app. I'd of course love to be
 proven wrong.

 My advice is that if you really need to target HTML/JS is to build it new
 from scratch. It's a harsh reality, and you're going to hate a lot of the
 toolchain, language, and process, but if you really do have the requirement
 that you need to have an HTML/JS app, you might as well just rip off the
 band-aid in one go instead of holding out hope for a holy grail solution.

 On Thu, Dec 1, 2011 at 6:27 AM, Merrill, Jason 
 jason.merr...@bankofamerica.com wrote:

 **


 Check out another possibility - using haXe for converting an
 MXML/Actionscript project to HTML5/Javascript.  The syntax is extremely
 similar to Actionscript, so you could convert the MXML (via the option with
 the compiler to save the generated Actionscript from MXML) to haXe code,
 and the Actionscript too.  

 ** **

 Jason Merrill
 Instructional Technology Architect II**

 * Bank of America*  Global Learning 

 ** **

 ** **

 ** **

 ** **

 ** **

 ___

 ** **

 *From:* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] *On
 Behalf Of *ganaraj p r
 *Sent:* Thursday, December 01, 2011 4:13 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Flex to HTML5 Conversion tool?

 ** **

   

 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.org
 wrote:

   

 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

 
  --
 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 proprietary. If you are not an intended recipient, please
 notify the sender, and then please delete and destroy all copies and
 attachments, and be advised that any review or dissemination of, or the
 taking of any action in reliance on, the information contained in or
 attached to this message is prohibited.
 Unless specifically indicated, this message is not an offer to sell or a
 solicitation of any investment products or other financial product or
 service, an official confirmation of any transaction, or an official
 statement of Sender. Subject to applicable law, Sender may intercept,
 monitor, review and retain e-communications (EC) traveling through its
 networks/systems and may produce any such EC to regulators, law
 enforcement, in litigation and as required by law.
 The laws of the country of each sender/recipient may impact the handling
 of EC, and EC may be 

[flexcoders] Git and Flash Builder

2011-12-02 Thread John Fletcher
Anyone here using Git and Flash Builder?

John


[flexcoders] States are single-use

2011-11-23 Thread John Fletcher
The problem with states and skinstates is that they are single use. I'm
adapting a desktop app to mobile and I want to support portrait and
landscape views. According to a couple of pages on the net you should
create a portrait skin state and a landscape skin state.

Sounds good, but I am already using my skin states for something else, some
real lifecycle states of this component like active, inactive,
expired, etc. I'm not going to multiply all my states and create
activeportrait, expiredportrait - sounds like code bloat to me.

Anyone else encounter this kind of problem and can point me to the best way
forward?

John


Re: [flexcoders] Re: Why Flex now?

2011-11-18 Thread John Fletcher
Yes you bring up an important point - namely there are public websites and
services that also do cool things, that need to focus on standards
compliance and SEO and everything. These over time will become a best fit
for HTML5 if they aren't already. Flex isn't great for SEO.

Then there are applications, that are simply programs which happen to use
the browser as a delivery mechanism, where generally the entity writing the
application also controls the browser or computer being used to use the
application. Sometimes they are called enterprise applications but I
don't think this categorisation is true in all cases. They are really a
different kettle of fish and more often a good fit to Flex.
John
2011/11/18 Angelo Anolin angelo_ano...@yahoo.com

 **


 95% of organizations and businesses bottom line is to be able to deliver
 projects and applications with the least amount of time and budget.

 We are able to deliver software faster, better and more responsive using
 Flex/Flash technology running on the web than any other implementation out
 there.

 I think Adobe forgot to mention that enterprise grade applications are far
 different from fancy web sites powered by HTML5, CSS, JS, etc..

 Bottom line is if you are able to deliver software better, and you have
 very satisfied users, use that technology.

 Just read this post and somehow rings true..
 http://www.kalzumeus.com/2011/10/28/dont-call-yourself-a-programmer/

   --
 *From:* Tomislav i...@svemir.net
 *To:* flexcoders@yahoogroups.com
 *Sent:* Wednesday, November 16, 2011 6:08:58 AM
 *Subject:* [flexcoders] Re: Why Flex now?


 That statement is updated today. Checkout the same link:
 http://blogs.adobe.com/flex/2011/11/your-questions-about-flex.html

 --- In flexcoders@yahoogroups.com, Rick Schmitty flexcode@... 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] No, Flex Flash Are Not Dead

2011-11-17 Thread John Fletcher
Ermm, that post only repeats what adobe just said, but with a different
headline. And highlights a sentence in red, for special value-add.

John
2011/11/16 turbo_vb timh...@aol.com

 **


 http://www.tricedesigns.com/2011/11/16/no-flex-flash-are-not-dead/

  



Re: [flexcoders] Why Flex now?

2011-11-16 Thread John Fletcher
Yeah I thought about that too, it's kind of weird because there's this
just-released talk from MAX on adobe.tv about the Spoon project and how
much mutual trust was required and how it took a year of hard work to get
where they are, where Adobe will trust them to contribute patches and
stuff; now all those people must feel a bit stupid for doing all that work
to convince Adobe, since someone just decided to hand over the entire
responsibility for the code anyway. But maybe it will work out because now
the Spoon project has an organised structure ready to go, which is handy.

Reading into these things, it seems that some higher-level people made
business decisions which by necessity happen suddenly, and everyone else in
the company found out just as suddenly as us. The article you mention
probably genuinely was the plan at the time it was written.
There is quite a strong feeling that HTML5 simply can't replace Flex yet;
and as for future it is pure conjecture, no-one knows. Who knows, maybe the
community will do a better job with the Flex codebase than Adobe themselves
did? If you watch the Spoon talk you read about the incredible problems
faced by contributors who contributed patches but no-one at Adobe ever
reviewed them or contributed them - now this might all change for the
better. Let's see what happens...

Here's the link by the way:
http://tv.adobe.com/watch/max-2011-develop/open-source-flex-what-the-spoon-project-means-to-you/

Oh - I just noticed a notice on the Spoon site about it:
http://www.spoon.as/2011/adobe-announces-intention-to-donate-flex-sdk/. So
apparently they are excited - fair enough they wanted to be able to
actually commit their changes and now they will be able to.

I would encourage everyone to stay calm and see how things develop over the
next six months. By then we'll start to see whether the Apache project
takes off. I think there's a distinct possibility that Adobe will try and
translate Flash Builder into Flash or HTML5 Builder (with a classier name
of course) - after all you've got a lot of Flex-skilled people that would
immediately buy it.

John


2011/11/15 Farid Shahlavi fshahl...@gmail.com

 **


 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 hayke...@gmail.comwrote:

 **


 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 flexc...@gmail.comwrote:

 **


 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 

Re: [flexcoders] Errors during build - ASDoc Configuration

2011-11-08 Thread John Fletcher
Cool. If it really happens exactly every other time, then that is good
information to work with. Does it matter if you just restarted the IDE?
Does it matter if you did a clean or just saved a file with build
automatically on, etc? When you restart your machine? Then you need to
determine whether it's the first build or the second build that is
suffering - if it's the first then something might be happening out of
order and is only there by the time the second build comes. If it's the
second then the first might be leaving junk around like hanging on to
resources or something.

Though I suppose if you're using Flash Builder it shouldn't really be your
responsibility to spend hours debugging it.

Regards,
John
2011/11/7 Merrill, Jason jason.merr...@bankofamerica.com

 **


 Both my co-worker and I get this message on every other build in debug
 mode.  It’s strange, it doesn’t happen every time, just every OTHER time we
 run in Debug mode.   

 ** **

 Errors occurred during the build.

   Errors running builder 'Integrated External Tool Builder' on project
 'KPL-R v4'.

 The file does not exist for the external tool named ASDoc
 Configuration [Builder].

   The file does not exist for the external tool named ASDoc Configuration
 [Builder].

 ** **

 Any ideas on how to fix this?  Re-installing is not easy because our
 licenses are managed via enterprise Tivoli pushes and it’s a lot of red
 tape to make it happen.  

 ** **

 Thanks,

 ** **

 Jason

 ** **
 --
 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 proprietary. If you are not an intended recipient, please
 notify the sender, and then please delete and destroy all copies and
 attachments, and be advised that any review or dissemination of, or the
 taking of any action in reliance on, the information contained in or
 attached to this message is prohibited.
 Unless specifically indicated, this message is not an offer to sell or a
 solicitation of any investment products or other financial product or
 service, an official confirmation of any transaction, or an official
 statement of Sender. Subject to applicable law, Sender may intercept,
 monitor, review and retain e-communications (EC) traveling through its
 networks/systems and may produce any such EC to regulators, law
 enforcement, in litigation and as required by law.
 The laws of the country of each sender/recipient may impact the handling
 of EC, and EC may be archived, supervised and produced in countries other
 than the country in which you are located. This message cannot be
 guaranteed to be secure or free of errors or viruses.

 References to Sender are references to any subsidiary of Bank of America
 Corporation. Securities and Insurance Products: * Are Not FDIC Insured *
 Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not
 a Condition to Any Banking Service or Activity * Are Not Insured by Any
 Federal Government Agency. Attachments that are part of this EC may have
 additional important disclosures and disclaimers, which you should read.
 This message is subject to terms available at the following link:
 http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender
 you consent to the foregoing.

  



Re: [flexcoders] ALEX HAURI please help

2011-11-04 Thread John Fletcher
Deepa,

I'm not sure that such a subject line conforms to mailing list etiquete; in
any case if you want someone's help, may I suggest that you first take care
to spell his name correctly. People tend to like their own names.

Regards,
John

2011/11/3 deepa_pathuri deepa_path...@yahoo.co.in

 **


 i want to implement undo and redo operations.
 i am dragging image from one container to other and i want to facilitate a
 undo and redo for it.
 can some body please tell me how to acheive it?

  



Re: [flexcoders] Re: is there another flexcoders list?

2011-10-12 Thread John Fletcher
I only came to this list because I tried posting on the forums and never got
a single reply. And I saw heaps other unanswered questions. Hopefully they
are getting better...

John

2011/10/7 valdhor valdhorli...@embarqmail.com

 **


 Of course, all the most knowledgeable people are still here because they
 can't stand the chatter over there ;-}


 --- In flexcoders@yahoogroups.com, Jeffry Houser jeffry@... wrote:
 
 
  This list started to die after Adobe launched their new forums. I
  think that was a couple of years ago. Adobe, basically, stopped
  directing people to this list and instead started directing them to the
  forums.
 
  So, that is where you'll find the traffic.
 
  On 10/7/2011 9:44 AM, Gustavo Duenas wrote:
  
   Hi, is there another list, it's been ages since someone just answer
   me...it is just me or everyone else has migrated to some other list?
  
   Gus
  
  
 
 
  --
  Jeffry Houser
  Technical Entrepreneur
  203-379-0773
  --
  http://www.flextras.com?c=104
  UI Flex Components: Tested! Supported! Ready!
  --
  http://www.theflexshow.com
  http://www.jeffryhouser.com
  http://www.asktheflexpert.com
  --
  Part of the DotComIt Brain Trust
 

  



[flexcoders] Re: Chart data disappears when printing with a print-specific output format

2011-10-12 Thread John Fletcher
aha I figured it out, the series array is getting mucked up/changed around
by the print specific line chart. You have to duplicate it, see
http://www.saltwebsites.com/2011/flex-print-specific-chart
John

2011/10/11 John Fletcher

 I followed the advice at
 http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7c80.html
  to
 print using a print-specific output format in Flex 4.5, however this
 causes the data to disappear from my chart! Try the code below - is this a
 bug or is there a simple solution? One interesting side-effect is that after
 you print and the data disappears from your chart, you can still hover over
 the empty chart and get the dataTips pop up! :-)

 John


 ?xml version=1.0 encoding=utf-8?
 s:WindowedApplication xmlns:fx=http://ns.adobe.com/mxml/2009;
 xmlns:s=library://ns.adobe.com/flex/spark
 xmlns:mx=library://ns.adobe.com/flex/mx
 width=800
 height=600

  fx:Script
   ![CDATA[
import mx.charts.LineChart;
import mx.printing.FlexPrintJob;
import mx.collections.ArrayCollection;

[Bindable]
public var expensesAC:ArrayCollection = new ArrayCollection( [
 { Month: Jan, Profit: 2000, Expenses: 1500, Amount: 450 },
 { Month: Feb, Profit: 1000, Expenses: 200, Amount: 600 },
 { Month: Mar, Profit: 1500, Expenses: 500, Amount: 300 },
 { Month: Apr, Profit: 1800, Expenses: 1200, Amount: 900 },
 { Month: May, Profit: 2400, Expenses: 575, Amount: 500 } ]);

protected function button1_clickHandler(event:MouseEvent):void {
 var printJob:FlexPrintJob = new FlexPrintJob();
 if (printJob.start()) {
  var lc:LineChart = new LineChart();
  lc.height = mlc.height;
  lc.width = mlc.width;
  lc.dataProvider = mlc.dataProvider;
  lc.series = mlc.series;
  lc.seriesFilters = mlc.seriesFilters;
  lc.horizontalAxis = mlc.horizontalAxis;
  lc.verticalAxis = mlc.verticalAxis;

  addElement(lc);

  printJob.addObject(lc);
  printJob.send();
  removeElement(lc);
 }
}
   ]]
  /fx:Script
 s:HGroup
  mx:LineChart id=mlc dataProvider={expensesAC} showDataTips=true
   mx:horizontalAxis
mx:CategoryAxis categoryField=Month/
   /mx:horizontalAxis

   mx:series
mx:LineSeries yField=Profit form=curve displayName=Profit/
mx:LineSeries yField=Expenses form=curve displayName=Expenses/
mx:LineSeries yField=Amount form=curve displayName=Amount/
   /mx:series
  /mx:LineChart

  s:Button label=print click=button1_clickHandler(event)/
 /s:HGroup
 /s:WindowedApplication




[flexcoders] Chart data disappears when printing with a print-specific output format

2011-10-11 Thread John Fletcher
I followed the advice at
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7c80.html
to
print using a print-specific output format in Flex 4.5, however this
causes the data to disappear from my chart! Try the code below - is this a
bug or is there a simple solution? One interesting side-effect is that after
you print and the data disappears from your chart, you can still hover over
the empty chart and get the dataTips pop up! :-)

John


?xml version=1.0 encoding=utf-8?
s:WindowedApplication xmlns:fx=http://ns.adobe.com/mxml/2009;
xmlns:s=library://ns.adobe.com/flex/spark
xmlns:mx=library://ns.adobe.com/flex/mx
width=800
height=600

 fx:Script
  ![CDATA[
   import mx.charts.LineChart;
   import mx.printing.FlexPrintJob;
   import mx.collections.ArrayCollection;

   [Bindable]
   public var expensesAC:ArrayCollection = new ArrayCollection( [
{ Month: Jan, Profit: 2000, Expenses: 1500, Amount: 450 },
{ Month: Feb, Profit: 1000, Expenses: 200, Amount: 600 },
{ Month: Mar, Profit: 1500, Expenses: 500, Amount: 300 },
{ Month: Apr, Profit: 1800, Expenses: 1200, Amount: 900 },
{ Month: May, Profit: 2400, Expenses: 575, Amount: 500 } ]);

   protected function button1_clickHandler(event:MouseEvent):void {
var printJob:FlexPrintJob = new FlexPrintJob();
if (printJob.start()) {
 var lc:LineChart = new LineChart();
 lc.height = mlc.height;
 lc.width = mlc.width;
 lc.dataProvider = mlc.dataProvider;
 lc.series = mlc.series;
 lc.seriesFilters = mlc.seriesFilters;
 lc.horizontalAxis = mlc.horizontalAxis;
 lc.verticalAxis = mlc.verticalAxis;

 addElement(lc);

 printJob.addObject(lc);
 printJob.send();
 removeElement(lc);
}
   }
  ]]
 /fx:Script
s:HGroup
 mx:LineChart id=mlc dataProvider={expensesAC} showDataTips=true
  mx:horizontalAxis
   mx:CategoryAxis categoryField=Month/
  /mx:horizontalAxis

  mx:series
   mx:LineSeries yField=Profit form=curve displayName=Profit/
   mx:LineSeries yField=Expenses form=curve displayName=Expenses/
   mx:LineSeries yField=Amount form=curve displayName=Amount/
  /mx:series
 /mx:LineChart

 s:Button label=print click=button1_clickHandler(event)/
/s:HGroup
/s:WindowedApplication


Re: [flexcoders] Flex line chart

2011-09-13 Thread John Fletcher
Generally you have to reconstruct the data into an appropriate format for
a Flex chart, you can do that server-side or client-side before giving it to
the chart.

John

2011/9/13 Brendan Meutzner bmeutz...@gmail.com

 **


 I've re-read your post 3 times, and still can't make sense of how your data
 is structured.

 Is there any way you can post an example of the structure?

 There's always a way to massage the data to fit into the charting...

 Brendan


 On Mon, Sep 12, 2011 at 7:06 AM, chinwesley wesleyc...@hotmail.comwrote:

 **


 I want to create a line chart in Flex. I know how to create a simple one
 but the one I need to create needs to have 6 series (lines).

 The problem is that when I get the data from MYSQL, there is 6 xFields
 (one for each line) that are the same. eg. Western Cape - January, Western
 Cape - February, Western Cape - March, etc (for 6 months).

 That means that instead of there being only 9 xfields (province (south
 african provinces)), there is now 54 of them because they are being
 populated with all the values and not the unique ones. The same thing will
 happen with the line series becuase the line series will have 6 of the
 January's, 6 of the February's and so on.

 I just want to have 9 xfields and not 54 and 6 months and not 9 of each.

 Is there a way to solve this please?

 Regards,
 Wesley


  



[flexcoders] i18n labelFunction

2011-09-06 Thread John Fletcher
I've got a Spark ButtonBar with a labelfunction which goes like this

private function lab(s:String):String {
  return resourceManager.getString('main', s);
}

The labels don't update when I change locale. How can I acheive this? Is
this a problem with labelFunction on all elements?

John


[flexcoders] Why is CSS replaced by skins in Flex 4.x?

2011-09-02 Thread John Fletcher
I understand the advantages of skins, they are working pretty well for me.
But what disappoints me is the inability to add some padding on an element,
or change the height of a button, via CSS.

It seems ridiculous to me to create entire skin files just to change some
small aspects of a certain element.

Skins are great, but couldn't we have skins AND CSS? Why are many CSS
properties missing on elements? It would make my code so much more
lightweight.

John


Re: [flexcoders] Axis Scale problem on Dual Axis Chart

2011-09-01 Thread John Fletcher
As far as I can see your problem boils down to this:
The problem is that when certain events in the application happen, the min
and max of one of the axis is reset to 0, 100. To avoid this I can set the
min and max values, but I would like to avoid this as the axis should auto
scale just like it does when it is first created
or in other words: The application is setting the min and max, but I don't
want them to be set, I want them to autoscale.

There are two solutions:
1) Stop the min and max from being set in the first place. Find out what is
causing it - the stylesheet you are loading? Then modify this.
2) Set the min and max to NaN after they have been set. This re-enables
autoscaling.

Regards,
John

2011/8/30 Deidre

  I have a simply dual axis chart similar to the samples found all over the
 internet.  The chart has a line series on one Linear vertical axis and a
 column series on another Linear vertical axis.  The problem is that when
 certain events in the application happen, the min and max of one of the axis
 is reset to 0, 100.  To avoid this I can set the min and max values, but I
 would like to avoid this as the axis should auto scale just like it does
 when it is first created.

 Here is some sample code to show the problem.  The code is basically a
 chart with a button.  When the button is clicked a new styleSheet is loaded
 and it is then that the axis is set to 0, 100.

 code

 ?xml version=1.0 encoding=utf-8?

 s:WindowedApplication
 xmlns:fx=http://ns.adobe.com/mxml/2009;

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

 xmlns:mx=library://ns.adobe.com/flex/mx

 showStatusBar=false

 fx:Script

 ![CDATA[

 *import* mx.collections.ArrayCollection;

 *import* mx.core.FlexGlobals;

 [
 *Bindable*]

 *public* *var* SMITH:ArrayCollection = *new* ArrayCollection([

 {date:
 *22-Aug-05*, close:41.87},

 {date:
 *23-Aug-05*, close:45.25},

 {date:
 *24-Aug-05*, close:42.77},

 {date:
 *25-Aug-05*, close:48.02},

 ]);

 [
 *Bindable*]

 *public* *var* DECKER:ArrayCollection = *new* ArrayCollection([

 {date:
 *22-Aug-05*, close:157.59},

 {date:
 *23-Aug-05*, close:160.3},

 {date:
 *24-Aug-05*, close:150.71},

 {date:
 *25-Aug-05*, close:156.88},

 ]);

 *private* *function* onButtonClick():*void*

 {


 StyleManager.getStyleManager(FlexGlobals.topLevelApplication.moduleFactory).loadStyleDeclarations(
 *style01.swf*,*true*);

 }

 ]]

 /fx:Script

 s:VGroup width=100% height=100% horizontalAlign=center

 s:Button label=Click click=onButtonClick() /

 mx:ColumnChart id=myChart width=100% height=100% showDataTips=true
 

 mx:horizontalAxis

 mx:CategoryAxis id=h1 categoryField=date/

 /mx:horizontalAxis

 mx:verticalAxis

 mx:LinearAxis id=v1 /

 /mx:verticalAxis

 mx:verticalAxisRenderers

 mx:AxisRenderer placement=left axis={v1} /

 mx:AxisRenderer placement=right axis={v2} /

 /mx:verticalAxisRenderers

 mx:series

 mx:ColumnSeries id=cs1

 horizontalAxis=
 {h1}

 dataProvider=
 {SMITH}

 displayName=
 Smith

 yField=
 close

 mx:verticalAxis

 mx:LinearAxis id=v2 /

 /mx:verticalAxis

 /mx:ColumnSeries

  mx:LineSeries id=cs2

 horizontalAxis=
 {h1}

 verticalAxis=
 {v1}

 dataProvider=
 {DECKER}

 displayName=
 Decker

 yField=
 close /

 /mx:series

 /mx:ColumnChart

 mx:Legend dataProvider={myChart} direction=horizontal/

 /s:VGroup

 /s:WindowedApplication

 /code



 The style sheet which is loaded is basically a blank stylesheet which is
 compiled to swf.



 /* CSS file */

 @namespace s
 library://ns.adobe.com/flex/spark;

 @namespace mx
 library://ns.adobe.com/flex/mx;

 global

 {

 font-family: Verdana;

 }
  



[flexcoders] Reopen bug in Flex JIRA

2011-08-26 Thread John Fletcher
I reported a bug. The Adobe guy that handled it (Peter
deHaanhttps://bugs.adobe.com/jira/secure/ViewProfile.jspa?name=pdehaan)
misunderstood
my report and closed it as cannot reproduce. Now I've added a sample project
to demonstrate the bug but the issue is still closed and I guess it won't
gain anyone's attention anymore. What should I do in such a case?

https://bugs.adobe.com/jira/browse/SDK-27873

John


Re: [flexcoders] Launch a .bat

2011-08-25 Thread John Fletcher
Air lets you run programs on the local machine in the desktopProfile (you
have to do a little research on that) so I guess .bat would work too.

John

2011/8/5 Pete pete313...@yahoo.com

 **


 Actually, there was something nagging at me all day yesterday and I
 remembered what it was today.

 There is a windows specific way maybe...  Might only work in Air...

 Check out
 http://www.fluorinefx.com/

 I use it to do AutoDial on voip phones using the appropriate command line
 options.  I guess it'd do a batch file too.  Windows specific because it
 needs you to install some dll's.

 Regards
 Pete


 On 03/08/2011 15:54, cjacquel73 wrote:



 Hello,

 Is it possible to launch a .bat from the web application in Flex ?

 Thx,
 Chris,