Re: [flexcoders] Debug Woes - Redux

2012-03-29 Thread Paul Andrews

On 28/03/2012 19:20, Davidson, Jerry wrote:



Ive got old eyes (along with the rest of me).  How are they different?


My bad - sort of.

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

  adjInc = 0;

I've pasted the above in from your earlier post and the adjInc text is 
identical.


When I look at the original post in my email client the two variables 
look different - the I looks like l.


Looking back and trying to edit the post I see that the *if*(adjInc is 
in a different font to adjInc = 0; (just as they look now as I type 
this line!), so I thought the names were different. Bizarre.


So, you're right they are the same but they look different in my mail 
reader.


Paul


*From:*flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
*On Behalf Of *Paul Andrews

*Sent:* Wednesday, March 28, 2012 11:36 AM
*To:* flexcoders@yahoogroups.com
*Cc:* John McCormack
*Subject:* Re: [flexcoders] Debug Woes - Redux

adjInc and adjInc

are different variables.


On 28/03/2012 17:03, John McCormack wrote:

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

2012-03-28 Thread Paul Andrews

adjInc and adjInc

are different variables.


On 28/03/2012 17:03, John McCormack wrote:



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] Flex alternatives

2012-01-16 Thread Paul Andrews

Time they remade Fantasy Island, I think.

They could start with a ship arriving for the Flex Alternatives conference.

Tattoo could feed the SilverLight impostor to the sharks.

LOL

On 16/01/2012 12:23, Guy Morton wrote:



A thought on cross-browser hell…

If every web developer in the world today decided to drop support for 
IE, everyone would go get Chrome or Firefox.


This would be a win-win, as they would get a better browser, and we 
would get a better development environment.


Who's with me?

Guy


On 16/01/2012, at 6:31 AM, Ron G wrote:




Valdhor:

You are right about that. That is precisely why we went with Flex 
originally (it insulated us from X-Browser issues). But, since we 
can't count on that lasting, and even Adobe is telling developers to 
plan on moving to HTML5, it seems like they're pushing us back into 
x-browser hell.


I didn't want to go there, which is why we chose ZKoss. Yes, there is 
still going to be HTML/JS/CSS ultimately used, but it's how much. 
Even Flex SWFs are wrapped in HTML and JS when deployed. So, it's not 
that I'm against using any amount of HTML/JS; it's how little can I 
get away with to avoid these issues.


Even with HTML5 libraries, such as the much touted jQuery, is, to a 
large degree, an insulator against x-browser issues. If you read the 
actual jQuery code, it deals with those issues for you.


Now, ZK has a ZK Client JS library, which includes jQuery, that is 
designed to be a communicator mechanism between the client and the 
bulk of app logic that resides on the server. So, your normal editing 
and data manipulation that you might write in JS in a full blown 
HTML5 app is actually stored as Java on the server, and executed as 
needed per the EDA (event driven architecture). This type of JS is 
typically what breaks the page on different browsers and versions 
thereof. By limiting the amount of client-side JS, as does a jQuery 
type library, yes, you have some exposure to potential x-browser 
issues, but not as much as a HTML5 app that does everything on the 
client. And, when there are issues, they can be resolved in the ZK 
Client library as a patch/fix.


So, now it seems to me that developers have several choices. Stick 
with Flex and you won't break the browser; you just won't be able to 
have your app viewed by millions on iOS products. If that seems like 
a better solution that minimal exposure to x-browser issues by using 
ZK or some other technology, well, that's certainly a choice each 
company has to make.


Ron

--- In flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com, valdhor valdhorlists@... 
wrote:



 On a side note, I like the look of ZKoss. I don't know if there are 
cross browser issues with it seeing as we use older versions of 
browsers. One of the great features of Flex is we don't have to 
bother coding for compatibility between different browsers and 
versions. When IT deployed IE7, Flex applications worked just as they 
had before.


 Anyway, just my 2c from the enterprise perspective.











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

2012-01-10 Thread Paul Andrews

On 10/01/2012 01:09, Venkat M wrote:



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

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

*
Cheers,
*Venkat.*

*



Investigate using a Timer() or enter_frame handler update the indicator. 
You can measure how long the delay has been by using a counter or Date 
variable. When the two minute has expired, remove the handlers and timer 
(if you aren't using enter_frame).









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

2012-01-10 Thread Paul Andrews

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



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


It would just look like the application had hung.

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


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


It really looks like your application has a fundamental problem.

Paul


C


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

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

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

*
Cheers,
*Venkat.*

*





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

2012-01-10 Thread Paul Andrews

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



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


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


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


What is your server doing?

Paul


*
Cheers,
*Venkat.*

*


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

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

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


It would just look like the application had hung.

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

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

It really looks like your application has a fundamental problem.

Paul


C


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

Hi,
I have a scenario in my application.
I know that the wait time for the response is 2 minutes.
Can someone let me know how we can run a progress bar for 2
minutes loading from 0% to 100% in the same 2 minutes?
Or
Is there a better way to indicate the wait for 2 minutes? (This
is a fixed wait time)
*
Cheers,
*Venkat.*

*












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

2012-01-10 Thread Paul Andrews

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



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


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


Thanks for the explanation.

Paul




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


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

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


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


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


What is your server doing?

Paul


*
Cheers,
*Venkat.*

*


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

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

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


It would just look like the application had hung.

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

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

It really looks like your application has a fundamental problem.

Paul


C


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

Hi,
I have a scenario in my application.
I know that the wait time for the response is 2 minutes.
Can someone let me know how we can run a progress bar for 2
minutes loading from 0% to 100% in the same 2 minutes?
Or
Is there a better way to indicate the wait for 2 minutes? (This
is a fixed wait time)
*
Cheers,
*Venkat.*

*

















Re: [flexcoders] You are the product

2011-12-19 Thread Paul Andrews

On 19/12/2011 17:58, John McCormack wrote:






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/


LOL, looks beautiful, runs like a dog on my laptop. As you might guess, 
my laptop is not a current speed machine.


Paul



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


John














Re: [flexcoders] Purchase Previous Adobe Licenses

2011-08-17 Thread Paul Andrews

On 17/08/2011 09:23, Brendan Meutzner wrote:



Hi All,

Was wondering if anyone had insight into the possibility of purchasing 
previous versions of Adobe product licenses.  I know this is a bit off 
topic, but Adobe sales (phone line) is telling me they have no way to 
do it, and I just can't believe that.  I'm hoping someone within the 
forum has possibility come up against this before and might have some 
advice.  We've got a product based on Flex using ColdFusion 8 with the 
LCDS ES license included and moving to CF9 and the associated $30k 
license just isn't feasible.  I know that BlazeDS is an option, but 
the work involved in refactoring the code to use BlazeDS looks 
daunting.  We're already using CF on the backend, and we just want to 
keep purchasing CF 8 licences for this.


Thanks in advance for any help/advice,



Sounds like you have many licences involved. If so you might want to get 
hold of an Adobe rep that deals with corporate clients. They are far 
more likely to have latitude to cut a deal.




Brendan







Re: [flexcoders] Purchase Previous Adobe Licenses

2011-08-17 Thread Paul Andrews

On 17/08/2011 10:37, Brendan Meutzner wrote:



Paul,

Thanks for the response.  As far as having many licenses involved, 
yes, potentially.  However, we're just beginning the sales process, 
and right now wouldn't be able to buy a chunk of licenses... it's 
really a situation when we sell the software, we need a license.


I did actually speak to enterprise licensing, and didn't get much help 
there either.  They actually pointed me towards outside sales 
partners, to which I've gotten no response.


That's a pity. Seems a little short-sighted of Adobe - I guess they're 
making enough as it is. I think many companies would take into account 
your situation and see it as a route towards future upgrades. The 
reverse side of the coin, I guess, is the product lifetime. There is an 
expectation of ongoing support when a product is bought so I guess in 
the bigger picture, that involves a cost to adobe by not being able to 
retire product for support quite so soon in the future.


All pointless speculation on my part. Pity there's not a reseller with 
old boxed product on the shelves.





Brendan



On Wed, Aug 17, 2011 at 1:48 AM, Paul Andrews p...@ipauland.com 
mailto:p...@ipauland.com wrote:


On 17/08/2011 09:23, Brendan Meutzner wrote:

Hi All,

Was wondering if anyone had insight into the possibility of
purchasing previous versions of Adobe product licenses.  I know
this is a bit off topic, but Adobe sales (phone line) is telling
me they have no way to do it, and I just can't believe that.  I'm
hoping someone within the forum has possibility come up against
this before and might have some advice.  We've got a product
based on Flex using ColdFusion 8 with the LCDS ES license
included and moving to CF9 and the associated $30k license just
isn't feasible.  I know that BlazeDS is an option, but the work
involved in refactoring the code to use BlazeDS looks daunting.
 We're already using CF on the backend, and we just want to keep
purchasing CF 8 licences for this.

Thanks in advance for any help/advice,



Sounds like you have many licences involved. If so you might want
to get hold of an Adobe rep that deals with corporate clients.
They are far more likely to have latitude to cut a deal.



Brendan










Re: [flexcoders] Purchase Previous Adobe Licenses

2011-08-17 Thread Paul Andrews

On 17/08/2011 11:41, Dave Cates wrote:



Hey,

Am I missing something or does this page not provide what you need? (a 
Coldfusion 8 license?)


http://www.adobe.com/products/coldfusion/coldfusion8/buy/


Looks like there isn't a problem after all.



Dave.

On 17 Aug 2011, at 10:52, Paul Andrews wrote:


On 17/08/2011 10:37, Brendan Meutzner wrote:


Paul,

Thanks for the response.  As far as having many licenses involved, 
yes, potentially.  However, we're just beginning the sales process, 
and right now wouldn't be able to buy a chunk of licenses... it's 
really a situation when we sell the software, we need a license.


I did actually speak to enterprise licensing, and didn't get much 
help there either.  They actually pointed me towards outside sales 
partners, to which I've gotten no response.


That's a pity. Seems a little short-sighted of Adobe - I guess 
they're making enough as it is. I think many companies would take 
into account your situation and see it as a route towards future 
upgrades. The reverse side of the coin, I guess, is the product 
lifetime. There is an expectation of ongoing support when a product 
is bought so I guess in the bigger picture, that involves a cost to 
adobe by not being able to retire product for support quite so soon 
in the future.


All pointless speculation on my part. Pity there's not a reseller 
with old boxed product on the shelves.





Brendan



On Wed, Aug 17, 2011 at 1:48 AM, Paul Andrews p...@ipauland.com 
mailto:p...@ipauland.com wrote:


On 17/08/2011 09:23, Brendan Meutzner wrote:

Hi All,

Was wondering if anyone had insight into the possibility of
purchasing previous versions of Adobe product licenses.  I know
this is a bit off topic, but Adobe sales (phone line) is
telling me they have no way to do it, and I just can't believe
that.  I'm hoping someone within the forum has possibility come
up against this before and might have some advice.  We've got a
product based on Flex using ColdFusion 8 with the LCDS ES
license included and moving to CF9 and the associated $30k
license just isn't feasible.  I know that BlazeDS is an option,
but the work involved in refactoring the code to use BlazeDS
looks daunting.  We're already using CF on the backend, and we
just want to keep purchasing CF 8 licences for this.

Thanks in advance for any help/advice,



Sounds like you have many licences involved. If so you might
want to get hold of an Adobe rep that deals with corporate
clients. They are far more likely to have latitude to cut a deal.



Brendan















Re: [flexcoders] Interface design

2011-08-08 Thread Paul Andrews

On 08/08/2011 12:35, Sells, Fred wrote:



Or have 5 entry fields and the last one represents under/over 
allocated and should be zero before saving.




I don't think that's a good user experience - introducing an artificial 
field.


*From:*flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
*On Behalf Of *Paul Andrews

*Sent:* Sunday, August 07, 2011 7:57 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Interface design

On 07/08/2011 06:12, cjacquel73 wrote:
 Hello,

 I have to select 4 values of percentages. The sum of this 4 values 
should be equal to 100%.


 How to design an interface (with sliders or other), to select this 4 
percentages ?


Have a bar with three dividers. The bar represents 100%. The space
between dividers and the edges represents a percentage. Drag the divider
bars to set the percentages.

or,

Have four entryfields. When they don't total 100 colour the background
red and mark them as invalid,

or,

..


 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] Interface design

2011-08-07 Thread Paul Andrews
On 07/08/2011 06:12, cjacquel73 wrote:
 Hello,

 I have to select 4 values of percentages. The sum of this 4 values should be 
 equal to 100%.

 How to design an interface (with sliders or other), to select this 4 
 percentages ?

Have a bar with three dividers.  The bar represents 100%. The space 
between dividers and the edges represents a percentage. Drag the divider 
bars to set the percentages.

or,

Have four entryfields. When they don't total 100 colour the background 
red and mark them as invalid,

or,

..



 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] Stopping a function

2010-07-28 Thread Paul Andrews
On 28/07/2010 09:57, Christophe wrote:
 Hello,

 How to stop a ruuning function by software of another function ?

 FunctionA
 {
 }

 FunctionB
 {
  Stop FunctionA
 }

 Thank you,
 Christophe,


Christophe, you cannot execute FunctionB while FunctionA executes, 
except if you call FunctionB from FunctionA.

There is only one thread of execution, so your question doesn't make 
sense for this environment.


Re: [flexcoders] Stopping a function

2010-07-28 Thread Paul Andrews
On 28/07/2010 11:31, Paul Andrews wrote:
 On 28/07/2010 09:57, Christophe wrote:

 Hello,

 How to stop a ruuning function by software of another function ?

 FunctionA
 {
 }

 FunctionB
 {
   Stop FunctionA
 }

 Thank you,
 Christophe,

  
 Christophe, you cannot execute FunctionB while FunctionA executes,
 except if you call FunctionB from FunctionA.

 There is only one thread of execution, so your question doesn't make
 sense for this environment.

LOL, didn't see Gregor's post.


Re: [flexcoders] Argghhh!

2010-07-21 Thread Paul Andrews
On 21/07/2010 17:16, Patrick wrote:
 Please fix the bug where if you copy a folder into a project on OSX, it 
 copies more than the first file only.

 WTF? How did that pass QA? Do you test this stuff?




Sounds like the right thing to do. Who would copy a folder if they only 
wanted to copy one file?


Re: [flexcoders] Flex version of excel spreadsheet?

2010-06-29 Thread Paul Andrews

On 29/06/2010 10:43, dorkie dork from dorktown wrote:



all your questions will be answered with google spreadsheets and 
google domain key...


The idea is that the user has a slick UI and doesn't have access to the 
formulas, so I'm not sure Google Spreadsheets helps.


Ideally I need a spreadsheet engine that is accessible to/controllable 
by a flex front end.


Paul


Re: [flexcoders] Flex version of excel spreadsheet?

2010-06-29 Thread Paul Andrews

On 29/06/2010 15:20, Andriy Panas wrote:



Have a look at AS3XLS library

http://code.google.com/p/as3xls/

Example of the usage:
http://ippblog.intuit.com/blog/2010/06/flex-to-excel-or-excel-to-flex-now-that-is-the-question.html

--
Best regards,
Andriy Panas

That's an interesting idea, but I need to have a remote service that 
runs the excel formulas on demand - not quite the same thing.


Thanks for posting it.

Paul




On 29 June 2010 17:10, Paul Andrews p...@ipauland.com 
mailto:p...@ipauland.com wrote:


On 29/06/2010 10:43, dorkie dork from dorktown wrote:

all your questions will be answered with google spreadsheets and
google domain key...


The idea is that the user has a slick UI and doesn't have access
to the formulas, so I'm not sure Google Spreadsheets helps.

Ideally I need a spreadsheet engine that is accessible
to/controllable by a flex front end.

Paul









Re: [flexcoders] Flex version of excel spreadsheet?

2010-06-29 Thread Paul Andrews

On 29/06/2010 15:49, Tom Chiverton wrote:



On Monday 28 Jun 2010 14:51:29 you wrote:
 As far as I know the only way to make use of what they have is
 to build a Java calculation engine that runs on the server and takes
 inputs from the Flex front end and returns the outputs.

As long as they don't mind telling someone else (under NDA / 
no-compete) it

should be easy enough to replicate the calculations in any server side
language of your choice.


Yes, you're right. They aren't quite in that mindset yet - basically I 
have an Excel expert but not a software developer and the expectation 
was that it would be an easy translate  still using Excel at heart.


Paul




--
Tom Chiverton
Helping to enormously restore dynamic out-of-the-box real-time 
edge-of-your-

seat metrics as part of the IT team of the year 2010, '09 and '08



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

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


CONFIDENTIALITY

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


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









Re: [flexcoders] Flex version of excel spreadsheet?

2010-06-29 Thread Paul Andrews

On 29/06/2010 15:53, Gregor Kiddie wrote:



How about running open office on your back end, having it open the 
spreadsheet on request and doing the work there?




It's an interesting idea. I'll check it out.

Paul


Gk.








[flexcoders] Flex version of excel spreadsheet?

2010-06-28 Thread Paul Andrews
I have a potential client who has an excel spreadsheet they'd like to 
make into a proper application, delivered via a web page. Problem is 
that they are protective of the formulas used in the spreadsheet and 
don't want them running on the client (I may talk to them about that 
again). As far as I know the only way to make use of what they have is 
to build a Java calculation engine that runs on the server and takes 
inputs from the Flex front end and returns the outputs.

I'm no Excel specialist so as far as I know there's no alternative to 
taking excel out of the equation for a web delivered solution.

Any other ideas?

Paul


Re: [flexcoders] Entity - Data Interchange Format

2010-06-21 Thread Paul Andrews
On 21/06/2010 13:59, wain_mike wrote:
 Hi all,
 I want to introduce you to a new lightwieght format
 called ENTITY. it is smaller than XML and JSON.

 And is also quicker to generate and parse. You can
 check it out at: http://www.entity-format.co.uk

 Its early days, and i only went live with the project
 yesterday but more ports will be coming and alot more
 content for the site.

 Kind Regards
 Wayne IV Mike.



It's worthwhile saying that the usage of this format is not free in 
commercial projects (unless I've read the licence wrong - please correct 
me if that's the case Wayne), so that's something to be considered 
besides the format itself.


Re: [flexcoders] out of office

2010-06-08 Thread Paul Andrews

On 08/06/2010 17:38, Glenn Williams wrote:



Lol so I take it Matt is out of the office then J



Yes, teaching Microsoft Outlook - Tips, Tricks and Best Practice

;-)


*From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 
*On Behalf Of *Pete

*Sent:* 08 June 2010 10:42
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] out of office

Lol - real soon!

I've put you in my blocked list for now!

Pete

On 08/06/10 10:33, Ignacio Romero Colomo wrote:

Hope you come back soon

On 8 June 2010 10:29, m...@thewebforge.co.uk
mailto:m...@thewebforge.co.uk wrote:

I will be running a training course on 8 June and will have no
email access. Please accept my apologies for any slow response.
Many thanks

Matt Wicks








Re: [flexcoders] Has the Flex 4 component architecture changed much from Flex 3?

2010-06-01 Thread Paul Andrews

On 01/06/2010 11:00, Nick Middleweek wrote:



Hi,

Has the Flex 4 component architecture changed much from Flex 3?

I was recommended to get the Flash Builder 4 Flex 4 Bible to learn 
about writing components but I'm still working with Flex 3 projects 
and realistically, I probably will be for a couple more years...


If that's the case, I'd stick with Flex 3 books for the moment. Things 
have certainly changed.



Thanks,
Nick








Re: [flexcoders] Possible to capture the console log and act on it?

2010-05-28 Thread Paul Andrews
On 28/05/2010 22:25, luvfotography wrote:
 Hi, My flex program is loading an external swf and the swf file outputs trace 
 statements to the console log, is there a way to capture and act on those 
 trace statements?



Whether it's possible or not, it's an awful way to try and communicate 
between components.


Re: [flexcoders] DisplayList order problem

2010-05-27 Thread Paul Andrews

On 27/05/2010 07:34, Harbs wrote:



I'm trying to implement a tri-state checkbox. I found a previous 
implementation which was way to complicated for my taste. I have the 
implementation mostly done, but there's one issue which I'm having a 
hard time with:


I created a Sprite which draws the mid-state indicator over the 
checkbox icon. Moving the mouse over the checkbox or away from the 
checkbox seem to move the checkbox icon on top of my Sprite. I was 
able to handle the Mouse Overs by adding an additional MOUSE_OVER 
event which moves the Sprite back up to the top of the stack. For some 
reason this only works for MOUSE_OVER. I added a MOUSE_OUT event 
listener as well, which did not do anything. The icon still appears 
above the Sprite when the mouse moves away from the checkbox.


Any ideas why?


I don't see why you are having the problem, but suspect it may be due to 
dynamically drawing components in response to mouseover/out, etc.


My approach would be to create a component that has as part of the 
initialisation, all of the components for the visual state created. Then 
I would show/hide these according to the three states of the component - 
either by toggling visibility/changing alpha/changing state.


For components like this, I generally toggle the visibility according to 
state (though I rarely use Flex states) except when I need a more 
sophisticated transition between component states.


Paul





Thanks,
Harbs







Re: [flexcoders] DisplayList order problem

2010-05-27 Thread Paul Andrews

On 27/05/2010 11:17, Harbs wrote:



I'm not sure I explained myself well enough.

I extended the basic CheckBox component. The only visual elements that 
I added was the Sprite which draws the middle state indicator above 
the checkbox icon. This Sprite is added at creationComplete (to make 
sure it's added after all the icons, etc).


I do not dynamically draw anything. I'm toggling visibility of my 
Sprite for the mid-state.


When the CheckBox is first drawn it looks correct.

A mouseover brings the (default) icon to the top and a mouseout seems 
to do the same.


I fixed the mouseover behavior by adding an event listener to move my 
sprite back to the top, but this only works on mouseover -- not 
mouseout. I am very puzzled as to why. Possibly there's another event 
which fires after mouseout which I'm not aware of?


I like to keep default behavior as much as possible, and I don't want 
to have to draw my own components unless there's no choice...


I think that without looking at the implementation of the CheckBox 
component, it's going to be difficult to know what is going on.






Harbs

On May 27, 2010, at 12:45 PM, Paul Andrews wrote:


On 27/05/2010 07:34, Harbs wrote:

I'm trying to implement a tri-state checkbox. I found a previous 
implementation which was way to complicated for my taste. I have the 
implementation mostly done, but there's one issue which I'm having a 
hard time with:


I created a Sprite which draws the mid-state indicator over the 
checkbox icon. Moving the mouse over the checkbox or away from the 
checkbox seem to move the checkbox icon on top of my Sprite. I was 
able to handle the Mouse Overs by adding an additional MOUSE_OVER 
event which moves the Sprite back up to the top of the stack. For 
some reason this only works for MOUSE_OVER. I added a MOUSE_OUT 
event listener as well, which did not do anything. The icon still 
appears above the Sprite when the mouse moves away from the checkbox.


Any ideas why?


I don't see why you are having the problem, but suspect it may be due 
to dynamically drawing components in response to mouseover/out, etc.


My approach would be to create a component that has as part of the 
initialisation, all of the components for the visual state created. 
Then I would show/hide these according to the three states of the 
component - either by toggling visibility/changing alpha/changing state.


For components like this, I generally toggle the visibility according 
to state (though I rarely use Flex states) except when I need a more 
sophisticated transition between component states.


Paul





Thanks,
Harbs












Re: [flexcoders] The Flex DOM?

2010-05-24 Thread Paul Andrews

On 24/05/2010 23:28, Oleg Sivokon wrote:



Erm, where you looking for yet another XML class? In that case there 
are two of them in AS3. But, of course, you can write more of those if 
you want. Or did you mean that how Flex framework manages components? 
If so, it hardly is a DOM, well, it's way more complex than that. 
Document Object Model is a very wide definition which is above 
framework or even language concepts. On the other hand it may be 
implemented using almost any programming language. So, essentially, 
what you asked sounds more like do computers have squares? - well, 
one can answer, sure they do, but this won't be a helping answer, 
because it's obvious that the question was meant to ask something 
different.


The OP asked about the DOM which would be taken by 99% of the 
development community as meaning the Javascript DOM for HTML documents. 
Seems a very reasonable question and easy  interpretation to me. Of 
course I could be wrong, but even so I won't be making any comments 
about computer squares. Fortunately, others have provided helpful answers.


To help the OP more - google flex display list - it's a tree that 
represents the display in a similar manner to the DOM and you can walk 
that tree looking for components. While there are similarities with the 
Javascript DOM, they are tenuous and the techniques that would work well 
using the Javascript DOM and CSS will need to be revisited with Flex - 
it's very different.





Best.

Oleg







Re: [flexcoders] Re: Take that Mr Jobs!

2010-05-14 Thread Paul Andrews
Is the new tradition that nobody actually bothers starting new threads 
with relevant subjects any more?




--
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:
flexcoders-dig...@yahoogroups.com 
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] Looks like it Paul!

2010-05-14 Thread Paul Andrews

On 14/05/2010 13:28, Gregor Kiddie wrote:



;)




There's always one..  LOL  ;-)



[flexcoders] httpService useProxy

2010-05-01 Thread Paul Andrews
I have an app which accesses quite a few php urls returning XML that sit 
in the same directory and domain as the main app. I use a common prefix 
to the file paths yet for some reason I have flex moaning to me about 
setting useProxy to false yet it seems to be false already - much time 
with the debugger and explicit setting makes me think that is certainly 
the case.

Is it some form of voodo? - never really had this kind of problem when 
using URLLoader and the like.

This is Flex 3.0 (with FB 3.0) and I have not moved forward to later 
versions of the SDK.

Paul


Re: [flexcoders] httpService useProxy

2010-05-01 Thread Paul Andrews
On 01/05/2010 09:16, Paul Andrews wrote:
 I have an app which accesses quite a few php urls returning XML that sit
 in the same directory and domain as the main app. I use a common prefix
 to the file paths yet for some reason I have flex moaning to me about
 setting useProxy to false yet it seems to be false already - much time
 with the debugger and explicit setting makes me think that is certainly
 the case.

 Is it some form of voodo? - never really had this kind of problem when
 using URLLoader and the like.

 This is Flex 3.0 (with FB 3.0) and I have not moved forward to later
 versions of the SDK.

 Paul



OK, the vodoo was mine, after all..


Re: [flexcoders] Exceeding Flash's Capabilities?

2010-04-14 Thread Paul Andrews
On 14/04/2010 23:48, trefalgar wrote:
 The majority of my flex work revolves around graphing data. If for some 
 reason a user picks a lot of statistics to graph, over an even longer period 
 of time, the amount of data that comes back to the Flash application 
 overwhelms flash, consuming all of the boxes resources and regularly crashing 
 the browser.


A lot gives nobody any clue of how much data is involved.
 Is there anything in the developers bag of tricks to help with this kind of 
 problem, or is the sheer amount of data too much for the 
 application/SDK/solution to handle?

If the crashes take place over time, it sounds as though your 
application is just consuming resources and not releasing or reusing 
them. In such cases it's often more a matter of programming technique 
rather than a flash limitation. You'll need to explain how you handle 
the data and plot the graphs.
 I understand I can put a limit on the amount of data returned, but as the 
 user states, I can pull it out of the database, via Excel, and it works

 Tref




Re: [flexcoders] Can someone rewrite this...

2010-04-10 Thread Paul Andrews
On 10/04/2010 03:45, Wally Kolcz wrote:
 Can someone rewrite this as a switch/case? I tried, but it didn't seem
 to work. Problem I am running into is the multiple conditions in the
 case. Thanks!


Wally,I didn't spot anyone mentioning this (apologies if it's already 
been mentioned), but all of your tests are wrong.

  if (age= 0  age3){ //Birth to 2
  return 1;
  }else if (age=3  age6){ //3 to 5
  return 2;
  }else if (age=6  age9){ //6 to 8
  return 3;
  }else if (age=9  age13){ //9 to 12
  return 4;

Etc..

Paul


 private function getAgeGroup(birthday:Date):int {
   var age:int = getAge(birthday);
   if (age= 0  age3){ //Birth to 2
   return 1;
   }else if (age=3  age6){ //3 to 5
   return 2;
   }else if (age=6  age9){ //6 to 8
   return 3;
   }else if (age=9  age13){ //9 to 12
   return 4;
   }else if (age=13  age16){ //13 to 15
   return 5;
   }else if (age=16  age19){ //16 to 18
   return 6;
   }else { //Older or Adults
   return 0;
   }

   }



 

 --
 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] maya to flash 10

2010-04-06 Thread Paul Andrews
On 06/04/2010 21:23, MIchael wrote:
 Hi,

 Is there a tutorial that shows a good workflow for exporting a maya model and 
 importing it as a 3d movie clip in flash 10?

 thanks,
 Michael

I'm not sure your question has any relevance to Flex at all. You'd be 
better off asking on a papervision forum - you'll probably find a 
collada workflow for Maya that you can use.

Paul


Re: [flexcoders] Re: maya to flash 10

2010-04-06 Thread Paul Andrews
On 06/04/2010 22:51, MIchael wrote:
 I don't want to use papervision. I want to use the 3d engine built into flash 
 10.

You misunderstand. Flash 10 doesn't have a built in 3D engine. It 
supports 3D manipulation of planes - that's all.

Paul

 --- In flexcoders@yahoogroups.com, Paul Andrewsp...@...  wrote:

 On 06/04/2010 21:23, MIchael wrote:
  
 Hi,

 Is there a tutorial that shows a good workflow for exporting a maya model 
 and importing it as a 3d movie clip in flash 10?

 thanks,
 Michael


 I'm not sure your question has any relevance to Flex at all. You'd be
 better off asking on a papervision forum - you'll probably find a
 collada workflow for Maya that you can use.

 Paul

  




Re: [flexcoders] Re: maya to flash 10

2010-04-06 Thread Paul Andrews
On 06/04/2010 23:22, MIchael wrote:
 My understanding is that is exactly what papervision3d does as well.  How 
 does papervision3d differ?


At a very basic level 3D support is reduced to planes/triangles in 3D 
systems, but systems like papervision have the notion of cameras, 
lighting and more sophisticated primitives, plus tooling for collada 
import etc.

A flex group really isn't the place to be discussing 3D. Five minutes 
with google will tell you all about papervision.

Paul

 --- In flexcoders@yahoogroups.com, Paul Andrewsp...@...  wrote:

 On 06/04/2010 22:51, MIchael wrote:
  
 I don't want to use papervision. I want to use the 3d engine built into 
 flash 10.


 You misunderstand. Flash 10 doesn't have a built in 3D engine. It
 supports 3D manipulation of planes - that's all.

 Paul

  
 --- In flexcoders@yahoogroups.com, Paul Andrewspaul@   wrote:


 On 06/04/2010 21:23, MIchael wrote:

  
 Hi,

 Is there a tutorial that shows a good workflow for exporting a maya model 
 and importing it as a 3d movie clip in flash 10?

 thanks,
 Michael



 I'm not sure your question has any relevance to Flex at all. You'd be
 better off asking on a papervision forum - you'll probably find a
 collada workflow for Maya that you can use.

 Paul


  

  



 

 --
 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] actionscript project need Vector

2010-03-25 Thread Paul Andrews
On 26/03/2010 02:57, markflex2007 wrote:
 Vector is part of Flash CS4 library.

 I need to use it in actionscript project.How to do that?

 Thanks

 Mark


Use flashbuilder.


Re: [flexcoders] I am using Flash Builder 4 trial the debug session goes well but I get no ouput

2010-03-24 Thread Paul Andrews
On 24/03/2010 04:59, fred44455 wrote:
 I am trying some simple code in AS3 that works well in Flex 3 but when using 
 that same AS3 code with Flash Builder 4 there is just a blank white page. No 
 output . The session shows no errors. Any idea why? Thanks


Yes, something is working differently or you've made some other mistake. 
I suspect my answer is as useful as your problem description is thorough.




[flexcoders] OTish - partitioning users

2010-03-03 Thread Paul Andrews
Best practices for partitioning users?

I'm building an app that will be used by lots of users who will be 
segregated according to the organisation to which they belong. No real 
problem there, though I am wondering about the username space.

Usernames need to be unique, but the question is should the username be 
unique across all users, or just users from the same organisation?

Seems to me that if it is users from the same organisation then I need 
a neat way to allow the system to recognise which organisation a user 
belongs to before they attempt to log in (the user shouldn't have to 
specifically identify the organisation as well). The only way I can 
think of to do this is to use differrent URLS for each organisation so 
that the system can identify the organisation without the user having to 
knowingly identify themselves.

Any thoughts?

Paul




Re: [flexcoders] Re: Future Of Flex Developers?

2010-02-11 Thread Paul Andrews
GeorgeB wrote:
 Hi Pravin,

 Another thing for you to consider is that due to Adobe's dropping the name 
 Flex Builder in favor of Flash Builder, obviously the future for Flex 
 developers is rather gloomy, as they should be called Flash developers!!!
   
I don't think being a Flex developer has anything to do with Adobe's 
product name - we will still be using the Flex framework.

Sadly it all goes to show how Adobe's naming strategy is a branding mess.
 Of course this is a bitter joke, but as you ask: 
   
 ...which will I guess help lot of confused minds.
 
 I feel we are already confused enough. LOL

 Thanks
 George

 --- In flexcoders@yahoogroups.com, p...@... Uttarwar pravinuttar...@... 
 wrote:
   
 Hi Guys,

 I don't know whether this is the right place to ask question like this or
 not.

 I am working on Flex from last couple of years and
 as far as current market requirements, It seems that the demand of flex
 developers is quite high.

 But still I want to know from all of you the answer to this question which
 will I guess help lot of confused minds.

 Also If got time please go through the link and answer this question:

 http://www.surveymonkey.com/s/JNW6MQL

 Thanks  Regards,
 Pravin Uttarwar

 




 

 --
 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: Future Of Flex Developers?

2010-02-11 Thread Paul Andrews
GeorgeB wrote:
 Exactly Paul!

 I am now using Flex Builder3.x and will (when time comes) upgrade to whatever 
 they call it. As I will have to. Obviously!

 The only question I have for the time being (but will have to wait) is what 
 will be the upgrade policy from 3 to 4? 
 As I mentioned elsewhere I have been invoiced close to 700 euros (including 
 VAT) locally for this software and I don't want to face any surprises on this 
 subject, because a name was changed..
   
I think there won't be a problem with the upgrade path, though the cost 
will be an interesting question..
 Thanks 
 George

 --- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote:
   
 GeorgeB wrote:
 
 Hi Pravin,

 Another thing for you to consider is that due to Adobe's dropping the name 
 Flex Builder in favor of Flash Builder, obviously the future for Flex 
 developers is rather gloomy, as they should be called Flash developers!!!
   
   
 I don't think being a Flex developer has anything to do with Adobe's 
 product name - we will still be using the Flex framework.

 Sadly it all goes to show how Adobe's naming strategy is a branding mess.
 
 Of course this is a bitter joke, but as you ask: 
   
   
 ...which will I guess help lot of confused minds.
 
 
 I feel we are already confused enough. LOL

 Thanks
 George

 --- In flexcoders@yahoogroups.com, Pr@ Uttarwar pravinuttarwar@ wrote:
   
   
 Hi Guys,

 I don't know whether this is the right place to ask question like this or
 not.

 I am working on Flex from last couple of years and
 as far as current market requirements, It seems that the demand of flex
 developers is quite high.

 But still I want to know from all of you the answer to this question which
 will I guess help lot of confused minds.

 Also If got time please go through the link and answer this question:

 http://www.surveymonkey.com/s/JNW6MQL

 Thanks  Regards,
 Pravin Uttarwar

 
 


 

 --
 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] Credit Card number encryption

2010-02-11 Thread Paul Andrews
Lee Jenkins wrote:
 W.R. de Boer wrote:
   
  

 As far as I am aware you aren't allowed to store credit card numbers 
 yourself without a weekly security audit from the card issuer...

 

 I don't think that is the case.  You need to have a business use for storing 
 credit card data and of course, it then needs to be encrypted and only 
 certain 
 parts of allowed to be stored.  For instance, CVV2 or track discretionary 
 data 
 storage is a no, no.
   
So how do companies like amazon keep card info for future use?
 https://www.pcisecuritystandards.org/security_standards/pci_dss.shtml

 --
 Warm Regards,

 Lee




 

 --
 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: What's up Adobe?

2010-02-03 Thread Paul Andrews
GeorgeB wrote:
 Hi all. hi Tom, hi Nick, hi Wally

 I have to thank you for your understanding! The common denominator of all 
 answers on why the new version of Flex Builder 3 should be renamed to Flash 
 Builder 4 is WTF No big deal. Or better, as Tom put it: Just marketing 
 bollocks!! LOL
   
It may just be a name, but as your post shows people are confused by 
these changes and it is worse for people who don't understand what Flex 
is. A ton of people still associate flash with childish eye candy.
 Then I can call myself anything I like, as long as I keep exercising 
 succesfully my discipline writting code in a framework used to be called Flex 
 Builder (plug-in IDE to Eclipse) and now called Flash Builder IDE. What's 
 bugging me is that all my current work done for the last 2 years, has to be 
 referencing as been done in a non-existing (now obsolete?) framework, that as 
 time goes will have its trade name placed next to T-Rex. As I understand it, 
 this marketing decision is devaluating my investment in a development 
 platform. (Not my first time unfortunatelly)
   
Nobody has said the Flex framework is going anywhere.
 Although not a stickler, I believe marketeers shouldn't be creating a mess 
 out of logic. Like presenting us a product named Flash Builder4 with no 
 previous Flash Builder3. If they think Flash Builder IS the name, why don't 
 they call this new product just Flash Builder v1? Or, are they afraid 
 this would confuse the market?
   
Adobe is getting into a mess with product names.
 BTW should this Flexcoders group be renamed to Flashcoders?  Or keep it 
 going as is? (Resembling groups of practicioners in now extinct obscure arts, 
 black magic etc? if you excuse me the pun..)
   
It's still coding using MXML and the Flex class framework, so I don't 
see that the name should change. I didn't see that the tool name should 
have changed either - for the same reason.

Paul
 Thanks all for the very thoughtful replies
 George

 --- In flexcoders@yahoogroups.com, Wally Kolcz wko...@... wrote:
   
 1.) Keeping all their items more focused on the 'Flash Platform'.
 2.) Call yourself a 'Flash Developer specializing in the Flex 
 Framework'. Flex is not a language, its a Framework. It runs your 
 application on a 2 frame time line. Frame 1 is the application loader, 
 Frame 2 is your application. MXML gets compiled into ActionScript. All 
 tags are easy representations of true AS classes. It is created for 
 speed. Kinda like how ColdFusion is compiled into Java. You can create 
 full working Flex apps without any MXML. I guess if you are worried 
 about being confused with an animator call yourself a 'ActionScript 
 Developer specializing in the Flex Framework'
 5.) Doubt it too. They seem just to be aligning all the products related 
 to Flash with Flash (Flash Builder, Flash Professional, Flash Catalyst)
 6.) Blaze will probably remain around as a lesser version of LCDS. You 
 lose some really cool features, but don't pay the monster price tag. I 
 think Adobe knows that some of the success of Flash/Flex is that 
 streaming data interaction and to only offer a pay version (LCDS) would 
 stunt the growth of the community. Not all independant developer, web 
 hosts, or small-mid companies can afford the full LCDS price tag.

 On 2/2/2010 4:42 AM, GeorgeB wrote:
 
 Hi all,
 I am a fully occupied Flex v3 developer, and don't have spare time to 
 switch to Flex v4 before the projects I work on are over and done. 
 While on the side subject that Gordon Smith (post 152124) raised, may 
 I ask for reasonable answers? (since what I read worry me a lot about 
 the future of my projects support from Adobe):

 1. What was the meaning of Adobe changing the name from Flex Builder 
 (v3) to Flash Builder, while keeping the upgrade path from v3 to v4?
 2. I used to call myself a Flex developer, i.e MXML plus AS3 
 programmer. Should I have to call myself a Flash developer from now on?
 3. I understand there were Flash developers around since the very 
 begining. They have expertise among other things in timeline effects 
 and sequential animation programming using tools like Creative Suite 
 (Photoshop etc) way out of my discipline of database RIAs. Do I have 
 to describe myself as a creative animator now?
 4. If this is v4 of something, shouldn't that be an update of it's 
 previous version 3? (In this case does Flex = Flash?)
 5. Is Adobe running out of trade names? (or running out of what?)
 6. Also what's the future of BlazeDS after recent marketing 
 developments on LCESDS (or is it LCDSES?)?

 BTW I used to think of Adobe as a technology company. Am I mistaken?

 Thanks all
 George


   



Re: [flexcoders] Re: What's up Adobe?

2010-02-03 Thread Paul Andrews
GeorgeB wrote:
 Hi Paul,

 Thanks for replying. I almost agree with your saying. Only let me clear 
 one-two details:

 To my comment : 
 What's bugging me is that all my current work done for the last 2 years, has 
 to be referencing as been done in a non-existing (now obsolete?) framework, 
 that as time goes will have its trade name placed next to T-Rex. As I 
 understand it, this marketing decision is devaluating my investment in a 
 development platform. (Not my first time unfortunatelly)

 You reply:
   
 Nobody has said the Flex framework is going anywhere.
 

 This is true. The framework stays (for the time..) but the brand name has 
 gone! Flex is no longer.

 Then what I 've been developing for 2 years is Flex3 RIA with Tomcat plus 
 BlazeDS, plus Hibernate persistance backend. The heavy business logic has no 
 stunning images or any animations, depending on the end target group of 
 users. 
 Overviewing the end result, I am only considering scale up options, like 
 LCDS, different database etc. On the other hand Flex was the choice, as the 
 other way (building with AJAX or similar approaches) were out-ruled from the 
 beggining. Flex was the strong point and only real option. (If swf is being 
 played by Flash Player, this was not the reason I 've chosen Flex, believe 
 me)

 Now Flex is gone and though I still have a complete application on Flex3 by 
 the end of 2009 (I was already not thinking about transcripting to Flex4 - 
 excuse me to Flash4) I certainly don't know what to state as key advantages 
 of the application. Like, it is based on an extinct brand name product? You 
 can't advertise such a advantage, can you?
   
Yes, I can see your point. I think the two of us are the only people who 
think that the Flex brand is weakened by the Flash moniker.
 Thanks 
 George

 --- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote:
   
 GeorgeB wrote:
 
 Hi all. hi Tom, hi Nick, hi Wally

 I have to thank you for your understanding! The common denominator of all 
 answers on why the new version of Flex Builder 3 should be renamed to Flash 
 Builder 4 is WTF No big deal. Or better, as Tom put it: Just marketing 
 bollocks!! LOL
   
   
 It may just be a name, but as your post shows people are confused by 
 these changes and it is worse for people who don't understand what Flex 
 is. A ton of people still associate flash with childish eye candy.
 
 Then I can call myself anything I like, as long as I keep exercising 
 succesfully my discipline writting code in a framework used to be called 
 Flex Builder (plug-in IDE to Eclipse) and now called Flash Builder IDE. 
 What's bugging me is that all my current work done for the last 2 years, 
 has to be referencing as been done in a non-existing (now obsolete?) 
 framework, that as time goes will have its trade name placed next to T-Rex. 
 As I understand it, this marketing decision is devaluating my investment in 
 a development platform. (Not my first time unfortunatelly)
   
   
 Nobody has said the Flex framework is going anywhere.
 
 Although not a stickler, I believe marketeers shouldn't be creating a mess 
 out of logic. Like presenting us a product named Flash Builder4 with no 
 previous Flash Builder3. If they think Flash Builder IS the name, why don't 
 they call this new product just Flash Builder v1? Or, are they afraid 
 this would confuse the market?
   
   
 Adobe is getting into a mess with product names.
 
 BTW should this Flexcoders group be renamed to Flashcoders?  Or keep it 
 going as is? (Resembling groups of practicioners in now extinct obscure 
 arts, black magic etc? if you excuse me the pun..)
   
   
 It's still coding using MXML and the Flex class framework, so I don't 
 see that the name should change. I didn't see that the tool name should 
 have changed either - for the same reason.

 Paul
 
 Thanks all for the very thoughtful replies
 George

 --- In flexcoders@yahoogroups.com, Wally Kolcz wkolcz@ wrote:
   
   
 1.) Keeping all their items more focused on the 'Flash Platform'.
 2.) Call yourself a 'Flash Developer specializing in the Flex 
 Framework'. Flex is not a language, its a Framework. It runs your 
 application on a 2 frame time line. Frame 1 is the application loader, 
 Frame 2 is your application. MXML gets compiled into ActionScript. All 
 tags are easy representations of true AS classes. It is created for 
 speed. Kinda like how ColdFusion is compiled into Java. You can create 
 full working Flex apps without any MXML. I guess if you are worried 
 about being confused with an animator call yourself a 'ActionScript 
 Developer specializing in the Flex Framework'
 5.) Doubt it too. They seem just to be aligning all the products related 
 to Flash with Flash (Flash Builder, Flash Professional, Flash Catalyst)
 6.) Blaze will probably remain around as a lesser version of LCDS. You 
 lose some really cool features, but don't pay the monster price tag. I 
 think

Re: [flexcoders] Re: What's up Adobe?

2010-02-03 Thread Paul Andrews
Mike wrote:
 It's too late, the damage is done, but I agree also FWIW.
 An Adobe VP told me about Flex being the open source branding, and Flash 
 being the commercial product branding.  There is no way that customers will 
 figure that out.  They have enough trouble understanding that developers are 
 left-brained and designers are right-brained.

 One should not target a single brand at two classes of individuals who have 
 different educations, different values, different world views, drive 
 different cars and listen to different music.  If you believe you know of a 
 top-notch designer who is also a top-notch developer, your standards are too 
 low.  One cannot excel at both career paths - humans are too finite.
   
Yes, Macromedia were smart. They established Flex as a high-end serious 
development system that could compete with other serious development 
systems and distanced it from flash eye-candy. Adobe have now managed to 
shift the perception of Flex from top-end to something that's used for 
eye-candy frivolity with the association with flash. We all know that's 
not true, but the larger companies looking at serious development wont 
make the distinction between Flex for serious work and flash for 
animation. I suspect it'll end up as a case study of not what to do in 
branding lectures.

Paul
 Mike
 ... who tries to excel as a developer and has great respect for excellent 
 designers


   
  “Yes, I can see your point. I think the two of us are the only people who

 think that the Flex brand is weakened by the Flash moniker.�

 No, there are more of us... We just aren’t as vocal!
   




 
   





--
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:
flexcoders-dig...@yahoogroups.com 
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] Steve Jobs on Flash .......

2010-02-01 Thread Paul Andrews
It's just commercial tactics.

You'd never guess he has his own tied-in development system to support. 
Why wouldn't he knock flash?


hworke wrote:
 http://news.yahoo.com/s/pcworld/20100201/tc_pcworld/stevejobsdissesapplerivalsduringtownhallmeeting


 Jobs has previously called out Adobe Flash, currently the 
 dominant animation platform on the Web, for being too slow to be useful and 
 Flash Lite, Adobe's versio n of Flash for mobile devices, as not advanced 
 enough for the iPhone. So it's no surprise to hear Jobs called out Flash 
 during Apple's Town Hall, but his language this time sounds a little over the 
 top. Jobs reportedly called Adobe a lazy company, and said that when a Mac 
 crashes it's usually because of Flash.

 Whether or not that's true, it's clear that Jobs is not a fan of Adobe's 
 multimedia platform. The iPhone is routinely criticized for its inability to 
 render Flash-based Web pages, videos and games, and early criticisms about 
 the iPad also decry the lack of Flash compatibility on Apple's latest device.



 
   



Re: [flexcoders] Re: How do I get an array of Images

2010-01-19 Thread Paul Andrews
criptopus wrote:
 Thank you, thank you. I did know they started at 0 but I must have been 
 working to late and let that slip from my mind.

 I did read about Vector's and how they where more suited than arrays as long 
 as if they where of the same type although I don't seem to be able to use 
 them in Flex, I currently have the 3.2 compiler are they not available or 
 does it need including as a package?
   
I think the Vector class came in with Flash Player 10 and Flex 3 targets 
FP 9. I think it is possible to target FP10 with flex 3, but haven't 
attempted to do so myself. The Flash builder trial should have no 
problem with the Vector class.
 - Stephen



 
   



Re: [flexcoders] Identifying which image caused the event?

2010-01-19 Thread Paul Andrews
Paul Andrews wrote:
 criptopus wrote:
 If i have an event Listener of the following type on an array element 
 how do I determine the element from within the event so as to set one 
 of the elements properties.

 e.g.

 imgArray[imgIdx].addEventListener(Event.COMPLETE, adjustImage);

 private function adjustImage(e:Event):void
 {

 var picWidth:int=(e.currentTarget as Image).width;
 imgArray[???].height=picWidth * 2;

 }

 - Stephen

   
 currentTarget refers to the image object, not the array.

 imgArray is an Array reference

 imgArray[imgIdx] is an Object reference.

 Effectively you are trying to write picWidth.height=picWidth * 2;
Oops, I should say:  (e.currentTarget as Image).height = picWidth * 2;

Probably better written as

var pic:Image=(e.currentTarget as Image);
pic.height=pic.width * 2;

Paul




 Paul








Re: [flexcoders] Identifying which image caused the event?

2010-01-19 Thread Paul Andrews
criptopus wrote:
 If i have an event Listener of the following type on an array element how do 
 I determine the element from within the event so as to set one of the 
 elements properties.

 e.g.

 imgArray[imgIdx].addEventListener(Event.COMPLETE, adjustImage);

 private function adjustImage(e:Event):void
 {

 var picWidth:int=(e.currentTarget as Image).width;
 imgArray[???].height=picWidth * 2;

 }

 - Stephen

   
currentTarget refers to the image object, not the array.

imgArray is an Array reference

imgArray[imgIdx] is an Object reference.

Effectively you are trying to write picWidth.height=picWidth * 2;


Paul






Re: [flexcoders] How do I get an array of Images

2010-01-18 Thread Paul Andrews
criptopus wrote:
 var imgArray:Array = new Array();

 imgArray.push(new Image());

 imgArray[imgArray.length].percentWidth=50;

 imgArray[imgArray.length].source=/media/Image.png;

 imgArray[imgArray.length].addEventListener(Event.COMPLETE, 
 AdjustImageDimensions);

 etc.

 I just dont get it, can someone elusidate me on how its done!
   
Just to get you started, Arrays start from 0 not 1..


Re: [flexcoders] Java Question

2010-01-15 Thread Paul Andrews
Kelly wrote:


 Most of the certs require you to learn tons of crap you will never use 
 with Java/Flex development.

 I would suggest just learning core Java, Servlets, Java Servers, 
 BlazeDS, and Spring. After that decide if you care about getting 
 certified.


 Tom suggested learning CF instead.

 I would not recommend that.


 I know CF and Java and I would never use CF for a Flex backend.

 Java is so much nicer to work with and so much more powerful.
As a Java developer and having had a small dip in coldfusion 
development, I wouldn't dismiss coldfusion so easily.

If you're looking to build straightforward database functionality, 
coldfusion is superb and you'll get a solution rapidly. As well as that 
you'll have a route to providing reports and such with the help of 
coldfusion functionality.

I'm not telling anyone not to learn Java, or to adopt ColdFusion, but 
suggesting Java is nicer to work with or more powerful, is not so clear 
cut as you would suggest and for some scenarios the opposite is true.

I know that for some projects I've worked on, ColdFusion would have cut 
development costs drastically.

I suspect that most Flex projects are driven by PHP rather than Java.

I think the choice of server technology depends on a pile of things, 
some technical, some political, some monetary.



 Dan Pride wrote:
  

 I am thinking of making the jump to Java
 Seems like its the platform of choice for Flex Data
 Two quick questions
 1) Whats the best exam to certifiy for
 2) Whats the cheapest
 3) How long to get by the cert for a normal bright level (not genius 
 but bright) programmer?
 4) Will the Cert do me any good.

 Thanks
 Dan Pride



 



Re: [flexcoders] Java Question

2010-01-15 Thread Paul Andrews
Fotis Chatzinikos wrote:


 And to clarify an earlier post Cold Fusion IS A Java backend with 
 extra functionality geared towards easier application development 
 (never used it thought so i might be wrong :-)
ColdFusion is written in Java, but it is NOT a Java development system.




--
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:
flexcoders-dig...@yahoogroups.com 
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: Loading several swf on the same html page cause runtime error

2010-01-12 Thread Paul Andrews
20 reports - sounds like a lot. Just how big are these swf that are 
being loaded and I wonder about the processor usage and network overhead.
What are these Flex reports?

What exactly is the runtime error?
Can you reproduce it yourself?
What is the spec of the machine where this happens?
Does it happen with other browsers?




garfild190 wrote:
 hi,
 each swf is loaded as follows:
 document.getElementById(divId).innerHTML = AC_Generateobj(objAttrs, params, 
 embedAttrs);

 Please advise

 Thanks

 Jo

 --- In flexcoders@yahoogroups.com, garfild190 yossi.ba...@... wrote:
   
 Hi,
 I have an application that enable the user to load Flex reports on a page.
 Each swf is wrraped inside a frame.
 If the user loads 20 swf or more, while scrolling down, he gets runtime 
 error or black area instead of the report.
 It all happen on IE.
 Please advise why this might happen.

 Thanks

 Jo

 




 

 --
 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: Loading several swf on the same html page cause runtime error

2010-01-12 Thread Paul Andrews
garfild190 wrote:
 Hi Paul,
 each swf file is around 500k.
 This reports are charts.
 Usualy a user loads 2 or 3 reports (each report is a swf file)
 comunicating by ajax between them.
 some users want to load many more reports.
 some times while scrolling down some of the reports are black,
 in other cases I get a runtime error (all while scrolling down the page) 
 saying C:\Program Files\Internet Explorer\iexplore.exe,
 some times I get some kind of add-on request.
 My OS is windows XP using IE 7 2core.

 Thanks for the help man

   
I doubt I can be very much help.  It sounds a bit like a nightmare - you 
don't say if you can reproduce the problem, or if it happens on other 
browsers. If you have a lot of ajax stuff going on then it could be some 
kind of problem in the communication between so many reports.

Since the problem seems to occur with multiple reports, I would first 
try and get a reproducable case with as few reports as possible. Then I 
would be looking to try and get some debug info from these. I'd also 
check this out on other browsers to see if it's ie specific.

If you can't reproduce it on your machine, you need to know what is the 
spec of the machine(s) where the error occurs.

Paul

 --- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote:
   
 20 reports - sounds like a lot. Just how big are these swf that are 
 being loaded and I wonder about the processor usage and network overhead.
 What are these Flex reports?

 What exactly is the runtime error?
 Can you reproduce it yourself?
 What is the spec of the machine where this happens?
 Does it happen with other browsers?




 garfild190 wrote:
 
 hi,
 each swf is loaded as follows:
 document.getElementById(divId).innerHTML = AC_Generateobj(objAttrs, params, 
 embedAttrs);

 Please advise

 Thanks

 Jo

 --- In flexcoders@yahoogroups.com, garfild190 yossi.baram@ wrote:
   
   
 Hi,
 I have an application that enable the user to load Flex reports on a page.
 Each swf is wrraped inside a frame.
 If the user loads 20 swf or more, while scrolling down, he gets runtime 
 error or black area instead of the report.
 It all happen on IE.
 Please advise why this might happen.

 Thanks

 Jo

 
 


 

 --
 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: Loading several swf on the same html page cause runtime error

2010-01-12 Thread Paul Andrews
garfild190 wrote:
 Hi Paul,
 Sorry if I didnt say,
 Yes it happens on my machine all the time.
 I created a simple example in my project that loads as many instances of the 
 report as i want.
 Reaching 15 reports, the memory reaches 600MB and scrolling is fine.
 Reaching 20 reports, the second report looks all black and after a while I 
 get an add-on message about FlDbg10c.ocx , I think the problem is related to 
 the flash playes 10 that is crushed.
 Why?
 If I change my IE 7 to IE 8 should make a difference?
   
I would give it a go.

600MB seems huge to me - maybe some others can chip in if they routinely 
have Flex apps that need that kind of footprint.

I think I'd be looking at trying to optimise the system to reduce the 
overheads. The most obvious thing to do is look at having one SWF that 
can display separate reports and do away with need for multiple flash 
instances. Maybe even splitting the whole thing into separate modules.

Paul
 My machine is XP dual core 3.5 GH
 Thanks man

 Jo

 --- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote:
   
 garfild190 wrote:
 
 Hi Paul,
 each swf file is around 500k.
 This reports are charts.
 Usualy a user loads 2 or 3 reports (each report is a swf file)
 comunicating by ajax between them.
 some users want to load many more reports.
 some times while scrolling down some of the reports are black,
 in other cases I get a runtime error (all while scrolling down the page) 
 saying C:\Program Files\Internet Explorer\iexplore.exe,
 some times I get some kind of add-on request.
 My OS is windows XP using IE 7 2core.

 Thanks for the help man

   
   
 I doubt I can be very much help.  It sounds a bit like a nightmare - you 
 don't say if you can reproduce the problem, or if it happens on other 
 browsers. If you have a lot of ajax stuff going on then it could be some 
 kind of problem in the communication between so many reports.

 Since the problem seems to occur with multiple reports, I would first 
 try and get a reproducable case with as few reports as possible. Then I 
 would be looking to try and get some debug info from these. I'd also 
 check this out on other browsers to see if it's ie specific.

 If you can't reproduce it on your machine, you need to know what is the 
 spec of the machine(s) where the error occurs.

 Paul

 
 --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote:
   
   
 20 reports - sounds like a lot. Just how big are these swf that are 
 being loaded and I wonder about the processor usage and network overhead.
 What are these Flex reports?

 What exactly is the runtime error?
 Can you reproduce it yourself?
 What is the spec of the machine where this happens?
 Does it happen with other browsers?




 garfild190 wrote:
 
 
 hi,
 each swf is loaded as follows:
 document.getElementById(divId).innerHTML = AC_Generateobj(objAttrs, 
 params, embedAttrs);

 Please advise

 Thanks

 Jo

 --- In flexcoders@yahoogroups.com, garfild190 yossi.baram@ wrote:
   
   
   
 Hi,
 I have an application that enable the user to load Flex reports on a 
 page.
 Each swf is wrraped inside a frame.
 If the user loads 20 swf or more, while scrolling down, he gets runtime 
 error or black area instead of the report.
 It all happen on IE.
 Please advise why this might happen.

 Thanks

 Jo

 
 
 
 

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





   
   


 

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





   




 

 --
 Flexcoders 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] Testing for XML equality

2010-01-06 Thread Paul Andrews
Davis Ford wrote:


 Why does this test fail?  Is there any way to test for equality that 
 ignores the ordering of elements -- which shouldn't technically matter?

 [Test]
 public function testXmlEquality():void {
  var xml1:XML = 
  a
  b/b
  c/c
  /a;
  var xml2:XML = 
  a
  c/c
  b/b
  /a;
  Assert.assertTrue(xml1 == xml2);
 }
xml1 and xml2 are references to objects. Because they are different 
objects they are not equal - the references are different.




 



Re: [flexcoders] Testing for XML equality

2010-01-06 Thread Paul Andrews
Davis Ford wrote:


 Hi Paul, 

 I don't believe this is correct for ActionScript3.  Strict equality is 
 the === operator which compares object instances.  == should test 
 for equality.
I tried (in Flash)..

var objA:Object = {a:1};
var objB:Object = {a:1};
trace(objA==objB);  // false
var xmlA:XML = /x;
var xmlB:XML = /x;
trace(xmlA==xmlB);  // true
trace(xmlA===xmlB);  // false

and indeed you are right. I didn't know that XML was treated differently 
from vanilla object in comparisons.

Thanks.

Paul

 If you change the test to this... 

 [Test]
 public function testXmlEquality():void {
  var xml1:XML = 
  a
  b/b
  c/c
  /a;
  var xml2:XML = 
  a
  b/b
  c/c
  /a;
  xml1.normalize();
  xml2.normalize();
  Assert.assertTrue(xml1 == xml2);
 }

 it passes.  XML/e4x is supposed to support this out of the box, and it 
 does -- to a degree.  Although, semantically and syntactically, xml1 
 and xml2 from the 1st test are equivalent, e4x is not thinking so, and 
 I think that is broken.  Searching for a workaround has popped up very 
 little, which is why I was hoping someone on the list might have a 
 good answer for why this is, and how I can test XML equivalence 
 without caring about element ordering.

 Regards,
 Davis

 On Wed, Jan 6, 2010 at 7:03 PM, Paul Andrews p...@ipauland.com 
 mailto:p...@ipauland.com wrote:

  
 Davis Ford wrote:
 
 
  Why does this test fail? Is there any way to test for equality that
  ignores the ordering of elements -- which shouldn't technically
 matter?
 
  [Test]
  public function testXmlEquality():void {
  var xml1:XML =
  a
  b/b
  c/c
  /a;
  var xml2:XML =
  a
  c/c
  b/b
  /a;
  Assert.assertTrue(xml1 == xml2);
  }
 xml1 and xml2 are references to objects. Because they are different
 objects they are not equal - the references are different.
 
 
 
 
 




 -- 
 Zeno Consulting, Inc.
 home: http://www.zenoconsulting.biz
 blog: http://zenoconsulting.wikidot.com
 p: 248.894.4922
 f: 313.884.2977


 





--
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:
flexcoders-dig...@yahoogroups.com 
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] Creating XML Document from Data

2010-01-03 Thread Paul Andrews
Better still, create the XML in the backend rather than generate data on 
the server and have to translate that data again.

Paul


Tracy Spratt wrote:


 I do not know of an example, but creating XMl with AS is pretty easy.  
 You have two choices, either building a string representation, the 
 feeding that to XML() function, or build the xml directly using the 
 e4x API.  I do it both ways.

  

 Start with the static parts of the xml, then in the dynamic parts, 
 filter the ArrayCollection for the applicable items, loop over those, 
 and build a node for each one.

  

 Tracy Spratt,

 Lariat Services, development services available

 

 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 
 *On Behalf Of *Wally Kolcz
 *Sent:* Sunday, January 03, 2010 7:26 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [SPAM] [flexcoders] Creating XML Document from Data

  

  

 Can someone give me a hint (Class to look into) or paste a URL to an 
 example of how to create an XML structure, using a returned 
 ArrayCollection of dynamic values, to use as the XML Datasource for a 
 mx:MenuBar.

 I create a backend system for my client to use to create views 
 ('pages'), but need to take the pageTitles and pageID, base on 
 categories ('galleries' and 'personal'), and create a drop down menu 
 system using mx:MenuBar

 Something like:

 menuitem label=Home/
 menuitem label=Galleries
 //Loop all the galleries by the returned data
 menuitem label=pageTitle /
 /menuitem
 menuitem label=About the Artist
 //Loop all the personal pages by the returned data
 menuitem label=pageTitle /
 /menuitem
 menuitem label=Contact/
  
  


 



Re: [flexcoders] rewriting a function using prototype?

2009-12-28 Thread Paul Andrews
mitchgrrt wrote:


 We have a situation where some ActionScript classes are automatically 
 generated by an Ant script.  So we can't edit them because they are 
 regenerated on each build.

 I want to make one function in one of these classes behave 
 differently.  If I had normal source code editing available, I could 
 just add a line to the function and be done.
How about extending the Ant generated classes and overriding the function?

Paul

 I tried rewriting the function using prototype.  It didn't quite work. 
  Doing some reading, it sounds like this would have worked with old 
 versions of Flex but no longer with Flex 3.  Here's a little example:

  public static function createJunk():void {
   junk1.prototype[f1] = function ():void { Alert.show(junk1 f1
 override); };
   junk1.prototype[f2] = function ():void { Alert.show(junk1
 f2); };
  
   var j:junk1 = new junk1();
   j[f1]();
   j[f2]();
  }

 class junk1 {
 import mx.controls.Alert;
 public function f1():void { Alert.show(junk1 f1); }
 }

 The call to f2 works, showing junk1 f2, but the call to f1 doesn't 
 get overwritten.  It still shows junk1 f1.

 Doing some reading, I found here 
 http://livedocs.adobe.com/flex/3/html/help.html?content=04_OO_Programming_12.html
  that 
 fixed properties are always preferred over prototype properties 
 which explains the behavior.

 Does anybody know of a way to use prototype, or some other clever 
 trick, to overwrite a function at runtime?  Thanks.


 



Re: [flexcoders] How does Button 3 knows that it has been clicked in this example?

2009-11-26 Thread Paul Andrews
fred44455 wrote:
 This an example taken out of a Flex 4 book(Amstrong).
 I pretty understand this code but if you look at button3
 at the very end of the code , it has no click(event) associated
 with it. why is that? Will it be ok to add:click=handleClick(event)/ Like 
 it was done for button2 ??
   
Yes, it looks like an oversight. Just be brave and try!

Paul

 Thanks.

 ?xml version=1.0 encoding=utf-8?
 s:Application
 xmlns:fx=http://ns.adobe.com/mxml/2009;
 xmlns:s=library://ns.adobe.com/flex/spark
 xmlns:mx=library://ns.adobe.com/flex/halo
 initialize=init()


 fx:Script![CDATA[
 private function init():void {
 button3.addEventListener(MouseEvent.CLICK, handleClick);
 }
 private function handleClick(event:MouseEvent):void {
 if (event.target == button2) {
 label.text += 'Button 2 clicked\n';
 } else if (event.target == button3) {
 label.text += 'Button 3 clicked\n';
 }
 }
 ]]/fx:Script
 s:VGroup width=100%
 s:Button id=button1 label=Button 1
 click=label.text += 'Button 1 clicked\n'/
 s:Button id=button2 label=Button 2
 click=handleClick(event)/
 s:Button id=button3 label=Button 3/
 s:Label id=label/
 /s:VGroup
 /s:Application

   



Re: [flexcoders] Multiple Flex Apps on One Page

2009-11-21 Thread Paul Andrews
Greg Lafrance wrote:
 Now that I've been laid off from Adobe (along with 700 others), I would like 
 to seek Flex consulting opportunities, and one possibility is with web 
 designers/developers wishing to offer their clients value added components.

 My question is that I heard you don't want for example three separate Flex 
 apps on one web page, as it results in three instances of the Flash Player 
 generated, or something like that.

 So is it necessary to group multiple Flex components into one Flex app to 
 each web page? This can limit placement of Flex components on a web page, 
 because the web page will not be completely done in Flex, as the page must be 
 searchable.
   
I don't think it's necessary - it would be an informed design decision 
depending on what you were intending to achieve. Part of the decision 
might also relate to how the components were related and if they needed 
to communicate. I think there's no definitive answer - it depends on 
what your components are and how they are driven.

I hate it when people post identical questions on multiple lists - it 
gets so messy.

 Any insight on this, particularly from Alex and others on the Flex product 
 team at Adobe.

 Anyone new to Flex needs help on Flex components/applications, I'm available: 
 glafra...@chikaradev.com

 Thanks!
 Greg




 

 --
 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 many records is too many records?

2009-11-16 Thread Paul Andrews
Matthew wrote:
 From what I found online, the flash player has no real limitations aside 
 from whatever browser's plugin-architecture may limit it. However, I have a 
 few datagrids that will display tens of thousands of records (anywhere from 
 10,000 - 60,000). Of course I'm going to use a paging scheme but how many 
 records will be too many to return at one time? 

 I also heard a rumor that the player conks out after 10,000 records. Is this 
 true? 

 Thanks...

   
Why burden the client with 60,000 records? If you really have to bombard 
the user with 60,000 records, paginate them on the server and implement 
filtering on the server.

Have you ever tried looking at 60,000 records in a web browser? No, I 
haven't either. I get bored after a couple of pages on Google.

Find a way to allow the users to find the needle in a haystack.


Re: [flexcoders] Handling Relational Data in a Form?

2009-11-02 Thread Paul Andrews
jc_bad28 wrote:
 I've created a web service that returns a dataset from some relational 
 tables.  Tables 1 and 2 are the source tables. View 1 is the selected data 
 that I send out as XML from a web service for the Flex UI. View 1 lists out 
 all of the operations and then a bunch of query stuff, I populate the 
 operation with an 'x' if that operation is needed for the job or populate 
 with a date if that operation is completed. When an operation isn't needed it 
 returns NULL as not every job needs every operation.

 table 1: Jobs
 jobnum clientname   qnty
 -
 jobA   Client A   1
 jobB   Client B5000

 table 2: Operations
 ID jobnumOperation Completed
 
 1  jobALaser 10-01-09
 2  jobAInsert10-02-09
 3  jobAInk jet   10-01-09
 4  jobB4 Color Press 10-02-09
 5  jobBLaser 10-02-09
 6  jobBInsertx

 View 1: AllJobs
 jobnum  clientname   qnty  Laser InkJet 4ColorPress  Insert
 
 jobAClient A1  10-01-09  10-01-09  Null  10-02-09
 jobBClient B 5000  10-02-09  NULL 10-02-09  x   

 I have my Flex UI setup to receive the View output as XML and then populate 
 an Advanced Data Grid.  I've got a form section below that populates with the 
 job data when a row is selected. The form section is for viewing or updating 
 operation dates. (The form also shows some info returned in the xml that I 
 don't show in the grid since I ran out of screen space in the grid.)

 For updates, I was going to setup a loop to cycle through the webservice 
 update operation.  However, where I'm stumped is passing the query info 
 needed.  The SQL statement is straight forward where the parameters needed 
 are jobnum and something to identify the operation.  And this is where I'm 
 stumped.  I need to get the operationID from the operation table and I'm 
 thinking it's not a good idea to query that into the view.
Why not? I don't see what the problem would be.
 That it would be better to have a seperate query for the operations that I 
 could then call via another webservice or webservice operation call.  But how 
 would I get that related that into the form? Or I guess I could get the 
 operationID in the grid, but hide those columns.
   
Your datagrid can have a source containing the operations id - it's not 
compulsory for a datagrid to display all the data from the data source.
 The other idea was change the View to only show the operationID's and then 
 have another webservice to relate the operationID to the operation dates.  
 But that mean needing to have my datagrid have 2 seperate datasources or 
 someway to merge the data from two seperate services.
   
Don't do it - it's totally unnecessary.
 Any insight is greatly appreciated.
   
No particular insight - just an opinion - I really don't see the 
difficultly.

Paul


[flexcoders] Variable page sizes in a browser.

2009-10-15 Thread Paul Andrews
I have a client who often points to html websites as examples of what 
they like and (as you all know) the browser page always fits the content 
(with or without scrollbars).

Anyone been successfully building  flex or flash apps using javascript 
to mimic html page behaviour - shrinking the browser page or forcing 
browser scrolling?

I'm wondering whether this can really be done reliably or not, before I 
set out to experiment with variable size layouts.

In case anyone misunderstands, I'm not concerned about the user resizing 
the browser, but having the browser react to the flash stage being 
resized under program control.

Thanks,

Paul


Re: [flexcoders] Re: Variable page sizes in a browser.

2009-10-15 Thread Paul Andrews
Nathan D wrote:
 You can start with this:

 http://www.kontain.com/fi/entries/684/the-flash-height-problem-and-how-to-solve-it/

 It should at least get you started down the right path (I think)

 -Nathan D.
   
Thanks Nathan, interesting article.

Paul


 --- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote:
   
 I have a client who often points to html websites as examples of what 
 they like and (as you all know) the browser page always fits the content 
 (with or without scrollbars).

 Anyone been successfully building  flex or flash apps using javascript 
 to mimic html page behaviour - shrinking the browser page or forcing 
 browser scrolling?

 I'm wondering whether this can really be done reliably or not, before I 
 set out to experiment with variable size layouts.

 In case anyone misunderstands, I'm not concerned about the user resizing 
 the browser, but having the browser react to the flash stage being 
 resized under program control.

 Thanks,

 Paul

 




 
   



Re: [flexcoders] cast/convert to a child class?

2009-10-15 Thread Paul Andrews
coder3 wrote:
 Hi All,

 I have a arrayCollection of class Pet,
 and i have a child class Dog extends Pet,

 is there a way to convert the arrayCollection of Pet to arrayCollection of
 Dog?
   
If your array references Pet objects, you cannot cast them as Dog() 
because they aren't Dog objects.
If your array references Dog objects, you can cast them as Dog() because 
they are Dog objects.

Dogs are an extension of Pet and a Pet object does not have the class 
attributes (or methods) that a Dog object would.

Paul



Re: [flexcoders] Re: follow the mouse

2009-10-13 Thread Paul Andrews
flexaustin wrote:
 Got it.

 var pt:Point = tempNode.localToGlobal( new Point ( 0, 0 ) );
   var vx:Number = (tempNode.stage.mouseX) - pt.x;
   var vy:Number = (tempNode.stage.mouseY) - pt.y;
   tempNode.x += vx;
   tempNode.y += vy;


 Always put everything on the same playing field, the stage.
   
Isn't that just the same as

tempNode.x = tempNode.stage.mouseX;
tempNode.y = tempNode.stage.mouseY;

?

Paul 




 --- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote:
   
 Is there a reason this wouldn't work?  I am using the scale as the main 
 canvas can be scaled down.

 var vx:Number = (tempNode.stage.mouseX / mainsprite.scaleX )- tempNode.x;
  var vy:Number = (tempNode.stage.mouseY / 
 mainsprite.scaleX) - tempNode.y;
  tempNode.x += vx;
  tempNode.y += vy;

 




 

 --
 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: follow the mouse

2009-10-13 Thread Paul Andrews
flexaustin wrote:
 TempNode isn't on the main the stage its down in about 6 containers.  I 
 thought it was the same but the first way the mouse only traveled 50% of the 
 distance to the mouse.

   
Ah, in that case you just get the x co-ordinate within the parent, so 
the simplification doesn't work.

Paul

 --- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote:
   
 flexaustin wrote:
 
 Got it.

 var pt:Point = tempNode.localToGlobal( new Point ( 0, 0 ) );
 var vx:Number = (tempNode.stage.mouseX) - pt.x;
 var vy:Number = (tempNode.stage.mouseY) - pt.y;
 tempNode.x += vx;
 tempNode.y += vy;


 Always put everything on the same playing field, the stage.
   
   
 Isn't that just the same as

 tempNode.x = tempNode.stage.mouseX;
 tempNode.y = tempNode.stage.mouseY;

 ?

 Paul 


 
 --- In flexcoders@yahoogroups.com, flexaustin flexaustin@ wrote:
   
   
 Is there a reason this wouldn't work?  I am using the scale as the main 
 canvas can be scaled down.

 var vx:Number = (tempNode.stage.mouseX / mainsprite.scaleX )- tempNode.x;
var vy:Number = (tempNode.stage.mouseY / 
 mainsprite.scaleX) - tempNode.y;
tempNode.x += vx;
tempNode.y += vy;

 
 


 

 --
 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] Adobe Flex Dashboard

2009-10-07 Thread Paul Andrews
Angelo Anolin wrote:


 Hi Paul,
  
 I looked at the StateManager.as file and in the line which Vivian 
 pointed out, this is it:
  
 private static var sharedObject:SharedObject = 
 SharedObject.getLocal(com.esria.sample.dashboard);
  
 So, how do I know which file is the line above pointing to?
The real question is - why should you care where the file is saved? It 
makes no difference to the application. You should never need to mess 
with the actual file, just interact with the shared object. Google 
flash shared objects.

Paul
  
 Pardon my lack of understanding but this is the first time I 
 encountered/delving into the SharedObject thing.
  
 Thanks.
  
 Regards,
  
 Angelo

 
 *From:* Paul Andrews p...@ipauland.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Wednesday, 7 October, 2009 7:08:05
 *Subject:* Re: [flexcoders] Adobe Flex Dashboard

  

 Angelo Anolin wrote:
 
 
  Thanks a lot for pointing this one out Vivian.
 
  Although I still cannot fathom how the SharedObject is retained even
  after the application (SWF) is recompiled. I even did a restart of
  the machine and the settings are still there. Isn't it being retained
  in some sort of file or something?
 SharedObject is a file on the computer and retains it's content after
 the application is shut down, or recompiled, or the computer turned off!

 Look in StateManager. as - the shared object is there..

 Paul

 
  Regards,
 
  Angelo
 
   - - - - - -
  *From:* Vivian Richard kanps...@gmail. com 
 mailto:kanpsack%40gmail.com
  *To:* flexcod...@yahoogro ups.com mailto:flexcoders%40yahoogroups.com
  *Sent:* Wednesday, 7 October, 2009 0:50:37
  *Subject:* Re: [flexcoders] Adobe Flex Dashboard
 
 
 
 
 
  in the file StateManager. as line 17
  private static var sharedObject: SharedObject = SharedObject.
  getLocal(com. esria.sample. dashboard);
   - - - - -
  - - - - - - -
  - - - -
 
 
  On Tue, Oct 6, 2009 at 9:23 AM, Angelo Anolin angelo_anolin@
  yahoo.com mailto:angelo_anolin@ yahoo.com 
 mailto:angelo_anolin%40yahoo.com wrote:
 
 
  I tried to locate if SharedObject was used in the application but
  I am unable to find one.
 
  I know it is being set somewhere but I just can't pinpoint it at
  this stage.
 
  Would still appreciate your inputs. In the meantime, let me dig
  through this haystack for the needle.
 
  THanks,
 
  Angelo
 
   - - - - - -
  *From:* Vivian Richard kanps...@gmail. com
  mailto:kanps...@gmail. com mailto:kanpsack%40gmail.com
  *To:* flexcod...@yahoogro ups.com mailto:flexcod...@yahoogro 
 ups.com mailto:flexcoders%40yahoogroups.com
  *Sent:* Wednesday, 7 October, 2009 0:02:22
  *Subject:* Re: [flexcoders] Adobe Flex Dashboard
 
 
 
 
  You can do this using SharedObject - I guess they are also
  using SharedObject somewhere. Please see this example
  here:
 
  http://livedocs. http://livedocs./ adobe.com/ flex/3/html/ help.html?
  content=lsos_ 5.html
  http://livedocs. adobe.com/ flex/3/html/ help.html? content=lsos_ 
 5.html 
 http://livedocs.adobe.com/flex/3/html/help.html?content=lsos_5.html
 
 
 
 
  On Tue, Oct 6, 2009 at 8:44 AM, Angelo Anolin angelo_anolin@
  yahoo.com mailto:angelo_anolin@ yahoo.com 
 mailto:angelo_anolin%40yahoo.com wrote:
 
 
  Hi Flexcoders!
 
  I started dabbling with the codes for the Adobe Flex Dashboard
  (http://examples. http://examples./ adobe.com/ flex3/devnet/ 
 dashboard/
  main.html
  http://examples. adobe.com/ flex3/devnet/ dashboard/ main.html 
 http://examples.adobe.com/flex3/devnet/dashboard/main.html)
  and has been able to load properly all the necessary files and
  components to run the application.
 
  My question is that I think the last view settings are being
  retained but I do not know where these settings are. For
  example, in the first tab (Sales Tab), when I minimize all
  windows except the Yearly Revenue (the first pod) and close
  the browser and open it again, those pods which have been
  minimized remains minimized. If for example I closed the
  browser and I was on Marketing tab, opening the application
  will show me that the Marketing tab is the one currently
  displayed.
 
  I am having a hard time figuring out whether there is a
  setting which retains what the user has last viewed on this
  application. Even recompiling the application and replacing
  the deployed SWF on the server, the view still points back to
  the last view prior to the browser (application) being closed.
 
  What do you call this feature of Flex applications? Where do
  I configure it so that I could reset the application to
  default view (the view when SWF file was first deployed) when
  I open the application?
 
  Appreciate your advise.
 
  Thanks.
 
  Regards

Re: [flexcoders] how light-weight is an array of custom objects if those custom objects already exist in another array?

2009-10-07 Thread Paul Andrews
Baz wrote:


 Hi,

 I have an ArrayCollection of custom objects, and I need to create a 
 subset of those custom objects based on a condition (without using the 
 built-in filter() functionality). I am thinking of storing that subset 
 in a second array, but that is not mandatory - performance is key in 
 this piece of the app. If I did use a second array, how light-weight 
 would it be, are arrays extremely effecient constructs in general? 
 Also, in terms of the custom objects, I believe that they would all be 
 linked by reference, and not duplicated in the second array - is this 
 correct, and does that make the array basically the same as if it were 
 storing simple integers? Overall, is this the most effecient way of 
 getting a subset of an array?

All objects are accessed by reference and essentially your proposed 
array would be an array of pointers, so it's about as lightweight as it 
can get.

Paul

 Thanks!




 



Re: [flexcoders] Adobe Flex Dashboard

2009-10-06 Thread Paul Andrews
Angelo Anolin wrote:


 Thanks a lot for pointing this one out Vivian.

 Although I still cannot fathom how the SharedObject is retained even 
 after the application (SWF) is recompiled.  I even did a restart of 
 the machine and the settings are still there.  Isn't it being retained 
 in some sort of file or something?
SharedObject is a file on the computer and retains it's content after 
the application is shut down, or recompiled, or the computer turned off!

Look in StateManager.as - the shared object is there..

Paul


 Regards,

 Angelo

 
 *From:* Vivian Richard kanps...@gmail.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Wednesday, 7 October, 2009 0:50:37
 *Subject:* Re: [flexcoders] Adobe Flex Dashboard

  



   in the file StateManager. as line 17
   private static var sharedObject: SharedObject = SharedObject. 
 getLocal(com.esria.sample. dashboard);
  - - - - - 
 - - - - - - - 
 - - - -


 On Tue, Oct 6, 2009 at 9:23 AM, Angelo Anolin angelo_anolin@ 
 yahoo.com mailto:angelo_ano...@yahoo.com wrote:

  
 I tried to locate if SharedObject was used in the application but
 I am unable to find one.

 I know it is being set somewhere but I just can't pinpoint it at
 this stage.

 Would still appreciate your inputs. In the meantime, let me dig
 through this haystack for the needle.

 THanks,

 Angelo

 
 *From:* Vivian Richard kanps...@gmail. com
 mailto:kanps...@gmail.com
 *To:* flexcod...@yahoogro ups.com mailto:flexcoders@yahoogroups.com
 *Sent:* Wednesday, 7 October, 2009 0:02:22
 *Subject:* Re: [flexcoders] Adobe Flex Dashboard

  


You can do this using SharedObject - I guess they are also
using SharedObject somewhere. Please see this example
here:

http://livedocs. adobe.com/ flex/3/html/ help.html?
 content=lsos_ 5.html
 http://livedocs.adobe.com/flex/3/html/help.html?content=lsos_5.html




 On Tue, Oct 6, 2009 at 8:44 AM, Angelo Anolin angelo_anolin@
 yahoo.com mailto:angelo_ano...@yahoo.com wrote:

  
 Hi Flexcoders!

 I started dabbling with the codes for the Adobe Flex Dashboard
 (http://examples. adobe.com/ flex3/devnet/ dashboard/
 main.html
 http://examples.adobe.com/flex3/devnet/dashboard/main.html)
 and has been able to load properly all the necessary files and
 components to run the application.

 My question is that I think the last view settings are being
 retained but I do not know where these settings are.  For
 example, in the first tab (Sales Tab), when I minimize all
 windows except the Yearly Revenue (the first pod) and close
 the browser and open it again, those pods which have been
 minimized remains minimized.  If for example I closed the
 browser and I was on Marketing tab, opening the application
 will show me that the Marketing tab is the one currently
 displayed.

 I am having a hard time figuring out whether there is a
 setting which retains what the user has last viewed on this
 application.  Even recompiling the application and replacing
 the deployed SWF on the server, the view still points back to
 the last view prior to the browser (application) being closed.

 What do you call this feature of Flex applications?  Where do
 I configure it so that I could reset the application to
 default view (the view when SWF file was first deployed) when
 I open the application?

 Appreciate your advise.

 Thanks.

 Regards,

 Angelo







 



Re: [flexcoders] Re: Adobe promises *full flash* on mobile devices (all except iPhone)

2009-10-05 Thread Paul Andrews
reflexactions wrote:
 Personally, for me, the real woo hoo! on this release is the global error 
 handling.

 Its good to see that beating up adobe staff does work, ... eventually :)

 Now if only they could do something about the memory and we might have a real 
 RIA platform on our hands.
   
I think Steve Jobs can be thanked for jerking the mobile world out of 
the doldrums. I can't imagine the restrictions of old can last for 
future designs.


Re: [flexcoders] Re: Adsense

2009-09-27 Thread Paul Andrews
fgnowfg wrote:
 --- In flexcoders@yahoogroups.com, fgnowfg fgno...@... wrote:
   
 I know it's a question that's popped up on this board time and againwhat 
 is the best way to publish ads in flex? The only thing I've come across is 
 the iFrame hack and adsense and it seems to be a hack at best. Is there a 
 better way? It doesn't even have to be adsense, I just want to make some 
 money from my flex-based website. Any thoughts appreciated.

 thx!

 

 It just seems that adobe is shooting themselves in the foot by not providing 
 a way for their web developing customers (us!) to make money. Seriously, how 
 do people make money with flex? Seems more and more a waste of time for us 
 without this key point resolved.
   
That's ridiculous. I think if advertising is a priority, you could let 
flex have part of the html page and serve ads there, either under 
control of the flex application, using javascript, or just independently 
with javascript, with or without an iframe. I think a bit of imagination 
is required.

I think most flex developers make money from things that are useful for 
something rather than advertising bling.

Paul


Re: [flexcoders] invisible UIComponent

2009-09-26 Thread Paul Andrews
cholid cholid wrote:


 Hi all
 i've got new question
 any one know how to make UIComponent invisible?
 but it still can execute
 Thanks
 cholid.r


Check out the visible and alpha properties..


Re: [flexcoders] JavaScript can't call Flex

2009-09-24 Thread Paul Andrews
bgamblin wrote:
 I've got a SWF, embedded in an object, just like the standard Flex HTML. In 
 another section of the same HTML, I have JavaScript that calls a function in 
 the SWF. However, when the call is made, everything stops. That is to say, 
 all code written after that call is ignored, and the function itself doesn't 
 execute.

 // In the HTML
 function JavaCall()
 {
getFlexApp('SWFName').callFlexFunc();
 }

 function getFlexApp(appName) 
 {
if (navigator.appName.indexOf (Microsoft) !=-1)  return window[appName];
else return document[appName]; 
 }


 // inside app creation function
 ExternalInterface.addCallback(callFlexFunc, calledFunc);

 // outside creation function
 public function calledFunc(event:Event = null):void
 {
// Execution doesn't get this far
 }

 I should note that the object and embed that hold the SWF are set to 
 allowScriptAccess=always. It's not something I intend to ship with, but I'm 
 grasping at straws at this point.

 Every tutorial I've seen on the subject seems to indicate that I'm doing just 
 what I should be doing. So I have no idea what could be wrong. Any help would 
 be appreciated.
   
I suspect you're calling the function before the SWF is properly loaded. 
Get the Flex app to call a javascript function to say when it's ready to 
run, only then call any functions in the SWF.

Paul

 -Brand



 

 --
 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: JavaScript can't call Flex

2009-09-24 Thread Paul Andrews
bgamblin wrote:
 I appreciate the quick response. Unfortunately, the call comes long after the 
 SWF is loaded. 

 This is part of my attempt to upload a file using a self signed-SSL 
 connection (notoriously difficult in Flex). So this call comes after the 
 backend has already loaded the file,
How do you know? Unless you let Flex tell you when it's ready to go, 
Javascript won't know when enough of the SWF has been loaded.

Paul

  and it's just returning a response through the JavaScript.

 Do you know if there's any way to log this? In case it's calling the function 
 but getting an error back?


 --- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote:
   
 I suspect you're calling the function before the SWF is properly loaded. 
 Get the Flex app to call a javascript function to say when it's ready to 
 run, only then call any functions in the SWF.

 Paul

 



 

 --
 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: JavaScript can't call Flex

2009-09-24 Thread Paul Andrews
bgamblin wrote:
 Ah Ha! Found it. The problem was in my flex code, in the callback. I defined 
 it as taking one parameter, an event. Just to make sure that wasn't the 
 problem, I put in a default value of null for the parameter, but that's not 
 the same as having no parameter at all. So, when JavaScript called it with no 
 parameters, Flex didn't recognize the same signature, and stopped (if I could 
 run this through the debugger, I probably would have found that).

 So, note to self. Setting a default parameter as null is not the same, 
 signature-wise, as sending no parameters.

 Thanks to Paul Anderson for his help.

 -Brand
   
Excellent. I checked through my own example and couldn't see the 
problem. Glad you found it.

Paul
 --- In flexcoders@yahoogroups.com, bgamblin bra...@... wrote:
   
 There are many things that the user has to do to get to the menu where this 
 call is made. So, the Flash would have to be ready, or else it wouldn't have 
 been responding to state changes, button presses, and all the other things 
 necessary to get to that point.

 I do know, for instance, that this occurs after the creationComplete event 
 is called, and after several interactions with the backend.

 I think that, if I could find out what was going on in the JavaScript (by 
 getting an error code or determining whether that function was available on 
 that object, or something), it would give me a better idea of what I was 
 looking at.


 --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote:
 
 bgamblin wrote:
   
 I appreciate the quick response. Unfortunately, the call comes long after 
 the SWF is loaded. 

 This is part of my attempt to upload a file using a self signed-SSL 
 connection (notoriously difficult in Flex). So this call comes after the 
 backend has already loaded the file,
 
 How do you know? Unless you let Flex tell you when it's ready to go, 
 Javascript won't know when enough of the SWF has been loaded.

 Paul

   
  and it's just returning a response through the JavaScript.

 Do you know if there's any way to log this? In case it's calling the 
 function but getting an error back?


 --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote:
   
 
 I suspect you're calling the function before the SWF is properly loaded. 
 Get the Flex app to call a javascript function to say when it's ready to 
 run, only then call any functions in the SWF.

 Paul

 
   

 

 --
 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: SystemManager????

2009-09-21 Thread Paul Andrews
Alex Harui wrote:


 If you click on content loaded from another domain, you don’t get a 
 click event.

In terms of clicks why should the originating domain matter?

 Alex Harui

 Flex SDK Developer

 Adobe Systems Inc. http://www.adobe.com/

 Blog: http://blogs.adobe.com/aharui

 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 
 *On Behalf Of *flexaustin
 *Sent:* Sunday, September 20, 2009 6:10 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Re: SystemManager

 Shouldn't systemManager send out a MouseEvent.click on everything 
 clicked in the application? It seems as though if the item clicked is 
 a swf or embedded icon (even if included in a sprite) they don't seem 
 to register with the systemManager? Or the systemManager doesn't send 
 out a MouseEvent.click.

 Is their a way to make the systemManager send the click 100% of the time?

 --- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com, flexaustin flexaus...@... 
 wrote:
 
  I am building app that is something similar to photoshop or 
 illustrator where
  you have several tools to choose.
 
  I want to use a State Object pattern, where selecting a tool changes 
 the state
  of the app. I then want to have the mouse throw different events 
 depending on,
  which tool is selected rather than have state objects in my 
 listeners or having
  conditionals or table look up in my listeners.
 
  I am using custom mouse pointers for tools so what I am wondering 
 is, is it
  possible for my custom systemmanager or cursormanager to tell when a 
 click,
  doubleclick, or drag happens? If so then I was thinking the 
 systemmanager or
  cursormanager could know what tool is selected, thus what mode/state 
 the app is
  in, and send out different events for say mouse clicks.
 
  So:
 
  fingermouse's click = open thing clicked
  zoommouse's click = zoom in 25%
  mousepointer click = select to transform
  pointer with a + on it = add a new thing to stage
  ponter with a - on it = sub a new thing from stage
 
  TIA, J
 



 





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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] OTish - UK printers with a remote printing API

2009-09-20 Thread Paul Andrews
Anyone care to suggest a UK based printing operation with a good print 
service using an  API? I'm finding it quite hard to find out who's 
offering such services.

I think smugmug is popular in the US, but may not be so popular here.

Thanks,

Paul


Re: [flexcoders] How to tell if something is a Date

2009-09-13 Thread Paul Andrews
David Harris wrote:
 Hi everyone,

 I have a situation where I want to tell a value is of type date or not.

 Consider this:

   var b : Date;
   
   var s : String  = describeType( b )@name.tostring();
   
   Alert.show(
   ( b is Date ).toString()
   + \n
   + ( typeof b )
   + \n
   + ( s )
   );


 I get an alert of:
 false
 object
 null

 if I do
 var b : Date = new Date();

 I get and alert of
 true
 object
 Date

 Is there anyway I can work out a variable's type with out having to
 declare a value in that variable?
   
No, and it doesn't make any sense to do so.

var b: Date;

Tells the compiler that variable b is to be used to reference a Date 
object; It allows the compiler to make sure that you keep to that 
contract. By not assingning the variable b, you leave it referencing 
nothing - null;

( b is Date )

is now asking to check that a variable pointing at nothing (null)  is a 
Date. It is not a Date, so the result is false.

You ask about knowing the variables type - well you already do - you've 
told the compiler that b will hold a Date.

For your purposes, the (something is Someclass) will always return false 
when something is a null reference - it cannot be any other result.

Paul
 cheers

 David

   



Re: [flexcoders] Is Adobe Customer Support (or worse yet adobe) falling apart

2009-09-11 Thread Paul Andrews
hank williams wrote:

 I wrote a blog post about this today 
 (http://whydoeseverythingsuck.com/2009/09/is-adobe-falling-apart.html)

 but to summarize, it appears that adobe customer service  is 
 essentially totally unavailable. I tried several times to reach them 
 for an urgent issue, and the last time waited on hold for 3 hours 
 (after which point my cordless phone ran out of steam) with no answer, 
 just hold music.

 THREE HOURS

 They also dont respond to their support email address.

 This can't mean good things are happening at adobe. Anyone have any 
 insight?
I can't say, but to stay on hold for three hours? It's ten minutes max 
for me, then try again.

 Hank
 -- 
 blog: whydoeseverythingsuck.com http://whydoeseverythingsuck.com


Re: [flexcoders] This mailing list vs the forum.

2009-08-13 Thread Paul Andrews
Ian Thomas wrote:
 On Thu, Aug 13, 2009 at 10:26 AM, Andriy Panasa.pa...@gmail.com wrote:

   
 Forums in general are way superior to mailing lists to exchange the
 knowledge on the Internet.
 

 My main issue with that is:
   Mailing lists are push. Forums are pull.

 I'm on 6 or 7 different mailing lists. There's no way I'd get round to
 visiting 6 or 7 different forums to see what's updated several times a
 day; therefore I wouldn't ever read anything or answer anyone.

 Ian

   
+1


Re: [flexcoders] *** So you think you know ActionScript? (Read original post first) ***

2009-08-12 Thread Paul Andrews
Dave Glasser wrote:
 Consider this code snippet:

 var xml:XML = outerinnernull/inner/outer;
 var xmlList:XMLList = xml.inner;
 trace(xmlList == null);

 What does the trace statement output, true or false, and why?

 Please provide an answer without running the code (of course) and, better 
 yet, without consulting any documentation, or any of the other answers that 
 may have been posted already (if you read the list in chronological order.) 
 Pretend it's a job interview question and you have to give it your best shot 
 off the top of your head.

 And also, if you don't mind, don't top-post your answer, so that if someone 
 does read your answer before the original post, they might get a chance to 
 answer without having seen yours first.
   

















xmlList is set to point at somthing which isn't a list, so I think the 
trace statement will not be reached. That's my 02:31AM thought..


Re: [flexcoders] Load image only when visble

2009-08-07 Thread Paul Andrews
I think the real problem is that you are trying to control loading 
behaviour and the display at the same time. I would delegate the loading 
to a seperate class (an image loader) that would be responsible for 
loading all the images and when an individual image has loade add the 
item to the display component. You can then have control over how many 
images are being loaded concurrently at any one time.


I don't think there's an out of the box solution for you, though there 
are some bulk loader classes about.


Paul



Jonathan Lee wrote:



I need to control the position of every image, so I can not use the 
TileList.

anyway to let Canvas also has the similar function?

Thanks a lot


--- On *Fri, 8/7/09, Tom Chiverton /tom.chiver...@halliwells.com/* 
wrote:



From: Tom Chiverton tom.chiver...@halliwells.com
Subject: Re: [flexcoders] Load image only when visble
To: flexcoders@yahoogroups.com
Date: Friday, August 7, 2009, 5:38 AM

 


On Friday 07 Aug 2009, Jonathan Lee wrote:
 I'm thinking how to let it only load images for those visible
images, and
 no need to load those images which hided. (I see the tileList
seems can do
 it, but I do not know how I can do it by add Image control on
Canvas)

TileList with a custom item renderer.

-- 
Helping to adaptively build high-yield one-to-one high-end

synergistic content
as part of the IT team of the year, '09 and '08

 * * * * 

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

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

CONFIDENTIALITY

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

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









Re: [flexcoders] Enterprise Architect + AS3/PureMVC

2009-07-22 Thread Paul Andrews
artur_desig2dev wrote:
 hello wise list,

 we just downloaded EA and are trying to figure out how to reverse engineer 
 our PureMVC app.

 Is there pureMVC template (for code generation) that we need to create for 
 EA? or can someone share theirs?


 thanks so much
   
Isn't this just a case of telling EA where your class sources are and it 
does the rest?

There's nothing special about PureMVC as far as EA is concerned.

EA generates code from UML models and reverse engineers from code sources.

I'm not sure why this discussion is now taking place across two mailing 
lists either.


Re: [flexcoders] Enterprise Architect + AS3/PureMVC

2009-07-22 Thread Paul Andrews

Jeffry Houser wrote:




 Last time I used it--albeit a while ago--Enterprise Architect only 
supported one way code generation.  It was not able to parse code and 
generate diagrams. 


 This may have changed, of course.

It has.


artur_desig2dev wrote:
 


hello wise list,

we just downloaded EA and are trying to figure out how to reverse 
engineer our PureMVC app.


Is there pureMVC template (for code generation) that we need to 
create for EA? or can someone share theirs?


thanks so much


--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust




Re: [flexcoders] Generate XML file

2009-06-02 Thread Paul Andrews
Use a HTTP service and POST to send the XML text to a PHP (or other 
scripting language)  email script on a remote server.

- Original Message - 
From: christophe_jacquelin christophe_jacque...@yahoo.fr
To: flexcoders@yahoogroups.com
Sent: Tuesday, June 02, 2009 3:56 PM
Subject: [flexcoders] Generate XML file


 Hello,

 How to generate an xml file from a flex application, and then send it by 
 email ?

 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] Confused about ArrayCollection Filters...

2009-05-23 Thread Paul Andrews
ListCollectionView:

Saw this, which might help 
http://viconflex.blogspot.com/2006/11/listcollectionview-different.html

Paul
- Original Message - 
From: Laurence MacNeill lmacne...@comcast.net
To: flexcoders@yahoogroups.com
Sent: Sunday, May 24, 2009 1:45 AM
Subject: [flexcoders] Confused about ArrayCollection Filters...


I want to display the same ArrayCollection in two different
 DataGrids, but I want each DataGrid to have its own filter applied to
 that ArrayCollection.

 Specficially, I want one DataGrid to show all elements in the
 ArrayCollection that have 'part_no == c', and the other DataGrid to
 display all elements that have 'part_no == r'.  Is there a way to
 do this without separating the original ArrayCollection into two
 different ArrayCollections?

 Laurence MacNeill
 Mableton, Georgia, USA



 

 --
 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: simple array?

2009-05-21 Thread Paul Andrews

- Original Message - 
From: Jason B nos...@advancedonsite.com
To: flexcoders@yahoogroups.com
Sent: Thursday, May 21, 2009 3:46 PM
Subject: [flexcoders] Re: simple array?


 Thanks but i dont know how to do a compare based on your example show?

 for(var i:uint = 0; i  records.length; i++) {
 //If array matchs show text
if(payment_grid.selectedItem.PAYMENT_TYPE_CODE == 
records[i].addresschange){
Alert.show(records[i].addresschange);
}
}




 for(var i:uint = 0; i  records.length; i++) {
 //If array matchs show text 
 if(payment_grid.selectedItem.PAYMENT_TYPE_CODE == records.valueof ){
Alert.show(records[0].addresschange);

 }



 --- In flexcoders@yahoogroups.com, Pedro Sena sena.pe...@... wrote:

 records[0].addresschange

 You are putting an object inside your array

 Using records[0] you retrieve your object
 using records[0].addresschange you access its property called 
 addresschange

 On Thu, May 21, 2009 at 11:14 AM, Jason B nos...@... wrote:

 
 
  var records:Array = new Array({
  addresschange: Remember to reset the station address.,
  etc.
  });
 
 
  Alert.show(records['addresschange']);
  Alert.show(records[0]);
  Alert.show(records.addresschange);
 
  how the heck can i access the item directly by index name?
 
 
 



 -- 
 /**
 * Pedro Sena
 * Systems Architect
 * Sun Certified Java Programmer
 * Sun Certified Web Component Developer
 */





 

 --
 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: simple array?

2009-05-21 Thread Paul Andrews
Jason,

I'm not sure I follow exactly what the problem is now.

Paul
- Original Message - 
From: Jason B nos...@advancedonsite.com
To: flexcoders@yahoogroups.com
Sent: Thursday, May 21, 2009 4:02 PM
Subject: [flexcoders] Re: simple array?


i want to loop the records and compare the value addresschange to the 
PAYMENT Type Code if its the right one display it


 --- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote:


 - Original Message - 
 From: Jason B nos...@...
 To: flexcoders@yahoogroups.com
 Sent: Thursday, May 21, 2009 3:46 PM
 Subject: [flexcoders] Re: simple array?


  Thanks but i dont know how to do a compare based on your example show?

  for(var i:uint = 0; i  records.length; i++) {
  //If array matchs show text
 if(payment_grid.selectedItem.PAYMENT_TYPE_CODE ==
 records[i].addresschange){
 Alert.show(records[i].addresschange);
 }
 }


 
 
  for(var i:uint = 0; i  records.length; i++) {
  //If array matchs show text
  if(payment_grid.selectedItem.PAYMENT_TYPE_CODE == records.valueof 
  ){
 Alert.show(records[0].addresschange);
 
  }
 
 
 
  --- In flexcoders@yahoogroups.com, Pedro Sena sena.pedro@ wrote:
 
  records[0].addresschange
 
  You are putting an object inside your array
 
  Using records[0] you retrieve your object
  using records[0].addresschange you access its property called
  addresschange
 
  On Thu, May 21, 2009 at 11:14 AM, Jason B nospam@ wrote:
 
  
  
   var records:Array = new Array({
   addresschange: Remember to reset the station address.,
   etc.
   });
  
  
   Alert.show(records['addresschange']);
   Alert.show(records[0]);
   Alert.show(records.addresschange);
  
   how the heck can i access the item directly by index name?
  
  
  
 
 
 
  -- 
  /**
  * Pedro Sena
  * Systems Architect
  * Sun Certified Java Programmer
  * Sun Certified Web Component Developer
  */
 
 
 
 
 
  
 
  --
  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] Pure MVC vs Cairgorm

2009-05-19 Thread Paul Andrews
- Original Message - 
From: mhbmarcos mhbmar...@yahoo.com.ar
To: flexcoders@yahoogroups.com
Sent: Tuesday, May 19, 2009 6:44 PM
Subject: [flexcoders] Pure MVC vs Cairgorm


 Hi!!!, which is the best option?

Would you say a Ferrari is best or a Mini?

If you want to impress expensive women, then the Ferrari would do well, but 
if you want to go shopping and be able to negotiate narrow uneven streets, 
I'd go for the Mini.

As it is with cars, the same follows for software.

Some people like PureMVC, some people go with the Adobe-approved Cairngorm.

Look them both up on google and check them out. 



Re: [flexcoders] Pure MVC vs Cairgorm

2009-05-19 Thread Paul Andrews
- Original Message - 
From: Laurence MacNeill lmacne...@comcast.net
To: flexcoders@yahoogroups.com
Sent: Wednesday, May 20, 2009 12:28 AM
Subject: Re: [flexcoders] Pure MVC vs Cairgorm


 At 06:55 PM 5/19/2009, you wrote:


Depends on your requirements. Personally between those two, I lean
more toward PureMVC, although the ideal would be to simply roll your
own framework based on only the design patterns you need.

 So what are these frameworks you speak of, anyway?  I keep seeing
 references to Cairgorm and others, but I have no idea what they'd be
 used for...  Or how...  Is it like an add-on to Flex Builder, or 
 something?

No, they are ways for building software that follow the MVC software 
pattern.

Give google a spin.

 Laurence MacNeill
 Mableton, Georgia, USA



Re: [flexcoders] HyperThreading...

2009-05-18 Thread Paul Andrews
- Original Message - 
  From: Tom Chiverton 
  To: flexcoders@yahoogroups.com 
  Sent: Monday, May 18, 2009 10:01 AM
  Subject: Re: [flexcoders] HyperThreading...






  On Monday 18 May 2009, Laurence MacNeill wrote:
   Does anyone know if the Flash Player supports HyperThreading? 

  Applications don't, in general, support or not HT as that's at the O/S level.

Strictly that's true, but other technologies (such as Java) allow multiple 
threads of execution and are able to take advantage of HT if they are written 
with multiple threads.

Given the availability of multiple cores these days, I'd hope that actionscript 
(and the player) would embrace this, though it's  MAJOR change in application 
development.

The player is single-threaded at the moment so cannot use a second core - as 
Tom says. :-(

Paul


   other words, will my program run faster on a CPU that has
   HyperThreading? Or will it not make any difference?

  If it's fairly CPU-bound (and nothing else is), it'll probably feel faster 
  because there's less contention for the CPU resource.

  -- 
  Helping to biannually promote low-risk e-tailers as part of the IT team of 
the 
  year, '09 and '08



   
 
  Tom Chiverton 
  Developer 
  Tel: +44 0161 618 5032 
  Fax: +44 0161 618 5099 
  tom.chiver...@halliwells.com 
  3 Hardman Square, Manchester, M3 3EB
  www.Halliwells.com  
   


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.
   

  

Re: [flexcoders] HyperThreading...

2009-05-18 Thread Paul Andrews
Thanks for the heads-up about that.

Paul
  - Original Message - 
  From: Kenneth Sutherland 
  To: flexcoders@yahoogroups.com 
  Sent: Monday, May 18, 2009 12:02 PM
  Subject: RE: [flexcoders] HyperThreading...





  If code is written just using actionscript then yes it is single threaded but 
if you are doing something that is fairly intensive then you can use the new 
pixelbender technology to make the flash player use more than one core.  
Instead of getting pixelbender to manipulate actual pixels you can get it to do 
some number crunching and by doing so you can make it use all of the processers 
cores where it has more than one.

   

  Check out the talk by Ryan Taylor called ‘pixel bender unleashed’ on adobe TV 
(http://tv.adobe.com/#se+pixel%20bender), or download flv from here 
http://adobe.edgeboss.net/download/adobe/adobetv2/max_2008_design/1596741613_2482442001_taylor-mon-5pm-design-develop.flv
 

   

  Kenneth.

   

   

  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
Behalf Of Paul Andrews
  Sent: 18 May 2009 11:43
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] HyperThreading...

   






  - Original Message - 

From: Tom Chiverton 

To: flexcoders@yahoogroups.com 

Sent: Monday, May 18, 2009 10:01 AM

Subject: Re: [flexcoders] HyperThreading...

 



On Monday 18 May 2009, Laurence MacNeill wrote:
 Does anyone know if the Flash Player supports HyperThreading? 

Applications don't, in general, support or not HT as that's at the O/S 
level. 

 

  Strictly that's true, but other technologies (such as Java) allow multiple 
threads of execution and are able to take advantage of HT if they are written 
with multiple threads.

   

  Given the availability of multiple cores these days, I'd hope that 
actionscript (and the player) would embrace this, though it's  MAJOR change in 
application development.

   

  The player is single-threaded at the moment so cannot use a second core - as 
Tom says. :-(

   

  Paul



 other words, will my program run faster on a CPU that has
 HyperThreading? Or will it not make any difference?

If it's fairly CPU-bound (and nothing else is), it'll probably feel faster 
because there's less contention for the CPU resource.

-- 
Helping to biannually promote low-risk e-tailers as part of the IT team of 
the 
year, '09 and '08




 
 
   
Tom Chiverton 
Developer 
Tel: +44 0161 618 5032 
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com 
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com 
   
 

 

  

  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.
 




  Disclaimer 


--
  This electronic message contains information which may be privileged and 
confidential. The information is intended to be for the use of the 
individual(s) or entity named above. If you are not the intended recipient, be 
aware that any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please notify us by telephone on 0131 476 6000 and delete the material 
from your computer.
  Registered in Scotland number: SC 172507.
  Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB.

  This email message has been scanned for viruses by Mimecast.

--



  

Re: [flexcoders] Re: Application Idea

2009-05-15 Thread Paul Andrews
There is no chance of silliness.

I suspect Gregor often comes up with wheelie good ideas..
  - Original Message - 
  From: Gregor Kiddie 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, May 15, 2009 7:50 AM
  Subject: RE: [flexcoders] Re: Application Idea





  So why not make theWheel.com a place celebrating the wheel in all its forms 
and shapes, to stop people from re-inventing it all over again!

   

  (I'd say these are threatening to descend into silliness, but I think we 
passed that point of no return with the second reply)

   

  Gk.

  Gregor Kiddie
  Senior Developer
  INPS

  Tel:   01382 564343

  Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ

  Registered Number: 1788577

  Registered in the UK

  Visit our Internet Web site at www.inps.co.uk

  The information in this internet email is confidential and is intended solely 
for the addressee. Access, copying or re-use of information in it by anyone 
else is not authorised. Any views or opinions presented are solely those of the 
author and do not necessarily represent those of INPS or any of its affiliates. 
If you are not the intended recipient please contact is.helpd...@inps.co.uk


--

  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
Behalf Of Mike Britton
  Sent: 14 May 2009 20:11
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Re: Application Idea

   





  Personally, and as a matter of pride, I would avoid reinventing the wheel.

  Mike Britton
  --
  http://www.mikebritton.com






  

Re: [flexcoders] Application Idea

2009-05-13 Thread Paul Andrews
- Original Message - 
From: Peter Hall peterj...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Wednesday, May 13, 2009 1:10 PM
Subject: Re: [flexcoders] Application Idea


I have a few specs for upcoming client projects. How soon do you think
 you can get them completed for me?
 
 Peter

Very soon now once  your wire to my bank account has completed...  ;-)

Paul


Re: [flexcoders] Application Idea

2009-05-13 Thread Paul Andrews
- Original Message - 
From: Peter Hall peterj...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Wednesday, May 13, 2009 1:21 PM
Subject: Re: [flexcoders] Application Idea


 So - suddenly - ideas are not payment enough?!

Well, I'm not the OP - just someone willing to make your clients dreams come 
true and let you put tour feet up..  ;-)

I have more than enough ideas, thanks (it's just the bank balance to go with 
them that's the problem..)

Paul

 Peter

I have a few specs for upcoming client projects. How soon do you think
 you can get them completed for me?

 Peter

 Very soon now once your wire to my bank account has completed... ;-)

 Paul


 

 --
 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] Flash Speed test - RESULTS !

2009-05-13 Thread Paul Andrews
That's the standard refresh rate for a lot of LCD monitors..

  - Original Message - 
  From: Thibaud Van Vreckem 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, May 13, 2009 6:31 PM
  Subject: Re: [flexcoders] Flash Speed test - RESULTS !




  Why on earth would you have your monitor refresh rate at 30hz ?


  On Wed, May 13, 2009 at 10:42 AM, Tom Chiverton 
tom.chiver...@halliwells.com wrote: 

Why on earth would you need to generate more frames per second than the 
monitor can display (i.e. around 30) ? 



. 

__,_.__



  

Re: [flexcoders] 100,000 buttons

2009-05-05 Thread Paul Andrews
- Original Message - 
From: ew6014 ew6...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Tuesday, May 05, 2009 12:18 PM
Subject: [flexcoders] 100,000 buttons


 hi guys.. any idea why the browser screws up if i were to create 100,000 
 buttons like the example below? ... up to 1000 it works fine. but more 
 then that it goes crazy... any thoughts?

Yes. Don't create 100,000 buttons.

For goodness sake, why would you even try and do that?

Paul 



  1   2   3   4   5   6   7   8   9   >