Re: [flexcoders] Which AIR SDK to use with Flex? [1 Attachment]

2014-10-23 Thread John McCormack j...@easypeasy.co.uk [flexcoders]
The link Read the ActionScript Compiler 2.0 (PDF, 20Kb)file 
http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/flashplayer/pdfs/adobe-actionscript-compiler-20-release-notes.pdf

explains that ... it does not support
mxmlc
compc
compiling Flex applications

Maybe its because some of Flex code is now run by Apache Foundation.

John

On 23/10/2014 16:26, Dave Glasser dglas...@pobox.com [flexcoders] wrote:



On the download page for the AIR SDK:

http://www.adobe.com/devnet/air/air-sdk-download.html


It says:

Note: Flex users will need to download the original AIR SDK without 
the new compiler.


and provides separate links to SDKs that are about 15% smaller.

Does anyone know the reasoning behind this?

Are there compatibility reasons not to use the main AIR SDK that has a 
compiler? I'm still compiling my SWF with the compiler from the Flex SDK.









Re: [flexcoders] Re: Future Scope of Flex

2014-08-18 Thread John Hall jh...@cactusware.com [flexcoders]
Think the person was simply referring to the vocabulary and syntax, since
they're both based on the ECMA standards. Not sure it deserved an ad
hominem attack. It's a pretty accurate statement that someone who knows
ActionScript won't be baffled by JS.


On Mon, Aug 18, 2014 at 6:50 AM, danielpr...@yahoo.com [flexcoders] 
flexcoders@yahoogroups.com wrote:



  js is almost exactly like Actionscript.
 Typical of a JS advocate, no real knowledge of object oriented structures
 and concepts. Bet this is by another manager type that doesn't know an
 array from a variable (actually that WOULD be the same level of knowledge
 in this case wouldn't it.)

  




-- 
John Hall
jh...@cactusware.com
http://www.cactusware.com


Re: [flexcoders] Problem with Flash 13

2014-05-16 Thread John Hall jh...@cactusware.com [flexcoders]
Might check this out:

http://stackoverflow.com/questions/23703920/flash-sandbox-security-error-just-started-popping-up-in-the-last-day-dead-in-wa



On Fri, May 16, 2014 at 6:44 AM, Jairo França ja...@tgi.inf.br [flexcoders]
flexcoders@yahoogroups.com wrote:



 After updating to Flash player 13 I'm receiving the following error:

 SecurityError: Error #3769: Security sandbox violation: Cannot send HTTP
 headers when using navigateToUrl().

 Any idea?

 Thanks

 ---
 Este email está limpo de vírus e malwares porque a proteção do avast!
 Antivírus está ativa.
 http://www.avast.com

  




-- 
John Hall
jh...@cactusware.com
http://www.cactusware.com


Re: [flexcoders] Re: Flex alternatives

2013-05-10 Thread John McCormack

Alex

I pointed someone to this on Flashcoders:
http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/msg58770.html
Do you have any new views on where Flash is heading?

John


On 20/12/2012 05:50, Alex Harui wrote:

Re: [flexcoders] Re: Flex alternatives

Well, there are several pieces.  ActionScript is a language.  It is 
really only the dozen classes or so in the “top-level” in the ASDoc. 
 String, int, RegEx, Array, Vector, a few functions like unescape, 
etc, plus a bunch of keywords and stuff like “var”, “class”, plus a 
grammar of how you put it all together.  It hasn’t changed much in 
years, other than the addition of Vector.  There are no plans to 
improve on its specification by adding things it is missing compared 
to other languages like Java such as method overloading, or mutiple 
inheritance.  Instead, Adobe is tossing out the whole specification 
and developing a next-generation of ActionScript.  It will have some 
of the same things you see in the current ActionScript, but there will 
be new keywords and grammar.  The goal is to give up on backward 
compatibility in order to get significant speed improvements by making 
the language easier to execute at runtime.


ActionScript currently only runs in a Virtual Machine embedded in the 
FlashPlayer or AIR.  Both runtimes provide additional APIs that allow 
you to draw stuff and get network i/o, etc.  The current APIs use 
ActionScript 3 syntax and are focused primarily on Sprites, Shapes and 
MovieClips on a display list.  New features were added in every major 
release.


Now, Adobe is working on embedding a new Virtual Machine that runs the 
next-generation ActionScript in the FlashPlayer and AIR.  The focus is 
on gaming, and a new set of APIs that talk to a 3d rendering engine is 
being devloped in the next-generation ActionScript syntax.  There will 
be no support for the old Sprites/Shapes/MovieClips and display list.


However, the old virtual machine that runs ActionScript 3 will 
continue to be embedded in the FlashPlayer and AIR that run on 
tradtional desktops/laptops.  I would not expect it to be co-existent 
on mobile versions of AIR because the new focus is on the captive 
runtime workflow where you pre-process your ActionScript code and the 
runtime libraries into a device-dependent executable.


So, given all of that, you can continue to deliver ActionScript 3 
content in AIR or FlashPlayer on desktops/laptops “forever”.  And 
unless you have heard otherwise from the PDF team, they probably won’t 
eliminate support for Flash in PDF on desktop/laptops soon.


I think Apache Flex exists because folks have found the Flex workflow 
easy and productive and also safe because it uses structured 
programming, and former Flex customers are now pitching in to continue 
to evolve Flex as much as we can given the constraints of the current 
environment.  The problem for many is that, because Adobe is not 
evolving the ActionScript 3 language, VM and runtime APIs related to 
it, folks see it as a dead end and no longer want to develop apps on 
it.  I can see their point, but there is a reason why DOS is still 
around on some custom handheld devices: it works, it is well known, 
and has a small footprint for a constrained environment.  Flash/AIR 
and Flex on ActionScript3 continue to be excellent ways to create apps 
quickly, but it has been difficult to convince customers to stick with it.


Anyway, so far, the most interest in Apache Flex seems to be around 
trying to leverage the Flex workflow to create apps that run on the 
HTML/CSS/JS stack (without Flash).  It will have growing pains for 
sure, but to me, a question about CPU load is premature.  There is 
1000’s of people from all over the world working on improving the 
runtime environment for HTML/CSS/JS.  They have made significant 
advances in the past several years and I don’t see a cap on it.  So 
any pain points you experience now are likely to be solved in the near 
future.  If you can continue to use Flash/AIR and let others suffer 
through the growing pains, consider yourself lucky.  Otherwise, put on 
some pads and join the battle.


On 12/19/12 9:29 AM, John McCormack j...@easypeasy.co.uk wrote:







Thank you again.

 Although ActionScript is not being developed for the FlashPlayer,
is it possible that it may still be developed separately for use
in AIR? I could deliver content through AIR instead of PDFs.

 My problem is that the FlashBuilder / Flash Professional workflow
is such a seductive one, with that easy marriage of graphics and
code, that I don't want to lose it. I have used C++ to produce
graphical programs and the AS3 route is a godsend in comparison.

 One wonders Is HMTL5 going to use any less CPU cycles than AS3,
once it is doing similar work?

 John

 On 18/12/2012 05:38, Alex Harui wrote:


  Re: [flexcoders] Re: Flex alternatives  Things get lost in
translation, but one goal

[flexcoders] Chart Horizontal axis length

2013-05-02 Thread John
How can I determine the length of the Horizontal Axis of a Chart.
I know how to get the width of the Chart.
What I am looking for is the length or width of the Horizontal Axis.
Thank you, this has really stumped me.



Re: [flexcoders] Re: Flex alternatives

2012-12-23 Thread John McCormack

That is a very interesting diagram showing a way forward for Flex users.

I have only used ActionScript Projects, rather than Flex, and have 
mainly been concerned not to lose a way to deliver my SWFs.


I can see myself developing in JavaScript but not wishing to go back 
near the beginning with programming, and liking the way SWCs are used in 
my projects, I rather want things to stay as they are.


On that subject, will later FlashPlayers have separate Virtual Machines 
for: (1) interpreting AIR (legacy) and (2) Browser (legacy) as well as 
(3) new code which is CPU dependent machine code?


I understand that PDFs have their own built-in player and, according to 
Dave Merchant on Acrobat.com, we don't know what tje future of that 
might be. It would be a great shame to lose the PDF SWFs since if they 
worked properly with the PDF container it would be the best way to 
deliver high quality Text/Photo/Video/SWF combinations. At the moment 
the SWFs and PDF container don't thoroughly know about each other. Have 
I got that right about the PDF SWF player?


Forgive my delayed posts but I have been teaching three days a week and 
busy winding up the apprentices assessments for the end of term.


It's a great thing that Adobe have continued to keep you involved with 
the project.


John


On 21/12/2012 21:43, Alex Harui wrote:

Re: [flexcoders] Re: Flex alternatives

Actually, I’m not just hanging in there, I’m still paid by Adobe to 
spend all of my time on Flex.  My teammates are now folks like you who 
have spare cycles to contribute to the future of Flex.  Apache Flex 
just “graduated” to being an official “top-level” project at Apache 
which means it will be around for as long as folks want it to.  Adobe 
has no say in its future.


Working in Apache has been interesting because these new contributors 
have lots of diverse knowledge and experience.  The Apache Flex 
community is now investigating was to leverage a cross-compiler that 
can take in ActionScript and spit out JavaScript and allow you to use 
a Flex-like workflow to create RIAs that run without Flash.


My thoughts on that topic and prototype is written up here: 
https://cwiki.apache.org/confluence/display/FLEX/Alex%27s+FlexJS+Prototype


On 12/21/12 12:50 PM, John McCormack j...@easypeasy.co.uk wrote:





Re: [flexcoders] Re: Flex alternatives

2012-12-21 Thread John McCormack

Brilliant.
Thank you.

I am pleased that existing SWF's will run in an embedded VM in the new 
player.


Do you think the next-generation of ActionScript will be similar enough 
to make migration easy?

and
Is FlashBuilder likely to be the IDE that creates code for the new VM?

John

On 20/12/2012 05:50, Alex Harui wrote:

Re: [flexcoders] Re: Flex alternatives

Well, there are several pieces.  ActionScript is a language.  It is 
really only the dozen classes or so in the “top-level” in the ASDoc. 
 String, int, RegEx, Array, Vector, a few functions like unescape, 
etc, plus a bunch of keywords and stuff like “var”, “class”, plus a 
grammar of how you put it all together.  It hasn’t changed much in 
years, other than the addition of Vector.  There are no plans to 
improve on its specification by adding things it is missing compared 
to other languages like Java such as method overloading, or mutiple 
inheritance.  Instead, Adobe is tossing out the whole specification 
and developing a next-generation of ActionScript.  It will have some 
of the same things you see in the current ActionScript, but there will 
be new keywords and grammar.  The goal is to give up on backward 
compatibility in order to get significant speed improvements by making 
the language easier to execute at runtime.


ActionScript currently only runs in a Virtual Machine embedded in the 
FlashPlayer or AIR.  Both runtimes provide additional APIs that allow 
you to draw stuff and get network i/o, etc.  The current APIs use 
ActionScript 3 syntax and are focused primarily on Sprites, Shapes and 
MovieClips on a display list.  New features were added in every major 
release.


Now, Adobe is working on embedding a new Virtual Machine that runs the 
next-generation ActionScript in the FlashPlayer and AIR.  The focus is 
on gaming, and a new set of APIs that talk to a 3d rendering engine is 
being devloped in the next-generation ActionScript syntax.  There will 
be no support for the old Sprites/Shapes/MovieClips and display list.


However, the old virtual machine that runs ActionScript 3 will 
continue to be embedded in the FlashPlayer and AIR that run on 
tradtional desktops/laptops.  I would not expect it to be co-existent 
on mobile versions of AIR because the new focus is on the captive 
runtime workflow where you pre-process your ActionScript code and the 
runtime libraries into a device-dependent executable.


So, given all of that, you can continue to deliver ActionScript 3 
content in AIR or FlashPlayer on desktops/laptops “forever”.  And 
unless you have heard otherwise from the PDF team, they probably won’t 
eliminate support for Flash in PDF on desktop/laptops soon.


I think Apache Flex exists because folks have found the Flex workflow 
easy and productive and also safe because it uses structured 
programming, and former Flex customers are now pitching in to continue 
to evolve Flex as much as we can given the constraints of the current 
environment.  The problem for many is that, because Adobe is not 
evolving the ActionScript 3 language, VM and runtime APIs related to 
it, folks see it as a dead end and no longer want to develop apps on 
it.  I can see their point, but there is a reason why DOS is still 
around on some custom handheld devices: it works, it is well known, 
and has a small footprint for a constrained environment.  Flash/AIR 
and Flex on ActionScript3 continue to be excellent ways to create apps 
quickly, but it has been difficult to convince customers to stick with it.


Anyway, so far, the most interest in Apache Flex seems to be around 
trying to leverage the Flex workflow to create apps that run on the 
HTML/CSS/JS stack (without Flash).  It will have growing pains for 
sure, but to me, a question about CPU load is premature.  There is 
1000’s of people from all over the world working on improving the 
runtime environment for HTML/CSS/JS.  They have made significant 
advances in the past several years and I don’t see a cap on it.  So 
any pain points you experience now are likely to be solved in the near 
future.  If you can continue to use Flash/AIR and let others suffer 
through the growing pains, consider yourself lucky.  Otherwise, put on 
some pads and join the battle.


On 12/19/12 9:29 AM, John McCormack j...@easypeasy.co.uk wrote:







Thank you again.

 Although ActionScript is not being developed for the FlashPlayer,
is it possible that it may still be developed separately for use
in AIR? I could deliver content through AIR instead of PDFs.

 My problem is that the FlashBuilder / Flash Professional workflow
is such a seductive one, with that easy marriage of graphics and
code, that I don't want to lose it. I have used C++ to produce
graphical programs and the AS3 route is a godsend in comparison.

 One wonders Is HMTL5 going to use any less CPU cycles than AS3,
once it is doing similar work?

 John

 On 18/12/2012 05:38, Alex Harui wrote

Re: [flexcoders] Re: Flex alternatives

2012-12-21 Thread John McCormack

On 21/12/2012 18:52, Alex Harui wrote:

Re: [flexcoders] Re: Flex alternatives
To not allow existing SWFs to play where they currently play would 
“break the web” and Adobe has no interest in doing that.


The next generation of AS is supposed to be easy to migrate to if you 
just want to get your code to run, but there is a chance that to fully 
leverage the performance benefits of the new language you will have to 
learn some new constructs and refactor existing code.


FlashBuilder will definitely be the IDE for developing applications 
for the new VM and new AS.




That's all good to know. Looks like I am all set for a while, at least.

I noticed you still hanging in there...
http://incubator.apache.org/flex/team.html

Thanks again.
John


Re: [flexcoders] Re: Flex alternatives

2012-12-19 Thread John McCormack

Thank you again.

Although ActionScript is not being developed for the FlashPlayer, is it 
possible that it may still be developed separately for use in AIR? I 
could deliver content through AIR instead of PDFs.


My problem is that the FlashBuilder / Flash Professional workflow is 
such a seductive one, with that easy marriage of graphics and code, that 
I don't want to lose it. I have used C++ to produce graphical programs 
and the AS3 route is a godsend in comparison.


One wonders Is HMTL5 going to use any less CPU cycles than AS3, once it 
is doing similar work?


John

On 18/12/2012 05:38, Alex Harui wrote:

Re: [flexcoders] Re: Flex alternatives

Things get lost in translation, but one goal of the parallel 
frameworks is to not leverage things that get lost in translation. 
 Otherwise, since JS and AS are ECMA-based, the translation works 
pretty well.


Keep in mind that, while Adobe is no longer investing in ActionScript 
3 on the Flash Player, and not developing Flash Player for mobile 
devices, and AIR may not run on all mobile devices, where the 
FlashPlayer is today, it will likely be there “forever”.  So, if alll 
of your users are using desktops/laptops that have browsers that have 
Flash, you can continue to use Flex and/or ActionScript 3 to build 
applications and they will likely run there not just in five years, 
but even after that.  There is no time-bomb in the players that will 
go off and stop running.  Even though ActionScript Next and 
FlashPlayer Next are not compatibile with ActionScript 3, the AS3 VM 
will ship in the FlashPlayers that Adobe ships in the future.  There 
is the possibility that the browser vendors will stop supporting 
plugins, but I would imagine they will keep a compatibility-mode 
somehow.  I think there is too much Flash content out there and to 
block it from existing desktops/laptops would “break the web” and I 
don’t expect the browser vendors or Adobe take such a risk.  There 
would be too much negative press.  That doesn’t mean that new 
computers with new OS’s may not support Flash (that’s what Apple did 
with IOS), and many home users may forgo traditional computers for 
tablets in the future, so keep that in mind as well.


I don’t know the PDF market that well, but again, I would expect PDFs 
to continue to support Flash “forever” as well.  At least for the 
readers on traditional desktops/laptops.



On 12/17/12 10:48 AM, John McCormack j...@easypeasy.co.uk wrote:




Thank you.
 That's interesting and very helpful.

 One does wonder if a separate translation tool would do the job
faithfully, and so creates doubt.

 For someone that wants to use SWFs in PDFs to deliver educational
content that is fully interactive, what workflow would you suggest
using for the next three to five years?

 John

 On 17/12/2012 16:31, Alex Harui wrote:


  Re: [flexcoders] Re: Flex alternatives  Adobe has no plans
that I know of to get ActionScript to work with HTML5 in the
same way that Google is proposing Dart as an alternative to
JavaScript.

 The Apache Flex project is working on a compiler that will
translate ActionScript to JavaScript.  In addition, the link I
posted proposes a component framework that would enable you to
build or prototype your app in Flash using FlashBuilder and
ActionScript and then run a separate tool outside of
FlashBuilder to translate it to JavaScript where it will run
and leverage HTML or HTML5 components.

 Alternatively, the same ActionScript to JavaScript compiler
would let you write the script portions of your website as
ActionScript using FlashBuilder and have separate HTML files,
then use the same separate tool outside of FlashBuilder to
translate the ActionScript to JavaScript.  And maybe
variations will be created that can output to various JS
frameworks.

 At this time, there are no plans to change FlashBuilder to
integrate the translation workflow.  Adobe’s focus for
FlashBuilder is on building ActionScript gaming and premium
video projects that run on the Flash player.  I suppose if the
JS workflow became wildly popular and Adobe could see a
revenue stream by supporting such a workflow things might
change, but I wouldn’t count on it.  There is a better chance
that someone in Apache Flex will start creating plugins for
Eclipse to support the workflow or one of the other tool
vendors will provide an integrated workflow.

 The future of ActionScript 3 in Rich Internet Applications
(as opposed to ActionScript “Next” as mentioned in the Flash
roadmap) is actually being given more attention by Apache Flex
than Adobe.  If you want to continue to use ActionScript 3 to
develop RIAs, I would encourage you to get involved

Re: [flexcoders] Re: Flex alternatives

2012-12-17 Thread John McCormack

On 17/12/2012 05:12, Alex Harui wrote:

Re: [flexcoders] Re: Flex alternatives

Adobe has spent the year donating the Flex SDK and Falcon compilers to 
the Apache Software Foundation.  While Adobe has a small set of people 
contributing to Flex in Apache and a team that shipped Flash Builder 
4.7 and is working on subsequent Flash Builder release, Adobe is not 
leading the development of Flex and has not been for a full year.  The 
future of Flex is in the hands of the Apache Flex community.  This 
document should have made Adobe’s plans clear: 
http://www.adobe.com/devnet/flex/whitepapers/roadmap.html

I followed this link through to
http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html

Under Flash Player Next this says...
 and provide a foundation on which Flash can move forward over the next 
decade.


Does this imply ActionScript working collaboratively with HTML5 or is it 
an alternative to HTML5?


I am asking because I am hoping Flash Builder will continue to offer me 
a way forward (AS3+HTML5).


John


Re: [flexcoders] Re: Flex alternatives

2012-12-17 Thread John McCormack

Thank you.
That's interesting and very helpful.

One does wonder if a separate translation tool would do the job 
faithfully, and so creates doubt.


For someone that wants to use SWFs in PDFs to deliver educational 
content that is fully interactive, what workflow would you suggest using 
for the next three to five years?


John

On 17/12/2012 16:31, Alex Harui wrote:

Re: [flexcoders] Re: Flex alternatives

Adobe has no plans that I know of to get ActionScript to work with 
HTML5 in the same way that Google is proposing Dart as an alternative 
to JavaScript.


The Apache Flex project is working on a compiler that will translate 
ActionScript to JavaScript.  In addition, the link I posted proposes a 
component framework that would enable you to build or prototype your 
app in Flash using FlashBuilder and ActionScript and then run a 
separate tool outside of FlashBuilder to translate it to JavaScript 
where it will run and leverage HTML or HTML5 components.


Alternatively, the same ActionScript to JavaScript compiler would let 
you write the script portions of your website as ActionScript using 
FlashBuilder and have separate HTML files, then use the same separate 
tool outside of FlashBuilder to translate the ActionScript to 
JavaScript.  And maybe variations will be created that can output to 
various JS frameworks.


At this time, there are no plans to change FlashBuilder to integrate 
the translation workflow.  Adobe’s focus for FlashBuilder is on 
building ActionScript gaming and premium video projects that run on 
the Flash player.  I suppose if the JS workflow became wildly popular 
and Adobe could see a revenue stream by supporting such a workflow 
things might change, but I wouldn’t count on it.  There is a better 
chance that someone in Apache Flex will start creating plugins for 
Eclipse to support the workflow or one of the other tool vendors will 
provide an integrated workflow.


The future of ActionScript 3 in Rich Internet Applications (as opposed 
to ActionScript “Next” as mentioned in the Flash roadmap) is actually 
being given more attention by Apache Flex than Adobe.  If you want to 
continue to use ActionScript 3 to develop RIAs, I would encourage you 
to get involved with the Apache Flex project.


On 12/17/12 2:16 AM, John McCormack j...@easypeasy.co.uk wrote:







On 17/12/2012 05:12, Alex Harui wrote:


  Re: [flexcoders] Re: Flex alternatives  Adobe has spent the
year donating the Flex SDK and Falcon compilers to the Apache
Software Foundation.  While Adobe has a small set of people
contributing to Flex in Apache and a team that shipped Flash
Builder 4.7 and is working on subsequent Flash Builder
release, Adobe is not leading the development of Flex and has
not been for a full year.  The future of Flex is in the hands
of the Apache Flex community.  This document should have made
Adobe’s plans clear:
http://www.adobe.com/devnet/flex/whitepapers/roadmap.html

I followed this link through to
http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html

 Under Flash Player Next this says...
  and provide a foundation on which Flash can move forward over
the next decade.

 Does this imply ActionScript working collaboratively with HTML5
or is it an alternative to HTML5?

 I am asking because I am hoping Flash Builder will continue to
offer me a way forward (AS3+HTML5).

 John






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







Re: [flexcoders] wrong mac debug fp version???

2012-08-29 Thread John McCormack
Make sure you use the correct Adobe uninstaller - some were for specific 
versions.
I had a problem previously because my IDE didn't have the path set to 
run Firefox and the standalone player ran instead, so check your IDE.


Flashlight lets you know which player versions you have available...
https://addons.mozilla.org/en-US/firefox/addon/flashlight-1/?src=api

John

On 29/08/2012 14:26, Csomák Gábor wrote:



Hi!
I've downloaded the mac debug flash player. the installer said 11.4, 
but the installed version (capabilities.version) is 10.3. 183.23. can 
this happen?? is it occur at anybody else?
I even uninstalled Flash Player with Adobe's uninstaller, then 
reinstalled it, and it is still that way..

Thanks,
Gabor







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] robotlegs

2012-05-11 Thread John McCormack

Thanks Robert.
It has really good reports.
I was trying not to overcomplicate things but it certainly feels like a 
good way to go.

John


On 11/05/2012 17:39, Robert VanCuren Jr wrote:



I starting using robotlegs about a year ago and I really like it. It's 
by far my favorite framework (mvc, dependency injection) for as3.


I have used it for pure as3 and flex projects.

As far as using it for small projects, it can be worthwhile because of 
the convenience methods that it provides. It's also pretty easy to add 
robotlegs to a project you have already started.



On Thursday, May 10, 2012, John McCormack wrote:

Hi there.

I am about to start some small AS3 projects.

I do like the idea of the structure that robotlegs offers and am
considering whether to invest the time to get into it.

Please let me know if...

a) you use robotlegs and like it.
b) you consider it worthwhile for small projects.

Thanks

John








Re: [flexcoders] robotlegs

2012-05-11 Thread John McCormack

Thanks Rob.

Those last minute changes being easy to make was mentioned in the last 
entry here for a 100 line project...


http://knowledge.robotlegs.org/discussions/questions/898-why-use-robotlegs-more-elaborate-explanation-than-the-book-gives-needed

Because my programs are quite small I wondered if it was overkill but I 
am really attracted by the structure and I am reassured by yours and Rob 
VanCuren's comments, so thank you both.


John

On 11/05/2012 19:10, Rob Romanek wrote:



I've been using it since the beginning of the year. All though it can 
seem like it adds a layer of complication on small projects I have 
found that even on those when last minute changes came up they were 
easy to accommodate because of the structure implicit in the framework.


cheers,

Rob

On 2012-05-11, at 1:20 PM, John McCormack wrote:


Thanks Robert.
It has really good reports.
I was trying not to overcomplicate things but it certainly feels like 
a good way to go.

John


On 11/05/2012 17:39, Robert VanCuren Jr wrote:

I starting using robotlegs about a year ago and I really like it. 
It's by far my favorite framework (mvc, dependency injection) for as3.


I have used it for pure as3 and flex projects.

As far as using it for small projects, it can be worthwhile because 
of the convenience methods that it provides. It's also pretty easy 
to add robotlegs to a project you have already started.



On Thursday, May 10, 2012, John McCormack wrote:

Hi there.

I am about to start some small AS3 projects.

I do like the idea of the structure that robotlegs offers and am
considering whether to invest the time to get into it.

Please let me know if...

a) you use robotlegs and like it.
b) you consider it worthwhile for small projects.

Thanks

John













[flexcoders] robotlegs

2012-05-10 Thread John McCormack
Hi there.

I am about to start some small AS3 projects.

I do like the idea of the structure that robotlegs offers and am 
considering whether to invest the time to get into it.

Please let me know if...

a) you use robotlegs and like it.
b) you consider it worthwhile for small projects.

Thanks

John



Re: [flexcoders] Debug Woes - Redux

2012-03-28 Thread John McCormack

Just wondering...
If you copy the variable's value to the variable 'temp' and test that, 
what do you see?

John

On 27/03/2012 21:34, Davidson, Jerry wrote:



It's happening again.  This never happened when I was using Flex 3.5.

Make a change in the code.  Do a Project | Clean.  Make sure the 
debugging session is over.  Do a File |Refresh.


Start a debugging session and watch it go past a line:

*if*(adjInc  0) /// for negatives/

  adjInc = 0;

Watch both lines (value at his point in this test is -43) execute.  
After the assignment watch the value not change to zero, but stay at -43.


Repeat above steps 2-3 times with no difference.  Shut down Flash 
Builder and start it again and repeat.  No change.


I've only got a little hair left and don't think I can pull any more out.

1)How can I force Flex to recognize code?

2)How can I force Flex (Flash Builder 4) to execute -- as in making an 
assignment -- the code?


Jerry Davidson








Re: [flexcoders] Debug driving me crazy

2012-03-27 Thread John McCormack
I had something similar once, due to the fact that I thought I was 
including a certain AS3 file but was , in fact, using SWC code instead.

So perhaps your code isn't coming from the place you think it is.
John

On 27/03/2012 15:26, Davidson, Jerry wrote:



In debug mode of Flex (4.5) I have a variable that shows up in the 
variable view, but doesn't exist in the function I'm stepping 
through.  Further, one that does exist doesn't show up.


After the assignment failed (no errors):

*var*exemptFlg:Boolean = *false*;

*if*(inData.inpExemptFlg)

exemptFlg = inData.inpExemptFlg;

control jumps to the end of the function bypassing all the rest of the 
code.  Originally, this variable was exempt and that shows up in the 
Variables view despite it being changed to exemptFlg.  After that 
change, I cleaned the project, File | Refresh the project and closed 
Flash then reopened it.  The phantom variable still appears and the 
current one doesn't.


Help.

Jerry Davidson








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] You are the product

2011-12-19 Thread John McCormack




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.




Maybe people hate the things we create with Flash, such as heavyweight 
advertisements you can't easily stop - but that's the programmers fault.


Personally, I am interested in educational applications, so AS3 is 
great: very powerful with amazing potential. Just look at what Away3D 
manage to do: http://away3d.com/showcase/


Isn't AIR is the obvious choice, and not Flash, when you want avoid 
browser multiplicity?


John









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

[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,





[flexcoders] Question about using [RemoteClass(alias=...)]

2010-09-06 Thread John Mesheimer
I have an ActionScript class that creates a custom Review object, like so:

/ Review.as
/ Taken from one of Adobe's online samples
package samples.restaurant
{
import mx.formatters.DateFormatter;

// [RemoteClass(alias=samples.restaurant.Review)]
[Bindable]
public class Review
{
public function Review(source:Object=null)
{
// some date formatting stuff happens here
}

public var restaurantId:int;
public var restaurantName:String;
public var restaurant:Object;
public var reviewDate:Date;
public var reviewer:String;
public var rating:Number;
public var title:String;
public var reviewText:String;
public var email:String;

}

}

This class lets me take an ArrayCollection of generic Objects from the
server, loop through it with something like new Review(source[i]) and get
a bunch of Review objects in an ArrayCollection. Works perfectly.

I also need to be able to write a Review object (a Java object) to the
server, so I add [RemoteClass(alias=samples.restaurant.Review)] above
the ActionScript class declaration. This way I can declare a public var
review:Review, call an addReview(review) on my RemoteObject service, and
my server receives a Review Java object. This works perfectly too.

The problem is that once I add this [RemoteClass(alias=...)] line, doing
new Review(source[i]) no longer works as expected. Given the same
ArrayCollection of generic Objects as before, new Review(source[i]) will
still create a Review object, but now all its properties are null.

If I comment out the [RemoteClass(alias=...)] line I can properly cast
generic objects to Review objects again (but then I am no longer able to
send a Review Java object to the server).

Is this the way it's supposed to work? (I hope I've stated my problem
clearly.) How can I accomplish both tasks using a single Review.as class?

Thanks for any help, folks.

John

PS. I am using the Flex 3.5 SDK.


[flexcoders] Re: Question about using [RemoteClass(alias=...)]

2010-09-06 Thread John Mesheimer
Forgive me, I be a dingbat...

By setting the [RemoteClass(alias=...)] line, the thing I got back from
the server was not an ArrayCollection of generic Objects, but of strongly
typed Review (AS) objects, which didn't need any casting.

All solved now. Nothing to see here...


On Mon, Sep 6, 2010 at 1:52 PM, John Mesheimer john.meshei...@gmail.comwrote:

 I have an ActionScript class that creates a custom Review object, like so:

 / Review.as
 / Taken from one of Adobe's online samples
 package samples.restaurant
 {
 import mx.formatters.DateFormatter;

 // [RemoteClass(alias=samples.restaurant.Review)]
 [Bindable]
 public class Review
 {
 public function Review(source:Object=null)
 {
 // some date formatting stuff happens here
 }

 public var restaurantId:int;
 public var restaurantName:String;
 public var restaurant:Object;
 public var reviewDate:Date;
 public var reviewer:String;
 public var rating:Number;
 public var title:String;
 public var reviewText:String;
 public var email:String;

 }

 }

 This class lets me take an ArrayCollection of generic Objects from the
 server, loop through it with something like new Review(source[i]) and get
 a bunch of Review objects in an ArrayCollection. Works perfectly.

 I also need to be able to write a Review object (a Java object) to the
 server, so I add [RemoteClass(alias=samples.restaurant.Review)] above
 the ActionScript class declaration. This way I can declare a public var
 review:Review, call an addReview(review) on my RemoteObject service, and
 my server receives a Review Java object. This works perfectly too.

 The problem is that once I add this [RemoteClass(alias=...)] line,
 doing new Review(source[i]) no longer works as expected. Given the same
 ArrayCollection of generic Objects as before, new Review(source[i]) will
 still create a Review object, but now all its properties are null.

 If I comment out the [RemoteClass(alias=...)] line I can properly cast
 generic objects to Review objects again (but then I am no longer able to
 send a Review Java object to the server).

 Is this the way it's supposed to work? (I hope I've stated my problem
 clearly.) How can I accomplish both tasks using a single Review.as class?

 Thanks for any help, folks.

 John

 PS. I am using the Flex 3.5 SDK.



[flexcoders] 360Flex DC is coming up soon! Don't miss it!

2010-08-17 Thread John Wilker
Hey Flexcoders list!

I just wanted to pop in and make sure everyone knew that 360|Flex was coming
up fast in Washington DC. September 19-22

The full session details have been posted as a PDF here.
http://360flex.com/downloads/sessions.pdf

and you can check out the schedule here:
http://360flex.com/downloads/schedule.pdf

This past spring in San Jose we had close to 400 attendees, we're hoping to
meet or better yet, BEAT that number in DC! It's gonna be a great time, with
content that will blow you mind. There's several on this list that can back
me up on that :)

At any rate, hope you all can make it, here's a special discount just for
Flexcoders members! flexcodersrocks saves you 10% off the $699
registration price.

By the way, $699 is for 4 days of content. 40+ sessions, from over 30
speakers, many from this list even! Check out the line up.

See you in DC!

John Wilker
Co-Founder, 360|Conferences
twitter: jwilker http://twitter.com/jwilker
johnwilker.com | Ignite Denver http://ignitedenver.org|
Denwherehttp://denwhere.com|
360|Flex http://360flex.com | 360|iDev http://360idev.com

“A goal is not always meant to be reached, it often serves simply as
something to aim at.”
~ Bruce Lee


Re: [flexcoders] RobotLegs Framework

2010-04-29 Thread John McCormack
Have a look at John Lindquist's video - 3rd one down:
http://pv3d.org/
John

Patricia Han wrote:


 Hi Everyone,

 Have you used Robotlegs framework? Please share your experience with 
 me. (compare with Cairngorm or PureMVC)
 Thanks,

 Pat



 




Re: [flexcoders] Reference for flex tutorial

2010-04-21 Thread John McCormack
This is very through:
Professional Flex 3
from www.wrox.com
p2p.wrox.com
isbn: 978-0-470-22364-2

This does tutorials
Adobe Flex 3 Training from the Source
isbn-13: 978-0-321-52918-3
www.adobepress.com

John


sony antony wrote:


 Hi,

 Could any one please suggest me a book I can refer for flex which 
 could cover possibly everything in it.??

 Thanks, 

 Sony.



 




[flexcoders] FB3/Eclipse - CSS design view not showing images

2010-04-13 Thread John Robinson
Anyone encounter this? I'm using Eclipse with the Flex Builder 3  
plugin. I'm trying to skin a horizontal scrollbar with some images. I  
just discovered the CSS design view/editor and  thought it was exactly  
what I need. The problem is that I choose my images and hit refresh,  
but they don't show up. It displays the little blue icon all stretched  
out (like a missing image icon).

Anyone?

Thanks!
John


Re: [flexcoders] Embed FlashPlayer in C++ app tutorial?

2010-04-05 Thread John McCormack
Rodney,

I would be interested too if you find anything.
I have considered overlaying a transparent AIR app to add content to my 
C++ programs.
Just a thought.

John

Rodney Smith wrote:


 Are there any tutorials on how to embed Flash Player in a C++ app on 
 both Mac and Windows (for the purpose of using Flex in/for the user 
 interface)? Will it suffer performance degradation like in a browser 
 (compared to standalone Flash Player).
  
 (Yes, I Googled and found the C# example).

 --
 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.com



 Your email settings: Individual Email|Traditional
 Change settings via the Web 
 http://groups.yahoo.com/group/flexcoders/join;_ylc=X3oDMTJnNWZ0MTltBF9TAzk3NDc2NTkwBGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMjcwNDc0NjEx
  
 (Yahoo! ID required)
 Change settings via email: Switch delivery to Daily Digest 
 mailto:flexcoders-dig...@yahoogroups.com?subject=email%20delivery:%20Digest 
 | Switch to Fully Featured 
 mailto:flexcoders-fullfeatu...@yahoogroups.com?subject=change%20delivery%20format:%20Fully%20Featured
  

 Visit Your Group 
 http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJla3B0ODVqBF9TAzk3NDc2NTkwBGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTI3MDQ3NDYxMQ--
  
 | Yahoo! Groups Terms of Use http://docs.yahoo.com/info/terms/ | 
 Unsubscribe 
 mailto:flexcoders-unsubscr...@yahoogroups.com?subject=unsubscribe

 




Re: [flexcoders] Scotland: Any Flash/Flex/AS3 conferences?

2010-02-28 Thread John McCormack
I don't know of any here in the north (CA26 3QS).

Two years ago I went to an Adobe event in London for AIR and that was 
very good. If there were more I would go.

I recently attended Seb Lee-Delisle's course on Papervison3D in Brighton 
and that was also good.
http://sebleedelisle.com/

I am sure Flash On the Beach would be worthwhile. It's always sold out.

Please let me know if you hear of anything.

John

Clark Stevenson wrote:

 Is there any events on in Scotland or the North of England at any 
 point during the year which i could attend? It seems Flash on the 
 Beach is the only UK conference i have heard about, but lets face it, 
 if im going to save up to visit anywhere, its not going to be to 
 Brighton for a few days of geek speak!!!




Re: [flexcoders] User manual

2010-01-22 Thread John McCormack
Hi Christophe,

The user manual exists in printed form (4 books, about 15cm thick)  but 
it has no index in the back, which makes it hard to use.
I have it, but the pdf format is better.

John

Christophe wrote:
 Hello, 

 Does the user manual is still existing for a flex application ? 

 Or did the FAQ is sufficient ? 

 Thank you,
 Christophe, 




 

 --
 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! Groups Links





   




Re: [flexcoders] SecureSWF obfuscation

2009-12-14 Thread John McCormack
I use SecureSWF and have found it fine, however I think the idea is that 
you push the settings as far as you can to get the best obfuscation.
So far I have found that if I untick the main application name, it's 
okay - the main instance on the timeline...

I have a SWF called Tangrams.swf and under Identifiers renaming I untick 
Tangrams.
On the other Tab, Labels, I also untick Tangrams.

The SWF' is okay after that.

John

method_air wrote:
 Hi there,

 What swf obfuscator do you use and recommend? We would like to run the 
 obfuscator in linux as a command line. 

 I'm getting Flex runtime errors using SecureSWF with Identifier renaming. 
 Anybody else experiences issues with this product, or have a workaround?

 Thanks,

 Philip



 

 --
 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! Groups Links





   




Re: [flexcoders] flexcoders stats and charts (and full data download)

2009-11-03 Thread John McCormack
Very interesting stats., and it's hat's off to Tom Chiverton and Tracy 
Spratt.
Thank you to them.

How about a star burst to show which topics led to the most subsequent 
activity?

John

Doug McCune wrote:


 Seems to be back up, god I hate servers, but I guess that's why I do 
 front-end development.

 BTW, I'm going to be investigating getting a full dataset of the Adobe 
 Flex forums too and will likely do some similar visualizations once I 
 figure out how to get the data. Looks like the forum software Adobe 
 uses (from Jive) has webservice access and I should be able to write 
 something to pull all the data. If anyone has any experience with 
 this, drop me a line.

 Doug

 On Tue, Nov 3, 2009 at 8:07 AM, Doug McCune d...@dougmccune.com 
 mailto:d...@dougmccune.com wrote:

 And of course instantly my server decides to go down. I'm aware,
 working on it. Sorry for the check this out, oh wait, server
 crashed :P

 Doug


 On Tue, Nov 3, 2009 at 8:04 AM, primo411 primo...@gmail.com
 mailto:primo...@gmail.com wrote:

  

 Wow ! The UI looks really nice :)

 2009/11/3 Doug McCune d...@dougmccune.com
 mailto:d...@dougmccune.com

  

 Hey guys,

 Last night I put together a post that details some of the
 stats for this list:
 
 http://dougmccune.com/blog/2009/11/03/flexcoders-mailing-list-stats-pretty-graphs-full-dataset/

 The post also contains a download of the entire archive of
 all flexcoders messages (up through last night). The file
 is a CSV file and contains the sender name, subject, and
 date of every message ever posted to the list. It contains
 148,826 posts. I also have the full database archive (it's
 in MS Access format) that contains all the full-text of
 the messages, but that file is 1.5 gigs so I'm not posting
 it for download, but if someone has some ideas about what
 to do with it I can probably get it to you somehow.

 I know we had a long discussion back a long time ago about
 whether the list was declining in traffic, whether it
 should be split up, yadda yadda. I finally got around to
 getting a really good complete dataset to play with. Hope
 you enjoy the post and let me (and the rest of us on the
 list) know if you do anything cool with the data yourself.

 Doug






 




Re: [flexcoders] flexcoders stats and charts (and full data download)

2009-11-03 Thread John McCormack
And an specially big thank you to Alex Harui and Matt Chotin from Adobe
for their Herculean work rate.

John

Doug McCune wrote:


 Seems to be back up, god I hate servers, but I guess that's why I do 
 front-end development.

 BTW, I'm going to be investigating getting a full dataset of the Adobe 
 Flex forums too and will likely do some similar visualizations once I 
 figure out how to get the data. Looks like the forum software Adobe 
 uses (from Jive) has webservice access and I should be able to write 
 something to pull all the data. If anyone has any experience with 
 this, drop me a line.

 Doug

 On Tue, Nov 3, 2009 at 8:07 AM, Doug McCune d...@dougmccune.com 
 mailto:d...@dougmccune.com wrote:

 And of course instantly my server decides to go down. I'm aware,
 working on it. Sorry for the check this out, oh wait, server
 crashed :P

 Doug


 On Tue, Nov 3, 2009 at 8:04 AM, primo411 primo...@gmail.com
 mailto:primo...@gmail.com wrote:

  

 Wow ! The UI looks really nice :)

 2009/11/3 Doug McCune d...@dougmccune.com
 mailto:d...@dougmccune.com

  

 Hey guys,

 Last night I put together a post that details some of the
 stats for this list:
 
 http://dougmccune.com/blog/2009/11/03/flexcoders-mailing-list-stats-pretty-graphs-full-dataset/

 The post also contains a download of the entire archive of
 all flexcoders messages (up through last night). The file
 is a CSV file and contains the sender name, subject, and
 date of every message ever posted to the list. It contains
 148,826 posts. I also have the full database archive (it's
 in MS Access format) that contains all the full-text of
 the messages, but that file is 1.5 gigs so I'm not posting
 it for download, but if someone has some ideas about what
 to do with it I can probably get it to you somehow.

 I know we had a long discussion back a long time ago about
 whether the list was declining in traffic, whether it
 should be split up, yadda yadda. I finally got around to
 getting a really good complete dataset to play with. Hope
 you enjoy the post and let me (and the rest of us on the
 list) know if you do anything cool with the data yourself.

 Doug






 




Re: [flexcoders] flexcoders stats and charts (and full data download)

2009-11-03 Thread John McCormack
Interesting.
I wonder if the threads are getting shorter - a sign of the times, perhaps.

I was thinking it might be useful to know about all the ones that people 
have appended the tag 'SOLVED'.
I wonder if someone at Adobe might pick this up and create a searchable 
database of solutions.
Imagine clicking on keywords and having the threads highlighted, with a 
solution tagged on the end.
A suitable AIR project perhaps, using the 11meg downloaded message list.
In my situation, just to keep control, I delete earlier months of 
messages once I get over 4000.
It would be nice to be able to find all those wise words about a topic 
of concern.

John

Doug McCune wrote:


 I've got the numbers for longest threads too, just didn't include 
 those stats in the post. Here are the top 5 threads for all time and 
 for the past year.

 For all time:
 Splitting FlexCoders into smaller, focused groups - 137 messages
 Will Microsofts new Silverlight Player kill our beloved Flex? - 129 
 messages
 Flex 1.5 price - 103 messages
 Choice of backend systems - 82 messages
 SEO Compatibility - 66 messages

 For only 2009:
 Flex Builder on Linux being scrapped - 38 messages
 New Adobe Forums coming! - 37 messages
 Question about a Flex component - 34 messages
 Roles Based UI - 33 messages
 Ribbon in FLEX - 30 messages

 On Tue, Nov 3, 2009 at 9:02 AM, John McCormack j...@easypeasy.co.uk 
 mailto:j...@easypeasy.co.uk wrote:

  

 Very interesting stats., and it's hat's off to Tom Chiverton and
 Tracy
 Spratt.
 Thank you to them.

 How about a star burst to show which topics led to the most
 subsequent
 activity?

 John



 Doug McCune wrote:
 
 
  Seems to be back up, god I hate servers, but I guess that's why
 I do
  front-end development.
 
  BTW, I'm going to be investigating getting a full dataset of the
 Adobe
  Flex forums too and will likely do some similar visualizations
 once I
  figure out how to get the data. Looks like the forum software Adobe
  uses (from Jive) has webservice access and I should be able to
 write
  something to pull all the data. If anyone has any experience with
  this, drop me a line.
 
  Doug
 
  On Tue, Nov 3, 2009 at 8:07 AM, Doug McCune d...@dougmccune.com
 mailto:doug%40dougmccune.com
  mailto:d...@dougmccune.com mailto:doug%40dougmccune.com wrote:
 
  And of course instantly my server decides to go down. I'm aware,
  working on it. Sorry for the check this out, oh wait, server
  crashed :P
 
  Doug
 
 
  On Tue, Nov 3, 2009 at 8:04 AM, primo411 primo...@gmail.com
 mailto:primo411%40gmail.com
  mailto:primo...@gmail.com mailto:primo411%40gmail.com wrote:
 
 
 
  Wow ! The UI looks really nice :)
 
  2009/11/3 Doug McCune d...@dougmccune.com
 mailto:doug%40dougmccune.com
  mailto:d...@dougmccune.com mailto:doug%40dougmccune.com

 
 
 
  Hey guys,
 
  Last night I put together a post that details some of the
  stats for this list:
 
 
 http://dougmccune.com/blog/2009/11/03/flexcoders-mailing-list-stats-pretty-graphs-full-dataset/
 
  The post also contains a download of the entire archive of
  all flexcoders messages (up through last night). The file
  is a CSV file and contains the sender name, subject, and
  date of every message ever posted to the list. It contains
  148,826 posts. I also have the full database archive (it's
  in MS Access format) that contains all the full-text of
  the messages, but that file is 1.5 gigs so I'm not posting
  it for download, but if someone has some ideas about what
  to do with it I can probably get it to you somehow.
 
  I know we had a long discussion back a long time ago about
  whether the list was declining in traffic, whether it
  should be split up, yadda yadda. I finally got around to
  getting a really good complete dataset to play with. Hope
  you enjoy the post and let me (and the rest of us on the
  list) know if you do anything cool with the data yourself.
 
  Doug
 
 
 
 
 
 
 




 




Re: [flexcoders] Re: AIR from a Flex ActionScript Project? SOLVED

2009-10-06 Thread John McCormack
Michael,

I had problems getting the ActionScript project code into the AIR 
application.

The original Document Class from OriginalProgram.AS would not run 
because it was no longer automatically on the display list and so its 
stage variable was null.

I emptied the code from the constructor into a new function called main, 
added an instance to the stage, see below, and completed the 
construction via main().
It could then proceed since stage was no longer null.

My background colour has changed and the aligment isn't working but it 
looks very promising.

Thanks again.

John


?xml version=1.0 encoding=utf-8?
 mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute creationComplete=start();
  mx:Script
   ![CDATA[
   private var prog:OriginalProgram;

   public function start():void {
 prog=new OriginalProgram;  // An instance of the 
original Document Class

 nativeWindow.stage.addChild(prog); // The constructor needs the 
prog.stage variable set, and
   
 prog.main();  // then this can 
now run all the original constructor code.
   }
   ]]
 /mx:Script
 mx:UIComponent id=container /
/mx:WindowedApplication



Michael wrote:
 John,

 Though your code is in ActionScript, you should just be able to use the MXML 
 WindowedApplication tag just at the very top-level, and initialize your main 
 ActionScript UI within an mx:Script tag.

 Something like:

 mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; 
   applicationComplete=init();
   mx:Script
   ![CDATA[
   private function init():void
   {
   // Fire up all your AS stuff here
   }
   ]]
   /mx:Script
 /mx:WindowedApplication


 Finally, I left out a step (4) in my previous message.  Steps 1-3 are 
 sufficient to run your AIR app in the debugger, but to distribute your AIR 
 application you typically need to generate and sign a .air file.  Flex 
 Builder can do that; from the raw SDK, you should check out the adt tool.

 Hope this helps,
 Michael Portuesi


 --- In flexcoders@yahoogroups.com, John McCormack j...@... wrote:
   
 Thanks Michael,

 I will give this a try.

 Currently, within FB3 I can create an AIR project and it does these 
 things for me but the output is structured similarly to a Flex project 
 but my projects are ActionScript projects built within FB3 and so the 
 conversion isn't quite the same.

 Perhaps I should be looking to convert from AcitionScript to Flex as an 
 intermediate step: by minimizing the mxml and calling my main Document 
 Class from the main mxml class and then modify that for AIR.

 It's annoying because from within Flash Prof. I can publish as AIR, but 
 that's a conversion step backwards.

 John


 Michael wrote:
 
 John,

 You can convert your Flex project to an AIR application pretty easily.  
 There's three basic steps involved:

 1) Your application should be declared as inheriting from 
 WindowedApplication, rather than Application in your main myapp.mxml file.

 mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*

 !-- declaration of your app top-level fixtures goes here --

 /mx:WindowedApplication

 2) Create an AIR app descriptor file. Here's an example.  Name it 
 myapp-app.xml and place in the same folder as your main myapp.mxml file. 

 ?xml version=1.0 encoding=UTF-8?
 application xmlns=http://ns.adobe.com/air/application/1.5.1;
 idcom.myapp.tester/id
 version0.1/version
 filenametester/filename
 nameFlexUnit Test Runner/name
 initialWindow
 contenttester.swf/content
 visibletrue/visible
 systemChromestandard/systemChrome
 transparentfalse/transparent
 width1024/width
 height768/height
 /initialWindow
 /application

 There is detailed documentation on the AIR app descriptor format on the 
 Adobe site:

 http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff1.html

 3) Use the AIR MXML compiler (amxmlc rather than mxmlc) in your build 
 scripts.  If you're using Flex Builder, you can add an AIR Project Builder 
 to your in the Project Properties  Builders pane.

 That should be enough to get you started.  Good luck.

 Michael Portuesi


 --- In flexcoders@yahoogroups.com, John McCormack john@ wrote:
   
   
 Is there any easy way to publish a Flex ActionScript Project as an AIR 
 file.
 This project, by its nature, has no mxml tags.

 John

 
 


 

 --
 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! Groups Links

Re: [flexcoders] Re: AIR from a Flex ActionScript Project? SOLVED

2009-10-06 Thread John McCormack
reflexactions wrote:
 FYI The Adobe docs do describe how to create a pure AS (i.e. not using MXML) 
 AIR application.
   

I haven't found that, although I have found lots of other references.
Unfortunately the Adobe PDF help files overlap and they have no dates, 
so things are hard to find.

Some of my problems were because I was using various properties of the 
main Class and when it because an AIR application it wasn't the main 
class any more.

If possible, please point me to the particular document it's in.

Thanks

John





Re: [flexcoders] Re: AIR from a Flex ActionScript Project? SOLVED

2009-10-06 Thread John McCormack
Much appreciated!
John

reflexactions wrote:
 Developing Adobe AIR 1.5 Applications with Flex:
 See section Creating your first AIR application with the Flex SDK 

 See the para Write the application code

 Note: SWF-based AIR applications can use a main class defined either with 
 MXML or with Adobe® ActionScript® 3.0. This example uses an MXML file to 
 define its main class. The process for creating an AIR application with a 
 main ActionScript class is similar. Instead of compiling an MXML file into 
 the SWF, you compile the ActionScript class file. When using ActionScript, 
 the main class must extend flash.display.Sprite.

 Also see Create the AIR application descriptor file

 --- In flexcoders@yahoogroups.com, John McCormack j...@... wrote:
   
 reflexactions wrote:
 
 FYI The Adobe docs do describe how to create a pure AS (i.e. not using 
 MXML) AIR application.
   
   
 I haven't found that, although I have found lots of other references.
 Unfortunately the Adobe PDF help files overlap and they have no dates, 
 so things are hard to find.

 Some of my problems were because I was using various properties of the 
 main Class and when it because an AIR application it wasn't the main 
 class any more.

 If possible, please point me to the particular document it's in.

 Thanks

 John

 




 

 --
 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! Groups Links





   




Re: [flexcoders] Re: AIR from a Flex ActionScript Project?

2009-10-01 Thread John McCormack
Brilliant support!

I did hope to do it like this, by instantiating an instance of my 
previous main document class within  ![CDATA[ tags but that didn't work
I will try these out in the next couple of days.
I also downloaded the AIR help file you pointed me to.

Thank you.

John

Michael wrote:
 John,

 Though your code is in ActionScript, you should just be able to use the MXML 
 WindowedApplication tag just at the very top-level, and initialize your main 
 ActionScript UI within an mx:Script tag.

 Something like:

 mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; 
   applicationComplete=init();
   mx:Script
   ![CDATA[
   private function init():void
   {
   // Fire up all your AS stuff here
   }
   ]]
   /mx:Script
 /mx:WindowedApplication


 Finally, I left out a step (4) in my previous message.  Steps 1-3 are 
 sufficient to run your AIR app in the debugger, but to distribute your AIR 
 application you typically need to generate and sign a .air file.  Flex 
 Builder can do that; from the raw SDK, you should check out the adt tool.

 Hope this helps,
 Michael Portuesi


 --- In flexcoders@yahoogroups.com, John McCormack j...@... wrote:
   
 Thanks Michael,

 I will give this a try.

 Currently, within FB3 I can create an AIR project and it does these 
 things for me but the output is structured similarly to a Flex project 
 but my projects are ActionScript projects built within FB3 and so the 
 conversion isn't quite the same.

 Perhaps I should be looking to convert from AcitionScript to Flex as an 
 intermediate step: by minimizing the mxml and calling my main Document 
 Class from the main mxml class and then modify that for AIR.

 It's annoying because from within Flash Prof. I can publish as AIR, but 
 that's a conversion step backwards.

 John


 Michael wrote:
 
 John,

 You can convert your Flex project to an AIR application pretty easily.  
 There's three basic steps involved:

 1) Your application should be declared as inheriting from 
 WindowedApplication, rather than Application in your main myapp.mxml file.

 mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*

 !-- declaration of your app top-level fixtures goes here --

 /mx:WindowedApplication

 2) Create an AIR app descriptor file. Here's an example.  Name it 
 myapp-app.xml and place in the same folder as your main myapp.mxml file. 

 ?xml version=1.0 encoding=UTF-8?
 application xmlns=http://ns.adobe.com/air/application/1.5.1;
 idcom.myapp.tester/id
 version0.1/version
 filenametester/filename
 nameFlexUnit Test Runner/name
 initialWindow
 contenttester.swf/content
 visibletrue/visible
 systemChromestandard/systemChrome
 transparentfalse/transparent
 width1024/width
 height768/height
 /initialWindow
 /application

 There is detailed documentation on the AIR app descriptor format on the 
 Adobe site:

 http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff1.html

 3) Use the AIR MXML compiler (amxmlc rather than mxmlc) in your build 
 scripts.  If you're using Flex Builder, you can add an AIR Project Builder 
 to your in the Project Properties  Builders pane.

 That should be enough to get you started.  Good luck.

 Michael Portuesi


 --- In flexcoders@yahoogroups.com, John McCormack john@ wrote:
   
   
 Is there any easy way to publish a Flex ActionScript Project as an AIR 
 file.
 This project, by its nature, has no mxml tags.

 John

 
 


 

 --
 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! Groups Links






   




 

 --
 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! Groups Links





   




[flexcoders] AIR from a Flex ActionScript Project?

2009-09-29 Thread John McCormack
Is there any easy way to publish a Flex ActionScript Project as an AIR file.
This project, by its nature, has no mxml tags.

John



[flexcoders] ActionScript Project in AIR

2009-09-25 Thread John McCormack
Hi List,

I have an ActionScript AS3 project that I build in Flex Builder 3 and 
want to convert it to AIR
I started a new desktop project but it is built as an alternative to 
mxml format.

The classes and assets have been imported all the project.
Creating an instance of my original class inside !CDATA[ ] doesn't work, 
neither does pasting the code into !CATA block or setting my original 
class as the default.

How do I get my original main class to be called from the mxml AIR file?

Is anyone doing this or are you using mxml projects in the first place?

John



Re: [flexcoders] How to make the effect smooth

2009-09-25 Thread John McCormack
I have the numbers 0 to 9 typed into Flash file, broken down into vector 
graphics.
They scale up okay, but I treat each digit as a movieClip imported into 
Flex from a swc.
Placing the digits is a lot of work, but you don't need a particular font.

John

Chet Haase wrote:


 Scaling text is a funny thing. Generally, you won’t get what you’re 
 asking for – smooth-scaling. The problem is that to display text in 
 any reasonable way (in a way where it won’t look completely ugly), 
 graphics engines use things like font metrics, point sizes, font 
 hints, sub-pixel anti-aliasing, and anything else they can to make it 
 look readable. This is quite different from simple graphic objects. 
 This means that when you ‘scale’ a text string, it will always try to 
 display itself in a point size that’s appropriate to the scale factor. 
 And that means it’s going to snap as it scales up and down, as it hits 
 different point sizes.

 This problem is related to why the text would simply disappear in Flex 
 3 when a text component was rotated or faded – by default, we would 
 use a device font, and that engine just couldn’t display the text in 
 any reasonable manner when it was transformed or faded. (the 
 workaround was to use an embedded font – I’m just illustrating the 
 problems here…) This is different in Flex 4, since we use the new 
 Flash player 10 text engine that uses software rendering for text and 
 avoids the device rendering issues. But still, you’ll get a much 
 different looking text string when rotated than you will when it’s not 
 rotated, because various font display tricks break down when they’re 
 not linearly displayed.

 The only workaround for this I know of is to attempt to capture the 
 text as an image and scale that instead. In this case, draw your text 
 component to some bitmap and swap it out for the duration of the effect.

 But even that won’t give you a nice result. That is, you’ll get smooth 
 scaling of the graphics (including the text), but the text won’t look 
 very good (for the simple reason that text drawn without all of the 
 font tricks mentioned above tends to look horrible, and scaled bitmaps 
 of the text will look even worse), and if you swap this scaled version 
 of the text out for the real text when the effect finishes, you’ll get 
 a snapping artifact, as we go from the bitmap display of the text to 
 the real display of the text at the appropriate point size. I’m pretty 
 sure this isn’t what you want either.

 The best way I know of to deal with this harsh text reality is to work 
 around it, and they way you do it depends on your situation. For 
 example, you might just fade the text out at the start of the effect, 
 scale up the text area, then fade it back in when it’s done. This way 
 you’ll get good text display at the beginning and end, and will avoid 
 the snapping artifacts as it scales. You could also do things like 
 capture the text into a bitmap and scale it, but also apply a blur 
 and/or fade, so that the user can see the text, but in such a way that 
 the difference between the animated version and the before/after 
 version is less jarring.

 Hope that helps.

 Chet.

 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 
 *On Behalf Of *ilikeflex
 *Sent:* Thursday, September 24, 2009 8:47 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] How to make the effect smooth

 Hi

 I am using the below sample to increase the width and height but i 
 want that the text should also transit smoothly.

 Any pointers???

 ?xml version=1.0 encoding=utf-8?
 !-- Simple example to demonstrate the Zoom effect. --
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

 mx:Parallel id=expand target={textBox}
 mx:AnimateProperty property=scaleX fromValue=1 toValue=2 
 duration=2000 /
 mx:AnimateProperty property=scaleY fromValue=1 toValue=2 
 duration=2000 /
 /mx:Parallel

 mx:Parallel id=contract target={textBox}
 mx:AnimateProperty property=scaleX fromValue=2 toValue=1 
 duration=2000 /
 mx:AnimateProperty property=scaleY fromValue=2 toValue=1 
 duration=2000 /
 /mx:Parallel

 mx:Panel title=Zoom Effect Example width=95% height=95% 
 horizontalAlign=center
 paddingTop=5 paddingLeft=10 paddingRight=10 paddingBottom=5
 !--
 mx:HBox backgroundColor=blue width=75 id=textBox
 mx:Text width=100% color=0xFF fontWeight=bold 
 text=1234567890/
 /mx:HBox
 --
 mx:TextInput backgroundColor=blue fontWeight=bold 
 color=0xFF id=textBox text=1234567890

 /mx:TextInput
 mx:ControlBar
 mx:Button label=Expand click=expand.end(); expand.play();/
 mx:Button label=Contract click=contract.end(); contract.play();/
 /mx:ControlBar

 /mx:Panel
 /mx:Application

 Thanks
 ilikeflex



 






--
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

Re: [flexcoders] How can I view internet traffic for an Air App?

2009-09-25 Thread John McCormack
Charles Proxy is great for capturing http headers.
John

luvfotography wrote:
 To view internet traffic while using a Flex app, I just use Safari and go to 
 the menu bar and go to Window/Activity.

 Is there an equivalent tool to see internet traffic to and from an Air app???

 (while not in Debug mode)
 thanks,




 

 --
 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! Groups Links





   




Re: [flexcoders] SWF SWC File extensions. What they stands for..??

2009-09-11 Thread John McCormack
I think the C means compiled.
John

Manu Dhanda wrote:
 My understanding about SWF:
 SWF(Shockwave Flash) which was later changed to Small Web Format.

 SWC - ???

 Can anybody post me the extension details about swc. What it stands for?
 I know that it is an extension for library files. But, I am just interested
 in the term SWC, Ehat it stands for?

 --Manu.
   




Re: [flexcoders] FlexBuilder Shortcuts

2009-09-09 Thread John McCormack
It'll never work.
John

Tom Chiverton wrote:


 On Tuesday 08 Sep 2009, Satish Chowdary wrote:
  Anybody having FlexBuilder Shortcuts

 http://bit.ly/56ONs

 -- 
 Helping to enthusiastically iterate experiences as part of the IT team 
 of the
 year, '09 and '08

 

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

 Halliwells LLP is a limited liability partnership registered in 
 England and Wales under registered number OC307980 whose registered 
 office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, 
 Manchester, M3 3EB. A list of members is available for inspection at 
 the registered office together with a list of those non members who 
 are referred to as partners. We use the word ?partner? to refer to a 
 member of the LLP, or an employee or consultant with equivalent 
 standing and qualifications. Regulated by the Solicitors Regulation 
 Authority.

 CONFIDENTIALITY

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

 For more information about Halliwells LLP visit www.Halliwells.com 
 http://www.Halliwells.com.



 






--
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! 
Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:flexcoders-dig...@yahoogroups.com 
mailto:flexcoders-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[flexcoders] RemoteObject Transmission Delays

2009-09-04 Thread John Luke Mills
My application has been having problems with remoteObject taking up to 8
seconds to transmit.  I read somewhere about remoteObject batching and so on
to optimize, but I can't figure out how to control it.  Any pointers would
be greatly appreciated.
 
Thanks,  John Luke Mills



Re: [flexcoders] Re: Question about how to learn Flex 3

2009-08-10 Thread John McCormack
fred44455 wrote:
 However I am a little confused. when I go to Flex 3.3 Language Reference , I 
 see a mix of Flash and Flex(mx:) packages. Is that mean that I can use the 
 Flash packages listed in the Language Reference to develop with Flex 3? Thanks
   
You will probably end up using a mixture of the two languages.
The Flex bits will help you get the screen assets together, the look and 
feel of it. This higher level Flex code, written in mxml (like xml), 
enables you to quickly get screen layout organised. This mxml also gives 
you extra services to call on, compared to AS3.

The AS3 bits will add extra code to support what you do with the screen 
assets -boxes, etc. The AS3 code you use in Flash works in the same way 
in Flex, which uses a mixture of the two languages.

Personally, all my projects look like Flash applications, written as 
ActionScript projects in Flex. I prefer Flex for coding. Eventually, I 
may use some Flex code, supported by AS3 to write some different types 
of applications.

You will get more done with Flex but I think you will need AS3 eventually.

I would learn both.
Think of it as two tracks that merge or separate as the needs change.

John



[flexcoders] SWF to save scores via php: how different is IIS to unix?

2009-08-06 Thread John McCormack
My SWFs sends scores to a php script.
This script locks an xml file and saves the sorted scores in it.
When the SWFs and php are served from a Unix environment it works fine.

These SWFs might be deployed on a Unix server, an IIS server or across a 
school network ( Microsoft?).

Can anyone offer any advice as to how different the php script needs to 
be to run from the different servers?
If not, can you possibly point me to a good source of information?

Thanks,

John




Re: [flexcoders] Problem With debugging

2009-07-06 Thread John McCormack
Vamsi,

 flex builder 3.0
My Flex Builder was updated to 3.02 some time ago.
Such an update might cure link problems with the system but I suspect your code 
is picking up something that won't run in the debugger.

I suspect that your SWF is not getting built properly.
Your build process may not be using the code you think it is.
Try a version of your SWF that has almost nothing in it.
Start to add back content to the point where it fails.
Comment out everything, including variable that load symbols etc.,
Just have the very first class with one line in it - perhaps just to set a 
variable.
Try to step through that.

You might try out a decompiler to see if your code contains the modules you 
think it does.

By the way, I found FlashPlayers here:
C:\Program Files (x86)\Adobe\Adobe Flash CS4\Players\Release
C:\Program Files (x86)\Adobe\Adobe Flash CS4\Players\Debug
C:\Program Files (x86)\Adobe\Adobe Flash CS4\Players

C:\Program Files (x86)\Adobe\Flex Builder 3 Plug-in\Player\10\win
C:\Program Files (x86)\Adobe\Flex Builder 3 Plug-in\Player\win

The file NPSWF32.DLL is also used in some cases (Firefox?)
When I ran the msdos command line window and did a dir npswf32 /s files.txt
I found that the collected entries in files.txt were numerous - i.e. possibly 
unused versions sprinkled about.


John








Re: [flexcoders] Problem With debugging

2009-07-05 Thread John McCormack
Hi Vamsi,

I don't know if I can help but I can give it a try.
First, which versions of Flex Builder and FlashPlayer do you use?
Can you debug any other SWF - one from some time ago?

I just tried this:
I right clicked the taskbar and ran Task Manager.
On the Processes tab I clicked the Image Name to put them in order.
I then ran an actionscript project from within Flex Builder.
In the processes list I had FlashUtil10.exe appear - having them in 
order helps see it come and go.

I right-clicked FlashUtil10.exe for its properties which showed that it 
was stored in C:\Windows\SysWOW64\Macromed\Flash
Do you get any such program appear when you run your SWF?
If so, what are its properties?
Are you running the version you expect?
Find its place in filing system, go to ti with Windows Explorer and look 
at its properties.
When I do this mine says Adobe Flash Player Helper 10.0 r2

John


vamsi krishna wrote:


 Hi John,
 Thank you for your help. But my problem is not resolved. Can you 
 suggest me any other way.

 --- On *Sat, 4/7/09, John McCormack /j...@easypeasy.co.uk/* wrote:


 From: John McCormack j...@easypeasy.co.uk
 Subject: Re: [flexcoders] Problem With debugging
 To: flexcoders@yahoogroups.com
 Date: Saturday, 4 July, 2009, 11:10 PM

 Hi,

 You may have other versions of the FlashPlayer - I found lots of
 versions when I had trouble - Firefox an IE use different programs.
 The uninstaller should be used, not the control panel:
 http://kb2.adobe. com/cps/141/ tn_14157. html
 http://kb2.adobe.com/cps/141/tn_14157.html
 This may not be the latest version.

 Anggie Bratadinata over at Flash_tiger@ yahoogroups. com
 
 http://in.mc77.mail.yahoo.com/mc/compose?to=Flash_tiger%40yahoogroups.com
 posted about this
 uninstaller, you might try that.
 http://www.revounin staller.com/ http://www.revouninstaller.com/

 Also, change between IE, Firefox, or standalone (html off) to see if
 another debugger helps.
 Try searching the registry for flashplayer to see if any others exist
 and consider renaming them.

 Perhaps it's an issue to do with the local connection.
 Presumably you are hitting F11 to debug.

 John

 vamsi_vitla999 wrote:
  Hi
 
  I have strucked up with an debugger issue. Please help me out in
 resolving in this issue.
  when i tried to debug an application. it gives me an Pop up
 window stating that
  Failed to connect : session timed out Ensure that
  1.You compiled your flash application with debugging on
  2.You are running the debugger version of flash player.
 
  I tried to install flash player. and reinstalled flex builder
 but no use.
  Please help me out
 
  Thank you In Advance
 
  Vamsi
 
 
 
   - - --
 
  --
  Flexcoders Mailing List
  FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder
 sFAQ.txt
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location: https://share. acrobat.com/
 adc/document. do?docid= 942dbdc8- e469-446f- b4cf-1e62079f684 7
 
 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!
 Groups Links
 
 
 
 
 
 


 
 Love Cricket? Check out live scores, photos, video highlights and 
 more. Click here 
 http://in.rd.yahoo.com/tagline_cricket_2/*http://cricket.yahoo.com.

 




Re: [flexcoders] Problem With debugging

2009-07-05 Thread John McCormack
Sorry Vamsi,

I copied  FlashUtil10.exe to the desktop and ran it.
It's just an updater that runs at the same time.
Try again!

I just ran a debug version of a SWF outside of the IDE and it runs 
FlashPlayer.exe
which appears in the TaskManager list as version 9.0 r124 from here
C:\Program Files (x86)\Adobe\Flex Builder 3 Plug-in\Player\win
Browse to there and check yours.
When I right-click it has debugger as a menu item.
Does yours?

In the past I have found that a module in the library (SWC) was getting 
called, replacing the newer code that I was expecting to be called and 
that caused a similar problem because that code was not a debug version.
I suspect that your SWF is not getting built properly, so try a version 
of your SWF that has almost nothing in it and start to add back content 
to the point where it fails.

Try setting your SWF to run on an earlier version of the player to see 
if that version pops up and runs.
Is the SDK version setting okay?

Is it possible that some security problem is blocking access - I can't 
help you there but it's possible.

John


John McCormack wrote:
 Hi Vamsi,

 I don't know if I can help but I can give it a try.
 First, which versions of Flex Builder and FlashPlayer do you use?
 Can you debug any other SWF - one from some time ago?

 I just tried this:
 I right clicked the taskbar and ran Task Manager.
 On the Processes tab I clicked the Image Name to put them in order.
 I then ran an actionscript project from within Flex Builder.
 In the processes list I had FlashUtil10.exe appear - having them in 
 order helps see it come and go.

 I right-clicked FlashUtil10.exe for its properties which showed that it 
 was stored in C:\Windows\SysWOW64\Macromed\Flash
 Do you get any such program appear when you run your SWF?
 If so, what are its properties?
 Are you running the version you expect?
 Find its place in filing system, go to ti with Windows Explorer and look 
 at its properties.
 When I do this mine says Adobe Flash Player Helper 10.0 r2

 John


 vamsi krishna wrote:
   
 Hi John,
 Thank you for your help. But my problem is not resolved. Can you 
 suggest me any other way.

 --- On *Sat, 4/7/09, John McCormack /j...@easypeasy.co.uk/* wrote:


 From: John McCormack j...@easypeasy.co.uk
 Subject: Re: [flexcoders] Problem With debugging
 To: flexcoders@yahoogroups.com
 Date: Saturday, 4 July, 2009, 11:10 PM

 Hi,

 You may have other versions of the FlashPlayer - I found lots of
 versions when I had trouble - Firefox an IE use different programs.
 The uninstaller should be used, not the control panel:
 http://kb2.adobe. com/cps/141/ tn_14157. html
 http://kb2.adobe.com/cps/141/tn_14157.html
 This may not be the latest version.

 Anggie Bratadinata over at Flash_tiger@ yahoogroups. com
 
 http://in.mc77.mail.yahoo.com/mc/compose?to=Flash_tiger%40yahoogroups.com
 posted about this
 uninstaller, you might try that.
 http://www.revounin staller.com/ http://www.revouninstaller.com/

 Also, change between IE, Firefox, or standalone (html off) to see if
 another debugger helps.
 Try searching the registry for flashplayer to see if any others exist
 and consider renaming them.

 Perhaps it's an issue to do with the local connection.
 Presumably you are hitting F11 to debug.

 John

 vamsi_vitla999 wrote:
  Hi
 
  I have strucked up with an debugger issue. Please help me out in
 resolving in this issue.
  when i tried to debug an application. it gives me an Pop up
 window stating that
  Failed to connect : session timed out Ensure that
  1.You compiled your flash application with debugging on
  2.You are running the debugger version of flash player.
 
  I tried to install flash player. and reinstalled flex builder
 but no use.
  Please help me out
 
  Thank you In Advance
 
  Vamsi
 
 
 
   - - --
 
  --
  Flexcoders Mailing List
  FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder
 sFAQ.txt
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location: https://share. acrobat.com/
 adc/document. do?docid= 942dbdc8- e469-446f- b4cf-1e62079f684 7
 
 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!
 Groups Links
 
 
 
 
 
 


 
 Love Cricket? Check out live scores, photos, video highlights and 
 more. Click here 
 http://in.rd.yahoo.com/tagline_cricket_2/*http://cricket.yahoo.com.


 




 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group

Re: [flexcoders] Problem With debugging

2009-07-04 Thread John McCormack
Hi,

You may have other versions of the FlashPlayer - I found lots of 
versions when I had trouble - Firefox an IE use different programs.
The uninstaller should be used, not the control panel:
http://kb2.adobe.com/cps/141/tn_14157.html
This may not be the latest version.

Anggie Bratadinata over at flash_ti...@yahoogroups.com posted about this 
uninstaller, you might try that.
http://www.revouninstaller.com/

Also, change between IE, Firefox, or standalone (html off) to see if 
another debugger helps.
Try searching the registry for flashplayer to see if any others exist 
and consider renaming them.

Perhaps it's an issue to do with the local connection.
Presumably you are hitting F11 to debug.

John







vamsi_vitla999 wrote:
 Hi

 I have strucked up with an debugger issue. Please help me out in resolving in 
 this issue.
 when i tried to debug an application. it gives me an Pop up window stating 
 that
 Failed to connect : session timed out Ensure that
 1.You compiled your flash application with debugging on
 2.You are running the debugger version of flash player.

 I tried to install flash player. and reinstalled flex builder but no use.
 Please help me out

 Thank you In Advance

 Vamsi



 

 --
 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! Groups Links





   




Re: [flexcoders] general tips: port javascript to as3

2009-06-03 Thread John King
Thanks, Yes, I'm using the flash/flex api now. I like this lib's
functionality better than what I can currently see available in flex, but I
couldn't find a version of markerclusterer in actionscript.


Re: [flexcoders] Re: Flex Builder on Linux been scrapped ?

2009-05-04 Thread john fisher
Howard, once something gets traction, then licenses and boxes can be
bought. In spite of our stripped to the bone status, money somehow
appears for projects that have to get done.

Howard Fore wrote:
 How were you going to buy Flex Builder even if it was going to be
 available
 on Linux?

   


Re: [flexcoders] Flex Builder on Linux been scrapped ?

2009-05-04 Thread john fisher
I was thinking the same...

thomas parquier wrote:
 As eclipse is java based, how does fb happen to be incompletely ported to
 linux ?

 What about opening source of fb ? There must be some java developers who
 will be able to work on fb.

   


Re: [flexcoders] Re: Flex Builder on Linux been scrapped ?

2009-05-01 Thread john fisher
Well most or all decisions are based on emotion, despite what we
rationalists think, but I take your point.

I'd like to write something here thats actually useful and might
contribute a tiny item to the knowledge pile at Adobe, without boring
everybody with personal details-

1) windows + Adobe puts me over budget at home, and I am accustomed to
using all-open software, and one of the appeals of Flex Builder on Linux
was I could learn it without forking over money. and yes it galls me to
send money to MS.

2) My company is a Linux shop and no license money is available for
experimental projects; CTO wants Java and the only way I can convince
him Flex/Flash is better is to show something else that works.

3) I need to see what its like developing without the Flex Builder
framework. I am already the only one in the building who uses an IDE or
visual debugger.

Just as I had no idea how Sun was going to make money on Java ( opposed
to IBM who does) I don't know how Adobe can make money giving away
tools, but it sure looks like open tools are going to win the battle in
the long run, and proprietary tools will lose market share. Maybe Adobe
can sell the visual designer stuff?

Open source software people are so wary of proprietary tools because we
have seen over and over how tool sets get munged over time, or even
abandoned, how open tools have vastly better tech support, and now
finally with Eclipse, open tools are achieving parity with the visual
IDE stuff from vendors. It seemed to me that Adobe was following a
semi-open model with Flex, for instance open bug reporting, and that
attracted me in the first place.

and so forth

John

daxdr9 wrote:
 If your willing to drop Flex because they don't sell an IDE for Linux, you're 
 basing a technical decision on emotion.


   


Re: [flexcoders] Flex Builder on Linux been scrapped ?

2009-05-01 Thread john fisher


Paul Andrews wrote:

 A really difficullt viewpoint to understand.

 FB != Flex - there's always the SDK - most people don't use the design view 
 that much - do they?
   
won't I lose the debugger too? as noted I have to try it... Linux
doesn't have the Design View.


  but you do 
 seem happy to bet your customers come only from the linux world.
   
not going to specify any OS for customers, building Flash for web
interfaces.


 I don't have a problem with open source, but many people see it as a mantra 
 for ife, ...

mostly it depends on what you have invested in, I've let my Windows
investment drop in favor of Linux, and I'm not sorry.

 I have yet to meet anyone outside the geek/software development world using 
 Linux, 
well we ARE talking about development platforms, not end user platforms.
Anyway netbooks and Android phones are colonizing the lower Windows
space - food for a business discussion elsewhere.




Re: [flexcoders] Flex Builder on Linux been scrapped ?

2009-04-30 Thread john fisher
If Adobe drops Linux support for Flex, then I will probably drop Flex.

I won't maintain a Windows or Mac box at home, and my company really
doesn't want to invest in any more Windows apps. I don't want to invest
myself in technology I can't run independently of whoever I happen to be
working for today. Seeing the fickleness of the corporate owners of
development tools is what sent us to Linux and open source tools in the
first place. We can't bet our products on some whim of Adobe. My current
all-Linux proof-of-concept project will be blown out of the water, and
I'll have to get up to speed on Java.

-grieving already

John

and at a time when Linux is gnawing away at laptop market from below and
the desktop market is dying...



Re: [flexcoders] Flex Builder on Linux been scrapped ?

2009-04-30 Thread john fisher
Guy I could use the bare SDK of course. I hadn't really tried it before
because the Flex Builder Eclipse plugin seemed like a good idea. And
there is *some* support for it in the community, I don't know how much.
You're right I should try that before I give up.

blame Adobe is not quite right, trust is more like it. Watching Java
slowly worm its way out of Sun's grasp to the point where its now more
or less open-source should provide a positive prediction for the
eventual outcome, but Adobe ain't Sun, but then Sun ain't either now.

Does Adobe have the right corporate culture to nurture an open-source
project?   I like the way they are running Flex otherwise, but maybe I
indulged in wishful thinking on the Linux support.

John

Guy Morton wrote:
 Wouldn't you still be able to build your own IDE using the free SDK?
 As I understand it a lot of people do this now to avoid having to buy
 FB, and I imagine Linux users would be relatively common within that
 group.

 If sales for a linux version of FB are too low to justify the ongoing
 cost of development, you can hardly blame Adobe for that. Their
 support for *nix is better than most.

 Guy




Re: [flexcoders] Flex Builder on Linux been scrapped ?

2009-04-30 Thread john fisher
well thanks for that Matt, I'll wait for announcements.
John

Matt Chotin wrote:
 I'm going to continue to stay out of the fray, but just to be clear, that 
 conversation is about Flex Builder, not the SDK.  We will always support 
 developers on Linux, it's a question of what we tools beyond the SDK we 
 provide.

 We'll be looking to share more information on our plans in a few weeks.

 Matt

   


[flexcoders] 360|Whisperings online Technical articles, looking for authors.

2009-04-23 Thread John Wilker
For those that don't know me, I'm John Wilker, co-founder of 360|Conferences
(360|Flex, and 360|iDev). Tom Ortega and I have created a new venture to go
along with our community oriented conferences. 360|Whisperings (
http://www.360whisperings.com). For those of you who own Amazon Kindles you
know that Whispernet is the delivery medium for purchased content.

We've created a site where people can come and browse the available content
and instead of subscribing for all you can eat, simply purchase the articles
that they want. Subscriptions are great, but you have to get your money's
worth. We're looking to go more the iTunes route, for a buck or two, get the
same quality article you would from a pay site or journal, knowing it's
quality content, and not have to pay for the content you don't want or need.

We're not just going to be limited to the Kindle (and the iPhone/iTouch
technically) but that's a good turn key place to start. Our goal is to offer
content in as many formats as we can (PDF, ePub, Mobi, PRC, etc) so that
everyone can get access. We'll take care of editing and marketing the
content and reporting on sales. The split is 60/40 us, in exchange for the
stuff I just mentioned. Our conference sites will link to and highlight
content as well as the primary site itself. I know it seems like small
change, and it is to start, but the more articles we get, the more momentum
this offering builds.

We've got a few folks signed on right now, coming up with article ideas.
We're hoping to get a few more folks for the official launch so that we've
got a good library set up and ready for folks. Why subscribe to sites and
journals, and have no idea how much value you'll get from the content? Just
pay for what you want. We're looking for technical content on any topic; CF,
FLex, Flash, AIR, Java, etc.


Re: [flexcoders] Polling vs. Timeout error vs. ???

2009-04-21 Thread John Robinson
if you only have to reload the data every 3 minutes, you should be  
fine using a timer.

You won't get the 'script running too long' error as a result of using  
a timer. That error happens basically when  code takes too long to  
process or goes into an infinite loop.

john



On Apr 21, 2009, at 11:34 AM, flexaustin wrote:

 I think I asked this question before but my searches for my messages  
 come up empty (search in this forum is awful).

 I have a Flex application that I need to do polling. Because of the  
 implementation/install of our app I cannot use any push technology.

 So my solution, which I am not sure will work, is to create a timer  
 on my the main stage that every 3 minutes tell the app to it needs  
 to make another httpservice call.

 My question is can this be done or if I create a timer that loops  
 forever will I get a Timeout error script has been running blah  
 blah or what ever the time error says?

 Or I could create a timer and have it run and when it sends out a  
 request create a new timer and kill/delete/remove the last timer?

 Any other way to accomplish this?





RE: [flexcoders] Re: Flex Developer Needed (Fulltime)

2009-04-16 Thread Ellenberger, John
On this group's header they say we should use the flexjobs newsgroup
but I tried to post some Flex job openings there and they've been
waiting for approval for two days.  Not sure if the thing is dead...the
last post was in Feb.
 
There also seems to be a Google Flex jobs list.



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Nate Beck
Sent: Wednesday, April 15, 2009 4:51 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flex Developer Needed (Fulltime)





LinkedIn is a great place... and http://flex.org/jobs
http://flex.org/jobs 


On Wed, Apr 15, 2009 at 1:42 PM, geeky developer
geekydevelo...@gmail.com mailto:geekydevelo...@gmail.com  wrote:




Just a curosity sake, Does anyone recommend any good website for
looking for a Flex Developer job. 
If anyone can recommend any good website except Monster or Dice
which is dedicated to Flex developer hiring , that will be helpful,
Thanks




On Wed, Apr 15, 2009 at 12:39 PM, Nick Collins
ndcoll...@gmail.com mailto:ndcoll...@gmail.com  wrote:




Hehe, well, everything costs more in Chicago... we do
have a 10.25% sales tax



On Wed, Apr 15, 2009 at 2:06 PM, flexaustin
flexaus...@yahoo.com mailto:flexaustin%40yahoo.com  wrote:


 Senior guys in Austin are 90k.

 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Nick Collins ndcoll...@...
wrote:

 Good luck getting a senior level Flex dev for that
pay range. Most
 senior level guys I know are getting between
100-120k. Granted, that's
 in Chicago, not the middle of Utah.

 On Tue, Apr 14, 2009 at 2:37 PM, joshbuhler
joshbuh...@... wrote:
 
 
  Rain in American Fork, Utah is currently looking
for a (preferably
  senior
  level) Flex developer. This is a full-time
position, with great
  benefits.
 
  Details can be found at:
  http://mediarain.com/us/employment/flexdeveloper
http://mediarain.com/us/employment/flexdeveloper 
 
 


 








-- 

Cheers,
Nate

http://blog.natebeck.net http://blog.natebeck.net 







Re: [flexcoders] Cant receive socket data

2009-04-10 Thread John Fisher
hmmm. I could easily append some bytes and see what happens, but not 
'til Monday when I go back to work.
Thanks!

Maciek Sakrejda wrote:
 Interesting. We ran into this issue with URLStream: 
 http://bugs.adobe.com/jira/browse/FP-748 -- maybe your problem is related? 
 Actually, searching Adobe JIRA for XMLSocket turns up a number of bugs that 
 sound vaguely like what you're experiencing...

 -Maciek


   


[flexcoders] Cant receive socket data

2009-04-09 Thread john fisher
I have a Flex 3.0 app which can connect to a remote socket server, and
send it XML, but nothing happens ( no event fires, no error in debugger)
in Flex when the server returns data. The remote server is appending a
nullbyte to the xml message, and thinks its sending the data.

Ideas?

-
the server code ( perl) snippet:
my $NULLBYTE = pack( 'c', 0 );

if (  $1 eq new ) {
print STDOUT request is: $1 sending xml data\n;
print CONNSOCK $simdata ;
print CONNSOCK $NULLBYTE;
}



the flex code snippet:


| var socket:XMLSocket = *new *XMLSocket();

  socket.addEventListener(Event.CONNECT, connected);
  socket.addEventListener(DataEvent.DATA, dataReceived);

  socket.connect(localhost, 8989);

 
  *private function *connected(event:Event):*void*
{
socket.send(xmldata);
}
  *private function *dataReceived(dataEvent:DataEvent):*void*
{
trace(dataEvent.data);
var xml:XML = *new *XML(dataEvent.data);
}
  

Thanks
John
|


Re: [flexcoders] Cant receive socket data

2009-04-09 Thread john fisher
yikes, please ignore extraneous asterisks in snippet.

this is corrected:


-
the server code ( perl) snippet:
my $NULLBYTE = pack( 'c', 0 );

if (  $1 eq new ) {
print STDOUT request is: $1 sending xml data\n;
print CONNSOCK $simdata ;
print CONNSOCK $NULLBYTE;
}



the flex code snippet:


 var socket:XMLSocket = new XMLSocket();

  socket.addEventListener(Event.CONNECT, connected);
  socket.addEventListener(DataEvent.DATA, dataReceived);

  socket.connect(localhost, 8989);

 
  private function connected(event:Event):void
{
socket.send(xmldata);
}
  private function dataReceived(dataEvent:DataEvent):void
{
trace(dataEvent.data);
var xml:XML = new XML(dataEvent.data);
}
  

Thanks




Re: [flexcoders] Cant receive socket data

2009-04-09 Thread john fisher
Thanks - but I added this code and no change. The events don't fire.

socket = new XMLSocket();
configureListeners(socket);

 private function configureListeners(dispatcher:IEventDispatcher):void {
dispatcher.addEventListener(Event.CLOSE, closeHandler);
dispatcher.addEventListener(Event.CONNECT, connectHandler);
dispatcher.addEventListener(DataEvent.DATA, dataHandler);
dispatcher.addEventListener(IOErrorEvent.IO_ERROR,
ioErrorHandler);
dispatcher.addEventListener(ProgressEvent.PROGRESS,
progressHandler);
   
dispatcher.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
securityErrorHandler);
}

private function closeHandler(event:Event):void {
trace(closeHandler:  + event);
}
etc etc etc copied from   
http://livedocs.adobe.com/flex/3/langref/flash/net/XMLSocket.html#includeExamplesSummary


Maciek Sakrejda wrote:
 You are an optimist: you are not listening for 
 flash.events.IOErrorEvent.IO_ERROR or 
 flash.events.SecurityErrorEvent.SECURITY_ERROR from the XMLSocket.


   


Re: [flexcoders] Cant receive socket data

2009-04-09 Thread john fisher
More debugging:

If I send
connect,  request data (a short XML text which the server is looking
for),  then connect again,
The data comes through.

Note: I am watching in a packet sniffer and I never see the policy file
come across any port, though I am able to connect.

Note2: if I remove the nullbyte from the perl code no data ever appears.

-puzzled

John



Re: [flexcoders] Re: binding not updating for ArrayCollection when item changes?

2009-03-13 Thread John Robinson
Thanks Josh! I haven't tried to implement this yet but so far it makes  
sense.


Thanks again,
John


On Mar 12, 2009, at 9:01 PM, Josh McDonald wrote:


In your custom control, change this:


public function set dataProvider(dp:ArrayCollection):void {
_dp = dp;
	trace(this fires when the AC is created, but not when it's  
contents change);	

}

to something like this:


public function set dataProvider(value : ArrayCollection) : void
{
if (_dp == value)
return;

if (dataProvider)
 
dataProvider.removeEventListener(CollectionEvent.COLLECTION_CHANGE,  
handleUpdatedProvider);


_dp = value;

if (dataProvider)
 
dataProvider.addEventListener(CollectionEvent.COLLECTION_CHANGE,  
handleUpdatedProvider, ???, ???, true); // Weak listener!


handleUpdatedProvider(null);
}

private function handleUpdatedProvider(event : CollectionEvent) : void
{
//... do stuff
}


Note that this is just typed out of the top of my head, probably  
full of typos, and you need to put the default options in place of  
??? when attaching the listener :)


-Josh


2009/3/13 John Robinson jrobi...@nycap.rr.com
Yeah, I've been directly updating the properties. Here's the weird  
part... if I use the ArrayCollection as a dataProvider for a List  
control, it updates. If I use it for a custom control that I've  
created, it does not.



Example:

This works as expected:
mx:List dataProvider={model.users}/

This does not:
jr:customComponent dataProvider={model.users}/

//pseudo component source
customComponent
mx:Script
private var _dp:ArrayCollection;

public function set dataProvider(dp:ArrayCollection):void {
_dp = dp;
	trace(this fires when the AC is created, but not when it's  
contents change);	

}

/mx:Script
/customComponent

Thanks again!
John

On Mar 10, 2009, at 4:44 PM, valdhor wrote:

How do you update a given UserVO's userData? Do you directly access  
the public properties?


I have never done it this way - I use getters and setters...

package com.jrobinson.model.VO
{
[Bindable]
public class UserVO
{
private var _id:int = -1;
private var _username:String = null;
private var _enabled:Boolean = false;
private var _userData:XMLList = null;

public function UserVO(id:int, username:String,  
enabled:Boolean, userData:XMLList)

{
_id = id;
_username = username;
_enabled = enabled;
_userData = userData;
}

//accessor methods
public function get id():int {return _id;}
public function get username():String {return _username;}
public function get enabled():Boolean {return _enabled;}
public function get userData():XMLList {return _userData;}

//mutator methods
public function set id(id:int):void {_id = id;}
public function set username(username:String):void  
{_username = username;}
public function set enabled(enabled:Boolean):void {_enabled  
= enabled;}
public function set userData(userData:XMLList):void  
{_userData = userData;}

}
}


  I have a strange issue with data binding not updating when an  
item in

  an ArrayCollection is changed. I'm using Cairngorm and have the
  following setup. In my ModelLocator I have a 'users'  
ArrayCollection
  that contains 'UserVO' objects. I have a two views that binds  
their
  dataProvider to the 'users' AC in the ModelLocator. My UserVO  
looks

  like so:
 
  package com.jrobinson.model.VO
  {
  [Bindable]
  public class UserVO
  {
  public var id:int = -1;
  public var username:String = null;
  public var enabled:Boolean = false;
  public var userData:XMLList = null;
 
 
  public function UserVO(user_id:int, uName:String,  
enabled:Boolean,

  d:XMLList)
  {
  id = user_id;
  username = uName;
  enabled = enabled;
  userData = d;
  }
 
  }
  }
 
  I first have a command that loads all of the users and  
populates the

  AC. This updates the bindings as expected. I then have a second
  command that loads the userData portion for a given user. Once
  retrieved, I update the given UserVO's userData, but this  
time, the

  bindings fail to update.
 
  I feel like I've seen this before but can't find where or what  
the
  workaround might be. I guess I'm just looking for confirmation  
that

  this should or shouldn't work.
 
  Thanks!
  John
 





--
Therefore, send not to know For whom the bell tolls. It tolls for  
thee.


Josh 'G-Funk' McDonald
  -  j...@joshmcdonald.info
  -  http://twitter.com/sophistifunk
  -  http://flex.joshmcdonald.info/








Re: [flexcoders] Re: binding not updating for ArrayCollection when item changes?

2009-03-12 Thread John Robinson
Yeah, I've been directly updating the properties. Here's the weird  
part... if I use the ArrayCollection as a dataProvider for a List  
control, it updates. If I use it for a custom control that I've  
created, it does not.


Example:

This works as expected:
mx:List dataProvider={model.users}/

This does not:
jr:customComponent dataProvider={model.users}/

//pseudo component source
customComponent
mx:Script
private var _dp:ArrayCollection;

public function set dataProvider(dp:ArrayCollection):void {
_dp = dp;
	trace(this fires when the AC is created, but not when it's contents  
change);	

}

/mx:Script
/customComponent

Thanks again!
John

On Mar 10, 2009, at 4:44 PM, valdhor wrote:

How do you update a given UserVO's userData? Do you directly access  
the public properties?


I have never done it this way - I use getters and setters...

package com.jrobinson.model.VO
{
[Bindable]
public class UserVO
{
private var _id:int = -1;
private var _username:String = null;
private var _enabled:Boolean = false;
private var _userData:XMLList = null;

public function UserVO(id:int, username:String,  
enabled:Boolean, userData:XMLList)

{
_id = id;
_username = username;
_enabled = enabled;
_userData = userData;
}

//accessor methods
public function get id():int {return _id;}
public function get username():String {return _username;}
public function get enabled():Boolean {return _enabled;}
public function get userData():XMLList {return _userData;}

//mutator methods
public function set id(id:int):void {_id = id;}
public function set username(username:String):void  
{_username = username;}
public function set enabled(enabled:Boolean):void {_enabled  
= enabled;}
public function set userData(userData:XMLList):void  
{_userData = userData;}

}
}


  I have a strange issue with data binding not updating when an  
item in

  an ArrayCollection is changed. I'm using Cairngorm and have the
  following setup. In my ModelLocator I have a 'users'  
ArrayCollection
  that contains 'UserVO' objects. I have a two views that binds  
their
  dataProvider to the 'users' AC in the ModelLocator. My UserVO  
looks

  like so:
 
  package com.jrobinson.model.VO
  {
  [Bindable]
  public class UserVO
  {
  public var id:int = -1;
  public var username:String = null;
  public var enabled:Boolean = false;
  public var userData:XMLList = null;
 
 
  public function UserVO(user_id:int, uName:String,  
enabled:Boolean,

  d:XMLList)
  {
  id = user_id;
  username = uName;
  enabled = enabled;
  userData = d;
  }
 
  }
  }
 
  I first have a command that loads all of the users and  
populates the

  AC. This updates the bindings as expected. I then have a second
  command that loads the userData portion for a given user. Once
  retrieved, I update the given UserVO's userData, but this time,  
the

  bindings fail to update.
 
  I feel like I've seen this before but can't find where or what  
the
  workaround might be. I guess I'm just looking for confirmation  
that

  this should or shouldn't work.
 
  Thanks!
  John
 


Re: [flexcoders] Re: binding not updating for ArrayCollection when item changes?

2009-03-10 Thread John Robinson
Nice catch! That didn't seem to be causing the problem but thanks for  
pointing it out.

I've simplified the case in that I'm not calling the web service  
anymore, just flipping the enabled property but binding still is not  
updating. Any other ideas?

Thanks,
John

On Mar 10, 2009, at 10:53 AM, valdhor wrote:

 I don't know if this is your problem but one thing I noticed is youu  
 have an ambiguous set of your enabled property. You have

 enabled = enabled;

 which (I assume) is to set the enabled property of your class to the  
 enabled parameter that is passed in. This won't work. You should have

 this.enabled = enabled;

 or change one of the parameter names.

 --- In flexcoders@yahoogroups.com, John Robinson jrobi...@... wrote:

 I have a strange issue with data binding not updating when an item in
 an ArrayCollection is changed. I'm using Cairngorm and have the
 following setup. In my ModelLocator I have a 'users' ArrayCollection
 that contains 'UserVO' objects. I have a two views that binds their
 dataProvider to the 'users' AC in the ModelLocator. My UserVO looks
 like so:

 package com.jrobinson.model.VO
 {
  [Bindable]
  public class UserVO
  {
  public var id:int = -1;
  public var username:String = null;
  public var enabled:Boolean = false;
  public var userData:XMLList = null;
  
  
  public function UserVO(user_id:int, uName:String, 
 enabled:Boolean,
 d:XMLList)
  {
  id = user_id;
  username = uName;
  enabled = enabled;
  userData = d;
  }

  }
 }

 I first have a command that loads all of the users and populates the
 AC. This updates the bindings as expected. I then have a second
 command that loads the userData portion for a given user. Once
 retrieved, I update the given UserVO's userData, but this time, the
 bindings fail to update.

 I feel like I've seen this before but can't find where or what the
 workaround might be. I guess I'm just looking for confirmation that
 this should or shouldn't work.

 Thanks!
 John





 

 --
 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 
 ! Groups Links






John Robinson - Flash/Flex Developer at large
Blog: http://jrobinsonmedia.wordpress.com


John Robinson - Flash/Flex Developer at large
Blog: http://jrobinsonmedia.wordpress.com




[flexcoders] binding not updating for ArrayCollection when item changes?

2009-03-09 Thread John Robinson
I have a strange issue with data binding not updating when an item in  
an ArrayCollection is changed. I'm using Cairngorm and have the  
following setup. In my ModelLocator I have a 'users' ArrayCollection  
that contains 'UserVO' objects. I have a two views that binds their  
dataProvider to the 'users' AC in the ModelLocator. My UserVO looks  
like so:

package com.jrobinson.model.VO
{
[Bindable]
public class UserVO
{
public var id:int = -1;
public var username:String = null;
public var enabled:Boolean = false;
public var userData:XMLList = null;


public function UserVO(user_id:int, uName:String, 
enabled:Boolean,  
d:XMLList)
{
id = user_id;
username = uName;
enabled = enabled;
userData = d;
}

}
}

I first have a command that loads all of the users and populates the  
AC. This updates the bindings as expected. I then have a second  
command that loads the userData portion for a given user. Once  
retrieved, I update the given UserVO's userData, but this time, the  
bindings fail to update.

I feel like I've seen this before but can't find where or what the  
workaround might be. I guess I'm just looking for confirmation that  
this should or shouldn't work.

Thanks!
John


[flexcoders] problem with HTTPS

2009-03-05 Thread John Deutsch
A business requirement for our company is to upload sensitive files over SSL. 
We have got the uploads working fine over HTTP but are recieving the following 
error over HTTPS: [IOErrorEvent type=ioError bubbles=false cancelable=false 
eventPhase=2 text=Error #2038: File I/O Error. URL: 
https://www.elitehealth.com/secure/patient/eliteonline/webService/upload.php;].
We are aware that the issue is probably due to a misconfiguration with our 
cross-domain-policy, but are inexperienced with this specific requirement.

Any thoughts? We're open to hiring someone to help us with this problem if the 
solution is fairly complex.

Thanks,

John



Re: [flexcoders] Re: Detect exeptions - help!!

2009-02-06 Thread John McCormack
Thanks Steve,

I will give it a go.
My problem with the  communication was that I didn't know the order of 
messages between exe and swf and so couldn't fix it. Perhaps I can now.

John


valdhor wrote:
 John

 Yes it does. It acts as a proxy between whatever application you are
 using and whatever you are trying to contact. It automagically sets up
 Firefox and Internet Exploiter. For other apps you may need to
 manually set the proxy to the local machine and port.

 BTW. My name is Steve - Valdhor was my ADD alias back in my
 university days ;-}


 --- In flexcoders@yahoogroups.com, John McCormack j...@... wrote:
   
 Thanks valdhor,

 Does Charles manage to capture the local host traffic?
 I want to capture the messages between an exe and an Adobe swf file.

 John

 valdhor wrote:
 
 My favorite (The one I own) is Charles (http://www.charlesproxy.com).

 The two things that made it my pick is that it is cross platform and
 that it understands AMF (ie. it will show you the returned objects and
 what they contain - invaluable for debugging remote objects)


 --- In flexcoders@yahoogroups.com, oneworld95 oneworld95@ wrote:
   
   
 John -- WireShark (free download from http://www.wireshark.org/)
 
 is my
   
 current favorite. It shows all the network traffic and can be
 
 filtered
   
 based on IP, etc. I've blogged about it here with instructions on
 using it:

 
 
 http://devharbor.blogspot.com/2009/02/using-wireshark-to-sniff-http-packets.html
   
   
   
 - Alex C

 --- In flexcoders@yahoogroups.com, oneworld95 oneworld95@ wrote:
 
 
 Thanks, Alex. It's not hanging on the Flex side -- the server
   
 response
   
 is never received. Using WireShark (http://www.wireshark.org/),
   
 I was
   
 able to see it's not hanging at all, but continually sending
   
 messages
   
 to the Java servlet but getting nothing back in reply. 

 That's what led me to investigate the Java code more closely. The
 BufferedImage object was receiving some JPG images that it couldn't
 handle; so it spun away for a while before throwing an
   
 exception. For
   
 whatever reason, the exception never made it back to the Flex side. 

 All is well now: I took out the BufferedImage object and am passing
 the InputStream directly to the Java Advanced Imaging API code,
   
 which
   
 resizes the image and writes it to disk. One issue: JPG images with
 CMYK color spaces come out with their colors mangled; but that's a
 limitation of the server code and has nothing to do with Flex.

 - Alex

 --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
   
   
 It would be unusual for Flex to hang waiting for the server.  Use a
 
 
 network monitor to see what's going on.  Is Flex really hung?  You
 can't hit a button or anything?
   
   
 From: flexcoders@yahoogroups.com
 
 [mailto:flexcod...@yahoogroups.com]
   
 
 
 On Behalf Of oneworld95
   
   
 Sent: Tuesday, February 03, 2009 7:25 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Detect exeptions - help!!


 I've run into a very frustrating situation and need your help:

 - Flex uploads a file to the server
 - The server reads it into a Java BufferedImage object.
 - However, Java sometimes takes 40 seconds or longer to reply
 - In some cases it has difficulty reading the file.

 In the cases of problems, Flex just hangs. It doesn't reply with
 anything. Is it timing out? Any help appreciated.

 
 

 

 --
 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! Groups
 Links
   




   




 

 --
 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! Groups Links





   




Re: [flexcoders] Re: Detect exeptions - help!!

2009-02-05 Thread John McCormack
Thanks Alex.

I had a peek at your blog and followed the link for localhost but they 
say it doesn't work at for the local ip address of 127.0.0.1 - on 
Windows. All the same, thank you for telling me about it, it sounds 
really good. I shall give it a go for other purposes. I wonder if 
Charles will capture localhost traffic?

John

oneworld95 wrote:
 John -- WireShark (free download from http://www.wireshark.org/) is my
 current favorite. It shows all the network traffic and can be filtered
 based on IP, etc. I've blogged about it here with instructions on
 using it:
 http://devharbor.blogspot.com/2009/02/using-wireshark-to-sniff-http-packets.html


 - Alex C

 --- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... wrote:
   
 Thanks, Alex. It's not hanging on the Flex side -- the server response
 is never received. Using WireShark (http://www.wireshark.org/), I was
 able to see it's not hanging at all, but continually sending messages
 to the Java servlet but getting nothing back in reply. 

 That's what led me to investigate the Java code more closely. The
 BufferedImage object was receiving some JPG images that it couldn't
 handle; so it spun away for a while before throwing an exception. For
 whatever reason, the exception never made it back to the Flex side. 

 All is well now: I took out the BufferedImage object and am passing
 the InputStream directly to the Java Advanced Imaging API code, which
 resizes the image and writes it to disk. One issue: JPG images with
 CMYK color spaces come out with their colors mangled; but that's a
 limitation of the server code and has nothing to do with Flex.

 - Alex

 --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
 
 It would be unusual for Flex to hang waiting for the server.  Use a
   
 network monitor to see what's going on.  Is Flex really hung?  You
 can't hit a button or anything?
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]
   
 On Behalf Of oneworld95
 
 Sent: Tuesday, February 03, 2009 7:25 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Detect exeptions - help!!


 I've run into a very frustrating situation and need your help:

 - Flex uploads a file to the server
 - The server reads it into a Java BufferedImage object.
 - However, Java sometimes takes 40 seconds or longer to reply
 - In some cases it has difficulty reading the file.

 In the cases of problems, Flex just hangs. It doesn't reply with
 anything. Is it timing out? Any help appreciated.

   



 

 --
 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! Groups Links





   




Re: [flexcoders] Re: Detect exeptions - help!!

2009-02-05 Thread John McCormack
Thanks valdhor,

Does Charles manage to capture the local host traffic?
I want to capture the messages between an exe and an Adobe swf file.

John

valdhor wrote:
 My favorite (The one I own) is Charles (http://www.charlesproxy.com).

 The two things that made it my pick is that it is cross platform and
 that it understands AMF (ie. it will show you the returned objects and
 what they contain - invaluable for debugging remote objects)


 --- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... wrote:
   
 John -- WireShark (free download from http://www.wireshark.org/) is my
 current favorite. It shows all the network traffic and can be filtered
 based on IP, etc. I've blogged about it here with instructions on
 using it:

 
 http://devharbor.blogspot.com/2009/02/using-wireshark-to-sniff-http-packets.html
   
 - Alex C

 --- In flexcoders@yahoogroups.com, oneworld95 oneworld95@ wrote:
 
 Thanks, Alex. It's not hanging on the Flex side -- the server response
 is never received. Using WireShark (http://www.wireshark.org/), I was
 able to see it's not hanging at all, but continually sending messages
 to the Java servlet but getting nothing back in reply. 

 That's what led me to investigate the Java code more closely. The
 BufferedImage object was receiving some JPG images that it couldn't
 handle; so it spun away for a while before throwing an exception. For
 whatever reason, the exception never made it back to the Flex side. 

 All is well now: I took out the BufferedImage object and am passing
 the InputStream directly to the Java Advanced Imaging API code, which
 resizes the image and writes it to disk. One issue: JPG images with
 CMYK color spaces come out with their colors mangled; but that's a
 limitation of the server code and has nothing to do with Flex.

 - Alex

 --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
   
 It would be unusual for Flex to hang waiting for the server.  Use a
 
 network monitor to see what's going on.  Is Flex really hung?  You
 can't hit a button or anything?
   
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]
 
 On Behalf Of oneworld95
   
 Sent: Tuesday, February 03, 2009 7:25 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Detect exeptions - help!!


 I've run into a very frustrating situation and need your help:

 - Flex uploads a file to the server
 - The server reads it into a Java BufferedImage object.
 - However, Java sometimes takes 40 seconds or longer to reply
 - In some cases it has difficulty reading the file.

 In the cases of problems, Flex just hangs. It doesn't reply with
 anything. Is it timing out? Any help appreciated.

 



 

 --
 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! Groups Links





   




Re: [flexcoders] Detect exeptions - help!!

2009-02-04 Thread John McCormack
Alex,

Can you recommend a particular network monitor?
I would like to catch all the local connection messages - i.e. between a 
Windows exe and Flash swf working on the same PC.

John

Alex Harui wrote:

 It would be unusual for Flex to hang waiting for the server. Use a 
 network monitor to see what’s going on. Is Flex really hung? You can’t 
 hit a button or anything?

 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 
 *On Behalf Of *oneworld95
 *Sent:* Tuesday, February 03, 2009 7:25 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Detect exeptions - help!!

 I've run into a very frustrating situation and need your help:

 - Flex uploads a file to the server
 - The server reads it into a Java BufferedImage object.
 - However, Java sometimes takes 40 seconds or longer to reply
 - In some cases it has difficulty reading the file.

 In the cases of problems, Flex just hangs. It doesn't reply with
 anything. Is it timing out? Any help appreciated.

 





--
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! 
Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:flexcoders-dig...@yahoogroups.com 
mailto:flexcoders-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [flexcoders] Flex Builder debugger problems

2009-01-23 Thread John McCormack
If the SWF takes a long time to build you will see that.
I sometimes got that when it couldn't find the debugger, but not recently.
It's sometimes slow waiting for something to be loaded/decoded, or  even 
when waiting at a breakpoint.
Because the two programs don't run independently IE may show no content 
when interrupted by Flash/Flex.

John

Curtis Barrett wrote:
 I'm running into an odd problem with the Flex Builder debugger.  About 
 4/5ths of the times that I click the debug button I get a nice, white 
 IE page.  It has the loading icon down at the bottom and aside from 
 that, nothing.  When I click stop in flex builder the page goes away 
 and when I click disconnect then the page finishes loading my flex 
 app.  It is starting to get particularly frustrating when I have to 
 stop it and relaunch it 5-9 times before I get a working window.  Once 
 it comes up all is fine and dandy. 
  
 Has anyone had anything similar happen?  I am on a trial version of 
 flex builder and I have reinstalled it to see if it would help at all.
  
  
 Thanks in advanced,
 Curtis Barrett
  




  1   2   3   4   5   6   7   8   >