Re: [flexcoders] Call external App from AIR

2009-01-05 Thread Sam Lai
Is this a client/server app, or a client-only app? If client only, you can't call ActiveX objects, in fact, you can't run Java code at all (except with the proxy, which makes things more complicated). In the HTML file - you are loading it in IE, and using that to access ActiveX objects? That code

Re: [flexcoders] Re: Call external App from AIR

2009-01-06 Thread Sam Lai
Thank Sam! I build an client AIR app. I find that all the way which I have tried is can't execute. I have received another guide about command proxy so I will search about it. The command proxy allows you to send calls to external code to do things you can't do in AIR via sockets. Effectively,

Re: [flexcoders] Display HTML Page Code Help

2009-01-06 Thread Sam Lai
AIR or browser? On 1/6/09, horatio_rodriguez h.rodrig...@o2.co.uk wrote: Hi There I have just today started to use Flex Builder on the mac platform, i have looked over a couple of the RIA's and its pretty impressive to start with. I have a small question about coding, I have created a new

Re: [flexcoders] Re: Properly remove children

2009-01-06 Thread Sam Lai
I think you need to use weak references when adding event listeners. Set the last parameter of addEventListener to true when adding event listeners. Alternately, you can remove event listeners when the forms are removed using the removeEventListener function. The flex profiler is useful here too

Re: [flexcoders] Re: Display HTML Page Code Help

2009-01-06 Thread Sam Lai
instead, put together with HTML. 2009/1/7 horatio_rodriguez h.rodrig...@o2.co.uk: I am using Flex Builder For Mac, Trying to release for browser. Thanks --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote: AIR or browser? On 1/6/09, horatio_rodriguez h.rodrig...@... wrote: Hi

[flexcoders] Re: Properly remove children

2009-01-06 Thread Sam Lai
You should clean up your event listeners when you remove the children. As long as a reference exists on those children they will never be garbage-collected. Is there an easy, standard way to do this? I've tried using the removedFromStage event, but that event gets fired when an AIR/Flex app

Re: [flexcoders] Re: Call external App from AIR

2009-01-06 Thread Sam Lai
So can command proxy execute something I talk above? Yes it can, because it has full access to the desktop (within user permissions). I'm not sure if Java has the ability to use ActiveX objects, but I believe it does. There is a .NET command proxy concept out there too, but it isn't as

Re: [flexcoders]Scope issue - class variable not set

2009-01-07 Thread Sam Lai
Are you doing this within an anonymous function? If so, using the this keyword within the anonymous function doesn't refer to the class it is written in, but rather the global context. Try removing the this keyword, but I get the idea you have another variable named anchorName declared within the

Re: [flexcoders] Get AsDoc-generated information as XML?

2009-01-08 Thread Sam Lai
http://rantworld.blogs.com/flashlit/2007/02/use_asdoc_to_dr.html That might help - don't know what info it has in the XML file though. Look forward to seeing what you come up with - glad I'm not the only one who finds the standard ASDoc files difficult to use on a regular basis. 2009/1/8 Josh

Re: [flexcoders] Re: AIR on embedded linux?

2009-01-08 Thread Sam Lai
As mentioned before, Flex does not run on Flash Lite, nor does any AS3 apps. (unless there's a Flash Lite version newer than 2.0 that I'm not aware of.) I'd suggest you also take a look at how the Chumby has implemented this - it is an embedded Linux device running Flash Lite showing widgets. It

Re: [flexcoders] Re: Installation on multiple machines (was: Flex Builder 3 on Mac and Win at same time?)

2009-01-09 Thread Sam Lai
There's no problem with running both versions technically - they are completely seperate from the app's perspective. What's the error? And out of curiosity - what does telling FB3 what server tech you use get you anyway? 2009/1/10 valdhor valdhorli...@embarqmail.com: You can use the Mac version

Re: [flexcoders]How do I know if a class is on the Application?

2009-01-09 Thread Sam Lai
You could probably look by using the Application.application instance to access the Application object, then look through the children using numChildren and getChildAt in a loop. I have to ask though, why? It doesn't sound like a neat solution - maybe you could pass in the Application instance

Re: [flexcoders] recompiling framework shared library?

2009-01-10 Thread Sam Lai
Could you subclass that class and make the changes there? That way you don't need to change the Flex class, and hence the RSL. 2009/1/10 luvfotography ygro...@all-digital-links.com: Hi, I've made a change to mx.controls.videoClasses.VideoPlayer.as and placed it in my 'src' folder under the

Re: [flexcoders] Re: Using dispatchEvent ?

2009-01-12 Thread Sam Lai
The event listener attached to the Application is not reacting to the event fired from your custom class because your custom class instance is not attached to the Application DisplayList. It is just an object in memory. If you want the event from your custom class instance to bubble up to the

Re: [flexcoders] How to remove labels from a chart with ActionScript

2009-01-12 Thread Sam Lai
AxisRenderer(myBarChart.horizontalAxisRenderers[0]).setStyle(showLabels, false); should work. How have you defined your chart in MXML? Did you explicitly define a horizontal axis renderer, or are you using the internal one? Maybe try defining one explicitly, and that way you can set an ID and

Re: [flexcoders] Adding more than one function to creationComplete

2009-01-13 Thread Sam Lai
Should just be something like - mx:Application creationComplete=method1(); method2(); Code appearing in event attributes are compiled as an anonymous function I believe. 2009/1/14 brucewhealton br...@futurewavedesigns.com: Hello all, I am having trouble finding out how to do this.

Re: [flexcoders] Re: where is the FB Pro 3.0.2 datavisualization source?

2009-01-14 Thread Sam Lai
http://blogs.adobe.com/flexdoc/2008/04/extracting_data_visualization.html Substitute 3.0.0 for 3.2.0 and you should be right. Took me a while to find this when I needed it - don't know why they don't just install it if Flex 3 Pro is detected, but anyway... 2009/1/15 Pan Troglodytes

Re: [flexcoders] Parallel from actionscript...

2009-01-16 Thread Sam Lai
How are you making them move? Should work if you are using an Effect. 2009/1/17 aceoohay pa...@compuace.com: I am beginning to play with moving things. When my app loads I read a DB table to get the names of some modules that I load; a.swf, b.swf, c.swf etc. I have another db table where

Re: [flexcoders] Re: Parallel from actionscript...

2009-01-17 Thread Sam Lai
thread but, one effect that I was unable to make work that I thought would be cool is to move on one axis at a time. In other words move along the x axis to right place, and when done move on the y axis. Paul --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote: How are you

Re: [flexcoders]How would you rewrite this isset PHP condition in AS3?

2009-01-19 Thread Sam Lai
The hasOwnProperty method available in all objects does exactly this. http://livedocs.adobe.com/flex/3/langref/Object.html#hasOwnProperty() Why it is called hasOwnProperty rather than hasProperty I have no idea. 2009/1/19 dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com: late

Re: [flexcoders]How would you rewrite this isset PHP condition in AS3?

2009-01-19 Thread Sam Lai
is undefined and has no properties. On Mon, Jan 19, 2009 at 10:20 AM, Sam Lai samuel@gmail.com wrote: The hasOwnProperty method available in all objects does exactly this. http://livedocs.adobe.com/flex/3/langref/Object.html#hasOwnProperty() Why it is called hasOwnProperty rather

Re: [flexcoders] flex builder student version

2009-01-21 Thread Sam Lai
Yes - I've built an app using a student license from flexregistration.com and it has no watermarks on the charting components. Even better, there is no limitation if you wish to commercialise your creation - no need to buy a copy of Flex Builder for commercial purposes. 2009/1/22 hworke

Re: [flexcoders] flex builder student version

2009-01-22 Thread Sam Lai
getting the water mark!!! Do you know why? I put the serial number on help-Manage Flex licenses and I thought it should take care of it. But it did not!!! On Wed, Jan 21, 2009 at 11:47 AM, Sam Lai samuel@gmail.com wrote: Yes - I've built an app using a student license from

Re: [flexcoders] Flex. AIR and IPhone

2009-01-26 Thread Sam Lai
I think the issue here is that if Adobe/MS used SVG as a base instead of their proprietary XML dialects, then they won't be able to innovate and implement new features as quickly. If they added proprietary extensions to SVG, there'll be a massive backlash as seen with IE and its CSS, JS and HTML

Re: [flexcoders] flex date and timezone

2009-01-27 Thread Sam Lai
Doubt it - I'm not sure if those strings you have are the standard strings anyway. There might be a web service out there you could call though to resolve them - maybe the source of those timezone strings might have something? 2009/1/28 coder3 rrhu...@hotmail.com: Right. I only have the string.

Re: [flexcoders] Re: localconnection data encrypted?

2009-01-28 Thread Sam Lai
The only weakness I can see in this is that I am using the Encrypted Local Store to save the RSA keys. I intend to use this same technique in communicating sensitive with back end web services. Which brings up the next question: How secure is the Encrypted Local Store? If someone can get the

Re: [flexcoders] Reducing white space in charts

2009-01-30 Thread Sam Lai
I had the same problem, and wasn't about to get it completely eliminated. I used the following styles on my AxisRenderer for both the horizontal and vertical axes: showLabels: false; showLine: false; tickPlacement: none; minorTickPlacement: none; axisStroke: ClassReference(Stroke); I did this in

Re: [flexcoders] Re: Are flex events really thread safe?

2009-02-03 Thread Sam Lai
Yep. I had a similar situation - in the end, I had to rewrite the lengthy processing code to split the task up and process a couple of items per frame, hooking into the ENTER_FRAME event. That kept the UI responsive, which was my main concern. 2009/2/3 Shyam shyammohan.sugat...@devicedriven.com:

Re: [flexcoders] Re: mx:Text maxWidth

2009-02-04 Thread Sam Lai
Don't have a solution, but you could wrap the Text control in a container, and set the maxWidth on the container instead. 2009/2/5 tchredeemed apth...@liberty.edu: What I want it to do is to allow it to grow to the maxWidth, and wrap the text if it hits the max, right now it just cuts off the

Re: [flexcoders] C and ActionScript

2009-02-05 Thread Sam Lai
You can't, without a whole lot of plumbing in between, or possibly using the experimental Alchemy set of tools (labs.adobe.com). 2009/2/5 christophe_jacquelin christophe_jacque...@yahoo.fr: Hello, How to call a function of a library in C, from a line code in a flex application ? Thank you,

Re: [flexcoders] Adobe Presentation Tool

2009-02-05 Thread Sam Lai
Meanwhile, sliderocket.com ? 2009/2/6 Erich Cervantez f...@noofusion.com: So I saw Evan Gifford give a flash component kit lecture at Flex Camp in Orange County last weekend and he used the beta version of Adobe Presentation Tool and it was wicked. Problem is I can't find any mention of it

Re: [flexcoders] Flex RegExp issues

2009-02-08 Thread Sam Lai
Escape them by doing \. instead of . You might also have to escape the escape character too, i.e. \\. instead. 2009/2/9 Manu Dhanda manuraj.dha...@gmail.com: So, how can I exactly match . OR - character correctly? Guy Morton wrote: In regexp syntax, . means match any character On

Re: [flexcoders] Flex RegExp issues

2009-02-08 Thread Sam Lai
, \\$1); var bool:Boolean = someStr.match(new RegExp(anotherStr ,'i'); Am too much confused with RegExp now. Sorry for all the trouble. Sam Lai wrote: Escape them by doing \. instead of . You might also have to escape the escape character too, i.e. \\. instead. 2009/2/9 Manu Dhanda

Re: [flexcoders] How to display HTML content in flex app?

2009-02-11 Thread Sam Lai
Don't mean to be rude, but this question has been done to death. Check the archives - http://www.mail-archive.com/search?q=htmll=flexcod...@yahoogroups.com 2009/2/12 markflex2007 markflex2...@yahoo.com: Please give me a idea.thanks Mark -- Flexcoders

[flexcoders] Anyone tried effects on ChartItems in charts?

2009-02-17 Thread Sam Lai
Hi everyone, I've got a column chart that displays values for each day for say a month. When I click on a particular bar, I want to fade out all the days except those matching the one clicked, e.g. if I clicked on a bar and that bar represented a Monday, I want to fade out all bars except if they

Re: [flexcoders] Re: HTML editor for Flex Builder 3?

2009-02-17 Thread Sam Lai
That's definitely an option - go to Help - Software Updates - Find and Install. At least select the Europa Discovery Site when prompted for update sites. Click next and that should give you a list of things to pick to install. The names are pretty cryptic, and the descriptions aren't descriptions,

Re: [flexcoders]Class path alias

2009-02-17 Thread Sam Lai
I assume your extended Button is in a package of some kind, so just do this - my:Button xmlns:my=my.package.components text=hello world / The xmlns:my attribute lets Flex know which button you are referring to, and using the my: prefix tells Flex which package to look in. You can add the xmlns

Re: [flexcoders] No codecompletion available

2009-02-18 Thread Sam Lai
fontSize is a style, not a property. To set fontSize, use myComponent.setStyle(fontSize, 40); Easiest way to work out what's what is to look at the flex docs. 2009/2/18 secrit.service secrit-serv...@hotmail.com: Hi all, I'm new to Flex, so I will probably ask some simple questions. However

Re: [flexcoders] Re: Help! Getting blank Flex Build Path, Flex Modules windows

2009-02-18 Thread Sam Lai
Lol, can't begin to imagine how someone worked that out. 2009/2/19 sleblang sc...@digitalsaguaro.com: Clearly this is an issue with 64Bit systems. Here's a band-aid solution that worked for me and might help others out until a solution is implemented. from:

Re: [flexcoders] (Again ) Capabilities.language or how to get keyboard Locale in Air/Flex

2009-02-19 Thread Sam Lai
Capabilities.languages should give you the preferred languages of the user running the app, not for the compilation. http://livedocs.adobe.com/flex/3/langref/flash/system/Capabilities.html#languages If it is playing up, you can always get it via Javascript:

Re: [flexcoders] (Again ) Capabilities.language or how to get keyboard Locale in Air/Flex

2009-02-20 Thread Sam Lai
properties... I will assume it is a bug og Air framework then. --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote: Capabilities.languages should give you the preferred languages of the user running the app, not for the compilation. http://livedocs.adobe.com/flex/3/langref

Re: [flexcoders] XML Parsing - maintaining a record pointer

2009-02-20 Thread Sam Lai
You could use a different variable name in the inner loop, that way it won't change the object in the outer loop. On 2/21/09, Libby libbychan...@yahoo.com wrote: hi, flexCoders! thanks for all ur help in the past! Does Flex maintain your record pointer while reading an xml file? basically

Re: [flexcoders] Re: How to implement right click drill down for either PieChart or ColumnChart

2009-02-21 Thread Sam Lai
A really hacky way would be to store the current mouse X and Y whenever the mouse moves anywhere on your Flex app, so when they click on a item in your context menu, you will have the mouse X and Y and can use the findDataPoints method on the chart to get the ChartItem(s), and hence the

Re: [flexcoders] Directory for SWF files

2009-02-24 Thread Sam Lai
Does it matter if it is public? It has to be accessible to the user if they are to view it anyway. You could make it only available to logged in users, but at the end of the day, if the user wants to download it, they can and there's nothing you can do about it. 2009/2/24 christophe_jacquelin

Re: [flexcoders] Re: generating codes that users can use to pay for a service

2009-02-24 Thread Sam Lai
On behalf of your future customers, please don't - having to enter long Windows product keys every now and then is painful enough. A random 8 digit number should be plenty given that once a code has been used, it can be reused for another purchase. 2009/2/25 alinmircea_s alinmirce...@yahoo.com:

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

Re: [flexcoders] Tons of errors using FlexBuilder on Ubuntu

2009-02-25 Thread Sam Lai
Agency DoD = Department of Death IRS = It's Really Slavery Babylon we know your secrets Sam Lai wrote: 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

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

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:

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

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

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

Re: [flexcoders] Launching Air application from ASP .NET

2009-03-05 Thread Sam Lai
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

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,

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

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

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

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

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

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

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

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

[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

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

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.

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

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

Re: [flexcoders] Re: Adding tabs dynamically

2009-04-02 Thread Sam Lai
: 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

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

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

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

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

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

2009-04-04 Thread Sam Lai
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

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

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 list

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

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.

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

2009-04-13 Thread Sam Lai
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

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

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:

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

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

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

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

Re: [flexcoders] chart axis renderers inside data area

2009-04-23 Thread Sam Lai
...@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

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

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

2009-04-26 Thread Sam Lai
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

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

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

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

2009-04-27 Thread Sam Lai
, 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

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,

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

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

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

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

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

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

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

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.

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

  1   2   >