Re: [flexcoders] flex application is not loading under HTTPS

2008-10-03 Thread Paul Andrews
Venkat, please could you not crosspost to multiple flex groups - your message are doubling up - it's really bad practice. Paul - Original Message - From: venkateswarlu naidu To: flexcoders@yahoogroups.com ; [EMAIL PROTECTED] Sent: Friday, October 03, 2008 5:21 AM Subject:

RE: [flexcoders] Serverside swf compile

2008-10-03 Thread Gregor Kiddie
Are you actually wanting to generate swfs on the fly, or are you just looking at a library / module scenario? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in

[flexcoders] Re: Matching n groups with a regex?

2008-10-03 Thread mookie298347
Hmm, maybe I am not understanding your needs. My pattern works on your example of *%*^objectA()*)(*908objectB,objectC The resulting array contains: objectA 908objectB objectC Which is what I thought you wanted. Also, the problem in your RE *is* the non-capturing group which is consuming your

[flexcoders] Re: Debugger disconnects for one project only

2008-10-03 Thread mookie298347
Although not exactly the same problem I experience a similar issue with FF and the Flex debugger. I wouldn't see any trace() statements show up in Flex Builder when using FF. I traced the problem down the Adblock Plus add-on in FF. Apparently if you have it enabled it breaks the Flex debugger.

Re: [flexcoders] Re: Matching n groups with a regex?

2008-10-03 Thread Josh McDonald
I need to do two things: 1: make sure the string matches /^[a-zA-Z0-9_]+(?:\.[a-zA-Z0-9_]+)+$/ 2: extract all the individual words (not the dots) I Can't use \w because it doesn't match _. At the moment I'm just using String.split(.) after using the regexp to test validity. -Josh On Fri, Oct

[flexcoders] Re: Serverside swf compile

2008-10-03 Thread Mayur
Hi... To generate swf at server side. 1. Use ' mxmlc ' and ' compc ' command line tool at server side ( you may use any server side technology e.g. .Net, java, php, ROR etc. ) 2. Search on adobe labs there is one utility for compilation on fly for Apache and IIS

[flexcoders] How to write a file on the server and access it with FileReference mechanism ?

2008-10-03 Thread Farid SALAH
Hi All, I'm using the classic Tomcat/BlazeDS - Flex environment. What I'm doing is exporting a DataGrid and AdvancedDatagrid to Excel files. I generate a matching excel file on the server and download it using specific servlets. The thing I want to do is generate the same file on the

[flexcoders] swf with TextField.htmlText - links do not work

2008-10-03 Thread bjorn
I've got a flex application which loads an SWF which contains a link in a TextField's htmlText. It displays the mouse over handcursor and it looks like a link - yet when I click it nothing happens. Is there some security limitation here? -- http://www.juicability.com -

RE: [flexcoders] swf with TextField.htmlText - links do not work

2008-10-03 Thread Gregor Kiddie
What would you expect to happen? Is there code to deal with catching the event and opening the url, opening new windows, etc? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number:

Re: [flexcoders] get the file path

2008-10-03 Thread Haykel BEN JEMIA
For security reasons, you don't have access to this information. It's only available for AIR applications. On Fri, Oct 3, 2008 at 6:25 AM, dialogtmp [EMAIL PROTECTED] wrote: hello all, When I use fileRef.name, I can get the file name. If I want to know where the file located on the user

Re: [flexcoders] swf with TextField.htmlText - links do not work

2008-10-03 Thread bjorn
Well, in flash this works out-of-the-box with htmlText .. if you have an a href tag it's clickable and opens the url in a new window. 2008/10/3 Gregor Kiddie [EMAIL PROTECTED] What would you expect to happen? Is there code to deal with catching the event and opening the url, opening new

RE: [flexcoders] swf with TextField.htmlText - links do not work

2008-10-03 Thread Gregor Kiddie
You need to look at, http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_04. html#437546 It doesn't automatically work in Flex, as the automatic behaviour may be undesirable. You need to have event handlers for the link. Gk. Gregor Kiddie Senior Developer INPS Tel:

[flexcoders] Flex stops building and stops debugging

2008-10-03 Thread Cordova Aaron
When working on projects there are times when flex refused to build the project. Actually flex doesn't refuse, it jus doesn't happen. And any new code added or code removed doesn't have any effect. I can add in new components but the application will never be rebuilt. Cleaning the build results

[flexcoders] Re: Plotting values equal to Zero on the Line Chart

2008-10-03 Thread sunild999999
Hi, When there is no data for a given day, are you representing this with an actual 0 (zero), or a null value? My experience is that when the data is 0, the chart plots data on the axis and often it looks like there is no value at that point (because the chart line is plotted on the axis

[flexcoders] How to display the select item as bold font in the Flex List.

2008-10-03 Thread t_varada
Hi Group Can anyone point me how to make a selected item in the Flex list as bold font? Based on our usability guidelines we are required to show the bold fonts for the selected item in the list. I tried as item renderer but it displays all the items in the list in bold font. Please share

[flexcoders] Re: Complete event error for Image control within Repeater

2008-10-03 Thread Marielle Lange
Humm, correction on my previous post. Listening to an image component should be possible. This: http://livedocs.adobe.com/flex/3/langref/mx/controls/Image.html#eventSummary confirms that mx.controls. Image components dispatch a creationComplete event. Livedocs

[flexcoders] Re: Complete event error for Image control within Repeater

2008-10-03 Thread Marielle Lange
Check out this presentation: http://www.ananth.info/files/54923-48191/FlexEventDataManagement10April2007.ppt slide 10 * Every object in the display list can trace its class inheritance to DisplayObject class * The DisplayObject class inherits from EventDispatcher * EventDispatcher is the base

[flexcoders] Re: decrementing the x axis on a chart

2008-10-03 Thread sunild999999
I concur, massaging the data is perhaps the way to go. Another option would be to just generate your chart and rotate it 180 degrees ... but this might have other issues (i.e. upside down text, or data-tips, etc.) I did a data massaging approach here:

Re: [flexcoders] Re: [ANN] Announcing Smartypants IOC, a dependency-injection library for Flex.

2008-10-03 Thread Josh McDonald
I think it's working. Tried installing VirtualBox to test it, but it doesn't work. UI is unusable too :( On Fri, Oct 3, 2008 at 10:16 AM, Josh McDonald [EMAIL PROTECTED] wrote: Sorry Matt, I'm a Textmate guy. Never cared for Dreamweaver. Nice plug tho! :D -Josh On Fri, Oct 3, 2008 at 9:34

[flexcoders] Re: Problem referring to TextInput in itemRenderer

2008-10-03 Thread oneworld95
Found a solution that's posted to my blog for anyone who runs into this issue: http://devharbor.blogspot.com/2008/10/solution-to-flex-itemrenderer-recycling.html --- In flexcoders@yahoogroups.com, jitendra jain [EMAIL PROTECTED] wrote: Try itemEditEnd event  of data grid. This event is fired 

Re: [flexcoders] How to display the select item as bold font in the Flex List.

2008-10-03 Thread Haykel BEN JEMIA
Set the styles in the change event handler of the list. On Fri, Oct 3, 2008 at 4:37 AM, t_varada [EMAIL PROTECTED] wrote: Hi Group Can anyone point me how to make a selected item in the Flex list as bold font? Based on our usability guidelines we are required to show the bold fonts for

[flexcoders] Any DataGrid paging component?

2008-10-03 Thread oneworld95
Hi. Are there any DataGrid paging components out there that we can drop into our projects and use? They would allow pagination of a datagrid by simply setting some properties. I've seen code on how to do paging but not seen any components we could drop into our projects and use. Thanks.

[flexcoders] Accordion control question

2008-10-03 Thread burttram
Is there any way to prevent and accordion control item from opening, so that the header will just act as a button? I'm currently trying to use an accordion control as kind of a menu, such that several items with sub-categories will open to reveal a treeview in the appropriate accordion block

[flexcoders] Re: html and swf file gone

2008-10-03 Thread flexaustin
Tried this but no luck...still says missing .html file. And yes the html-template file is still there. I pretty sure it has to do with SVN. I really wish Adobe would fix the issues with svn html-template and bin-debug issues. I just took an hour out of day and created a new project and

[flexcoders] Base component Sprite vs. UIComponent.

2008-10-03 Thread flexaustin
Is there any benefit (memory/cpu usage) to using Sprite as your base component over UIComponent? I know if use Sprite in Flex you need to use IUIComponent then implement all the methods require, which is a huge pain. Or you can use composition and create and instance of a UIComponent and use

RE: [flexcoders] Base component Sprite vs. UIComponent.

2008-10-03 Thread Gregor Kiddie
We had literally the same discussion this morning! We've just re-implemented a UI heavy component to use Sprites right until the point that we needed Flex components rather than just Flash ones. We found that using UIComponent had very little difference speed wise over using Sprite and

[flexcoders] SWFLoader - Getting Symbols

2008-10-03 Thread Sceneshift
Hey guys, I have a swf loader: mx:SWFLoader id=SWFText x=0 y=-15 source=@Embed(source='../Assets/Assets.swf')/ How do I go about retrieving a specific class / symbol from the SWFLoader content for use in my application? -- View this message in context:

[flexcoders] Re: [ANN] Announcing Smartypants IOC, a dependency-injection library for Flex.

2008-10-03 Thread Amy
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Sorry Matt, I'm a Textmate guy. Never cared for Dreamweaver. Nice plug tho! I vastly prefer DW to notepad. All those nice line numbers save me from having to count too much. :-D -Amy

Re: [flexcoders] Base component Sprite vs. UIComponent.

2008-10-03 Thread Michael Schmalle
It's the container layouts that kill performance anyway! EDIT :: It's the [WAY WE USE] container layouts that kill performance anyway! Mike On Fri, Oct 3, 2008 at 10:04 AM, Gregor Kiddie [EMAIL PROTECTED] wrote: We had literally the same discussion this morning! We've just

Re: [flexcoders] Base component Sprite vs. UIComponent.

2008-10-03 Thread Michael Schmalle
Hi, caused by a UIComponent that contains several children and it has a dropshadow (C level says we need to have dropshadow so can't remove it). I can't believe a UIComponent is killing your performance that bad, I would be willing to bet there is something else going on here but without code,

[flexcoders] Re: Chained data providers -- when to refresh and redraw?

2008-10-03 Thread Amy
--- In flexcoders@yahoogroups.com, kyleashipley [EMAIL PROTECTED] wrote: I have an architectural question concerning the use of sets of data providers for a Tree control. We have a master list of Users for our chat application, which we might need to filter and sort in various ways

[flexcoders] Re: Complete event error for Image control within Repeater

2008-10-03 Thread gwangdesign
Hi guys, Thanks for the replies. The code below actually works. In my AS version, I did import all the classes including mx.events.FlexEvent, etc. For events, I use complete on Image as opposed to other events is that I am interested in when the SWFLoader (parent class of Image) completes

RE: [flexcoders] Base component Sprite vs. UIComponent.

2008-10-03 Thread Gregor Kiddie
Heh... fair point. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/

[flexcoders] Re: Complete event error for Image control within Repeater

2008-10-03 Thread gwangdesign
I figured it out. It has to do with how Repeater initializes it's inner components. I guess Flex doesn't know the actual type of the innercomponent until repeatEnd gets fired. Please see the code below. Here init() is the callback for my component's creationComplete event: private function

Re: [flexcoders] Re: html and swf file gone

2008-10-03 Thread Haykel BEN JEMIA
You talk about SVN, are you using the development version from the trunk? If yes, it seems that after Adobe changed the templates to use swfobject to load the application, the templates are not being copied to the html-templates folder of the project anymore. To get around this for now, just copy

Re: [flexcoders] SWFLoader - Getting Symbols

2008-10-03 Thread Haykel BEN JEMIA
use: Embed(source='SWFFileName.swf', symbol='symbolName') doc: Flex 3 Developer's Guide, Advanced Flex Programming / Embedding Assets. On Fri, Oct 3, 2008 at 4:09 PM, Sceneshift [EMAIL PROTECTED] wrote: Hey guys, I have a swf loader: mx:SWFLoader id=SWFText x=0 y=-15

Re: [flexcoders] Re: Matching n groups with a regex?

2008-10-03 Thread Maciek Sakrejda
Josh, For what it's worth, \w will match '_' (it's true of REs pretty much everywhere, and I just tried and as3 is the same). I played around with your example a bit, but I can't offer any more insight. The closest I got would leave stray '.'s on the ends of the matches, and you'd have to clean

[flexcoders] simple?? question

2008-10-03 Thread Greg Morphis
I've got a VO, fooVO, it's located here root - com - vo - fooVO.as When I enter public var foo: fooVO shows up and I chose it.. why does FlexBuilder import com.vo.fooVO.fooVO? shouldn't it be com.vo.fooVO?

[flexcoders] Re: Matching n groups with a regex?

2008-10-03 Thread mookie298347
Well, your pattern in #1 doesn't represent what you say in #2. The following pattern will do what you describe in #2: /[a-zA-Z0-9_]+(?=\.?[a-zA-Z0-9_]*)/g; and can be shortened into: /\w+(?=\.?\w*)/g; It will return an array that contains consequtive sequences of word characters [a-ZA-Z0-9_]

Re: [flexcoders] simple?? question

2008-10-03 Thread Scott Melby
Guessing wildly... Maybe your package statement in the vo file is incorrect??? hth Scott Greg Morphis wrote: I've got a VO, fooVO, it's located here root - com - vo - fooVO.as When I enter public var foo: fooVO shows up and I chose it.. why does FlexBuilder import com.vo.fooVO.fooVO?

Re: [flexcoders] simple?? question

2008-10-03 Thread Greg Morphis
Here's the package code... thanks package MyApp.com.vo.fooVO { [RemoteClass(alias=MyApp.model.MyApp.foo)] [Bindable] public class fooVO { public var id:Number = 0; public var is_cleared:Number = 0; public var

Re: [flexcoders] simple?? question

2008-10-03 Thread Greg Morphis
I was thinking Flex was pointing to the constructor? I don't know, I'm just asking for my own curiousity.. On Fri, Oct 3, 2008 at 12:09 PM, Greg Morphis [EMAIL PROTECTED] wrote: Here's the package code... thanks package MyApp.com.vo.fooVO {

RE: [flexcoders] simple?? question

2008-10-03 Thread Tracy Spratt
So do you see the problem? Package should just be the path. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Morphis Sent: Friday, October 03, 2008 1:11 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] simple??

RE: [flexcoders] Accordion control question

2008-10-03 Thread Tracy Spratt
Someone has extended Accordion to make it possible to have multiple views open at once. That might ba a good starting point. Don't recall the name ,but a bit of googoling will find it. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Re: Sending parameters to server

2008-10-03 Thread Tracy Spratt
Debug the value of the action property, see what is the difference. If you can't figure it out, then post the error. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Thursday, October 02, 2008 5:23 PM To:

Re: [flexcoders] simple?? question

2008-10-03 Thread Greg Morphis
Ahhh yes I do.. thanks for pointing that out! On Fri, Oct 3, 2008 at 12:29 PM, Tracy Spratt [EMAIL PROTECTED] wrote: So do you see the problem? Package should just be the path. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

Re: [flexcoders] SWFLoader - Getting Symbols

2008-10-03 Thread Sceneshift
Thanks for the reply, but I am trying to access the assets at runtime. I know you can do this using loadBytes, but I was wondering if there was a way by using SWFLoader. Haykel BEN JEMIA wrote: use: Embed(source='SWFFileName.swf', symbol='symbolName') doc: Flex 3 Developer's Guide,

[flexcoders] Deep Linking Problem - First Deep Link Doesn't Work on Second Click (IE only)

2008-10-03 Thread Clint Combs
Hi, I've run into an issue with deep linking in my application. I've implemented deep linking in such a way that I provide links in a navbar on the left-hand-side of the page. Those links always link directly to a particular view in the Flex application. They never link to the Flex application

[flexcoders] Netstream: please explain?

2008-10-03 Thread Ryan
Adobe's documentation says about netStream that: Specifies a video stream to be displayed within the boundaries of the Video object in the application. The video stream is either an FLV file played with NetStream.play(), a Camera object, or null. If you use an FLV file, it can be stored on the

RE: [flexcoders] Netstream: please explain?

2008-10-03 Thread Jonathon Stierman
You can for sure use a NetStream object on a progressive download. The VideoDisplay component does indeed use a NetStream object (more specifically, it uses a custom VideoPlayerNetStream object that extends NetStream). It sounds like your transition is attempting to play with bytes that the

[flexcoders] Re: Base component Sprite vs. UIComponent.

2008-10-03 Thread flexaustin
There are upto 200 UIComponents with reflections and dropshadows that scale as you move something like a carousel. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, caused by a UIComponent that contains several children and it has a dropshadow (C level says

[flexcoders] Re: html and swf file gone

2008-10-03 Thread flexaustin
Don't have an template/swfobject folder structure anywhere on my computer. I just created a new project in a folder on my computer (non svn managed; general flex project) everything is working fine. I then added a linked library from a svn controlled folder. Now my .swf won't update anymore. I

Re: [flexcoders] Re: Base component Sprite vs. UIComponent.

2008-10-03 Thread Michael Schmalle
reflections and dropshadows Ah yeah, Web 2.0 right? Well I guess your application will speed up when Web 3.0 comes out and dropshadows - reflections are passe. ;-) Mainly the dumb reflection fad right now. Mike On Fri, Oct 3, 2008 at 2:18 PM, flexaustin [EMAIL PROTECTED] wrote: There are

[flexcoders] Re: Debugger disconnects for one project only

2008-10-03 Thread JWOpitz
That fixed it. Thanks for the suggestion.

[flexcoders] AIR App disappears when resized too large

2008-10-03 Thread andrewwestberg
I have a fairly large monitor running a widescreen mode at 1920x1200. When I corner-drag resize or maximize the AIR app, it disappears entirely. If I'm dragging to resize and I push it back a little bit right after it's disappeared, the app re-appears. If I've maximized, the only way to get my

[flexcoders] Re: Base component Sprite vs. UIComponent.

2008-10-03 Thread Tim Hoff
Another thing to keep in mind, regardless if it's a UIComponent or Sprite, is that reflection (especially when there is video involved) is very expensive. Filters as well, but not as much. -TH --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: reflections and

[flexcoders] Re: Any DataGrid paging component?

2008-10-03 Thread crazyluck55
Hi Oneworld95, While I don't know of a canned paging DataGrid component, putting one together is straightforward enough. The following example will page through subsets of an already populated collection. You want to start by creating a custom component that binds to the source data provider

[flexcoders] unable to load SWC?

2008-10-03 Thread Greg Morphis
I'm trying to build my project and I keep getting an error unable to load SWC FlexUtilities.swc: multiple points amoung a few others.. Anyone know what this is referring to? In the Library tab under build path I have ${FRAMEWORKS}\libs\FlexUtilities.swc and the file exists in C:\Program

[flexcoders] Re: unable to load SWC?

2008-10-03 Thread Greg Morphis
I removed it, it gave me a ton of errors like Unable to resolve a class for ResourceBundle: collections. Anyways I goolged that error and found some post saying to add this to the Library Path ${FRAMEWORKS}/locale/{locale} That seems to work, no errors on build.. On Fri, Oct 3, 2008 at 3:40

[flexcoders] Share resources between projects

2008-10-03 Thread markgoldin_2000
How can I share resources (.as classes for example) between different projects? Do I need to build a library? Thanks

Re: [flexcoders] Share resources between projects

2008-10-03 Thread George
Create a shared source folder, add that source folder (not library swc) to all projects you want. George markgoldin_2000 wrote: How can I share resources (.as classes for example) between different projects? Do I need to build a library? Thanks

[flexcoders] Re: Obtaining name of method

2008-10-03 Thread frank_sommers
Thanks. I wonder how the describeType() function does its work... that seems to have access to some reflective information about a class. Actually, I have a system that uses BlazeDS for remote calls. What I'd like to do is to be able to automatically proxy server-side classes: given a method

[flexcoders] flow?

2008-10-03 Thread Greg Morphis
in my application.mxml I have a creationcomplete function initMe() which is suppose to create an event and send it to Cairngorm but it's not returning data, no errors though either, I don't know where to check for data to see if it's making it to a certain point.. The initMe looks like... import

Re: [flexcoders] flow?

2008-10-03 Thread Scott Melby
Greg - I suspect that your Alert in initMe() is showing null because evt as String cannot simply convert a CairngormEvent to a String. Beyond that, it appears to me that you could benefit from a quick read through of this excellent set of articles on Cairngorm

Re: [flexcoders] flex application is not loading under HTTPS

2008-10-03 Thread venkateswarlu naidu
Any idea on the below problemI am stuck please help! Thanks, Venkat. - Original Message From: venkateswarlu naidu [EMAIL PROTECTED] To: flexcoders@yahoogroups.com; [EMAIL PROTECTED] [EMAIL PROTECTED] Sent: Friday, 3 October, 2008 12:21:30 AM Subject: Re: [flexcoders] flex

RE: [flexcoders] flex application is not loading under HTTPS

2008-10-03 Thread Peter Farland
Can you use a client side HTTP sniffer (like Charles, Paros Proxy, etc...) and look at the raw HTTP response that is delivering the SWF. Look to see if any no-cache headers are being returned. Also try to determine if chunked encoding is being used with gzip compression (as this combination

Re: [flexcoders] flex application is not loading under HTTPS

2008-10-03 Thread venkateswarlu naidu
Hi Pete, Thanks a lot for the reply, as you said our guys are using gzip compression at server side (using weblogic 9). How can i solve this problem? The same code is working under DEV env under HTTP. somebody is saying it is bcos of javascript errors, Is javascript errors stop loading the

Re: [flexcoders] flow?

2008-10-03 Thread Greg Morphis
I was expecting something more than null, you can convert an Object to s String, you get [Object] or something displayed.. I was hoping for that or something.. Anyways that was starting to become a decent read until We're sorry, the site area you've requested is unavailable due to scheduled

RE: [flexcoders] flex application is not loading under HTTPS

2008-10-03 Thread Peter Farland
Did you try to run an HTTP sniffer on your client and enable it with MSIE to capture the raw HTTP response that is the result of the GET to load the SWF? You really need to get that information first. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of venkateswarlu naidu

[flexcoders] Re: Accordion control question

2008-10-03 Thread Michael VanDaniker
You'll want to check out the WindowShade component in flexlib --- In flexcoders@yahoogroups.com, burttram [EMAIL PROTECTED] wrote: Is there any way to prevent and accordion control item from opening, so that the header will just act as a button? I'm currently trying to use an accordion