Re: [flexcoders] Re: Flex alternatives

2012-01-18 Thread Sam Lai
On 18 January 2012 02:05, Merrill, Jason jason.merr...@bankofamerica.comwrote:



  The problem isn’t even that large companies are in bed with Microsoft
 (that is a problem), but it’s that they have many many existing legacy
 enterprise apps that only work or have only been tested to work in IE, and
 those systems need to be supported and in place for years to come.


It is also worth mentioning that if any of you have spent any time being a
Windows desktop system administrator, you will appreciate the management
features that only IE has in conjunction with group policy.
Changing/enforcing proxy settings, certificate authorities, cache policies,
homepages, look and feel settings and more can be done by just flicking a
few settings in Group Policy.

To do the same with Firefox, you'll have to modify a bunch of files on
installation, and on every change, push out a new prefs.js file. Sounds
easy enough, but try doing that when you have different settings that apply
depending on the site the user is at, the groups they're a part of, etc.

Unfortunately, none of the alternative browsers seem to pay much attention
to the enterprise, so IE is pretty safe until there is a reasonable
alternative.


  Jason Merrill
 Instructional Technology Architect II**

 *Bank of America*  Global Learning 

 ** **

 ** **

 ** **

 ** **

 ** **

 ___

 ** **

 *From:* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] *On
 Behalf Of *valdhor
 *Sent:* Monday, January 16, 2012 9:20 AM

 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Re: Flex alternatives

  ** **

   

 Good luck on convincing IT departments in large corporations who are
 generally Microsoft shops.


 --- In flexcoders@yahoogroups.com, Guy Morton guy@... 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, 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.
   
  
  
 

  
  --
 This message w/attachments (message) is intended solely for the use of the
 intended recipient(s) and may contain information that is privileged,
 confidential or proprietary. If you are not an intended recipient, please
 notify the sender, and then please delete and destroy all copies and
 attachments, and 

Re: [flexcoders] Re: Flex version of excel spreadsheet?

2010-06-30 Thread Sam Lai
This is also possible using Excel Web Services if using SharePoint is an option.

http://msdn.microsoft.com/en-us/library/ms546696.aspx

How flexible does this solution need to be? Do they need to be able to
load any arbitrary Excel file into the web app, which are in turn
available to users? Or is it just a fixed set, with some minor changes
here and there?

Is it worth parsing Excel files? Or can you just recreate the
spreadsheet experience using Flex and a Grid component, with the
calculations taking place on the backend?

On 1 July 2010 00:50, Rodolfo r_bo...@yahoo.com wrote:
 If you are familiar with Java you may evaluate

 JExcelAPI (http://jexcelapi.sourceforge.net/) or Apache POI 
 (http://poi.apache.org/) to open existing spreadsheet on server, modify data 
 and return formula results in server services.

 Regards.
 Rodolfo.


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

 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 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] Idea For An Application - Universal Social Network Accesor - Is this possible?

2010-03-25 Thread Sam Lai
On 25 March 2010 03:21, James garymoorcroft_...@yahoo.co.uk wrote:
 In my air app I have a twitter feed in which all of a users tweets will be 
 displayed if they eneter their twitter name and click load. I want to expand 
 on this so that I can also get data from facebook and perhaps Bebo and 
 MySpace by including feeds from them also to display things like users 
 pictures etc. Obviously twitter is easy as it basically involves no pictures 
 and is merely a list of posts for each user.

I'm assuming you've had a look at TweetDeck already.

 The thing is I've noticed in the case of facebook you need to go into 
 Facebook and click allow access etc to allow your own api key to access your 
 details on your profile. What I want is so that users can enter their 
 facebook username and password in my app and their facebook details such as 
 photos will be displayed within my app. The thing is there will be multiple 
 users of this application. Is this possible and can anyone recommend any good 
 tutorials on getting such things to work?

This is an incredibly bad idea. There is a reason why Facebook went to
all that trouble to implement an API key system. (Unless you're
talking about just hosting the facebook website inside your app, which
is a different thing.)

Here are some -
* you will be responsible for keeping the user's password secure.
* Facebook can change their layout and non-API URLs at any time,
breaking your app.
* the user should be in control, not your app. They should be able to
say what your app should do, instead of your app demanding credentials
to their entire account and being able to do everything.
* users should be encouraged not to just hand over usernames/passwords
to any website/app out there - this is how phishing occurs.

What are you trying to do that is different to what's already out there?



 

 --
 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 builder beta 2 sn?

2010-01-18 Thread Sam Lai
From http://labs.adobe.com/technologies/flashbuilder4/?tabID=details#tabTop

How long can I use Flash Builder 4 beta 2?
The beta 2 release of Flash Builder 4 will run for 60 days from
installation before timing out. You may continue your use of beta 2
after the first 60 days by entering a valid Flash Builder 4 extension
serial number. All current Flex Builder 3 customers will be emailed an
extension serial number. If you own a copy of Flex Builder 3 and did
not receive an email with an extension serial number, you may request
one online by entering your valid Flex Builder 3 serial number. Please
visit http://www.adobe.com/go/flashbuilderextension to request an
extension serial number.

If you don’t yet own Flex Builder 3 and want to continue using the
beta you will need to purchase a Flex Builder 3 license. By adding a
12 month maintenance plan with your purchase, you will receive a
free-of-charge copy of Flash Builder 4 when it ships.

2010/1/19 markflex2007 markflex2...@yahoo.com:
 I try to use Flex Builder 3 sn,but it can not be accept.

 Thanks



 

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








--
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] Local Windows services calls from Air

2009-12-31 Thread Sam Lai
Using the ability to call operating-system specific apps in AIR 2.0
(currently in Beta), you can do that either by writing your own
Windows app, or using VBScript/PowerShell.

2009/12/31 method_air loudj...@hotmail.com:
 Is there a way to call out to a local Windows service (ie COM etc) from 
 within Air?

 Thanks,

 Philip



 

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






Re: [flexcoders] Free Flash :-D

2009-10-23 Thread Sam Lai
Not directly helpful, but they did make Flex Builder 3 pretty much
immediately available to universities (staff and students) once it was
released. I had to re-register though, so I have a key for FB2 and
FB3.

So if history is anything to go by... fingers crossed

P.S. I was surprised to find out that commercial use of that license
is allowed; that's unlike other Adobe academically-priced products.
Two thumbs up.

2009/10/24 Wally Kolcz wko...@isavepets.com:
 Any Adobe people out there to answer this? I am lucky to work for a 
 University and recieved a free copy of Flex Builder 3. Will there be a same 
 program for Flash Builder 4 and/or Flash Catalyst? Just wondering. Heard a 
 rumor from my Adobe contact about Flash Builder, but was wondering if anyone 
 else heard anything or about Catslyst. Thanks!




 

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






Re: [flexcoders] Flex 3: AIR Local Database

2009-10-22 Thread Sam Lai
2009/10/23 jwc_wensan jwcaldw...@zingit.com:
 In all the articles I have read and some examples, it only talks about using 
 SQLite as the database on the users' PC/Mac.  Is that the only database that 
 can be used locally?

Because AIR has support for sockets, there are ongoing projects to
give AIR the ability to talk to other databases. Here's one for mysql
(http://code.google.com/p/assql/). You don't get the one-click install
though.

Also, given AIR 2.0 has support for native executables, you could if
push comes to shove, use a native executable to be the conduit between
AIR and whatever database you want.


Re: [flexcoders] what is wrong with this code?

2009-10-10 Thread Sam Lai
2009/10/10 funandlearning3 funandlearni...@yahoo.com:
 public var str:String = Area = ;
 public var area:Number = Math.PI * Math.pow(3, 2);

 str = str + area;

 I am getting an error that str and area variable do not exist...

Is the last line located elsewhere in your code? Does the code appear
exactly as you have written it in this email? Because if so, it should
work fine at first glances.


Re: [flexcoders] Mac OSX and Flex builder

2009-09-29 Thread Sam Lai
2009/9/29 cuttenv cutt...@yahoo.com:
 Anyone know what aum.flexbuilder.osx and why it needs rosetta?? :)

Extremely random guess, I don't have a Mac around - but aum might be
Adobe Update Manager?


Re: [flexcoders] Custom icon in air installer

2009-09-28 Thread Sam Lai
You mean the icon in this dialog?

http://blogs.adobe.com/simplicity/2009/07/revised_air_152_install_experi.html

I don't think you can. The AIR install dialogs are fairly rigid in
terms of customisation, presumably to keep the install experience
uniform across the platform.

2009/9/26 Dave Cates d...@redemptionmedia.co.uk


 Hi all,

 I’m trying to display my client’s logo next to the app description in the air 
 installer window.

 Any ideas of how to do this?! The normal descriptor file doesn’t seem to have 
 this field available.

 Many thanks,
 Dave.

 




--
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] anonymous access to bugs.adobe.com gone?

2009-09-14 Thread Sam Lai
I can't seem to access bugs.adobe.com without signing up for an
account anymore. I used to be able to browse and search for bugs, but
now all I'm getting is a login required message.

There is still a message in there that says I should be able to search
without registration, so I hope this is a temporary configuration
fault.

Can anyone else access it without logging in?


Re: [flexcoders] Dot NET or JAVA example to give output as WSDL

2009-09-07 Thread Sam Lai
2009/9/7 Suresh G suresh@gmail.com:


 Hi All,
 Thanks a lot for your answers My Main need is...
 I have remote SQL server need to connect using flex and give the output in
 various charts...
 For which i found flashbuilder 4 is easy but i am blank... i thought if i
 can generate a WSDL file then it would be easy to bind in flashbuilder ie.
 flex builder 4

You need to have something in between to manage the connection between
Flex and SQL Server. That could be a .NET or Java web service. Which
framework/language do you prefer?

There are plenty of examples for writing .NET web services out there -
http://www.codeproject.com/KB/webservices/myservice.aspx

Just add code to connect to the SQL server in there (again, plenty of
examples), host the web service somewhere, and it'll work. The WSDL is
generated automatically when you navigate to the web service.


Re: [flexcoders] Dot NET or JAVA example to give output as WSDL

2009-09-07 Thread Sam Lai
2009/9/8 Sam Lai samuel@gmail.com:
 2009/9/7 Suresh G suresh@gmail.com:


 Hi All,
 Thanks a lot for your answers My Main need is...
 I have remote SQL server need to connect using flex and give the output in
 various charts...
 For which i found flashbuilder 4 is easy but i am blank... i thought if i
 can generate a WSDL file then it would be easy to bind in flashbuilder ie.
 flex builder 4

 You need to have something in between to manage the connection between
 Flex and SQL Server. That could be a .NET or Java web service. Which
 framework/language do you prefer?

Actually, looks like SQL Server 2005 and up does it itself too -
http://www.developer.com/db/article.php/3390241

You'll need the right permissions and have HTTP endpoints setup, so
that means admin access to the database. Haven't had any experience
with this though.


Re: [flexcoders] Dot NET or JAVA example to give output as WSDL

2009-09-06 Thread Sam Lai
If you are developing the .NET web service using the standard method,
it would have generated a WSDL for you which is accessible at the web
service URL (ends with .asmx).

As far as I know, SQL server does not do web services natively (maybe
with the Data Services component...).

2009/9/6 Suresh G suresh@gmail.com:


 My Dear Coders,
 I am a newbie in coding, good in designing.
 I need one help, i wanted to connect Microsoft SQL server, finally i am able
 to connect with a  dotnet web service and return as XML, but how to connect
 a SQL server so that i get the output as WSDL  please help me
 Any other method or suggestion is always welcome. Need an output of WSDL
 after connecting SQL
 Suresh



 


Re: [flexcoders] Re: this group isn't very good

2009-08-03 Thread Sam Lai
I got a message saying 'click here to request to be migrated to the
new message search' (paraphrased) when looking at another Yahoo!
Group, and found this in their blog
(http://www.ygroupsblog.com/blog/2009/07/08/bug-update-782009/) so I
think they're getting on to this, probably after they fix the RepDB
problem.

2009/8/4 Vivian Richard kanps...@gmail.com:
 Well, it is true that yahoo search is not as good as google. That is
 why I am using gmail. I am using this account for last 2 years and
 have all the email here. As of today I have 21000+ emails :-). I just
 use my email search to find old emails!!!





 On Mon, Aug 3, 2009 at 10:53 AM, Jason Bnos...@advancedonsite.com wrote:


 Yup that works perfect I love google search engine

 --- In flexcoders@yahoogroups.com, Howard Fore howard.f...@... wrote:

 For heaven's sake don't fork the community, just use Google to search the
 group. Put use the following line in your search terms:

 site:tech.groups.yahoo.com inurl:flexcoders

 --
 Howard Fore, howard.f...@...
 The worthwhile problems are the ones you can really solve or help solve,
 the ones you can really contribute something to. ... No problem is too
 small
 or too trivial if we can really do something about it. - Richard P.
 Feynman


 On Mon, Aug 3, 2009 at 8:14 AM, mitchgrrt mitch_g...@... wrote:

  Sorry for the provocative message title. The contents of the group, and
  the people who are exchanging information, are fine.
 
  Yahoo Groups aren't very good. Information is organized poorly, and
  Search
  doesn't work. I searched for a message I sent last week and it wasn't
  found. Searching for my name turns up some messages I sent several
  months
  ago but no recent ones.
 
  Google Groups work much better than Yahoo Groups. Information is easier
  to
  find, and search works. I wish this group were hosted on Google instead
  of
  Yahoo.
 
 
 
  
 
  --
  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] AIR html component

2009-07-28 Thread Sam Lai
browser.domWindow where browser is the mx:HTML component.

Don't know if you can call them via that interface though; maybe the
'javascript:my_js_function()' in the location bar trick works?

2009/7/29 hworke kanps...@gmail.com:


 Hi if I load www.google.com in a HTML component
 like this mx:HTML id=html location=http://www.google.com;

 then how can I access the JavaScript functions in the
 google page?



 

 --
 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] newbie question : putting a semicolon in a mxml property

2009-07-12 Thread Sam Lai
Not if there is just a single line of script within the quotation
marks. If you wanted to do something like this though,

mx:Button label=some label click=t1.text = t2.text;
doSomethingElse(); t3.visible = false; /

Then you do need the semi-colons. Most people just have the semi-colon
there out of habit from when they write AS in .as files or within the
mx:Script tags (they are needed in those cases).

2009/7/12 ew6014 ew6...@yahoo.com:
 hi guys

 i was reading the flex documentation and i noticed a ; inside a mxml property

 let me give you an example

 mx:Button label=some label click=t1.text = t2.text; /

 ive tried removing the semicolon ;  and also tried leaving it there and there 
 was no error of any kind.

 so im just wondering if this will cause issues or is something going on that 
 i do not know

 thank you guys in advance



 

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

2009-07-09 Thread Sam Lai
Doesn't GWT do something similar, converting the necessary Java code
to Javascript? Maybe that part can be reused as AS code. Granted, you
will lose the typing in the validation code, but I would presume that
GWT would've thought about that and mitigated the security issues
there?

P.S. Silverlight can do this, for obvious reasons.

2009/7/9 Tom Chiverton tom.chiver...@halliwells.com:


 On Wednesday 08 Jul 2009, Tim Rowe wrote:
 Does anyone happen to know of any JSR223 (Java platform scripting)
 implementation(s) of ActionScript for dynamic use? I'm currently looking
 through a lot of our business data validation logic which is implemented
 in
 two places arguably unnecessarily - both on the front-end in AS and then
 again on the back-end in Java.

 Isn't that a good idea ? In theory anyone could write a replacement
 front-end
 and call your services, so you should validate the business rules there. At
 the same time, you don't want to round-trip to provide feedback to the user,
 so the rules have to be in the front end too.
 I would argue the front end rules would be more relaxed, and probably not
 aware of the full security context, however.

 --
 Helping to assertively cultivate high-end wireless intuitive models 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.

 


Re: [flexcoders] Actionscript on JSR223

2009-07-09 Thread Sam Lai
A hack would be to use the GWT code and Flash's ExternalInterface to
validate via the Javascript produced by GWT and loaded in the browser.

I don't know how much you have to commit to GWT before you can use it
though; haven't used it before.

2009/7/10 Sam Lai samuel@gmail.com:
 Doesn't GWT do something similar, converting the necessary Java code
 to Javascript? Maybe that part can be reused as AS code. Granted, you
 will lose the typing in the validation code, but I would presume that
 GWT would've thought about that and mitigated the security issues
 there?

 P.S. Silverlight can do this, for obvious reasons.

 2009/7/9 Tom Chiverton tom.chiver...@halliwells.com:


 On Wednesday 08 Jul 2009, Tim Rowe wrote:
 Does anyone happen to know of any JSR223 (Java platform scripting)
 implementation(s) of ActionScript for dynamic use? I'm currently looking
 through a lot of our business data validation logic which is implemented
 in
 two places arguably unnecessarily - both on the front-end in AS and then
 again on the back-end in Java.

 Isn't that a good idea ? In theory anyone could write a replacement
 front-end
 and call your services, so you should validate the business rules there. At
 the same time, you don't want to round-trip to provide feedback to the user,
 so the rules have to be in the front end too.
 I would argue the front end rules would be more relaxed, and probably not
 aware of the full security context, however.

 --
 Helping to assertively cultivate high-end wireless intuitive models 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.

 



Re: [flexcoders] Re: Flash MiniBuilder: online AS3 IDE

2009-07-07 Thread Sam Lai
I guess Victor fixed a few things after you tried it valdhor, because
it works fine for me. I'm using Chrome and I believe the release
player though, so that might be why.

Pretty cool, would be nice to have a bit more response from the
compiler when compiling though.

What are the big plans for this, apart from being a cool proof of concept?

2009/7/8 valdhor valdhorli...@embarqmail.com:


 On going to that page I get...

 VerifyError: Error #1033: Cpool entry 58 is wrong type.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_TextArea_disabledImage is not defined.
 ReferenceError: Error #1065: Variable OrangeLookAndFeel_Button_defaultImage
 is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_TableHeader_cell_rolloverImage is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_Frame_maximizeIcon_rolloverImage is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_SplitPane_arrowUp_defaultImage is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_TabbedPane_arrowRight_rolloverImage is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_ScrollBar_arrowLeft_disabledImage is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_ScrollBar_thumbVertical_iconDisabledImage is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_SplitPane_arrowLeft_rolloverImage is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_RadioButton_pressedImage is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_TabbedPane_closeButton_pressedImage is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_ToggleButton_pressedImage is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_Frame_maximizeIcon_defaultImage is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_ProgressBar_horizotalFGImage is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_TextField_uneditableImage is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_SplitPane_arrowRight_defaultImage is not defined.
 ReferenceError: Error #1065: Variable OrangeLookAndFeel_System_hResizeCursor
 is not defined.
 ReferenceError: Error #1065: Variable
 OrangeLookAndFeel_CheckBox_disabledImage is not defined.

 plus hundreds more.

 I finally gave up.

 --- In flexcoders@yahoogroups.com, Victor D. bras_...@... wrote:

 This project, currently named ActionScript MiniBuilder, features
 code assist (code completion) for ActionScript 3 and compilation of
 one-file AS3 SWF. It runs in your browser, you only need Flash Player
 10 and Java. The code assist part is written in pure ActionScript. The
 compiler runs in a Java applet.

 Check it out:
 http://www.victordramba.com/?p=31



 


Re: [flexcoders] Re: dynamic image gallery

2009-07-05 Thread Sam Lai
Add a Label to thumbnail.mxml and show the image path to see that it
is getting that. Then hard-code an image path in thumbnail.mxml. This
will help you isolate the problem.

2009/7/6 stinasius stinas...@yahoo.com:
 someone please help point out what am doing wrong in the code. would really 
 appreciate it.



 

 --
 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: dynamic image gallery

2009-07-05 Thread Sam Lai
Does an image appear if you hardcode the image source in thumbnail.mxml?

2009/7/6 stinasius stinas...@yahoo.com:
 i have tried to do as you asked, added a label to the thumbnail.mxml and the 
 labels show up as expected. still haven't seen why those images cant show in 
 the Horizontal list.



 

 --
 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: getting the xml data from a dispatched event

2009-07-03 Thread Sam Lai
It seems like wherever this code is -

[Bindable]
private var customMeals:ArrayCollection = new ArrayCollection;

//throws error on this line
customMeals.addItem((event.target as mealitem).mealDetails);

event.target is actually the panel containing the 'create meal item'
button, as opposed to the mealitem itself. Can you post some more of
the script and MXML for that part?

The src folder is empty for me too in the ZIP file.

2009/7/2 Jason B nos...@advancedonsite.com:
 yes heres the results
 Main0.vsMain.HBox8.VBox968.vsCreateMeals.VBox971.pnlCreateBreakfast.coverflow.Panelcreatemealitem1006

 How can I access the object data, it's in a file thats under the folder 
 /com/nutrition/file.mxml



 --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote:

 I'd add a trace statement just before it to see what type of object
 event.target is - it could be that the target is the UI component, and
 not the data object.

 //throws error on this line
 trace(event.target);
 customMeals.addItem((event.target as mealitem).mealDetails);

 2009/7/2 Jason B nos...@...:
  I've got an problem when the user clicks on button Add to Meal it throws 
  an error because it can't seem to reference the data in mealDetails object 
  inside the com/ directory?
 
  I'm trying to add the item to the list control.
 
  I have the code located here in case you want more details
  http://files.getdropbox.com/u/228472/mealsflex.zip
 
 
  [Bindable]
  private var customMeals:ArrayCollection = new ArrayCollection;
 
  //throws error on this line
  customMeals.addItem((event.target as mealitem).mealDetails);
 
 
 
 
  ?xml version=1.0 encoding=utf-8?
  mx:Panel xmlns:mx=http://www.adobe.com/2006/mxml; width=310 
  height=320
          title={mealDetails.title} horizontalAlign=center
 
 
         mx:Metadata
                 [Event(name=addToMeal)]
                 [Event(name=learnAboutThis)]
         /mx:Metadata
 
         mx:Script
                 ![CDATA[
                         import mx.controls.Alert;
 
                         [Bindable]
                         public var mealDetails:Object;
 
 
                         private function calldispatch():void {
                                 parentApplication.createmeals_loadswf_var = 
  mealDetails.swf;
                                 dispatchEvent(new Event('learnAboutThis', 
  true));
 
                         }
 
                 ]]
         /mx:Script
 
         mx:Image source={'/uploads/nutrition/' + mealDetails.imgsource } 
  width=285 height=159/
 
         mx:Label text={mealDetails.serving}/
 
         mx:Button label=Add to Meal click=dispatchEvent(new 
  Event('addToMeal', true))/
 
         mx:Button label=Learn About This click=calldispatch()/
 
  /mx:Panel
 
 
 
 
  
 
  --
  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] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-03 Thread Sam Lai
I just wrote up a simple C# web service that accepts an ArrayList:

[WebMethod]
public bool ArrayListTest(System.Collections.ArrayList a)
{ ... }

Then in Flex I wrote this,

mx:Script
![CDATA[
import mx.collections.ArrayCollection;
private function sendWebServiceCall():void
{
trace(appComplete);
ws.ArrayListTest(new ArrayCollection([ 
{name:bob, id:808 }, {
name:fred, id: }]));
}
]]
/mx:Script
mx:WebService wsdl=http://localhost:63868/Service1.asmx?WSDL; id=ws
mx:operation name=ArrayListTest result=trace(event.result)
 fault=trace(event.fault.faultString)/
/mx:WebService

When sendWebServiceCall is triggered, it calls the C# web service and
passes the ArrayCollection to it.

In the web service, the ArrayCollection is received as an array list
of XmlNodes. Each XmlNode contains a node for each field, even if it
is an empty string.

tns:id xmlns:tns=http://tempuri.org/;808/tns:id
tns:name xmlns:tns=http://tempuri.org/;bob/tns:name

tns:id xmlns:tns=http://tempuri.org/;/tns:id
tns:name xmlns:tns=http://tempuri.org/;fred/tns:name

Is this anything like what you're getting? The edge case you described
in another email about an empty string causing problems doesn't seem
to cause problems.

Also see inline.

2009/7/3 Angelo Anolin angelo_ano...@yahoo.com:
 I think by doing things like this, it may not be the best way.

 You mentioned you'd map the XML to typed objects in .NET.  How can I do
 this?

As you're using a dataset, this isn't really an option. A dataset as
opposed to a collection of typed objects are two ways of handling data
from data sources; it is arguable which way is better.

The problem in your case, is that the XML generated as a result of
passing an ArrayCollection to a web service method cannot be passed
into the dataset's readXml method. (Even if it could by inferring a
schema, it would be different to your database's schema.)

The only way I know of to do seamless transfer of data without having
to parse XML is to use WebORB. Otherwise you will have to parse the
XML produced on both sides to re-create the dataset/object.

 Instead of using arraycollection as dataprovider in my datagrid, can I use
 another which would be much easier when I pass back to the .NET function?

I wonder if it is possible to bind your datagrid directly to the e4x
XML? That way you can pass the entire XML doc back to .NET via the web
service, and hence you can re-create the dataset using
dataset.readXML.

 
 From: Sam Lai samuel@gmail.com
 To: flexcoders@yahoogroups.com
 Sent: Friday, 3 July, 2009 13:52:12
 Subject: Re: [flexcoders] ArrayCollection Does Not Show Items In Order When
 Passed to .NET WebService

 Instead of using an array list and trying to emulate the type-less
 abilities of AS3, I'd try to map the XML to typed objects in .NET. Or
 does the XML from your Flex app differ too wildly to do this?

 Are you using the XmlSerializer to deserialize this? Or are you using
 WCF? Or are you doing it some other way, or manually?

 I'd provide an example, but I don't know enough details on your
 situation to give something useful :)

 2009/7/3 Angelo Anolin angelo_anolin@ yahoo.com:


 Hi Sam,

 Care to show some examples? I am parsing the arrayCollection into an
 ArrayList on .NET.  This is particularly not too appealing since I just
 discovered that for example, if one of the objects in the arraycollection
 would have an empty string value, the number of items inside the array is
 not reflected properly in .NET.

 Like:

 private var arrR:ArrayCollectio n = new ArrayCollection( [{ID:001 ,
 Value:Select },
 {ID:002,
 Value:Choose },
     {ID:003,
 Value:},]) ;

 When I pass this var arrR into a .NET webservice and delegate it to an
 ArrayList, the items in the array list will have one of the arrays only
 containing 1 item (instead of 2).

 Adding to my problem is the fact that the arrays inside the array list
 when
 read in .NET should have the object ID and Value be in order but they are
 not.  This is further true when there are many items in the array
 collection.  Sometimes, the first item becomes the last one in the array
 list, and sometimes the order is not well.

 In any case, I am finding a solution on how I would be able to pass an
 ArrayCollection to .NET and be able to parse it properly.

 Thanks.

  _ _ __
 From: Sam Lai samuel@gmail. com
 To: flexcod...@yahoogro ups.com
 Sent: Thursday, 2 July, 2009 15:46:58
 Subject: Re: [flexcoders] ArrayCollection Does Not Show Items In Order
 When
 Passed to .NET WebService

 How is it being parsed in .NET? You can parse it into a hashtable, or
 better yet, use a pre-defined object.

 Not sure why the order

Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-02 Thread Sam Lai
How is it being parsed in .NET? You can parse it into a hashtable, or
better yet, use a pre-defined object.

Not sure why the order is different, but it is probably fragile to
rely on the order in this case.

2009/7/2 Angelo Anolin angelo_ano...@yahoo.com:


 Hi FlexCoders,

 I have an array collection which I am populating as follows:

 var oTemp:Object;
 var xl:XMLList = _xmlData.children();
 var i:int;
 for(i = 0; i  xl.length(); i++)
 {
  oTemp = {ID_TAG:xl[i].ID.text(), CAT_TAG:xl[i].CAT.text(),
 DET_TAG:xl[i].DET.text(), REP_DATE_TAG:xl[i].REP_DATE.text(),
 IND_TAG:xl[i].IND.text()};
  arrDP.addItem(oTemp);
 }
 Now, when I pass back this Array Collection back into a web service, the
 fields are not in order as I have added them into the array collection.

 I am expecting that in my Web Service, when I parse this arraycollection
 (via arraylist), I would be getting the same order of columns as I have
 added them, i.e. the first array in the array list would have element 0 to
 be the value I placed in the ID.

 Since the arraylist does not have the field tag (represented by ID_TAG,
 DET_TAG, CAT_TAG, etc..), it becomes a trial and error (hit and miss) on my
 part since I can only reference the value via the index on the array.

 Now, how would I be able to include the tags inside array collection such
 that when I read them as an array list in my .NET webservice, I know which
 element I am referring to in a particular index.

 Thanks.

 Regards,
 Angelo


 


Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-02 Thread Sam Lai
Instead of using an array list and trying to emulate the type-less
abilities of AS3, I'd try to map the XML to typed objects in .NET. Or
does the XML from your Flex app differ too wildly to do this?

Are you using the XmlSerializer to deserialize this? Or are you using
WCF? Or are you doing it some other way, or manually?

I'd provide an example, but I don't know enough details on your
situation to give something useful :)

2009/7/3 Angelo Anolin angelo_ano...@yahoo.com:


 Hi Sam,

 Care to show some examples? I am parsing the arrayCollection into an
 ArrayList on .NET.  This is particularly not too appealing since I just
 discovered that for example, if one of the objects in the arraycollection
 would have an empty string value, the number of items inside the array is
 not reflected properly in .NET.

 Like:

 private var arrR:ArrayCollection = new ArrayCollection([{ID:001,
 Value:Select},
 {ID:002,
 Value:Choose},
     {ID:003,
 Value:},]);

 When I pass this var arrR into a .NET webservice and delegate it to an
 ArrayList, the items in the array list will have one of the arrays only
 containing 1 item (instead of 2).

 Adding to my problem is the fact that the arrays inside the array list when
 read in .NET should have the object ID and Value be in order but they are
 not.  This is further true when there are many items in the array
 collection.  Sometimes, the first item becomes the last one in the array
 list, and sometimes the order is not well.

 In any case, I am finding a solution on how I would be able to pass an
 ArrayCollection to .NET and be able to parse it properly.

 Thanks.

 
 From: Sam Lai samuel@gmail.com
 To: flexcoders@yahoogroups.com
 Sent: Thursday, 2 July, 2009 15:46:58
 Subject: Re: [flexcoders] ArrayCollection Does Not Show Items In Order When
 Passed to .NET WebService

 How is it being parsed in .NET? You can parse it into a hashtable, or
 better yet, use a pre-defined object.

 Not sure why the order is different, but it is probably fragile to
 rely on the order in this case.

 2009/7/2 Angelo Anolin angelo_anolin@ yahoo.com:


 Hi FlexCoders,

 I have an array collection which I am populating as follows:

 var oTemp:Object;
 var xl:XMLList = _xmlData.children( );
 var i:int;
 for(i = 0; i  xl.length(); i++)
 {
  oTemp = {ID_TAG:xl[i] .ID.text( ), CAT_TAG:xl[i] .CAT.text( ),
 DET_TAG:xl[i] .DET.text( ), REP_DATE_TAG: xl[i].REP_ DATE.text( ),
 IND_TAG:xl[i] .IND.text( )};
  arrDP.addItem( oTemp);
 }
 Now, when I pass back this Array Collection back into a web service, the
 fields are not in order as I have added them into the array collection.

 I am expecting that in my Web Service, when I parse this arraycollection
 (via arraylist), I would be getting the same order of columns as I have
 added them, i.e. the first array in the array list would have element 0 to
 be the value I placed in the ID.

 Since the arraylist does not have the field tag (represented by ID_TAG,
 DET_TAG, CAT_TAG, etc..), it becomes a trial and error (hit and miss) on
 my
 part since I can only reference the value via the index on the array.

 Now, how would I be able to include the tags inside array collection such
 that when I read them as an array list in my .NET webservice, I know which
 element I am referring to in a particular index.

 Thanks.

 Regards,
 Angelo






 


Re: [flexcoders] The Blueprint Eclipse plug-in is live on Adobe Labs

2009-07-01 Thread Sam Lai
I'm surprised at the lack of reaction for this on this list.

I'm impressed - looks to be quite useful; just need to add it into my workflow.

The examples are good when dealing with completely unfamiliar classes,
but I often forget what a certain property/method in a certain class
does/returns, and the code hinting/completion in FB3 isn't very
helpful most of the time.

It would be neat if there could be a quick shortcut button to switch
between examples and a condensed version of the flex class reference
(allow me to select if multiple classes are relevant), similar to how
Netbeans and to a lesser extent Eclipse Java works. That would save me
a lot of time going back and forth between FB3 and my browser as I do
now.

2009/6/23 jrunrandy ranie...@adobe.com:
 If you get a minute, please check out Blueprint, which we released on
 Adobe Labs a couple of weeks ago. Blueprint is an innovative code-centric
 search application, initially delivered as an Eclipse plug-in.

 It is a custom search tool that searches only for code (for now, it
 searches just for MXML and ActionScript). So, for example, if you
 search for DataGrid, it returns a set of code examples that use the
 Flex DataGrid control. But what's really cool is that you can easily
 highlight, copy, and paste chunks of code right into your
 application, all without leaving Flex/Flash Builder.

 For more information, see the Blueprint page
 (http://labs.adobe.com/technologies/blueprint/) on Adobe Labs

 (FYI, Blueprint now works for Flex Builder 3 and Flash Builder 4)

 Regards,
 Randy Nielsen
 Flex Doc Manager




 

 --
 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] getting the xml data from a dispatched event

2009-07-01 Thread Sam Lai
I'd add a trace statement just before it to see what type of object
event.target is - it could be that the target is the UI component, and
not the data object.

//throws error on this line
trace(event.target);
customMeals.addItem((event.target as mealitem).mealDetails);

2009/7/2 Jason B nos...@advancedonsite.com:
 I've got an problem when the user clicks on button Add to Meal it throws an 
 error because it can't seem to reference the data in mealDetails object 
 inside the com/ directory?

 I'm trying to add the item to the list control.

 I have the code located here in case you want more details
 http://files.getdropbox.com/u/228472/mealsflex.zip


 [Bindable]
 private var customMeals:ArrayCollection = new ArrayCollection;

 //throws error on this line
 customMeals.addItem((event.target as mealitem).mealDetails);




 ?xml version=1.0 encoding=utf-8?
 mx:Panel xmlns:mx=http://www.adobe.com/2006/mxml; width=310 height=320
         title={mealDetails.title} horizontalAlign=center


        mx:Metadata
                [Event(name=addToMeal)]
                [Event(name=learnAboutThis)]
        /mx:Metadata

        mx:Script
                ![CDATA[
                        import mx.controls.Alert;

                        [Bindable]
                        public var mealDetails:Object;


                        private function calldispatch():void {
                                parentApplication.createmeals_loadswf_var = 
 mealDetails.swf;
                                dispatchEvent(new Event('learnAboutThis', 
 true));

                        }

                ]]
        /mx:Script

        mx:Image source={'/uploads/nutrition/' + mealDetails.imgsource } 
 width=285 height=159/

        mx:Label text={mealDetails.serving}/

        mx:Button label=Add to Meal click=dispatchEvent(new 
 Event('addToMeal', true))/

        mx:Button label=Learn About This click=calldispatch()/

 /mx:Panel




 

 --
 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] ArrayCollection/Min Max Problem

2009-06-30 Thread Sam Lai
Maybe your trace statement is in the wrong place? Seeing your code
would help in solving the problem.

Another way to solve these problems is to sort the data (sub)set, then
just pull the first and last elements. Depending on what you want to
do with the data after, this may be faster.

2009/7/1 Sherif Abdou sherif...@yahoo.com:


 I have an array collection and I am trying to find the Min/Max of the values
 in groups. For Example my array collection has 100 values. I want to find
 the Min Value/Max Value between 1 to 26, 2 to 27, 3 to 28 , etc I tried
 to create 2 for loops in each other but for some reason during
 debugging/tracing it outputs wrong numbers, but if i do breakpoint then step
 in. I get the correct values. So the question is is there a better way than
 what i am doing. I am just trying to create a Stochastic formula.



 


Re: [flexcoders] (SOT) Opportunity for FB ? (Hey! Adobe !)

2009-06-19 Thread Sam Lai
I highly doubt this will happen, mainly because the flagship user of
bugzilla is Mozilla, a web browser company with deep investments in
HTML5, CSS and JS. Their community probably wouldn't be very receptive
either.

From a personal perspective, I don't think it is a good idea either -
Flash UIs generally aren't good at conveying large amounts of
information. Those that are basically replicate HTML UIs, which
defeats the purpose.

What I'd like to see is Flash being used for visualisations of bug
histories, bugs in components, bug response time statistics etc. Of
course, Mozilla will likely lean to SVG/JS for that, but nevertheless,
that is an area where using Flash would be appropriate.

2009/6/19 Brad Bueche brad.bue...@gmail.com:


 I've been reading up on Bugzilla and it is frequently mentioned that its UI
 is not the most intuitive or easy to use in the world.

 Well if one needs an improved UI experience,  is not FB the answer!?  Well
 really, the SDK in this case.  Although, I guess, anything you do in FB,
 outside of the data visualization, can be updated in the SDK, right?

 Is this a good opportunity for Adobe to greatly improve an open source tool
 with their open source solution?  To me,  it seems like there is significant
 opportunity to show off many of the features of 4.x. in a highly targeted
 market.

 Anyway, just a thought, maybe I'm way off base.  (Then again, I'm always
 late to the party with the flexcoders group,  so maybe somebody is already
 working on it).   However, if you do decide to do it, Adobe, see if you can
 add some built in integration with Subversion (in keeping with being a major
 contributor to the open source community).

 brad


 


Re: [flexcoders] Subversive Client install on full FB3

2009-06-14 Thread Sam Lai
You need to get the URL to the automatic configuration script, then
put that into a web browser. Depending on your browser, you will
either have to download it then open it in notepad, or it will just
display it.

The script is basically javascript, telling the browser which proxy
address *and port* to use for what URLs. Generally, the last rule is
the one for 'everything else' (i.e. not internal or special
exceptions), so grab the proxy address and port from there and put it
into Eclipse. It will be either an IP or a host address, and a port,
usually 8080.

You may also need to add the exceptions in later if your SVN repo is
on an internal server inaccessible from the outside world.

2009/6/15 Brad Bueche brad.bue...@gmail.com:


 Sorry to ask this here but I have searched everywhere over a period of
 months and I cant find an answer.

 If I install flex builder 3 (full install) at home, and bring it up, I can
 connect to the cfeclipse updater and subversive updater in a hearbeat.

 However, I need to really use subversive and fb at work not at home.  And I
 can not figure out how to get the fb3 eclipse to connect to ANY update
 site.  I have to keep installing everything manually.  Well the manual
 install for subversive does not seem to work because they wont -- for
 license reasons -- put the SVN connectors in the main build and I cant get
 the manual install of those to work.

 I'm getting to the point where I really, really, need version control and
 this is really beginning to slow me down.

 Every time I try to do a software update eclipse either gives me the this:

 Error Parsing Stream [Premature end of file]

 We do use a proxy at work.  I have put the the proxy server config into the
 Eclipse-General-Network preferences but this does not seem to work.  I
 notice that Eclipse has a setting for port but we dont specifically use port
 in our proxy setting.  Additionally, in IE the proxy says Use AUTOMATIC
 Configuration script whereas Eclipse's set up just says Manual Proxy
 Configuration.

 What am I missing here?

 brad


 


Re: [flexcoders] Charting dataFunction issues

2009-06-12 Thread Sam Lai
Can you try removing some of those series to isolate the problem?
Also, can we see the console output from the trace statements in
seriesDataFunction?

Maybe the values are out of bounds? Some sample data would be useful
too if that's possible.

2009/6/12 Jake Churchill j...@cfwebtools.com:


 Charting people, please help!



 I’m using examples right out of Adobe’s guides and several other guides I’ve
 found online on how to use a series dataFunction.  The issue is that when I
 try to use the dataFunction, I get nothing.  The Series doesn’t display at
 all.  When I go back to using yField, everything is fine.  Below is the MXML
 for the chart and series.  The dataprovider is an ArrayCollection of VO’s
 with the following properties:



 public var ceiling:Number;

 public var costOfProd:Number;

 public var cropProfileID:Number;

 public var floor:Number;

 public var historyDt:Date;

 public var insGuarantee:Number;

 public var revenue:Number;



 Here is the dataFunction that I’m using (straight out of an example from
 http://flexdiary.blogspot.com/2008/08/charting-example.html) which I changed
 to work with my data:



 public function seriesDataFunction( series:Series,
 item:UserRevenueHistoryVO, fieldName:String ):Object

 {

     var returnValue:Object = null;

     switch( fieldName )

     {

     case xValue:

     returnValue =
 item.historyDt;

     break;

     case yValue:

     returnValue = 25;

     break;

     case minValue:

     returnValue = item.ceiling;

     break;

     }

     trace(fieldName +   + returnValue);



     return returnValue;

 }



 Finally, here’s the chart code.  The Line Series work fine because I’m using
 yField.  If I switch the AreaSeries to yField instead of dataFunction, they
 work as well but I need to do some work with the ceiling data in this case.



 mx:CartesianChart


 id
 = chart


 width
 = 100%


 height
 = 100%


 showDataTips
 = true


 dataProvider
 = {Model.instance.acUserRevenueHistory}

     

     mx:series

     mx:AreaSeries


 id    =
 floorSeries


 showDataEffect    = {seriesEffect}


 displayName  = Floor


 form  = step


 dataFunction = dataFunc

     


 mx:areaStroke


 mx:Stroke


 weight  = 1


 alpha = 100


 color  = 0x00


 /


 /mx:areaStroke


 mx:areaFill

     mx:SolidColor

     color=0xE9E4C7

     alpha=1

     /

     /mx:areaFill



     /mx:AreaSeries

     mx:LineSeries


 id    =
 revenueSeries


 showDataEffect    = {seriesEffect}


 displayName  = Actual Revenue


 form  = curve


 yField    = revenue

     


 mx:lineStroke


 mx:Stroke


 weight  = 2


 alpha = 100


 color  = 0x00


 /


 /mx:lineStroke

     /mx:LineSeries

     mx:LineSeries


 id    =
 costOfProductionSeries


 showDataEffect    = {seriesEffect}


 displayName  = Cost of Production


 yField    = costOfProd

     


 mx:lineStroke


 mx:Stroke


 weight  = 1


 alpha = 100


 color  = 0x00


 /


 /mx:lineStroke

     /mx:LineSeries

     mx:LineSeries


 id    =
 insuranceGuaranteeSeries


 showDataEffect    = {seriesEffect}


 displayName  = Insurance Guarantee


 yField    = insGuarantee

     


 

Re: [flexcoders] Read HTML content ???

2009-06-11 Thread Sam Lai
You can access the HTML DOM of that page like this, and get whatever
you want, just like you can in JS:

var forms:* = browser.domWindow.document.getElementsByTagName(form);
var loginForm:* = null;
for each (var f:* in forms)
{
if (f.innerText.toLowerCase().indexOf(login) = 0)
{
loginForm = f;
break;
}
}

This code gets the form on the page with the text login.

2009/6/11 lehaianh1986 lehaianh1...@yahoo.com:
 Hi everyone, I use HTML component in AIR project. When HTML component display 
 the website, I want to read text content of that website. I find but can't 
 see the attribute have what I want. Anyone know about it can help me please?

 Hai Anh



 

 --
 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: Flex and Reporting

2009-06-09 Thread Sam Lai
Is FlashPaper still supported? Never actually used it, not quite sure
how it works, just that it lets you view documents inside of Flash.

2009/6/10 Tim Hoff timh...@aol.com:

 Crystal Reports is great for generating data driven .Net reports.  But,
 if you wanted to generate a wysiwyg type of report, that mirrors what
 the user sees in the flex app, you're going to run into a lot of
 problems.  AlivePDF is good for simple client-side pdf report
 generation.  However, IMHO, its not quite mature enough of a product
 yet, to be a robust solution for enterprise reporting.  So, that leaves
 you with using a server-side solution, like Jasper reports of FOP
 (java), or bite the bullet and spring for LCDS or WebOrb.  It's funny,
 most clients scream for high-fidelity PDF reporting.  But, when they see
 the price tag for the last two solutions, they often choose to go
 without.

 There is a way to display a PDF in Air.  For Flex, you might be able to
 hack some kind of iFrame solution, but I haven't heard of anyone that
 has pulled that off yet.

 -TH

 --- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@...
 wrote:

 Some updates on this.

 I was able to generate a Crystal Report for this where the Flex
 application opens up in another browser the PDF file which was generated
 by the report. That would suffice for the moment, although I would still
 love to hear about possible reporting options integrated inside the Flex
 application.

 By the way, is there a way to display PDF file on Flex itself?

 Thanks and regards.

 Angelo




 
 From: Richard Rodseth rrods...@...
 To: flexcoders@yahoogroups.com
 Sent: Friday, 5 June, 2009 0:20:45
 Subject: Re: [flexcoders] Flex and Reporting





 Unfortunately, I don't think there's a great story yet. If an AIR
 application is an option for you, you may have more options.

 For PDF creation, there's the AlivePDF library, but I'm not aware of
 anything to render a PDF within a SWF (short of sending the pages to
 the server for rendering as images).

 On Thu, Jun 4, 2009 at 12:58 AM, Angelo Anolin angelo_anolin@
 yahoo.com wrote:
 
 
  Hi everyone,
 
  I am totally amazed at the cool front-end UI things that could be
 done in
  Flex. I have been dabbling a lot on Flex and steadily getting the
 hang of
  it.
 
  Anyway, one thing which I am looking for is on creating and printing
  reports. I am looking for some resources on how to achieve such
 things,
  like:
 
  1. Datagrid - creating a pdf file, open up in the swf application as
 well.
  2. Crosstab reports
  3. Executive summaries
  4. Free-Form reports
 
  Basically, am looking on how I would be able to design/generate
 reports
  which could be used in a Flex application.
 
  I would certainly welcome advise and feedback on this. Resources for
 further
  explorations on reporting would also be appreciated.
 
  Thanks.
 






 

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






Re: [flexcoders] Flex and .NET

2009-06-07 Thread Sam Lai
2009/6/8 Angelo Anolin angelo_ano...@yahoo.com:

 I feel that this is probably not the BEST way of doing this.  I tried
 initially to pass an XML delimmited string, but .NET seems to read XML
 differently(?) from Flex.

I'd say XML would be a good way of doing it. What kind of errors are
you getting, and how are you making the web service call?

The other option is to use AMF, a native messaging format for
Flash/Flex. This I believe would save you the effort of serializing
and deserializing - it does it for you, among other things.

http://www.themidnightcoders.com/products/weborb-for-net/overview.html


Re: [flexcoders] Flex and .NET

2009-06-07 Thread Sam Lai
Considering the time required for serialization/deserialization, using
something like webORB would improve parsing time, as it uses a binary
format which can be parsed more easily than a text format. But unless
you're using large datasets/doing lots of web service calls, the
advantages are probably negligible.

Are you transmitting everything in the array collection back to the
web service, or just the IDs of the selected rows? Transferring
everything including the row data would remove the need for another
database hit, but for large datasets, that could be quite a bit of
traffic. I'd say it would be better just to transmit the IDs back to
the webservice, and let the webservice hit the database for the row
data (some caching on the server-side would help too).

2009/6/8 Angelo Anolin angelo_ano...@yahoo.com:



 Hi Sam,

 Thanks for your reply.

 As of now, I actually prefer to utilize what I know on .NET and what I am
 learning on Flex. Adding another utility (Web Orb) in my learning process
 may complicate things a bit.  I might consult this later if I feel that the
 needs for is getting tremendous.

 Anyway, I am actually able to generate the report from what I am currently
 doing (no error encountered), where the ArrayCollection I am parsing into a
 delimited string, passing the string to the webservice call, and letting the
 webservice de-serialize the string to populate a Crystal report document
 which I subsequentlt display in another browser window which I call from the
 Flex application.

 I mentioned that I did not feel it is the BEST way because I am literally
 storing all datagrid (report) information in a string variable.  Assuming
 for example that the data displayed in the datagrid is quite huge, then
 creating the delimited string would take some time and additional processing
 time could also be consumbed by the back end web service to parse the string
 and populate the report.

 As of now, this is what the application does.
 1. Flex App calls a webservice to retrieve data.
 2. WebService responds by sending back a dataset which is returned as a
 string (via Dataset.GetXML method of .NET).
 3. Flex App gets the service response, converts the string into an XML.
 4. Flex App converts the XML data into an ArrayCollection which is bound to
 the datagrid.
 * Please note that I used array collection here for the search/filter
 functionality of the datagrid.
 5. When generating print out of the data displayed in the datagrid, Flex
 would then serialize the ArrayCollection into a delimited string and send it
 to the web service.
 6. Web Service would then de-serialize (or parse) the string, populate a
 .NET dataset which is the datasource for the Crystal report.
 7. Crystal report is bound and PDF report is generated.
 8. Flex displays via external javascript call the PDF report generated.

 Is there a better way for the ArrayCollection to be sent to the webservice,
 the webservice in turn would just convert it to dataset and the dataset is
 immediately bound to the Crystal report?

 Thanks.

 Regards,

 Angelo
 
 From: Sam Lai samuel@gmail.com
 To: flexcoders@yahoogroups.com
 Sent: Monday, 8 June, 2009 8:49:36
 Subject: Re: [flexcoders] Flex and .NET

 2009/6/8 Angelo Anolin angelo_anolin@ yahoo.com:

 I feel that this is probably not the BEST way of doing this.  I tried
 initially to pass an XML delimmited string, but .NET seems to read XML
 differently( ?) from Flex.

 I'd say XML would be a good way of doing it. What kind of errors are
 you getting, and how are you making the web service call?

 The other option is to use AMF, a native messaging format for
 Flash/Flex. This I believe would save you the effort of serializing
 and deserializing - it does it for you, among other things.

 http://www.themidni ghtcoders. com/products/ weborb-for- net/overview. html



 


Re: [flexcoders] May I install Flex 3 builder and new Flash builder in same computer

2009-06-01 Thread Sam Lai
You can install a separate copy of Flash Builder 4 standalone and it
will remain separate from any Flex Builder 2 or 3 installations. Also,
workspaces created in Flex Builder 2 or Flex Builder 3 are not
supported by Flash Builder 4. Lastly, Flash Builder 4 can import
existing Flex Builder projects, but a project that has its settings
modified by Flash Builder 4 will no longer open in Flex Builder 3 or
Flex Builder 2.

It is still a beta btw.

2009/6/1 markflex2007 markflex2...@yahoo.com:
 New Flash Builder just come out.May I install it with Flex Builder 3?

 Thanks

 Mark



 

 --
 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] AIR Computer Locking

2009-06-01 Thread Sam Lai
Should probably check to see if that point is still valid everytime
too, in case I'm on a dual monitor setup with the external monitor
being the primary one, then standby the machine, yank out the external
monitor then resume.

I wonder what you could do if I don't unlock my machine immediately
and a notification comes in. The previous saved point would be
invalid, but if you grab the point now, it wouldn't recognize the task
bar.

(never actually tested this, just thinking this through.)

On 6/2/09, Jake Churchill j...@cfwebtools.com wrote:
 That's how I'm going to work around it.  I just thought it'd be cool if
 there was a way to natively grab certain system info (outside of the network
 stuff)



 Jake Churchill
 CF Webtools
 11204 Davenport, Ste. 100
 Omaha, NE  68154
  http://www.cfwebtools.com http://www.cfwebtools.com
 402-408-3733 x103

 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Rick Winscot
 Sent: Monday, June 01, 2009 3:02 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] AIR  Computer Locking








 What are your 'couple ways around this problem.' Are you thinking of using
 system idle?

 Is there a direct (easy) way to do this? None that I know of... typically
 these kinds of operations require a system call which would be OS specific
 and wouldn't be available to AIR without significant effort.

 Is there any reason you can't capture that point when the application starts
 and then re-use it for subsequent notifications?

 Cheers,

 Rick Winscot



 On 6/1/09 3:37 PM, Jake Churchill j...@cfwebtools.com wrote:






 Anyone know how to recognize if a computer is locked or not (Windows XP) in
 AIR?

  I have an app that runs on the taskbar by the time. It periodically
 displays notifications which are placed at the bottom right of the screen.
 I get that position using Screen.mainScreen.visibleBounds.  This works just
 fine when the computer is unlocked.  However, when the computer is locked,
 the visibleBounds does not recognize the existence of the taskbar, so when I
 unlock the computer, half the notification is below the task bar.

 I can think of a couple ways around this problem, I just wanted to know if
 there was an easy way to find out if the computer is currently locked or
 not.

 Jake Churchill
 CF Webtools
 11204 Davenport, Ste. 100
 Omaha, NE  68154
 http://www.cfwebtools.com http://www.cfwebtools.com
 402-408-3733 x103







 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.5.339 / Virus Database: 270.12.48/2148 - Release Date: 06/01/09
 06:09:00



-- 
Sent from my mobile device


Re: [flexcoders] Flex Coding Standards

2009-05-24 Thread Sam Lai
The conventions/standards/guidelines for Flex SDK are here -
http://opensource.adobe.com/wiki/display/flexsdk/Coding+Conventions


2009/5/25 Romeo Obane ro...@vhubs.com:


 Hope this
 helps http://blog.dclick.com.br/2007/02/13/adobe_flex_coding_guidelines_english/pt/
 I'm currently basing my coding standards from there :)
 On Sun, May 24, 2009 at 2:04 PM, Angelo Anolin angelo_ano...@yahoo.com
 wrote:



 Hi FlexCoders,

 Would someone be kind enough to share their coding standards relative to
 flex development?

 I am starting Flex and I would want to at least follow good standard(s)
 especially on coding side.

 Thanks and best regards.

 Angelo






 


Re: [flexcoders] NEED more than 15 menu item in Context Menu ????

2009-05-24 Thread Sam Lai
Is the Flex app loaded in the IE ActiveX control, or the Flash Player
ActiveX control?

If it is IE, any of the tricks to hide the context menu in the normal
IE browser should work.

Never tried doing this myself though.

On 5/23/09, Dharmendra Chauhan chauhan_i...@yahoo.com wrote:
 Thanks Lot for the Reply.
 My FLex Application is not running inside browser , It is running inside DOt
 Net container as a Active X control. the idea you suggested required default
 context menu to be hidden ..is it possible to hide it ? If yes then I Can
 open some custom window on right click and design. I am not sure how
 concrete this idea is..


 --- In flexcoders@yahoogroups.com, Yves Riel r...@... wrote:

 What about intercepting the right-click at the browser level and
 displaying your own contextual menu? However, you might have some
 browser incompatibility to look at.

 http://blog.another-d-mention.ro/programming/right-click-and-custom-cont
 ext-menu-in-flash-flex/

 

 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Dharmendra Chauhan
 Sent: Friday, May 22, 2009 3:03 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] NEED more than 15 menu item in Context Menu 





 Hi,
 I really need to have more than 15 menu item displayed on Context Menu.
 I desperately need some workaround or ideas to achieve this

 My client has invested thousands of dollar in Flex Project, he
 definitely need more than 15 menu item.If this project failed , client
 will NEVER think to invest in flex.


 Had I been aware of this limitation before I would have thought some
 solution by now.This comes as a surprise to me at the last moment ,just
 fews days before Prod Date.

 Pls gents help me get rid of this ...PLEASE provide some ideas.

 Thanks in advance.

 Thanks,
 Dharmendra





 

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





-- 
Sent from my mobile device


Re: [flexcoders] Adobe Flash Help Urgent

2009-05-19 Thread Sam Lai
Instead of stabbing in the dark, try installing Fiddler on the Windows
client machine. It shows you all the calls any browser makes, the HTTP
headers and responses, everything basically.

Then compare the results before and after changing the web server
configuration. If it is anything like what Guy suggested above, you
should be able to see what's causing it. Then you have to work out how
to fix it :)

On 5/19/09, Ron Wagner r...@wagnertechnologies.com wrote:

 On May 19, 2009, at 3:49 AM, saritha wrote:



 I have a web page with external swf file(.swf)in it.
 The external swf file loads images dynamically.
 The files are put up in web server.
 If the web server is not clustered (say it runs in single instance
 mode) the external swf loads properly in Internet Explorer
 6.0,Internet Explorer 7.0 , Firefox 3.0 and Safari 3.0.
 If the web server is clustered(say it runs with mulitple instances)
 the external swf does not load in Internet Explorer 6.0 and Internet
 Explorer 7.0.But it still loads properly in firefox and safari.

 Its has become a show stopper issue.
 Any Help on this would be appreciated.

 Thanks


 I've had to add a base href=http://www.full/path/to/
 html_document.html to get everything to load on Windows. Have you
 checked the webserver error logs to see where it wants to grab the
 missing items from?

 Ron



 

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





-- 
Sent from my mobile device


Re: [flexcoders] Re: Job Offer ! - WTF?!

2009-05-14 Thread Sam Lai
The factory workers must be over the moon that they make the same as
their managers!

On 5/15/09, Wally Kolcz wko...@isavepets.com wrote:
 How funny. pay to apply and make less than most of us already do.

 
 From: valdhor valdhorli...@embarqmail.com
 Sent: Thursday, May 14, 2009 7:22 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Job Offer !

 Amy

 Has someone stolen your identity or are you really spamming the list with
 job offers that have nothing to do with Flex??

 --- In flexcoders@yahoogroups.com, Tiba industry amyblankens...@...
 wrote:





 Tiba industry international is offering a wide range of job offers for
 people living in

 united State,Canada,United Kingdom,South America,Australia and Europe,

 if you are experienced and qualified in the category stated below,

 Please tender your resume at

 care...@... or visit our website

 http://www.tibaindustry.com/jobs.html for further details.





 * ADMIN ASSISTANT

 * ACCOUNTANT

 * HEALTHCARE WORKERS

 * FACTORY WORKERS

 * MANAGERS

 * MARKETING

 * HUMAN RESOURCES

 * MERCHANDISING

 * STORE KEEPERS

 * DRIVERS

 * SUPERVISORS

 * MECHANICAL ENGINEER

 * SECRETARY





 BENEFITS





 * Salary: Annual gross starting salary of $63,500, paid in biweekly
 installments by your choice of check or direct deposit

 * Performance Bonuses: Up to three percent of your annual gross salary,
 paid quarterly by your choice of check or direct deposit

 * Stock Options: 500 Acme stock options in your first year, fully vested
 in four years at the rate of 125 shares per year

 * Benefits: Standard, Acme-provided benefits for salaried-exempt
 employees, including the following

 o 401 retirement account

 o Annual stock options

 o Child daycare assistance

 o Education assistance

 o Health, dental, life and disability insurance

 o Profit sharing

 o Sick leave

 o Vacation and personal days



 Tiba industry international



 http://www.tibaindustry.com/jobs.html







-- 
Sent from my mobile device


Re: [flexcoders] Is this very bad?

2009-05-14 Thread Sam Lai
I've gotten something similar occasionally too. I think the Java
runtime has just gotten itself confused; usually restarting FB3 fixes
it.

On 5/15/09, markgoldin_2000 markgoldin_2...@yahoo.com wrote:
 When I open Builder:
 Error opening the editor.
 Assertion failed:





 

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





-- 
Sent from my mobile device


Re: [flexcoders] Job Offer !

2009-05-14 Thread Sam Lai
Maybe it has just taken the email addresses from the publicly
available archives and faked the email headers?

In that case it's more annoying than a security breach.

On 5/15/09, Amy amyblankens...@bellsouth.net wrote:
 --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 Amy

 Has someone stolen your identity or are you really spamming the list with
 job offers that have nothing to do with Flex??


 I confess...someone has stolen my identity.



 

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





-- 
Sent from my mobile device


Re: [flexcoders] create a file in system using AIR

2009-05-10 Thread Sam Lai
Whoops, that link had a bookmark to the wrong section. Try this:

The second way involves setting the nativePath property of a File
instance to the specific file or directory:

// Create a new file instance first
var file:File = new File();
// Use the string path to the file to get a reference to it via nativePath.
file.nativePath = C:/Documents and Settings/Darron/Desktop/example.txt;

Now that you have a reference, you should be able to write to it using
the stream methods.

2009/5/11 kanu kukreja kanukukr...@gmail.com:
 Thanks for the reply Sam.
 But it doesn't has the answer of my query.

 I know how i can create directories at desktop and documents.
 But i want to create a text file at the location i want lets say
 C:\test\test1\hello.txt

 How i can achieve that?

 Thanks,
 kanu

 On Sun, May 10, 2009 at 4:52 AM, Sam Lai samuel@gmail.com wrote:


 See 'the second way' under the 'Referencing a file or directory' section.

 http://labs.adobe.com/wiki/index.php/AIR:Articles:Adobe_AIR_Local_File_System_Access#Reading_and_writing_files

 2009/5/10 kanu kukreja kanukukr...@gmail.com:

 I know how i can create a file in documentsDirectory,
 applicationStorageDirectory, desktopDirectory  userDirectory.
 but how i can create a file using file system in AIR in the path like
 c:\kanu\test\Hello.txt


 

 --
 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] Collaborative project: realtime ActionScript WMA converter

2009-05-09 Thread Sam Lai
This should be possible in theory, given Microsoft Silverlight has
just added support for doing this exact thing in Silverlight 3 (and
there is a project for providing Ogg Vorbis support going on).

Who knows what the licensing implications here are though. The only
WMA decoder I know of that has source available is the one inside
ffmpeg. Performance would be an interesting thing.

It might be worth trying to get something going on Alchemy instead,
mainly for better performance (without the AS overhead).

2009/5/9 tottenkamen tottenka...@yahoo.com:
 Hi everyone. I'm working on an application that reads MP3 streams and it 
 would be even better if it could read in WMA streams (or Real for that 
 matter), decode them, and play them back to the user. My initial thoughts are 
 that this is not impossible. It SHOULD be a matter of loading the WMA in as a 
 URLStream or Socket and decoding the result into something the Sound object 
 can play. Is anyone familiar with source that would do this decoding, perhaps 
 in another language that could be ported to AS3? Would anyone be interested 
 in joining me on coding an open-source version of this?



 

 --
 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] create a file in system using AIR

2009-05-09 Thread Sam Lai
See 'the second way' under the 'Referencing a file or directory' section.

http://labs.adobe.com/wiki/index.php/AIR:Articles:Adobe_AIR_Local_File_System_Access#Reading_and_writing_files

2009/5/10 kanu kukreja kanukukr...@gmail.com:
 I know how i can create a file in documentsDirectory,
 applicationStorageDirectory, desktopDirectory  userDirectory.
 but how i can create a file using file system in AIR in the path like
 c:\kanu\test\Hello.txt


 

 --
 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] McAfee slowdown of the application load

2009-05-06 Thread Sam Lai
It would probably have to do with the McAfee IE addon, site advisor I
believe? Basically it checks every link to see  if they are malicious,
among other things. They are typically written poorly (or maybe the IE
infrastructure is bad) hence funny issues like this, and the need for
an IE safe mode.

Check if it exists by going to Tools - manage addons.

I would suspect the user would have similar issues on other flash
websites. There probably isn't much you can do on your end
unfortunately.

On 5/7/09, aizmail aizmay...@advisorsoftware.com wrote:
 We are experience some strange behavior on the Windows Machine with McAfee
 Security Suite installed.
 Here is the description of behavior: We launch the Flex App in IE and there
 is a lap between the page is loaded and app starts initialization. During
 that time user sees white screen. If we launch the same app in the same
 browser , for example in the next new tab, that lap is increasing, almost
 like +1 or +2 seconds per tab.

 If t all McAfee services shutdown then that behavior goes away. This
 behavior is also not present in Firefox.

 The app itself uses Charts, and AMF components with Blaze DS and is done by
 using Flex SDK 3 or Flex Builder 3. But I think it is irrelevant to the
 problem. The behavior is also consistent whether the app compiled with or
 without RSLs.

 Has anybody experienced such an issue?




 

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





-- 
Sent from my mobile device


Re: [flexcoders] VBox that scrolls without a scrollbar

2009-05-05 Thread Sam Lai
Or set the scrollbar skin to a null  classreference? I think that
works, otherwise using a 1x1 pixel transparent skin definitely will.

On my phone, so don't have the exact style names with me, but it
should be in the docs.

On 5/6/09, Charles Parcell pokemonkil...@gmail.com wrote:
 I have a VBox and I want it to scroll using the mouse wheel and some arrow
 buttons that I will build.  The problem is, if I set the
 verticalScrollPolicy = off then the VBox does not scroll at all.

 How can I visually turn off the scrollbar and keep the ability to scroll?

 Thanks,
 Charles P.


-- 
Sent from my mobile device


Re: [flexcoders] Newbie question: Custom Components and Custom Events

2009-05-04 Thread Sam Lai
Looks like the USER_SUBMIT variable or constant in your UserEvents
class is not static, but you're accessing it in a static way.

They should be static, so add they keyword static before the var
keyword when you declare USER_SUBMIT and it should all work.

On 5/5/09, Alan Rother alan.rot...@gmail.com wrote:
 Hey All,
 I'm playing around with a super simple demo Simeon Bateman posted on his
 blog
 (http://blog.simb.net/2009/05/01/flex-101-back-to-the-basics/)http://blog.simb.net/2009/05/01/flex-101-back-to-the-basics/

 It's just a little tool designed to teach basic MVC / OO principles to newbs
 like me. I've get what it's doing and why it works, now I'm trying to extend
 on it.


 I'm trying to take this custom component and instead of displaying it in the
 main app, open it in a pop up window.

 view:UserForm userSubmit=onSubmit(event)/


  I can get it to do that just fine, but I cannot get the custom event
 registered with the addEventListener. I get the following error message:

 1119: Access of possibly undefined property USER_SUBMIT through a reference
 with static type Class.



 Any thoughts? It works properly when I use it as is in MXML form, but not
 when I try to create the object using AS.


 private function openWindow():void {
 win = view.UserForm(PopUpManager.createPopUp(this, UserForm, false));
 PopUpManager.centerPopUp(win);
 win.addEventListener(UserEvents.USER_SUBMIT, onSubmit);
 }

 --
 Alan Rother
 Adobe Certified Advanced ColdFusion MX 7 Developer
 Manager, Phoenix Cold Fusion User Group, AZCFUG.org


-- 
Sent from my mobile device


Re: [flexcoders] Would anyone know what Capabilities.os shows for Windows 7 ?

2009-05-01 Thread Sam Lai
Seeing as no one seems to have replied, I gave it a shot. In a Flex
app running in AIR, it just contains Windows.

I'm running Windows 7 Beta Build 7000.

2009/4/30 Jim Hayes j...@primalpictures.com:


 I don’t have a copy handy, and I’m doing some code on DVD that will need to
 run for some years (hence I expect to cover windows 7).



 I realise that it may change, or not even be detected by flash player at the
 moment, but any clue is better than none!



 Many thanks in advance,



 Jim.

 __
 This communication is from Primal Pictures Ltd., a company registered in
 England and Wales with registration No. 02622298 and registered office: 4th
 Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK.
 VAT registration No. 648874577.

 This e-mail is confidential and may be privileged. It may be read, copied
 and used only by the intended recipient. If you have received it in error,
 please contact the sender immediately by return e-mail or by telephoning
 +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its
 contents to any person.
 This email has been scanned for Primal Pictures by the MessageLabs Email
 Security 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:
mailto:flexcoders-dig...@yahoogroups.com 
mailto:flexcoders-fullfeatu...@yahoogroups.com

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

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



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

2009-05-01 Thread Sam Lai
Creepy. Although it's just a patent; there's no evidence it has been
implemented in Vista/7. Is there?

Personally, I'm more concerned about Google, given their primary
source of profit is advertising, and they store a substantial amount
of my email from the past 5 years, plus know nearly every search term
I've entered. Email plus search terms would be an enormous gold mine
for advertisers.

As for the last link - most of it exists in Mac and Linux (taking
Ubuntu as the representative here). Ubuntu knows every package you
have installed from their repos (along with when, your IP address)
thanks to HTTP headers. It wouldn't work without it. In Kubuntu
there's crash reporter that sends data off somewhere too.
Auto-updating exists in Ubuntu too. And CEIP's are in many apps these
days - including one you use, Eclipse. CEIPs are optional.

And for terado - that's how IPv4 to IPv6 translation works on every
platform. The time server has to come from somewhere too, and I don't
think time.nist.gov would be too happy if every Windows installation
pointed to that and overloaded their servers.

I could go on, but I think you should download and run Wireshark on
your OS. Watch what goes out over a few days; I think you'd be
surprised. OSes nowadays are designed to be connected, and
(unfortunately) HTTP was not designed to be anonymous.

P.S. I would love it if Ubuntu had a wizard in its install process
that sent lspci/lsusb to Ubuntu so they can tell me whether or not my
hardware will be fully supported, *before* I do the installation.

2009/5/1 Kelly dek...@gmail.com:


 http://arstechnica.com/microsoft/news/2007/07/microsoft-patents-the-mother-of-all-adware-systems.ars


 http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO1Sect2=HITOFFd=PG01p=1u=%2Fnetahtml%2FPTO%2Fsrchnum.htmlr=1f=Gl=50s1=%2220070157227%22.PGNR.OS=DN/20070157227RS=DN/20070157227


 http://news.softpedia.com/news/Forget-about-the-WGA-20-Windows-Vista-Features-and-Services-Harvest-User-Data-for-Microsoft-58752.shtml


 The personal information we collect from you will be used by Microsoft and
 its controlled subsidiaries and affiliates...









 Paul Andrews wrote:

 - Original Message -

 From: Kelly
 To: flexcoders@yahoogroups.com
 Sent: Friday, May 01, 2009 2:39 AM
 Subject: Re: [flexcoders] Re: Flex Builder on Linux been scrapped ?

 Microsoft deep scans your hard drives and transmits home.

 This is admitted in their patents.

 This is data mining on a level Orwell could never have imagined.

 What evidence do you have that MS is doing this and undermining the security
 of people who use their OS?


 


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

2009-05-01 Thread Sam Lai
One more thing - I know I contradicted my earlier post, but there was
just too many things wrong with the last link. Apologies.

2009/5/1 Sam Lai samuel@gmail.com:
 Creepy. Although it's just a patent; there's no evidence it has been
 implemented in Vista/7. Is there?

 Personally, I'm more concerned about Google, given their primary
 source of profit is advertising, and they store a substantial amount
 of my email from the past 5 years, plus know nearly every search term
 I've entered. Email plus search terms would be an enormous gold mine
 for advertisers.

 As for the last link - most of it exists in Mac and Linux (taking
 Ubuntu as the representative here). Ubuntu knows every package you
 have installed from their repos (along with when, your IP address)
 thanks to HTTP headers. It wouldn't work without it. In Kubuntu
 there's crash reporter that sends data off somewhere too.
 Auto-updating exists in Ubuntu too. And CEIP's are in many apps these
 days - including one you use, Eclipse. CEIPs are optional.

 And for terado - that's how IPv4 to IPv6 translation works on every
 platform. The time server has to come from somewhere too, and I don't
 think time.nist.gov would be too happy if every Windows installation
 pointed to that and overloaded their servers.

 I could go on, but I think you should download and run Wireshark on
 your OS. Watch what goes out over a few days; I think you'd be
 surprised. OSes nowadays are designed to be connected, and
 (unfortunately) HTTP was not designed to be anonymous.

 P.S. I would love it if Ubuntu had a wizard in its install process
 that sent lspci/lsusb to Ubuntu so they can tell me whether or not my
 hardware will be fully supported, *before* I do the installation.

 2009/5/1 Kelly dek...@gmail.com:


 http://arstechnica.com/microsoft/news/2007/07/microsoft-patents-the-mother-of-all-adware-systems.ars


 http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO1Sect2=HITOFFd=PG01p=1u=%2Fnetahtml%2FPTO%2Fsrchnum.htmlr=1f=Gl=50s1=%2220070157227%22.PGNR.OS=DN/20070157227RS=DN/20070157227


 http://news.softpedia.com/news/Forget-about-the-WGA-20-Windows-Vista-Features-and-Services-Harvest-User-Data-for-Microsoft-58752.shtml


 The personal information we collect from you will be used by Microsoft and
 its controlled subsidiaries and affiliates...









 Paul Andrews wrote:

 - Original Message -

 From: Kelly
 To: flexcoders@yahoogroups.com
 Sent: Friday, May 01, 2009 2:39 AM
 Subject: Re: [flexcoders] Re: Flex Builder on Linux been scrapped ?

 Microsoft deep scans your hard drives and transmits home.

 This is admitted in their patents.

 This is data mining on a level Orwell could never have imagined.

 What evidence do you have that MS is doing this and undermining the security
 of people who use their OS?


 



Re: [flexcoders] Error with Flex Builder

2009-05-01 Thread Sam Lai
Did you open a project in FB, then closed FB, removed a disk, and now
re-opened FB? It sounds like it is from a drive which can exist but
have no disk in it, e.g. a CD/DVD, a card reader.

If it is on a hard drive, and is recurring, might be worth checking
the health of your hard drive.

2009/5/2 Tracy Spratt tr...@nts3rd.com:


 I have gotten this message a few times in the past, but if you just click
 through it, it will go away and not come back.



 Might be nice to know the what/why, though, anybody?



 Tracy Spratt,

 Lariat Services, development services available

 

 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of christophe_jacquelin
 Sent: Friday, May 01, 2009 5:06 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Error with Flex Builder




 Hello,

 I have installed Flex Builder on a new computer.

 When I want to compile a simple application I have the following error :

 Windows - No Disk
 Exception Processing Message 0xC013

 Thank you for your help.
 Christophe,

 


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

2009-04-30 Thread Sam Lai
2009/5/1 Kelly dek...@gmail.com:
 I am not sure why it's so hard.


 Most other Eclipse plugins work fine on Linux 32 and 64 Bit.

It's probably not the editor bits that are hard, but the debugging
bits which have to reach outside of the Java world to work. Ditto with
the profiler bits I'd say, and any other components that need to
communicate with AIR directly.

As for the design view, they might be reaching out and using a
platform-specific component to render the design, so that it would
match the output better than rewriting the entire rendering engine in
Java?

Who knows (unless you decompile FB possibly), but Java and Eclipse
aren't inherently cross-platform all the time given what they need to
do.


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

2009-04-30 Thread Sam Lai
Why do conversations about Linux always devolve into an MS-bashing
thread, often based on unfounded assumptions?

Take it off-list.

2009/5/1 Kelly dek...@gmail.com:



 Microsoft deep scans your hard drives and transmits home.

 This is admitted in their patents.

 This is data mining on a level Orwell could never have imagined.



 So it is less of an emotional issue and more of a security issue.


 Why large corporations are willing to accept this is a mystery to me.


 They are usually very concerned with corporate security.



 This is even more mysterious when talking about companies that compete
 directly with Microsoft.

 Like Adobe.

 Does Adobe not see using XP/Vista inside of their corporate network as a
 security threat?

 Why not?










 daxdr9 wrote:

 This is hardly a surprise given the current economic conditions, assuming
 the ROI isn't there for the FB Linux product at this time. Does anyone
 really not own at least one Windows-based PC or Apple computer? (I'm sure
 there are people who only run Linux--a very small percentage, though)

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

 --- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote:

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

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

 Matt


 On 4/30/09 4:44 PM, Guy Morton g...@... wrote:






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

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

 Guy


 On 01/05/2009, at 9:35 AM, john fisher wrote:




 If Adobe drops Linux support for Flex, then I will probably drop Flex.

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

 -grieving already

 John

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





 


Re: [flexcoders] getItemIndex ......returning -1

2009-04-27 Thread Sam Lai
Whoops, that was stupid.

Change 'index' to 'i' in the for statement condition and incrementor.

2009/4/27 Tracy Spratt tr...@nts3rd.com:


 A hint, look closely at this syntax:

 for (var i:int = 0; index  courses.length; index++)

 See the problem?



 Tracy Spratt,

 Lariat Services, development services available

 

 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Sam Lai
 Sent: Sunday, April 26, 2009 8:21 PM

 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] getItemIndex ..returning -1




 I'm on my phone so I can't see the entirety of the reply, but I used a
 variable named i as well as one named index so you know if a match has
 been found or not. If index = -1, it means no match has been found.

 If it is always giving you -1, it is because the if statement inside
 the loop isn't evaluating to true to any item within the array.

 See if you can figure it out, maybe using the Flex Debugger.
 Otherwise, we'll need to see how you create the objects in the list,
 and how you add them to the list.

 On 4/27/09, Tracy Spratt tr...@nts3rd.com wrote:
 Your if statement is wrong, decide whether you are going to use I or
 index.



 Tracy Spratt,

 Lariat Services, development services available

 _

 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of joe.g.ja...@kp.org
 Sent: Sunday, April 26, 2009 1:24 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] getItemIndex ..returning -1









 Thank you, but for some reason the index variable is providing me with a
 -1
 value, so the if statement is never true.

 var index:int = -1;
 for (var i:int = 0; index  courses.length; index++)
 { -1
 if (courses.getItemAt(index).TITLE == specific course name)
 {
 index = i;
 break;
 }
 }





 Sam Lai samuel@gmail.com
 Sent by: flexcoders@yahoogroups.com

 04/26/2009 12:59 AM


 Please respond to
 flexcoders@yahoogroups.com


 To

 flexcoders@yahoogroups.com


 cc




 Subject

 Re: [flexcoders] getItemIndex ..returning -1

















 Flex is looking for a string in the array with the value 'specific
 course name'. In your arraycollection though, you have objects (not
 strings), which within them hold multiple strings (TITLE, DESC, REQ).

 The only way to match again the title field of every object in the
 array is to use a for loop, e.g.

 var index:int = -1;
 for (var i:int = 0; index  courses.length; index++)
 {
 if (courses.getItemAt(index).TITLE == specific course name)
 {
 index = i;
 break;
 }
 }

 if (index  0)
 trace(no course found by that name);
 else
 trace(course found);

 2009/4/26 kpjj31 joe.g.james@ mailto:joe.g.james%40kp.org kp.org:
 What am I doing wrong. Thanks.

 private function getcoursesResult(event:ResultEvent):void{

 courses = new ArrayCollection (event.result.COURSELIST as Array);

 var newindex:int = courses.getItemIndex('specific course name');

 courses_datagrid.selectedIndex=newindex;
 }

 arraycollection example...

 COURSELIST
 + 0
 - 1
 TITLE : 'specific course name'
 DESC : ''
 REQ : ''











 

 --
 Flexcoders Mailing List
 FAQ: http://groups.
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: https://share.

 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e6
 2079f6847
 acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: http://www.mail-
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo
 archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links











 --
 Sent from my mobile device

 


Re: [flexcoders] getItemIndex ......returning -1

2009-04-26 Thread Sam Lai
Flex is looking for a string in the array with the value 'specific
course name'. In your arraycollection though, you have objects (not
strings), which within them hold multiple strings (TITLE, DESC, REQ).

The only way to match again the title field of every object in the
array is to use a for loop, e.g.

var index:int = -1;
for (var i:int = 0; index  courses.length; index++)
{
if (courses.getItemAt(index).TITLE == specific course name)
{
index = i;
break;
}
}

if (index  0)
trace(no course found by that name);
else
trace(course found);

2009/4/26 kpjj31 joe.g.ja...@kp.org:
 What am I doing wrong. Thanks.

 private function getcoursesResult(event:ResultEvent):void{

 courses = new ArrayCollection (event.result.COURSELIST as Array);

 var newindex:int = courses.getItemIndex('specific course name');

 courses_datagrid.selectedIndex=newindex;
 }

 arraycollection example...

 COURSELIST
 + 0
 - 1
  TITLE : 'specific course name'
  DESC : ''
  REQ : ''











 

 --
 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] getItemIndex ......returning -1

2009-04-26 Thread Sam Lai
I'm on my phone so I can't see the entirety of the reply, but I used a
variable named i as well as one named index so you know if a match has
been found or not. If index = -1, it means no match has been found.

If it is always giving you -1, it is because the if statement inside
the loop isn't evaluating to true to any item within the array.

See  if you can figure it out, maybe using the Flex Debugger.
Otherwise, we'll need to see how you create the objects in the list,
and how you add them to the list.

On 4/27/09, Tracy Spratt tr...@nts3rd.com wrote:
 Your if statement is wrong, decide whether you are going to use I or
 index.



 Tracy Spratt,

 Lariat Services, development services available

   _

 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of joe.g.ja...@kp.org
 Sent: Sunday, April 26, 2009 1:24 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] getItemIndex ..returning -1









 Thank you, but for some reason the index variable is providing me with a  -1
 value, so the if statement is never true.

 var index:int = -1;
 for (var i:int = 0; index  courses.length; index++)
 { -1
 if (courses.getItemAt(index).TITLE == specific course name)
 {
 index = i;
 break;
 }
 }





 Sam Lai samuel@gmail.com
 Sent by: flexcoders@yahoogroups.com

 04/26/2009 12:59 AM


 Please respond to
 flexcoders@yahoogroups.com


 To

 flexcoders@yahoogroups.com


 cc




 Subject

 Re: [flexcoders] getItemIndex ..returning -1

















 Flex is looking for a string in the array with the value 'specific
 course name'. In your arraycollection though, you have objects (not
 strings), which within them hold multiple strings (TITLE, DESC, REQ).

 The only way to match again the title field of every object in the
 array is to use a for loop, e.g.

 var index:int = -1;
 for (var i:int = 0; index  courses.length; index++)
 {
 if (courses.getItemAt(index).TITLE == specific course name)
 {
 index = i;
 break;
 }
 }

 if (index  0)
 trace(no course found by that name);
 else
 trace(course found);

 2009/4/26 kpjj31 joe.g.james@ mailto:joe.g.james%40kp.org kp.org:
 What am I doing wrong. Thanks.

 private function getcoursesResult(event:ResultEvent):void{

 courses = new ArrayCollection (event.result.COURSELIST as Array);

 var newindex:int = courses.getItemIndex('specific course name');

 courses_datagrid.selectedIndex=newindex;
 }

 arraycollection example...

 COURSELIST
 + 0
 - 1
  TITLE : 'specific course name'
  DESC : ''
  REQ : ''











 

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











-- 
Sent from my mobile device


Re: [flexcoders] bug in Flex regarding to import

2009-04-26 Thread Sam Lai
Assuming you're using both xxx.Webservice and zzz.Webservice in the
same class, you need to use the full name to refer to those classes in
your code, otherwise Flex won't be able to work out what you're
referring to.

So instead of:
var w1:Webservice;
var w2:Webservice;

use:
var w1:xxx.Webservice;
var w2:zzz.Webservice;

(this should work; haven't actually had this occur in my code yet.)

On 4/27/09, Everson Alves jho...@eversonalves.com.br wrote:
 Hello, I have this scenario:
 class zzz.Webservice;
 class xxx.Webservice;
 class xxx.WebserviceAccess;
 I'm trying to use zzz.Webservice and can't; I imported it but flex compiler
 says it's ambiguos, when it shouldn't because I explicitly which one I want
 to use;
 --
 Jhonny Everson


-- 
Sent from my mobile device


Re: [flexcoders] Flex Menu Basic Question

2009-04-26 Thread Sam Lai
1 thing that might help is that ViewStack children all have to inherit
from Container I think. So are the children subclasses of VBox, Canvas
or similar?

On 4/27/09, Tracy Spratt tr...@nts3rd.com wrote:
 Google: flex viewstack example



 Tracy Spratt,

 Lariat Services, development services available

   _

 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of guess what
 Sent: Monday, April 27, 2009 12:11 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Flex Menu Basic Question








 I know I am going on and on . I seriously coudnt get Children Working . Can
 anyone link me to a basic example which has Naviagtors for View Stack with
 Children.





   _

 From: Pedro Sena sena.pe...@gmail.com
 To: flexcoders@yahoogroups.com
 Sent: Sunday, April 26, 2009 3:29:00 PM
 Subject: Re: [flexcoders] Flex Menu Basic Question

 If HomeView is some kind of container, yes, you can have it.(Containers
 examples: Canvas, Box(VBox, HBox), and so on)

 But for organization purpouses, I suggest you to put the homeView's child
 inside your HomeView mxml component.

 HTH

 On Sun, Apr 26, 2009 at 6:35 PM, guess what myworld100us@ yahoo.com
 mailto:myworld10...@yahoo.com  wrote:



 Thanks That was useful . I did realize I had to use View Stack . But the
 problem in using View Stack was , (maybe again its my lack of knowledge )

 Can I be able to have Children for View Stack . if so how .

 In Example this ok .



  nx:vewStack

HomeView

SeacrhView

   LogoutView

 /mx:ViewStack



 But Can Home View have Childern say HomeView1. HomeView 2 under Home View
 ?





   _

 From: Tracy Spratt tr...@nts3rd. com mailto:tr...@nts3rd.com 
 To: flexcod...@yahoogro ups.com mailto:flexcoders@yahoogroups.com

 Sent: Sunday, April 26, 2009 9:42:53 AM


 Subject: RE: [flexcoders] Flex Menu Basic Question



 Menu is more generic(flexible) than that.  Its only function is to display
 the options to the user and respond to their gesture.  You have the ability
 to act on the users choice however you choose.



 So your issue is more basic than that.  You need to think about and decide
 on your applications architecture.  Look in the developers guide under the
 sections dealing with designing applications.



 It will not serve you well to continue thinking in terms of pages when
 developing in Flex.  Page is a term from html development (like Yahoo) and
 Flex application architecture is very different.



 Typically you begin with a navigation component.  Popular ones are
 TabNavigator, Tree, and ViewStack.  ViewStack is particularly useful with a
 menu.  You have your click handler set the ViewStack.selectedI ndex
 according to some value in the menu data item.  Setting a ViewStack index
 causes the view (kinda like a page) at that index to be displayed.



 So before you build your navigation interface(like menu), you at least need
 to identify your navigation architecture.



 Tracy Spratt,

 Lariat Services, development services available

   _

 From: flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On
 Behalf Of guess what


 Sent: Sunday, April 26, 2009 4:30 AM

 To: flexcod...@yahoogro ups.com
 Subject: Re: [flexcoders] Flex Menu Basic Question







 Maybe I am confusing you . This is what is my understanding of Menu .

 In genral we builld Menus and Their Childern we want users to be taken to
 the page on which the item is clicked . it similar to View Stack (in terms
 of Flex)

 Say Suppose  I have Menu

  Menu1 - When User Clicks on Menu I want the user to be taken to a diiferent
 page for which Menu 1 is linked to .

   Menu2 -Similarly on Menu 2 .



 I am not even sure this is possible in Flex .

 Something similar to this http://developer. yahoo.com/ yui/examples/
 menu/example07. html
 http://developer.yahoo.com/yui/examples/menu/example07.html

 This is the Yahoo UI menu , when user clicks on Communication- Alerts - it
 takes to alerts.yahoo. com

 Similar;ly Shopping it takes to shopping.yahoo. com















   _

 From: Tracy Spratt tr...@nts3rd. com


 To: flexcod...@yahoogro ups.com
 Sent: Saturday, April 25, 2009 10:01:05 PM
 Subject: RE: [flexcoders] Flex Menu Basic Question

 So you question has nothing to do with menu, is that correct?



 What exactly do you mean by redirect to test.swf?  What is you application
 architecture?  Is test.swf an application, a component, a module, or what?



 Tracy Spratt,

 Lariat Services, development services available

   _

 From: flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On
 Behalf Of guess what
 Sent: Saturday, April 25, 2009 11:26 PM
 To: flexcod...@yahoogro ups.com
 Subject: Re: [flexcoders] Flex Menu Basic Question





 To be precise what do i do on the click event . I got the value of Action
 set on the menu item . Can you kindly explain how do i recdirect to
 test.swf.

 menuitem label=Example data=top

 menuitem 

Re: [flexcoders] chart axis renderers inside data area

2009-04-23 Thread Sam Lai
Thinking up the top of my head here -

Maybe you could inherit and trick the axis renderer into thinking it
is rendering the axis on top of the chart, and therefore the labels
are above the stroke and ticks (instead of below)?

That's what you want right?

2009/4/23 thomas parquier mailingli...@web-attitude.fr:


 Maciek, pushing axisrenderer to annotationElements array doesnt seem to
 work.

 Sam, setting negative gutters works (any negative gutter does the same) but
 not completely : axe is rendered in area, but only stroke and ticks, no
 labels...

 thomas



 2009/4/22 Sam Lai samuel@gmail.com


 Can you have negative gutters?

 Probably not; I have enough trouble as it is trying to get rid of all
 the space used by the axes - I've made the axes invisible via numerous
 style/property settings, but there's still one or two pixels of space
 being allocated to it.

 2009/4/22 Maciek Sakrejda msakre...@truviso.com:

 
 
  I wonder if putting the AxisRenderer in the chart's annotationElements
  array
  would work...
 
 
  -Original Message-
  From: flexcoders@yahoogroups.com on behalf of thomas parquier
  Sent: Tue 4/21/2009 11:17 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] chart axis renderers inside data area
 
  There may be an easy way to get plain current axis but rendered inside
  the
  series area, ie not having to use drawing api for axis with labels and
  avoiding rewrite those getminmax, getlabels (with droplabels, etc)
  methods.
 
  thomas
 
 
  2009/4/20 Tom Chiverton tom.chiver...@halliwells.com
 
 
 
 
 
  On Sunday 19 Apr 2009, thomas parquier wrote:
   Has anyone any suggestion about how to get axis rendered inside data
  area,
   as an overlay ? with someway no outside gutters...
 
  DataDrawingCannas from
  http://www.quietlyscheming.com/blog/charts/easy-custom-charts/ would do
  the
  job, maybe.
 
  --
  Helping to autoschediastically brand unique ubiquitous architectures 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.
 
 
 
 
 
 
 
  --
  http://www.web-attitude.fr/
  msn : thomas.parqu...@web-attitude.fr
  softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net
  téléphone portable : +33601 822 056
 
 
 
 



 --
 http://www.web-attitude.fr/
 msn : thomas.parqu...@web-attitude.fr
 softphone : sip:webattit...@ekiga.net
 téléphone portable : +33601 822 056


 


Re: [flexcoders] Re: Expiration date

2009-04-22 Thread Sam Lai
An additional consideration there is what happens if the user is
offline? It might be that your app can't be used offline anyway, so
then it's not an issue.

2009/4/22 lehaianh1986 lehaianh1...@yahoo.com:
 Thank all, I read carefully all replies. Sent a request, then analyze a 
 response to know the state of expiration date... Yeah,I think it is good 
 idea. It help me control the date I want to expire and don't care about clock 
 of user computer.

 Are you have any simple example about it? I know about send one request to 
 server, but how to receive response? Thank all of you very much

 Hai Anh

 --- In flexcoders@yahoogroups.com, Kenneth Sutherland 
 kenneth.sutherl...@... wrote:

 Depending on what your app does, restricting its use, for example
 disable saving/loading/copying of text and similar are quite common
 features to make users upgrade.



 Or what you could do is put in some code on startup that sent a request
 to your server to accept a response.  Only if the response was OK would
 the app run and not exit.  That way your beta version would expire on a
 set date and not from when a user had actually installed it.  You could
 also use the auto-update feature of AIR for this, once you wish you app
 to go from beta to release force the update on the user and then they
 need to enter a license key which they will get from yourself.



 Kenneth.



 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of lehaianh1986
 Sent: 22 April 2009 04:03
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Expiration date








 Hi all, I have small AIR project, now it is beta version. I will send it
 to some testers. So, I want to write some code to set expired date for
 it. Example as set this soft to stop working 1 month from first use, or
 set the number of using soft is 100 times.

 Any one can guide me some steps to do it? Thank in advanced

 Hai Anh



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





 

 --
 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] Web-based application to access local files

2009-04-22 Thread Sam Lai
The only web-deployed, no-install tools you can use that has access to
the local file system is Java and ActiveX as you have discovered. Both
will throw security warnings, because no web app has unfettered access
to your computer by default, and none should (who knows what kind of
havoc they could wreck if they did).

(You should be able to allow your ActiveX to access the local file
system though because that's how online anti-virus scans work. It will
require user interaction, or maybe the deployment of a Group Policy
change. Not a path I'd go down though given the stigma associated with
ActiveX in the browser.)

Can I ask what their opposition is to a desktop application? Is it
deployment? Because if it is, you could just use ClickOnce deployment
to deploy your .NET app. It will still throw a security warning, but
you can tame it by signing your app (you get a nicer-looking dialog).

(You could rewrite the app using Adobe AIR and deploy using that, but
there's no real advantage in your situation, unless cross-platform is
a requirement.)

2009/4/22 jose2250 j...@queryaccess.com:
 I recently developed a Desktop Application using Visual Basic 2008 Express 
 .Net 3.5. It works ok. Application will look for .pdf files on a specific 
 folder on C: drive, rename the files according to some user's input and 
 database query result, then upload the renamed files to an FTP server. No 
 problem. However, the company don't want a desktop application. So, my goal 
 is to re-create the application using a new Rich Internet Application 
 technology. I then, created a Windows User Control in VB.net 3.5 and embedded 
 the .dll in an html page. This works great on my local development pc, 
 however, it will have some security issues when I try to run it on our 
 intranet. It seems like the control (Activex), will not allow access to the 
 local files. I just need access to be able to rename files on C:, that's it. 
 Then I came across Silverligt and Flex development software. But, after 
 playing with flex for a little, noticed that Flex will not be my best choice 
 to access and rename local files, is that right? Any suggestions about the 
 technology that we should use? Thanks!



 

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






Re: [flexcoders] chart axis renderers inside data area

2009-04-21 Thread Sam Lai
Can you have negative gutters?

Probably not; I have enough trouble as it is trying to get rid of all
the space used by the axes - I've made the axes invisible via numerous
style/property settings, but there's still one or two pixels of space
being allocated to it.

2009/4/22 Maciek Sakrejda msakre...@truviso.com:


 I wonder if putting the AxisRenderer in the chart's annotationElements array
 would work...


 -Original Message-
 From: flexcoders@yahoogroups.com on behalf of thomas parquier
 Sent: Tue 4/21/2009 11:17 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] chart axis renderers inside data area

 There may be an easy way to get plain current axis but rendered inside the
 series area, ie not having to use drawing api for axis with labels and
 avoiding rewrite those getminmax, getlabels (with droplabels, etc) methods.

 thomas


 2009/4/20 Tom Chiverton tom.chiver...@halliwells.com





 On Sunday 19 Apr 2009, thomas parquier wrote:
  Has anyone any suggestion about how to get axis rendered inside data
 area,
  as an overlay ? with someway no outside gutters...

 DataDrawingCannas from
 http://www.quietlyscheming.com/blog/charts/easy-custom-charts/ would do
 the
 job, maybe.

 --
 Helping to autoschediastically brand unique ubiquitous architectures 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.







 --
 http://www.web-attitude.fr/
 msn : thomas.parqu...@web-attitude.fr
 softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net
 téléphone portable : +33601 822 056



 


Re: [flexcoders] problem with mx:horizontalAxisRenderers

2009-04-14 Thread Sam Lai
Well if there's not enough space, there's not much you can do. How do
you want to show it?

2009/4/14 Vikram Singh vikisingh...@yahoo.in:


 Hello Friends,
 there are many items on X-Axis so can't see clearly name of each and every
 item.
 I have tried to implement mx:horizontalAxisRenderers to view chart very
 clear.
 But its not perfectly implemented on chart having very long name.

 how can i implement on it? please give some idea.
 Thanks,

 
 Add more friends to your messenger and enjoy! Invite them now.

 


Re: [flexcoders] adobe team: do you get the Windows crash reports when we send them?

2009-04-13 Thread Sam Lai
If you're talking about the dialogs that come up with Eclipse crashes,
then I highly doubt it. But if Microsoft sees an abnormally high
number of reports for, say about the Flash plugin, they'll probably
get on the phone and work it out with Adobe given how important that
is for most users.

2009/4/13 arieljake arielj...@yahoo.com:




 

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






Re: [flexcoders] adobe team: do you get the Windows crash reports when we send them?

2009-04-13 Thread Sam Lai
Same process, so I doubt it. That's a Windows telemetry thing, and
while there are APIs to hook into that for recovery, I don't think you
can redirect the reports.

On second thoughts, I vaguely remember there's a section on the
Microsoft website where app developers can apply to view telemetry
collected about their app.

I'll let the Adobe guys respond, but the quickest way to get a
response would be to file or vote for a bug at bugs.adobe.com.

I get the same crash at random times, along with errors saying FP9
can't be found, or the app just not launching. A relaunch usually
fixes this, but it's annoying.

On 4/14/09, arieljake arielj...@yahoo.com wrote:
 Nope, I am referring to this:

 Adobe AIR Debug Launcher has encountered a problem and needs to close.  We
 are sorry for the inconvenience.

 --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote:

 If you're talking about the dialogs that come up with Eclipse crashes,
 then I highly doubt it. But if Microsoft sees an abnormally high
 number of reports for, say about the Flash plugin, they'll probably
 get on the phone and work it out with Adobe given how important that
 is for most users.

 2009/4/13 arieljake arielj...@...:
 
 
 
 
  
 
  --
  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





-- 
Sent from my mobile device


Re: [flexcoders] Flash speed test - please participate - only 1 click required !

2009-04-13 Thread Sam Lai
Tom,

Could you make the stats available after you complete the test, and
also do something on the page so we know the test is running, and not
just hung (e.g. A running counter)?

Maybe that will give people some more confidence that  it is doing
what it claims to be doing.

P.S. Can't stand anything Symantec :)

On 4/14/09, Steve Mathews happy...@gmail.com wrote:
 For anyone who cares, I ran swfScan on the swf and it only does what is
 advertised. A quick look at the page source and I didn't see anything fishy
 there either.

 On Mon, Apr 13, 2009 at 9:55 AM, tom93438 tcs2...@gmail.com wrote:

 Wow !

 There is some serious paranoia here. This page does exactly what I
 described in my original email, and nothing more. I created it to learn
 something, which I plan on sharing back with this community.

 I've been posting to this list for a while, so I would sort of hope that
 there could be a little more trust.

 Feel free to inspect the page, etc. But everything you need to know is in
 my original post (at bottom of this email).

 @Cato - I hope you realize that this kind of scare mongering will
 seriously
 diminish the number of testers, and hence the quality of the data that I
 will be able to share back with you all... :(

 cheers

 tom




 --- In flexcoders@yahoogroups.com, Cato Paus ca...@... wrote:
 
  DO NOT TEST THIS... Trojan Horse Detected on page!
 
 
 
 
 
 
  --- In flexcoders@yahoogroups.com, tom93438 tcs2201@ wrote:
  
   One other test that would also be useful:
   Please hit:
  
   http://flatim3000.appspot.com/?fps=24
  
   Does the same as before, but tests for 24 fps.
  
   thanks
  
   tom
  
  
   --- In flexcoders@yahoogroups.com, tom s tcs2201@ wrote:
   
Hi All,
   
I'm doing some tests to see how 'fast' the Flash Player is in a
 variety of
environments.
Please click the link to take part: (you don't have to do anything
 other
than click the link)
   
http://flatim3000.appspot.com
   
   
It's totally malware free. If you're interested, see below for
 details.
Please hit it as many times as you like, from as many different
 environments
as you can :)
I'll share the results when I'm done.
   
cheers
   
tom
   
details
=
The SWF:
1. attempts to set the frame rate to 1000
2. listens for enter_frame 10,000 times
3. records how long (2) takes
4. computes the actual FPS
5. send the data to a server, along with details on OS, Browser, FP
 version,
IP
   
Any suggestions/improvements - let me know...
   
  
 




 

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






-- 
Sent from my mobile device


Re: [flexcoders] check for daylight savings time

2009-04-13 Thread Sam Lai
There's probably a web service out there you could call, or you could
just write some server side code to read that information from the
server.

I'm on my phone so don't have any links, but a Google search should be
able to get you something.

On 4/14/09, Dennis Falling dfall...@gmail.com wrote:
 I'm trying to print the time zone for a date, and need to know the daylight
 savings time.  Is there a way to get this in flex?
 Thanks.


-- 
Sent from my mobile device


Re: [flexcoders] CodeProject for Flex?

2009-04-09 Thread Sam Lai
The Flex cookbook is kind of similar, although the content there tends
to be shorter, for smaller tasks and more about code than the
explanation on how it does what it does.

http://www.adobe.com/cfusion/communityengine/index.cfm?event=homepageproductId=2

2009/4/9 g_odds g_o...@yahoo.co.uk:
 I've used the CodeProject site (http://www.codeproject.com/) a fair bit, 
 particularly for .Net development.  I was wondering if there is anything 
 remotely similar for Flex development?  If there isn't, would others find a 
 resource of this kind useful?



 

 --
 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: New Adobe forums coming!

2009-04-08 Thread Sam Lai
I'm not on the forums, but they should be sending out the mailing-list
header in each email which allows you to create a filter to apply
labels to in Gmail.

When viewing a message in Gmail from the forums, click on the 'show
details' link, and there should be a -

mailing listausdotnet.lists.codify.com Filter messages from this mailing 
list

Clicking on Filter messages from this mailing list should start you off.

2009/4/9 Bjorn Schultheiss bjorn.mailingli...@gmail.com:
 the threading not even working in gmail.

 a subject prefix would be nice aswell [adobeflexforum] or something, like 
 [flexcoders]

 --- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote:

 --- In flexcoders@yahoogroups.com, Paul Hastings paul.hastings@ wrote:
 
   As for threading, do you know which header is missing?  I notice that
 
  speaking of bunnies:
 
  http://jochem.vandieten.net/2009/03/31/the-new-adobe-forums-unfulfilled-potential/
 

 If the only thing that they have to do to enable this for nntp is replace 
 the email header with an nntp header, why don't they just give us back nntp?

 I'm really curious about what's been going on on the Flex forum, but not 
 curious enough to put myself through a web interface or wind up with 
 thousands of e.mails.





 

 --
 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] Getting field names in array collection

2009-04-04 Thread Sam Lai
Just use the for statement but in a for each manner, e.g.

for (var fieldName in someObject)
{
trace(fieldName);
}

It's one of those subtle tricks in ECMAScript (which could've been
named better, or maybe more intuitive with different syntax, e.g.
Python's.)

(that's the general idea - code might not be exactly correct.)

2009/4/5 Deniz Davutoglu d...@7ist.com:
 Hi,
 I need to get field names in array collection  but when I use for each method 
 I got just values not field names.
 When I assign array collection as  a data provider of datagrid it 
 automatically retrieves field names, it means that it is some method in as3 
 to get field names.
 Does any one know how to get it?

 Thanks in advance.
 Deniz



 

 --
 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: Flash player fails to install on vista!

2009-04-04 Thread Sam Lai
Maybe running the Adobe Flash uninstaller (not the one in Add/Remove
Programs, but the downloadable one) beforehand would help?

I do that every time I deploy Flash, and its been working so far. Not
sure if users would lose their stored shared objects though.

2009/4/3 Rick Winscot rick.wins...@zyche.com:
 I ran across this two weeks ago on a single system... out of 76 machines and
 posted here as well to see if anyone else was experiencing any esplosions.

 Long story short – I ended up finding some wonky behavior in the JavaScript
 used for Flash version detection on just that machine. Go figure. So... I
 swapped out the HTML wrapper (generated in Flex from the default
 index.template.html w/express install) with SWFObject... BOOM BABY! Problemo
 solved.

 For those naysayers on the list that called me ‘crazy,’ ‘stoopid,’ ‘noob,’
 and ‘utterly delicious.’ SEE! I’m not the only one! There are two of us...
 in like... a couple million installs.

 awkward silence – shuffles feet

 Rick Winscot


 On 4/2/09 3:28 PM, Cato Paus ca...@brannsikring.no wrote:






 There was no error, just a silent error. And when I went back to the page
 that requires the last version of flash player I get up again to installed

 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ,
 Sam Lai samuel@... wrote:

 This just sounds like the tech support calls I get from customers.
 Given you're a developer, I expected better -

 What was the error message, how is it not installing?

 2009/4/2 Cato Paus ca...@...:
  Hi all, this is veard, I have a clean install(Windows Vista Ultimate) on
  my laptop and IExploer do not want to install the flash player (ActiveX)
  ! switching to FireFox, up yours MS!
 
 
 
  
 
  --
  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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Flex, SharePoint and SQLServer

2009-04-04 Thread Sam Lai
1. could work, because you can use Flex to get the data via
SharePoint's HTTP APIs. May make it difficult to query; not sure what
options are available in the SharePoint API.

2. You would need some kind of service in between to mediate, i.e. to
provide a HTTP API to SQL Server. Either something custom written in
ASP.NET (or whatever other web server tech you have on site), or maybe
ADO.NET Data Services (the HTTP API for SQL Server hinted at by
Tracy)?

There may be an advantage in terms of performance if you use AMF
through things like WebORB, or if Java is an option, BlazeDS or
LiveCycle.

2009/4/5 Mic chigwel...@yahoo.com:
 Just got introduced to the wonderful world of SharePoint recently, and am 
 contemplating coding the client's BI application in Flex and then embedding 
 into SharePoint. Are people doing this? All the data must come from 
 SQLServer2005. Done some googling and understand that I could

 1. Load data into SharePoint lists and then send to Flex
 2. Talk to 2005 directly from Flex.

 Is this correct and which is the better approach?

 Are there any examples of this kind of architecture? I did not really find 
 much after a couple of hours of googling.

 I have looked at ASP.NET and VisualStudio etc and just feel I could do a 
 better job with Flex. Don't want to infer Flex is superior, but I do know 
 that I can write the app they need in Flex. Is this a sensible approach? 
 Thanks in advance for any pointers,

 Mic.





 

 --
 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: New Adobe forums coming!

2009-04-03 Thread Sam Lai
Nope - I believe it will look like this: http://adobeforums.adobe.com/index.jspa

2009/4/3 Radley che...@eoptica.com:


 I just took a look @ adobeforums.com tonight (thurs night).
 Is that what the new forums will be like?

 -radley

 On Apr 2, 2009, at 10:00 PM, Matt Chotin wrote:

 I think that will be up to folks who use flexcoders.  I’m hoping that we’ll
 consolidate and therefore be able to not rely on a separate list, but I want
 the forums to prove themselves worthy of that :-)


 On 4/2/09 9:57 PM, Bjorn Schultheiss bjorn.mailingli...@gmail.com wrote:




 Will the forums replace flexcoders?

 --- in flexcod...@yahoogroups.com mailto:flexcoders%40yahoogroups.com ,
 Matt Chotin mcho...@... wrote:

 Hi all,

 If you've been using the Adobe forums via the web interface recently you
 probably saw notices that we're introducing a huge upgrade to the forum
 system.  We're combining the user-to-user forums (adobeforums.com) and the
 adobe.com forums into a single forum system.  We're going to have some
 great
 features in there like email participation, RSS feeds, moderation
 supported
 by community members (on specific forums, if appropriate), better text
 entry
 support (including some levels of code formatting), and user ratings.
  This
 has me pretty excited as I think it will be a huge improvement over what
 we
 have.

 The forums are going to be down starting on Friday at 3pm PDT so we can
 migrate the last 36 months of content over to the new system.  We expect
 the
 new system to come up by Monday.  Once they're up I hope folks will check
 things out and become active participants.  I'll be curious to see what
 you
 think, I'm hoping we might even look into combining some of our separated
 forums under the system if it can meet folks' usability needs.

 So stay tuned!
 Matt










 




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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Re: Adding tabs dynamically

2009-04-02 Thread Sam Lai
Looks ok - I assume lineid in the XML doc progresses sequentially.

Maybe try manually using AS3 to add 6 tabs to the tabnavigator using
similar code and see if it still happens, just to rule out the XML
doc?

2009/4/2 markgoldin_2000 markgoldin_2...@yahoo.com:
 From the inside of a new Tab:
 TabNavigatorObj.addChildAt(this, TabNavigatorObj.getChildren().length - 1);


 --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote:

 How are you adding the tabs to the tabnavigator?

 2009/4/2 markgoldin_2000 markgoldin_2...@...:
  I am having a problem adding tabs to tabnavigator. While I am going in one 
  order tabs are generated in a different then mine. Here is some code 
  although it's simplified:
  // Scan thru scanning each zone and add as many as needed
  zoneNumber = resultXML.children().length();
  currentZone = 0;
  createNextTab(resultXML);
  private function createNextTab(resultXML:XML):void
                         {
                                 if (currentZone  zoneNumber)
                                 {
                         node = resultXML.zoneconfiguration[currentZone];
                 var Tab:boxing = new boxing();
                                         Tab.id = node.lineid.toString();
                                         Tab.label = Boxing Area  + Tab.id 
  +   ;
                                         Tab.paramObj.lineid = node.lineid;
                                         
  Tab.attachJobInProgress(boxingareas);
 
                                         callLater(createNextTab, 
  [resultXML]);
                                         currentZone++;
                                 }
  }
  resultXML looks very simple: nodes with lineid.
 
  Tab.paramObj.lineid drives IDs of tabs.
  While I am going from 1 to 6, Tabs have a random order: mostly 2, 1, 
 
  Hope my problem is clear.
 
  Thanks
 
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location: 
  https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
 
 
 
 





 

 --
 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] Why does percentWidth / percentHeight not work with popups?

2009-04-02 Thread Sam Lai
I can confirm the issue and had to manually size it via the resized event.

Maybe it's because the popup is not part of the window/app's display
list, but instead a separate controlled by PopupManager?

On 4/3/09, skuteboarding m...@mark-ingram.com wrote:
 I'm trying to create a popup at 100% of the width / height of the
 application. But it just ignores these values. I've had to work around the
 problem by doing:

 BindingUtils.bindProperty(popup, width, this, width);
 BindingUtils.bindProperty(popup, height, this, height);

 (Where 'this' is the application).

 The reason I'm trying to do this is I've got a popup that I want centred in
 the view, but it has different states which change the size of the popup.

 Mark



 

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





-- 
Sent from my mobile device


Re: [flexcoders] Re: New Adobe forums coming!

2009-04-02 Thread Sam Lai
I hope not - I used to be a forum trawler, but lately I've become
quite fond of having the content pushed to my email, as opposed to me
having to go get it. Also makes it easier to read on a mobile (yes, I
don't have an iPhone).

Some forum software offer a mailing list interface too - not sure if
clearspace does this. Alternatively, can you subscribe to entire
forums, not just individual threads - that would emulate a mailing
list.

2009/4/3 Matt Chotin mcho...@adobe.com:
 I think that will be up to folks who use flexcoders.  I’m hoping that we’ll
 consolidate and therefore be able to not rely on a separate list, but I want
 the forums to prove themselves worthy of that :-)


 On 4/2/09 9:57 PM, Bjorn Schultheiss bjorn.mailingli...@gmail.com wrote:




 Will the forums replace flexcoders?

 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ,
 Matt Chotin mcho...@... wrote:

 Hi all,

 If you've been using the Adobe forums via the web interface recently you
 probably saw notices that we're introducing a huge upgrade to the forum
 system.  We're combining the user-to-user forums (adobeforums.com) and the
 adobe.com forums into a single forum system.  We're going to have some
 great
 features in there like email participation, RSS feeds, moderation
 supported
 by community members (on specific forums, if appropriate), better text
 entry
 support (including some levels of code formatting), and user ratings.
  This
 has me pretty excited as I think it will be a huge improvement over what
 we
 have.

 The forums are going to be down starting on Friday at 3pm PDT so we can
 migrate the last 36 months of content over to the new system.  We expect
 the
 new system to come up by Monday.  Once they're up I hope folks will check
 things out and become active participants.  I'll be curious to see what
 you
 think, I'm hoping we might even look into combining some of our separated
 forums under the system if it can meet folks' usability needs.

 So stay tuned!
 Matt








 




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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Re: Ribbon in FLEX

2009-04-01 Thread Sam Lai
2009/4/2 Cole Joplin cole_jop...@yahoo.com:
 Scott uses
 Microsoft's participation in standards bodies and knowledge of gui research
 that clearly expresses an authority posture to legitimize his point. The
 typical posts here are overtly subjective developer opinions taken with a
 grain of salt. Clearly not the same content.

I thought declaring yourself as a Microsoft employee immediately meant
everything you say is to be taken with multiple grains of salt :P

You might want to look into Scott's history - he might not be doing
Flex stuff day-in, day-out in recent times, but he has a solid
background in Flex, and I'm sure he's kept up with development on
Flex/Flash and other Adobe stuff.

If he disclosed his affliations, I don't have an issue with it (as
long as it doesn't become a war between MS and Adobe people, which to
be fair, has happened with Scott before). I'd rather hear excuses from
them (and Adobe people for that matter), than nothing at all.


Re: [flexcoders] Adding tabs dynamically

2009-04-01 Thread Sam Lai
How are you adding the tabs to the tabnavigator?

2009/4/2 markgoldin_2000 markgoldin_2...@yahoo.com:
 I am having a problem adding tabs to tabnavigator. While I am going in one 
 order tabs are generated in a different then mine. Here is some code although 
 it's simplified:
 // Scan thru scanning each zone and add as many as needed
 zoneNumber = resultXML.children().length();
 currentZone = 0;
 createNextTab(resultXML);
 private function createNextTab(resultXML:XML):void
                        {
                                if (currentZone  zoneNumber)
                                {
                        node = resultXML.zoneconfiguration[currentZone];
                var Tab:boxing = new boxing();
                                        Tab.id = node.lineid.toString();
                                        Tab.label = Boxing Area  + Tab.id + 
   ;
                                        Tab.paramObj.lineid = node.lineid;
                                        Tab.attachJobInProgress(boxingareas);

                                        callLater(createNextTab, [resultXML]);
                                        currentZone++;
                                }
 }
 resultXML looks very simple: nodes with lineid.

 Tab.paramObj.lineid drives IDs of tabs.
 While I am going from 1 to 6, Tabs have a random order: mostly 2, 1, 

 Hope my problem is clear.

 Thanks



 

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






Re: [flexcoders] Flash player fails to install on vista!

2009-04-01 Thread Sam Lai
This just sounds like the tech support calls I get from customers.
Given you're a developer, I expected better -

What was the error message, how is it not installing?

2009/4/2 Cato Paus ca...@brannsikring.no:
 Hi all, this is veard, I have a clean install(Windows Vista Ultimate) on my 
 laptop and IExploer do not want to install the flash player (ActiveX) ! 
 switching to FireFox, up yours MS!



 

 --
 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:Separate browser sessions in AIR

2009-03-30 Thread Sam Lai
Thanks for the responses everyone.

Amy:
For some browsers yes, but nevertheless, it would be a nice capability
for AIR to have. No idea how it works for other browser controls.

Wesley:
The site I'm logging into is a third-party site that I have no control over.

Martyn:
This is with the mx:HTML control. I've noticed it uses a HTMLLoader
(inherited from URLLoader), and that has a manageCookies property
which when set to false, allows me to manage cookies manually via
header manipulation according to the docs.

Unfortunately, I can't work out how to hook into the loader to know
when it is making requests, and the underlying request object so I can
inject the headers. I'm not sending these requests manually with
URLRequest and I can't because the user needs to be able to use the
webpage via the mx:HTML control.

2009/3/31 Martyn Bowis mar...@netdesign.co.nz:
 Have you considered using a single session, but separating out your
 different user logins into separate child objects within that one session?

 eg: in a typical session, you might have a session object with the following
 keys:
 session.firstname
 session.lastname
 session.email
 session.cart
 ..., etc.

 So, why not instead use:

 session.user1.firstname
 session.user1.lastname
 session.user1.email
 session.user1.cart
 ..., etc.
 and
 session.user2.firstname
 session.user2.lastname
 session.user2.email
 session.user2.cart
 ..., etc.

 If the user is logging in from the same computer, then they are the same
 person, but using separate objects for each of their logins/profiles like
 the above may solve the problem you have.

 Kind regards,
 Martyn



 


[flexcoders] Separate browser sessions in AIR

2009-03-29 Thread Sam Lai
Hi everyone,

I've got a Flex-based AIR app that manages accounts and stores a
number of usernames and passwords for a particular website. On a
user's request, the app launches a new window with a mx:HTML control,
opening the website and allows users to log in.

The problem is, all instances of the mx:HTML control share the same
browser session. So if I had two different mx:HTML controls in the
same AIR app instance, I can't log into the same website using
different login credentials because the cookies are shared and would
confuse it (in this instance, the second login will replace the first
one).

There doesn't seem to be any way to tell AIR to start different
browser sessions, or even end an existing one.

Am I missing something obvious, and is anyone else in the same boat?

Cheers,

Sam


Re: [flexcoders] Re: Which mobile device can run flash ?

2009-03-26 Thread Sam Lai
Would the Adobe Mobile Central app give you any information? The one
that is, I think, bundled in with CS4? I seem to remember it had a
database of a wide range of phones, with info such as the screen size
and... other stuff when it was announced.

Sam

On 26/03/2009, Tom Chiverton tom.chiver...@halliwells.com wrote:
 On Thursday 26 Mar 2009, itdanny2002 wrote:
 If it can run FP9, that's great !
 Any hints ? Which model ?

 Well my 5y old SE P990i can run v8, so...
 As I said, there isn't a list.

 --
 Tom Chiverton
 Helping to completely integrate synergistic prospective revolutionary
 world-class ROI 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.


Re: [flexcoders] Hi! And a question about installing an AIR app

2009-03-18 Thread Sam Lai
Yes, you need admin rights for both installing the runtime and the apps.

You can just deploy the installed files I think, but you lose the
uninstall functionality, and possibly the updating functionality. The
former isn't that important to you anyway if your desktops are
managed.

Haven't tried deploying AIR apps in such an environment, but may
possibly be doing so in the next few months, so I'll be interested to
see how you deal with it.

2009/3/18 Stuart Greenberg yahoo-gro...@stuartistry.com:
 First of all, I'd like to say hi to everyone. I'm new to Flex and happy to 
 find such an active group.

 I'm developing an AIR application at work and need to deploy it on a few 
 desktops in one of our offices. The users do not have admin rights and the 
 desktop is pretty well locked down. Does anyone know if they need admin 
 rights to install an AIR app or do they just need it to install the AIR 
 Runtime? My other alternative is to use SMS to push out the install.

 I'd appreciate hearing from anyone with experience with AIR in an enterprise 
 environment.

 Thanks.

 -Stu Greenberg
 GUI Gumdrops
 http://www.guigumdrops.com



 

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






Re: [flexcoders] Disabling internet explorer keys like f5, f1 etc and firing flex application keys

2009-03-18 Thread Sam Lai
As a sidenote - I'm not sure what Buzzword does, but I wouldn't be
very happy if a flex app overrode my platform-specific keyboard
shortcuts. For example, I would expect the browser to refresh if I
pressed F5 whenever I'm in the browser, not do whatever custom action
you overrode it to do.

I think unless you break out of the browser (at least visibly like
Chrome even if not technically like AIR), overriding platform/browser
keyboard shortcuts is a bad idea. It just increases the confusion, and
also makes debugging/troubleshooting a pain when your flex app doesn't
have focus, but the browser does have window focus.

2009/3/18 jitendra jain jitendra_jain_2...@yahoo.com:
 Thanks Alex for your kind reply,

   Only IE differs from all the browsers. The event flow is easy to
 understand in other browsers but in IE , all pains.

   I'm amazed still IE occupies majority of the space .

  Thanks,

 with Regards,
 Jitendra Jain

 --- On Wed, 18/3/09, Alex Harui aha...@adobe.com wrote:

 From: Alex Harui aha...@adobe.com
 Subject: RE: [flexcoders] Disabling internet explorer keys like f5, f1 etc
 and firing flex application keys
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 Date: Wednesday, 18 March, 2009, 10:33 AM

 I don’t think there’s any easy answer for this.  Buzzword used lots of
 painful Javascript and even then had some issues.  Good luck.



 Alex Harui

 Flex SDK Developer

 Adobe Systems Inc.

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



 From: flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On
 Behalf Of jitendra jain
 Sent: Monday, March 16, 2009 11:33 PM
 To: flex group flex
 Subject: [flexcoders] Disabling internet explorer keys like f5, f1 etc and
 firing flex application keys



 Hi friends,



   I want to disable internet explorer keys like f5,f1 etc . Also i want to
 impose key listeners in flex application. Everything works fine in FF,
 Google chrome etc. IE face problems only when the control is on the
 application .



 Please help.

 Thanks,

 with Regards,
 Jitendra Jain
 Software Engineer
 91-9979960798

 

 Check out the all-new Messenger 9..0! Click here.

 
 Add more friends to your messenger and enjoy! Invite them now.

 




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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Ribbon in FLEX

2009-03-13 Thread Sam Lai
http://office.microsoft.com/en-us/products/HA101679411033.aspx?pid=CL100796341033#2

Kind of like the toolbar for picking controls in Adobe Dreamweaver
(unless they've changed it in recent versions).

Unfortunately I haven't heard of any Flash implementations, only
Silverlight implementations. You could implement it yourself using a
TabNavigator and Panel controls inside each tab for groups, and
buttons inside them. It's the styling that will be a pain - the
official specs are available from Microsoft for free though, with some
conditions attached
(http://msdn.microsoft.com/en-au/office/aa973809.aspx). You could also
use the images and even code if you know XAML from the Silverlight
version - http://silverlightribbon.codeplex.com/

Personally I'd be making my own interpretation of the ribbon control
instead of following the Microsoft version to the dot, especially
seeing as they have changed a few bits in Windows 7 which will
probably filter down to Office in Office 2010 (e.g. the confusion with
the File menu - the Orb in the top corner is now gone).

2009/3/13 Tracy Spratt tspr...@lariatinc.com:
 I am not familiar with that control, can you describe it?



 Tracy Spratt,

 Lariat Services, development services available

 

 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Claudio M. E. Bastos Iorio
 Sent: Friday, March 13, 2009 2:13 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Ribbon in FLEX



 Hi,

 Is there any component (free or paid) similar to the office 2007 ribbon
 control?



 TIA



 __

 Claudio M. E. Bastos Iorio



 


Re: [flexcoders] Control remote desktop with Flash

2009-03-11 Thread Sam Lai
http://www.google.com/search?hl=enrls=com.microsoft%3A*q=vnc+flash

2009/3/12 Carlos Rovira carlos.rov...@gmail.com:
 Hi all!

 I need a way to control remote desktops within a Flex Application. I have a
 client with an ActiveX solution and we want to change their collaborative
 applications to Flash RIA (chats, video chats, etc...). The only show
 stopper is this special functionality that I saw in Adobe Connect through a
 special plugin developed by Adobe but from what I know, there's no way to
 get it outside Adobe Connect (and we need a solution we can integrate in our
 software)

 Someone could point me to an Open Source solution? if not...commercial
 maybe?

 Thanks in advance

 Carlos Rovira


 


Re: [flexcoders] Re: Find the middel of the screen

2009-03-11 Thread Sam Lai
You can get the screen resolution from the Capabilities object - see
here 
http://www.thedesilva.com/2008/06/finding-client-machine-capabilities-using-flex-flash/.
From that you can work out the middle of the screen.

However, a word of warning - I have no idea how Flash and/or different
operating systems handle multiple displays. On Windows, all screen
location points (x, y) are relative to the 'primary' screen. So the
location point on any screen left or below of the primary screen will
have negative values for example. There is not enough information
provided for you to be able to handle these situations, which are
becoming increasingly common.

If you're looking just to place your app in the middle of the screen,
I'd argue the effort isn't worth the effect.

2009/3/12 bartman279 bartman...@yahoo.com:
 Of the screen? No, at least not any way that I am aware.

 You can determine the center of your flex application:

        private function findCenter() : void
        {
                var centerX:int = Application.application.width/2;
                var centerY:int = Application.application.height/2;
                Alert.show(     String( centerX ) +  x  + String( centerY ) 
 );
        }

 Hope this helps!

 ~ Bart

 --- In flexcoders@yahoogroups.com, timgerr tgallag...@... wrote:

 I have to use layout=absolute in my flex app, is there a way to find the x 
 and y values of the middle of the screen?

 Thanks,
 timgerr




 

 --
 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] Flex support for writing pad ( input device for Chinese )

2009-03-10 Thread Sam Lai
It should, assuming the user is using some kind of handwriting
recognition software, such as the one built into Vista.

It could be a focus issue, or maybe a browser thing - can the user
input Chinese characters into normal web forms?

2009/3/10 bsyyu ben.s...@gmail.com:
 I design a web application that allow customer to input their messages into 
 the database.
 If the input is via keyboard, it is no problem. But it does not work if the 
 customer is using writing pad for inputing chinese character.
 Does Flash support this, if it is, how ?
 Thanks




 

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






Re: [flexcoders] Flex 3 Tree - Moving Nodes

2009-03-09 Thread Sam Lai
You could do what MindManager does and make the left half of the node
dropzone for reordering, and the right half for making the node a
child of the drop node.

Not sure how easy it would be to implement that though in Flex.

On 3/10/09, Jim Hayes j...@primalpictures.com wrote:
 I had thought that I'd used the code there to allow users to drag/drop
 reorder and move tree nodes, but it was quite a long while ago so I may
 well be wrong.
 It wasn't perfect, but not bad at all.
 Also I may have misunderstood what you are looking for.
 Still, glad it wasn't entirely wasted!

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Alan Rother
 Sent: 09 March 2009 23:01
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Flex 3 Tree - Moving Nodes

 Thanks Jim,

 Thats not exactly what I was looking for, but it's a great example of
 how to use some of the Tree components, which I've been struggling
 with...

 =]
 --
 Alan Rother
 Adobe Certified Advanced ColdFusion MX 7 Developer
 Manager, Phoenix Cold Fusion User Group, AZCFUG.org


 __
 This communication is from Primal Pictures Ltd., a company registered in
 England and Wales with registration No. 02622298 and registered office: 4th
 Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK.
 VAT registration No. 648874577.

 This e-mail is confidential and may be privileged. It may be read, copied
 and used only by the intended recipient. If you have received it in error,
 please contact the sender immediately by return e-mail or by telephoning
 +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its
 contents to any person.
 This email has been scanned for Primal Pictures by the MessageLabs Email
 Security System.
 __

-- 
Sent from my mobile device


Re: [flexcoders] Re: Flex Builder 3 on Windows XP

2009-03-07 Thread Sam Lai
As far as I know, FB3 doesn't use Windows Installer, so that utility
probably won't help.

InstallAnywhere is written is Java, so maybe its worth reinstalling
Java to see if that'll help?

2009/3/7 hsam949 hsalam...@ccny.cuny.edu:
 I tried that, but when I run the utility Flex does not show up, since I 
 believe it was uninstalled successfully.

 Thanks!

 --- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... wrote:

 Try using the Microsoft Windows Installer CleanUp Utility 
 (http://support.microsoft.com/kb/290301). I've had great luck with that 
 tool. You might also need a registry cleanup tool. I don't know of any good 
 free ones. Maybe someone else can post a reply on that.

 - Alex C

 --- In flexcoders@yahoogroups.com, hsam949 hsalama00@ wrote:
 
  I have a weird problem. My PC crashed yesterday and after re-booting Flex 
  builder would not start. When clicking on the icon, you get the initial 
  Flex screen but then it disappeared and nothing happens. After struggling 
  for a couple of hours, I decided to uninstall and reinstall Flex. Now when 
  I run the installer, InstallAnyWhere gets to about 43% and stalls, then 
  jumps to 99% and then asks for another location to extract the installer. 
  When you specify a different location, the same thing happens all over 
  again. This is the same installation file I used before, so I know it is 
  not corrupt. Also, when I checked my registry, there is not entry for Flex 
  under Adobe in HKEY_LOCAL_MACHINE -- Software. Any help is appreciated.
 
  Thanks!
 





 

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






Re: [flexcoders] Launching Air application from ASP .NET

2009-03-05 Thread Sam Lai
It might be due to the fact that the ASP.NET process does not run in
an interactive account, i.e. able to display anything on screen.

Try using the runas command from the command prompt and see what it does there.

On 3/5/09, akila_ksri akila_k...@yahoo.co.in wrote:
 The app is already written in Flex and I need to reuse it. I do not want to
 duplicate the code in ASP .NET.

 To answer your first question, I want to write the file to the local disk
 (wherever the ASP .NET app is running). Although I do not think security
 should be an issue here, I have given complete access to the ASPNET user.

 --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote:

 ASP.NET executes applications as a different user with a different set
 of permissions. If you are writing to local storage, it would be in a
 different location than what you would expect if you are running the
 app as yourself. Where are you writing to?

 Can I ask why you are doing this? What does AIR offer that you can't
 do using ASP.NET on the server?

 2009/3/4 akila_ksri akila_k...@...:
  I have an AIR application that I need to run from an ASP.NET page. I use
  System.Diagonistics.Process to launch the exe file (on installing the
  .air file). My application does not seem to working though. It appears
  in the task manager but does not seem to run properly.
 
  On start of the application itself, I write a file to disk. But when I
  launch this through the Process, no file gets written.
 
  Any response is greatly appreciated.
 
  Thanks,
  Akila
 
 
 
  
 
  --
  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] Launching Air application from ASP .NET

2009-03-04 Thread Sam Lai
ASP.NET executes applications as a different user with a different set
of permissions. If you are writing to local storage, it would be in a
different location than what you would expect if you are running the
app as yourself. Where are you writing to?

Can I ask why you are doing this? What does AIR offer that you can't
do using ASP.NET on the server?

2009/3/4 akila_ksri akila_k...@yahoo.co.in:
 I have an AIR application that I need to run from an ASP.NET page. I use 
 System.Diagonistics.Process to launch the exe file (on installing the .air 
 file). My application does not seem to working though. It appears in the task 
 manager but does not seem to run properly.

 On start of the application itself, I write a file to disk. But when I launch 
 this through the Process, no file gets written.

 Any response is greatly appreciated.

 Thanks,
 Akila



 

 --
 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: try, catch, finally ...

2009-03-04 Thread Sam Lai
I thought Alex said before that exceptions don't appear for users
running the standard Flash Player (i.e. not the debug one). Hence the
user won't even know something went wrong; rather the app will
probably just enter some unknown/unusable state and effectively
freeze.

There are cases for using try-catch when there is no other option. But
when there are, e.g. testing the type of a variable before casting it
or using a fault handler, try-catch should not be used. That could
make the code a bit convoluted though, so in cases where errors can
occur at many points (e.g. processing data files from an external
server) a try-catch may be preferable, not only for code style, but
also because you are unlikely to be able to pre-empt and mitigate all
the errors that might occur.

2009/3/5 Weyert de Boer w...@innerfuse.biz:
 I respectfully disagree with not handling exceptions and let them raised
 in the player. Of course, eating exceptions is terribly bad. Yes,
 raising exceptions because user input is bad is a long stretch.

 Hi Kevin,

 Try-Catch blocks are an absolute necessity as without them, you are
 putting the operation of your software into the hands of user input
 errors, http errors, unintended consequences as well as the myriad of
 things that exist outside the Happy Path.

 I respectfully disagree.  IMHO, try-catch is only useful in rare
 situations; like file IO in an Air app.  User input should be handled
 with restict and validators and http errors should be handled with a
 fault handler.  What I'm saying is that well written/tested code
 rarely needs the overhead and verboseness of a try-catch block.  In
 the event of un-caught errors, I personally want the Flash window to
 popup.  While the dialog could be more elegant, the stack trace makes
 it easier to locate the problem and fix the bug quickly.  Again, just
 my opinion.

 -TH

 --- In flexcoders@yahoogroups.com, Kevin Benz kb...@... wrote:
 
  Try-Catch blocks are an absolute necessity as without them, you are
  putting the operation of your software into the hands of user input
  errors, http errors, unintended consequences as well as the myriad of
  things that exist outside the Happy Path. As functions/methods only
  give you one return object, it is common practice to throw custom
  errors/exceptions as they are a great mechanism for handling dynamic
  environments.
 
 
 
  To answer your second question about a try-catch without statements in
  the catch block. If this method is nested inside of another try-catch
  block, then an exception here will be swallowed and not be caught in the
  calling objects try-catch.
 
 
 
  KFB
 
 
 
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
  Behalf Of SJF
  Sent: Tuesday, March 03, 2009 6:54 PM
  To: flexcoders
  Subject: [flexcoders] try, catch, finally ...
 
 
 
  Technically, it's good practice/professional to use try-catch-finally
  blocks in your actionscript logic. This ensures a robust, easily
  debugg-able application.
 
  However, can anyone comment if they actually use try-catch-finally or
  whether anyone is for or against it's use.
 
  I ask because I've received an application (which streams vidoe) that
  was blowing out numerous users CPUs to 100%. Upon further investigation,
  it appears that a netstream event is firing 20 times a second, and
  within the listener (listener function that is) for the event, there is
  a try-catch-finally block. I removed the try-catch-finally and CPU usage
  halved on my machine.
 
  Anyone care to comment for or against try-catch-finally and it's use.
 
 
 
  Steve.
 
 
 
 
  --
  This message has been scanned for viruses and
  dangerous content by MailScanner http://www.mailscanner.info/ , and is
 
  believed to be clean.
 





 

 --
 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] jQuery for Flex - a Behavior Injection Framework

2009-03-02 Thread Sam Lai
I think you forgot the link (or my phone's playing tricks with me).

http://code.seanhess.net/?p=156

Nice work btw. I'm going to have to think about how it fits in with
Flex and my current workflow, but I'll give it a shot in my new
project :)

On 3/3/09, Sean Clark Hess seanh...@gmail.com wrote:
 jQuery for Flex - a Behavior Injection
 Frameworkhttp://code.seanhess.net/?p=156

 [...] I’ve just finished my pre-alpha version of a Behavior Injection
 framework for Flex. It adds support for functionality similar to jQuery for
 flex, along with support for a more complete CSS syntax. The approach is
 slightly different than jQuery, and hopes to play along with Flex’s
 strengths as well. [...]





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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] HandCursor (pointing version)

2009-03-02 Thread Sam Lai
I'm not sure that they look the same cross-platform and/or
cross-browser. But if you're on Windows, they're in
C:\Windows\Cursors. There's probably some app out there that converts
.cur files to .pngs.

2009/3/3 djhatrick djhatr...@yahoo.com:
 I am having bugs with handCursor, where can i find that little pointer
 png.  So I can make my own cursor  I would just clip one out of a
 screenshot, but screenshots hide the mouse :(



 

 --
 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] question for flex coders

2009-02-26 Thread Sam Lai
Because in the line,

return publishDate.format(dateItem[dateColumn.dataField]);

dateItem[dateColumn.dataField] is an XML object, not a string, and the
date formatter doesn't like that. Try adding toString() after it and
it should work, i.e.

return publishDate.format(dateItem[dateColumn.dataField].toString());

2009/2/27  b...@bueche.com:
 Why does my dateformater NOT work in my grid (below) if
 I specify the resultformat as E4X?  Thats the only difference
 I can see in the grids below.
 Grids 1 and 2 are not e4X and yet they display the date as processed by the
 dateformatter.

 Grids 3 and 4 are e4x and the field is just blank for them.

 Hopefully I'm not being bone-headed!

 thanks in advance,
 brad

 Relevant Code Snippets follows

 mx:DateFormatter id=publishDate formatString= DD,  /
 **
 private function dateFormat(dateItem:Object,
    dateColumn:DataGridColumn):String
 {
    return publishDate.format(dateItem[dateColumn.dataField]);
 }

 [Bindable] private var bookStock:ArrayCollection;
 private function bookHandler(evt:ResultEvent):void
 {
   bookStock = evt.result.books.stock;
 }

 [Bindable] private var bookStock2:XMLList;
 private function bookHandler2(evt:ResultEvent):void
 {
         bookStock2 = evt.result.stock
 }

 [Bindable] private var bookStock3_List:XMLListCollection;
 private function bookHandler3(evt:ResultEvent):void
 {
         var bookStock3:XMLList = new XMLList(evt.result.stock);
         bookStock3_List = new XMLListCollection (bookStock3);
 }

 **
 mx:HTTPService id=bookData url=assets/books2.xml /

 mx:HTTPService id=bookData2 url=assets/books2.xml
                                 result=bookHandler(event)
                                 fault=faultHandler(event)
                                 /
 mx:HTTPService id=bookData3 url=assets/books2.xml
                                     result=bookHandler2(event)
                                  resultFormat=e4x/

 mx:HTTPService id=bookData4 url=assets/books2.xml
                                     result=bookHandler3(event)
                                  resultFormat=e4x/
 
 mx:DataGrid  id=dg2  x=42 y=125 width=950 height=100
               dataProvider={bookStock} 
   mx:columns
     mx:DataGridColumn dataField=name headerText=name/
     mx:DataGridColumn dataField=author headerText=author/
     mx:DataGridColumn dataField=category headerText=category/
     mx:DataGridColumn dataField=description headerText=description/
     mx:DataGridColumn dataField=publish_date
    headerText=publish date
   labelFunction=dateFormat/
   /mx:columns
 /mx:DataGrid

 mx:DataGrid id=dg3 x=42 y=250 width=950 height=100
                  dataProvider={bookStock2} 
   mx:columns
     mx:DataGridColumn dataField=name headerText=name/
     mx:DataGridColumn dataField=author headerText=author/
     mx:DataGridColumn dataField=category headerText=category/
     mx:DataGridColumn dataField=description headerText=description/
     mx:DataGridColumn dataField=publish_date
                          headerText=publish date
                         labelFunction=dateFormat/
  /mx:columns
 /mx:DataGrid

 


Re: [flexcoders] Tons of errors using FlexBuilder on Ubuntu

2009-02-25 Thread Sam Lai
2009/2/26 Kelly dek...@gmail.com:

 I keep trying to use it in Ubuntu but without much success.

 It crashes a lot. I am using 8.10 though.

What do the Eclipse logs say? They might help in working out what's
wrong. Which version of Java are you running as well while you're at
it. There are various fixes for certain things floating around, but at
the end of the day you get a hodge-podge version that kind of works
still.

 I don't even care about design view.

 I would be happy if it only had the features it currently has in the Alpha.

I woulld've strongly missed this initially, but surprisingly, I'm
beginning to see MXML like HTML and don't even resort to the design
view anymore (also because it's clunky and slow too in Windows). I'd
drop Flex Builder any day if it weren't for the lack of serious
alternatives - its nowhere near the IDE I expected.

 Who still uses Windoze? Srsly.

 Windoze is just expensive patented spyware.

 It spys on you in about 50 different ways.

 Micro$oft admitted it in their patents.

 No doubt Macs do the same thing. Just more expensive.

Right. That makes you super cool spelling Windows and Microsoft that
way. And I presume you've checked through the source code of every
component used in your installation of Ubuntu to make sure it isn't
sending anything either. There are perfectly legitimate reasons for
collecting such data, and no doubt Ubuntu (and some of the apps
running on your computer) have a similar program. I'm not trying to
justify some of the things that Microsoft collect; but just because
you don't know doesn't mean it isn't there.

You don't seem to have an issue with Google spying on you via your
gmail account, your searches and anything else you perform on Google
sites whilst logged into your Google account...


  1   2   3   >