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 
"

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

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"  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-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"  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, Al

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"  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 with t

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













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








[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] 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] 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.
>
>
>
> 




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 
> 
>  
> (Yahoo! ID required)
> Change settings via email: Switch delivery to Daily Digest 
>  
> | Switch to Fully Featured 
> 
>  
>
> Visit Your Group 
> 
>  
> | Yahoo! Groups Terms of Use  | 
> 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
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  <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  <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  <mailto:primo411%40gmail.com>
> > <mailto:primo...@gmail.com <mailto:primo411%40gmail.com>>> wrote:
> >
> >
> >
> > Wow ! The UI looks really nice :)
> >
> > 2009/11/3 Doug McCune  <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] 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  > 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  > wrote:
>
>  
>
> Wow ! The UI looks really nice :)
>
> 2009/11/3 Doug McCune  >
>
>  
>
> 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
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  > 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  > wrote:
>
>  
>
> Wow ! The UI looks really nice :)
>
> 2009/11/3 Doug McCune  >
>
>  
>
> 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
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  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? 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
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



 http://www.adobe.com/2006/mxml"; 
layout="absolute" creationComplete="start();">
  
   
 
 




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  tag.
>
> Something like:
>
> http://www.adobe.com/2006/mxml"; 
>   applicationComplete="init();">
>   
>   
>   
> 
>
>
> 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  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.
>>>
>>> http://www.adobe.com/2006/mxml"; xmlns="*">
>>>
>>> 
>>>
>>> 
>>>
>>> 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. 
>>>
>>> 
>>> http://ns.adobe.com/air/application/1.5.1";>
>>> com.myapp.tester
>>> 0.1
>>> tester
>>> FlexUnit Test Runner
>>> 
>>> tester.swf
>>> true
>>> standard
>>> false
>>> 1024
>>> 768
>>> 
>>> 
>>>
>>> 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  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
>
>
>
>
>
>   




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  tag.
>
> Something like:
>
> http://www.adobe.com/2006/mxml"; 
>   applicationComplete="init();">
>   
>   
>   
> 
>
>
> 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  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.
>>>
>>> http://www.adobe.com/2006/mxml"; xmlns="*">
>>>
>>> 
>>>
>>> 
>>>
>>> 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. 
>>>
>>> 
>>> http://ns.adobe.com/air/application/1.5.1";>
>>> com.myapp.tester
>>> 0.1
>>> tester
>>> FlexUnit Test Runner
>>> 
>>> tester.swf
>>> true
>>> standard
>>> false
>>> 1024
>>> 768
>>>     
>>> 
>>>
>>> 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  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
>
>
>
>
>
>   




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

2009-09-30 Thread John McCormack
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.
>
> http://www.adobe.com/2006/mxml"; xmlns="*">
>
> 
>
> 
>
> 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. 
>
> 
> http://ns.adobe.com/air/application/1.5.1";>
>   com.myapp.tester
>   0.1
>   tester
>   FlexUnit Test Runner
>   
>   tester.swf
>   true
>   standard
>   false
>   1024
>   768
>   
> 
>
> 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  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] 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



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] 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???
>
> 
> 
> http://www.adobe.com/2006/mxml";>
>
> 
>  duration="2000" />
>  duration="2000" />
> 
>
> 
>  duration="2000" />
>  duration="2000" />
> 
>
>  horizontalAlign="center"
> paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">
> 
>  color="0xFF" id="textBox" text="1234567890">
>
> 
> 
> 
> 
> 
>
> 
> 
>
> 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: 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] ActionScript Project in AIR

2009-09-25 Thread John McCormack
Thanks Barry,

I am always afraid of upsetting my system so I won't try the FB4 option, 
although I am looking forward to getting it.

It's a regular ActionScript project. It's not in a library.
How can I get it into a library? Do you mean compile it into a swc?

I will try and find a way to convert it, now that I know it can be done.

John


Barry Gee wrote:
> Hi John.
>
> Im sure there are other ways of doing this but a simple solution would 
> be to download the Flash Builder 4 beta import your project and then 
> right click on the project in the lib and select change project to - and 
> select desktop project. Worked for me.
>
> barry.
>
>
>
> John McCormack wrote:
>   
>>  
>>
>> 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 into 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
>>
>>
>> 
>
>
>
> 
>
> --
> 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] 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] 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 
> .
>
>
>
> 






--
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] 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( 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-05 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
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 //* wrote:
>>
>>
>> From: John McCormack 
>> 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>
>> > Alterna

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 //* wrote:
>
>
> From: John McCormack 
> 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-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] 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 AD&D alias back in my
> university days ;-}
>
>
> --- In flexcoders@yahoogroups.com, John McCormack  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"  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"  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  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 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"  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"  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  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 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"  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  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
>  




Re: [flexcoders] use an actionscript class from a SWC in actionscript

2009-01-09 Thread John McCormack
dnk wrote:
> Hi there i have written a very simple class in AS that has ben added  
> to a personal library (SWC).
>
> Now in mxml I can reference the classes and components easily by  
> putting a:
>
> xmlns:mycomps="*"
>
>
> Now what I would like to know is how would I reference a class that is  
> in a SWC from action script?
>
> So i have class called "Tracer" in my swc.
In my ActionScript project build options I add a SWC.
In any class I then type

var something:

and up pops the autocomplete with the names of my objects in the list.

var something:Tracer = new Tracer;



Re: [flexcoders] My frustrations with the Adobe Bug Report system

2008-12-20 Thread John McCormack
I found it extremely slow and painful yesterday when I tried to add 
feature requests for Flex 4.
Might it work better as an Air application sorted on build number.
We don't have many builds out in the field so it might not be a problem.

Thanks
John

Matt Chotin wrote:
> Hi Jason,
>
> Thanks for your feedback.  We probably could see if we could invest some time 
> in making sure there are some explanations for the fields.  And I agree that 
> the sorted order of lots of fields is a nightmare.  What you are running into 
> is the fact that we have a lot of internal milestones and builds and 
> therefore we want the bug system to be able to reflect those for internal 
> purposes, but I wonder if there is any way we could provide a filter for just 
> the public ones and sort by the most likely for you to encounter them.
>
> I'll see what we could do to maybe get some help links for some of the 
> explanations.  I don't know that we can explain every features, we may need 
> you to just make your best guess, but at least for projects we can see what 
> we need to do.
>
> Best,
> Matt
>
>
> On 12/19/08 10:55 AM, "Pan Troglodytes"  wrote:
>
>
>
>
> I've put off writing this for a while out of laziness.  Going out of my way 
> to report bugs is already sort of outside of the scope of what I should be 
> working on, but I consider it very important for the quality of the product.  
> And it helps that my bugs are typically answered and fixed.  But griping 
> about the bug report system itself seemed a little too meta.  Plus, I kept 
> debating on whether I should file it as a bug or email it here or dig someone 
> at Adobe's address up or what.
>
> So I've settled on this, here goes.
>
> Generally, the bug system works well.  Yes, it can be a bit frustrating to 
> find out if there's already a bug with the issue you're going to report.  
> Yes, those old bugs imported from the old DB are maddening when the subject 
> line makes you think they're the same.  But all in all, it works ok.  There 
> are really only a few things that really bug me.  Also, I'm sorry for the 
> terrible pun.
>
> My main problem is with documentation.  There needs to be some explanations 
> as to what choices in the various combo boxes mean so that we, as users, can 
> more intelligently give you feedback.
>
> Take for example the bug I'm about to enter.  I found a bug in the compiler 
> so that it's not parsing the code right.  This happens both in Flex Builder 
> and in mxmlc.  I start out and it asks "Project".  I wasn't sure on the 
> dropdown if it should be "ActionScript Compiler (ASC)" or "Flex Builder".  I 
> finally figured out I could go through Browse Projects and click on 
> individual projects to get descriptions of them, though not all of them had 
> descriptions.  Even after entering enough bugs to get a t-shirt, it took me 
> this long to find that.  There's plenty of room on that first page to have a 
> list of the projects and a short paragraph defining the scope of the project 
> so submitters can more eas! ily pick the project.  FYI, I eventually decided 
> on ActionScript Compiler.
>
> Next you have the Issue Type.  If you click on the little help box, you get 
> this help for feature requests versus minor enhancements:
>   Feature Request  A new feature to the product.   Minor Enhancement  A 
> new enhancement to the product.
> I had a better idea about the difference between those two BEFORE I clicked 
> on the help.
>
> No matter if you choose Bug, Feature Request or Minor Enhancement, you still 
> get the same list of severities on the next page.  So you can choose 
> Bug->Enhancement/Task or you can choose Minor Enhancement->Crash Hang.  I 
> realize that this may just be a limitation of JIRA, but it's a little 
> distracting.  Along with this, minor enhancements get all the other boxes 
> like Discoverability, Reproducibility, Regression, etc. that really don't 
> apply to them.  Feature requests don't get that, but then again there's the 
> whole fuziness about the difference between those two things.
>
> Now you go on to choose the Component the bug is found in.  I have never 
> found a page that actually gives descriptions of the various components.  And 
> some of these leave me scratching my head.  Much as with the projects, there 
> should really be an easy way to get a sentence or three about each component 
> so you can more easily decide where to put new bugs.  Either that, or force 
> all bugs to go to an "unassigned" component and let the bug reviewers sort it 
> properly.
>
> None
>  Future
> Player 10 - Code Complete
> Flex 4
> QVM 1 - Code Complete
> Flex 3 - Beta 2
> FP 9.2 - Code Complete
> FP 9.1.6 - Code Complete
> FP 9.1.5 - GMC Lockdown
>  FP 9.1 - GMC
> Flash 9.0
>
> Erm... I'm using Flex Builder 3 and the compiler is barfing.  Help?
>
> These are specific to each project, so I'm baffled why so many versions exist 
> for the com

Re: [flexcoders] SWC compression format?

2008-12-17 Thread John McCormack
If you rename the *.swc file to a *.zip file you can open it with 
Windows Vista (and XP?) or with 7-zip (etc.) without renaming it, so it 
must be a derivation of the pkzip format. There are some zip functions 
in the nochump branch of papervision3D so that might help.

John

aaron smith wrote:
> Does anyone have any idea what format a swc is compressed with? I'm
> trying to figure out how to take the ouput of a swc (with the
> -directory switch from compc), run the "optimize" command line tool on
> the "library.swf", and then zip it back up as a swc. any ideas?
>
> 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] Who is Rxxxx Txxxxxx?

2008-09-02 Thread John McCormack
Alan wrote:
> I think singling out someone like this is inappropriate. Especially 
> since on the web our names pop up enough on the web. 
Agreed.
Some of what he had to say was interesting.
I don't like swearing.
But I can understand people getting angry.
Anytime soon this planet's going to be in a big mess, so let''s get on now.

John





Re: [flexcoders] Flex and Vista 64

2008-08-18 Thread John McCormack
Flex Builder 3.0 works great on Vista Ultimate x64.
John

mvbaffa wrote:
> Hi All,
>
> Does Flex Builder 3.0 works with Vista x64
>
> Thanks in advance
>   




Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread John McCormack
How about an agreed list of acronyms that we use to prepend the Subject line 
with: NEWB, MXML, AS3, DESIGN, HTTP, ALL, etc., and we do the sorting ourselves 
with the mail rules?

John


Re: [flexcoders] Math.abs() Limitation?

2008-06-11 Thread John McCormack
Inside a Flex Builder 3 Actionscript project, when debugging..

Code:
var n1:int=Math.abs(int.MAX_VALUE - 1290);
var n2:int=Math.abs(int.MAX_VALUE - 1284);
var n3:Number=Math.abs(int.MAX_VALUE - 1290);
var n4:Number=Math.abs(int.MAX_VALUE - 1284);

if (Math.abs(int.MAX_VALUE - 1290) == Math.abs(int.MAX_VALUE - 1284)) {
   var nh:int=2;   // with a breakpoints here to see if the
   nh++;//  condition is true. It never arrived here.
} 

In the variables pane:
n1 2147482357 [0x7af5] 
n2 2147482363 [0x7afb] 
n3 2147482357 [0x7af5] 
n4 2147482363 [0x7afb] 

Everything works as expected.

John

  - Original Message - 
  From: Daniel Freiman 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, June 06, 2008 10:10 PM
  Subject: Re: [flexcoders] Math.abs() Limitation?


  I figured it out.  The trace made it obvious (as opposed the debugger which 
is what I was previously using).  I was using Number.MAX_VALUE, not 
int.MAX_VALUE.  Number.MAX_VALUE doesn't have enough precision to handle what I 
was trying to do.

  Thanks,

  - Daniel Freiman


  On Fri, Jun 6, 2008 at 2:29 PM, Gordon Smith <[EMAIL PROTECTED]> wrote:


What do you get when you trace out the following values?



int.MAX_VALUE - 1290

Math.abs(int.MAX_VALUE - 1290)

int.MAX_VALUE - 1284

Math.abs(int.MAX_VALUE - 1284)



Gordon Smith

Adobe Flex SDK Team






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Alex Harui
Sent: Friday, June 06, 2008 11:18 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Math.abs() Limitation?



What if you use temporary variables?






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Daniel Freiman
Sent: Friday, June 06, 2008 9:09 AM
To: flexcoders
Subject: [flexcoders] Math.abs() Limitation?



According to my code the following statement returns true.

Math.abs(int.MAX_VALUE - 1290) == Math.abs(int.MAX_VALUE - 1284)

I tried converting everything to type Number that didn't help.  Getting 
ride of the abs() makes the calculation work correctly but then I don't have 
the absolute value.

Thoughts?

- Daniel Freiman



   

Re: [flexcoders] Re: Importing SWC Files in FLEX

2008-05-25 Thread John McCormack
Hi Anuj,

//"An internal build error has occurred. Right-click for more information."

I had difficulty in understanding exactly what was needed to use Flash assets 
and had similar errors. It doesn't help when the documentation varies so much 
on what to do. Unfortunately the Adobe PDF's have no publishing date written 
inside and so you often get information from out-of-date ones.

I am able to use Flash Assets but my projects are all ActionScript projects 
rather than Flex projects. As a result I do not have to turn the asset into a 
Flex component by making it an extension of the UIMovieClip class. For example, 
on the stage I have a red dot with a radial gradient. I make it into a symbol 
and it goes in the library. It has to be either a button or MovieClip. Say I 
call it RedDot. I can delete the one on the stage. When I publish I make sure 
the SWC box is ticked in the publish settings. In Flex Builder 3 I right click 
the project, go to build options and add the swc. If I then type var rd:, 
suddenly RedDot is on the list of types I select it and hit return. So I finish 
up with var rd:RedDot = new RedDot and I can addChild(rd) and that's it.

With Flex projects the only difference is that Flex needs to give the mxml 
compiler access to RedDot. It does this by agreeing an interface to it - this 
is just a set of agreed functions/methods that both sides agree on. This is the 
UIMovieClip - UserInterfaceToMovieClip (probably). So in Flash my RedDot has to 
extend UIMovieClip. If you have already done this, right-click the symbol in 
the library and check the properties to see this. If not, select the symbol and 
go to the Commands menu in Flash and choose Convert symbol to Flex component. 
This has three consequences, which you can just do manually yourself:

1. The fps is set to 24.
2. The Base Class is set to mx.flash.UIMovieClip.
3. The FlexComponentBase is added to the library.

Note: I have just checked and found that the library symbol must have export 
for actionscript ticked before you Convert it, otherwise it doesn't do it. Now 
you can either right-click the symbol and export the swc, or publish and 
produce the swc. I have a swf with five symbols in it and when published my swc 
has five symbols in which I can use in Flex. I suggest you draw the simplest 
graphic, turn it into a MovieClip symbol for the library. Make sure export for 
actionscript is set in the library symbol. Select it and Convert to a Flex 
Component. Check the properties for the UIMovieClip class. Publish with SWC 
ticked. Import it, and it should be available. You don't need to write a class 
to go with it since Flash produces its own cutdown class for it when ti doesn't 
find one.

I got the above error when I followed various guidelines and tried to do 
something more complicated.

Fingers crossed for you!

John

Re: [flexcoders] SWFLoader not scaling properly

2008-04-15 Thread John McCormack
In the constructor try stage.scaleMode = StageScaleMode.EXACT_FIT;

and in the Flex Navigator right click the project and choose properties, 
then ActionScript Compiler
and in additional compiler arguments enter the size...
-default-size 800 600

John

- Original Message - 
From: "Austin Kottke" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, April 15, 2008 3:52 AM
Subject: [flexcoders] SWFLoader not scaling properly


> Hi, Im trying to figure out how to make a SWF loader actually scale the
> child content it is loading. I've looked at various posts, but whatever
> I do there
> is no clear cut way to scale it's content so it is resizeable.
>
> It also does not resize it correctly when the SWF first loads.
>
> Any ideas?
>
> 
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
> Links
>
>
>
>