RE: [flexcoders] Test-driven development in Flex

2008-12-16 Thread Gregor Kiddie
I keep saying I will, but then I would have to justify posting on a regular basis, and I don't know if I've got enough to say for that! Plus, most of what I do is for the company I work for (not freelance) and I've yet to annoy them sufficiently to let me release what could be considered

[flexcoders] Re: Should I be able to load a .fxg file as XML?

2008-12-16 Thread Mic
Hi Alex - stupid error on my part - works perfectly :-) --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: What error did you get? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mic Sent: Monday, December 15, 2008 12:31 PM To:

Re: [flexcoders] Test-driven development in Flex

2008-12-16 Thread Jules Suggate
Having good results with FlexUnit here, using Parsley IoC instead of Cairngorm or what-have-you because of the advantages to mocking/testing with IoC/Dependency Injection (when will the community settle on a name for that pattern so I can stop using both! :) We have a structure like:

Re: [flexcoders] Test-driven development in Flex

2008-12-16 Thread Jules Suggate
Oh sorry, to answer the original question, why should TDD in Flex be impossible? There were some challenges in the past with getting Continuous Integration happening (harvesting and reporting on test results was the stumbling block) but that's long since solved... and anyway, is not a precursor

[flexcoders] Fireworks .fxg to Gumbo - all Group ids=undefined problem

2008-12-16 Thread Mic
Exporting Fireworks .fxg creates every Group with an id = undefined. This will not load into Gumbo because obviously the ids must be unique. Is this something that Fireworks can automatically fix, or do I need to write a text parser in Flex that can go out and write unique ids to all the groups in

Re: [flexcoders] When the heck are states ready?

2008-12-16 Thread Flex Noob
ok answering my own questions again but anyone who liked to follow along. . . so yeah. on creationComplete DOES return after skins loaded. But because I was converting the skin to a MovieClip it would return null instead of yelling at me for wrong type etc (nice). SO, then i convert to

RE: [flexcoders] Test-driven development in Flex

2008-12-16 Thread Gregor Kiddie
Yeah, that was our biggest take away as well, a good project structure and having good ant scripts are key. 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: navigateToURL request.data connection problem

2008-12-16 Thread assaia
Hi Steve, I checked it again without the two lines you noticed last time but I still did not get rid of %5F... Did it worked for you? Thanks for the help, Alex. --- In flexcoders@yahoogroups.com, valdhor steved...@... wrote: You're welcome. Glad I could shed some light on it for you. --- In

[flexcoders] Re: Button label and keyboard shortcuts

2008-12-16 Thread kalle.blorin
Thanks for that tip, Tim. Worked beautifully! My application, however, also have a number of Canvases in a TabNavigator. I am trying to modify your example to also allow me to underline one letter of the Canvas label property, so that the user can see what shortcut key will access each tab as

[flexcoders] Re: Cannot Tab to MovieClips from Flash SWF Loaded with SWFLoader

2008-12-16 Thread aut0poietic
I found a different solution through trial and error after looking at the IFocus* classes. I'm cautiously optimistic that I have this working... I had to roll my own FocusManager and replace the Application's FocusManager with my own and activate it. I also had to roll my own UIMovieClip classe

Re: [flexcoders] Re: ComboBox SelectedItem Problem with resultFormat e4x - Very Urgent

2008-12-16 Thread samson kiran
Thank you so much. It worked :). You saved my life, thank you. On Thu, Dec 11, 2008 at 3:32 PM, valdhor valdhorli...@embarqmail.comwrote: Try combobox.selectedit...@data --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, samsonkiran samsonkir...@... wrote: Hi I have

[flexcoders] Directory selection in FLEX

2008-12-16 Thread shruti shety
Hi,  I need a way in my FLEX application which allows the user to create/select the directory from the file system. File reference class doesn't help me this. I can do this in ADOBE AIR, but i want to know i can integrate this into my Flex web application. Please suggest is there any other

[flexcoders] Re: Create Flex Ajax Bridge menu option - Crashes FlexBuilder

2008-12-16 Thread valdhor
I can confirm this somewhat. Using Flex Builder 3 standalone. Right click my project and select 'Create Ajax Bridge'. Then click cancel on the dialog box that pops up. You get a funky looking cursor that swaps between a pointer and an hourglass really fast and the dialog box just stays there. It

[flexcoders] Re: Padding/spacing before the first line in a TextArea

2008-12-16 Thread bjorn
Any ideas on where I might find more info about this? .. or people who might know more ... 2008/12/2 bjorn itrashm...@gmail.com There is some padding before the first line in a TextArea. Have a look at this image to see what I mean: http://i34.tinypic.com/4uz8s0.jpg I need to remove this,

[flexcoders] Re: How do I get on adobe feeds? I'm having problems...

2008-12-16 Thread Amy
--- In flexcoders@yahoogroups.com, Nate Pearson napearso...@... wrote: I'm trying to get my blog on adobe feeds. I've submitted my blog to the feed (19nates.com) and received an e- mail from adobe that says Your site has been added to Adobe Feeds: http://feeds.adobe.com;. I click on

[flexcoders] Channel documentation errors?

2008-12-16 Thread Michael Slinn
The documentation for Channel.applySettings() says: Subclasses should override this method to apply any settings that may be necessary for an individual channel. Make sure to call super.applySettings() to apply common settings for the channel. Parameters settings:XML — XML fragment of the

[flexcoders] Re: Adobe AIR Installer has encountered a problem

2008-12-16 Thread michael_corbridge
Here is the solution: Check your mm.cfg file for the entry: PreloadSwf=C:/Documents and Settings/Administrator/workspace/.metadata/.plugins/com.adobe.flash.pr ofiler/ProfilerAgent.swf?host=localhostport= And remove it! Leave everything else intact, and check to see if you can now install

Re: [flexcoders] Re: Padding/spacing before the first line in a TextArea

2008-12-16 Thread Jon Bradley
You can't manually remove that padding from the field. It's built into the field as the ascent of the font + 4 pixels for the natural field border (which also cannot be 'removed'). There are only two ways to shift up a field in Flash: Method 1: a. Bitmap snapshot of the text field b.

[flexcoders] Re: Programmatically managing BlazeDS ServerConfig

2008-12-16 Thread cornelcreanga
Try with ServerConfig.serverConfigData.channels.elements(channel)@[id] instead of ServerConfig.serverConfigData.channels.elements(channel-definition)@[id]

[flexcoders] Re: navigateToURL request.data connection problem

2008-12-16 Thread valdhor
Yes - it worked for me. Have you checked the actual data sent with something like Charles(http://www.charlesproxy.com)? What is being sent? BTW. I think Charles is the best. I use it almost every day to track down network problems that I have. It is the only debugging proxy that has both AMF

[flexcoders] Re: Best Practices: ArrayCollection of custom objects?

2008-12-16 Thread florian.salihovic
Regaring the modelling of a domain, you should wrap your collection (Array, ListCollectionView, ArrayCollection, XMLListCollection...) in your own collection type. That will make your collection typesafe. When you need access to the underlying collection, you could make it accessible by

[flexcoders] Overlapping interfaces

2008-12-16 Thread jimmy5804
I have a custom class that wants to expose IList and ICollectionView. Both interfaces define the length parameter and I get an ambiguous renference to length error when I try to access length. I believe this is essentially a namespace issue, but I don't know how to solve it. Suggestions?

Re: [flexcoders] Re: Padding/spacing before the first line in a TextArea

2008-12-16 Thread bjorn
Yepp, thanks .. but that doesn't affect this. It's space inside the TextArea (which is decided by the font in some way).. Bjørn 2008/12/16 Cato Paus ca...@brannsikring.no Have you try this paddingTop: 0; paddingBottom: 0; paddingRight: 0; paddingLeft: 0; on TextArea? --- In

Re: [flexcoders] Re: Flex nested tree get data from mysql and php

2008-12-16 Thread Barry Gee
Hi. First of all my apoligise if this really isnt what your looking for, as I have deleted the previous posts so havent read the whole discusion. Hopefully this may help though. I have created a tree component that loads in an xml structure, the xml structure can change i.e. new levesl edded

[flexcoders] Re: Padding/spacing before the first line in a TextArea

2008-12-16 Thread Cato Paus
Have you try this paddingTop: 0; paddingBottom: 0; paddingRight: 0; paddingLeft: 0; on TextArea? --- In flexcoders@yahoogroups.com, bjorn itrashm...@... wrote: Any ideas on where I might find more info about this? .. or people who might know more ...

[flexcoders] Re: How does Flex Builder validate a BlazeDS/LCDS J2EE project?

2008-12-16 Thread cornelcreanga
The code does the following things: 1)Check if the server root exists 2)Check if services.xml or flex-config.xml exists 3)Creates a temporary file and checks for it with a GET command on the server port.

[flexcoders] Dynamic variable for embed image classes?

2008-12-16 Thread Berkay Unal
Hi, I am trying to get the icons that are embeded with a dynamic variable. For ex: ikon(usd); But cannot make it work. Any ideas? //SRC [Embed(images/eur.png)] private var icon_EUR:Class; [Embed(images/usd.png)] private var icon_usd:Class; [Embed(images/chf.png)] private var icon_CHF:Class;

Re: [flexcoders] Directory selection in FLEX

2008-12-16 Thread Ashish Verma
I don't think so that you can do the same from FLEX application since Browser security sandbox won't allow you for the same. but same you could using AIR with javascript. Best, Ashish On Tue, Dec 16, 2008 at 3:29 PM, shruti shety shruti.she...@yahoo.comwrote: Hi, I need a way in my FLEX

[flexcoders] Re: How would I Overwrite contents of External XML File

2008-12-16 Thread valdhor
You may like to look at AS3Crypto (http://code.google.com/p/as3crypto/) --- In flexcoders@yahoogroups.com, anuj sharma anuj...@... wrote: HI Brendon Sounds good to me, And my teamate is working on the encryption part, he thinks that encryption of the password needs to be done through

[flexcoders] Re: Can the Loading message be localized?

2008-12-16 Thread Tracy Spratt
I don't know for certain that it is the only way, but you could solve this by creating a custom preloader comnponent. I have not done it but have seen examples. Tracy --- In flexcoders@yahoogroups.com, twcrone70 twcron...@... wrote: I am currently passing the 'localeChain' into a SWF as a

Re: [flexcoders] Directory selection in FLEX

2008-12-16 Thread shruti shety
Yeah looks like, but was just hoping against hope to see if there is any other way of doing it from FLEX apps. --- On Tue, 12/16/08, Ashish Verma verma.lu...@gmail.com wrote: From: Ashish Verma verma.lu...@gmail.com Subject: Re: [flexcoders] Directory selection in FLEX To:

[flexcoders] Re: Test-driven development in Flex

2008-12-16 Thread dev.apostiglioni
Where I work we have also come to the conclution that Cairngorm brings lot of problems in testing. So we decided to turn to Aconcagua (http://code.google.com/p/aconcagua-flex/). You may want to have a look. --- In flexcoders@yahoogroups.com, Gregor Kiddie gkid...@... wrote: 1. We use FlexUnit

Re: [flexcoders] Directory selection in FLEX

2008-12-16 Thread Ashish Verma
As per my information there is only one way to that which is you could create directory using Javascript API but within Temp Internet folder by using External Interface or the FA Bridge. Best, Ashish On Tue, Dec 16, 2008 at 4:35 PM, shruti shety shruti.she...@yahoo.comwrote: Yeah looks

[flexcoders] Re: Best Practices: ArrayCollection of custom objects?

2008-12-16 Thread burttram
Thank you both for your time and replies.

[flexcoders] How to configure J2ee web application with flex(LCDS with Tomcat)

2008-12-16 Thread jayapalkasarla
Plz Give me wht are jar files are required .. configuration setting also

[flexcoders] Re: Custom event--please help me

2008-12-16 Thread Amy
--- In flexcoders@yahoogroups.com, Josh McDonald dzn...@... wrote: Don't call new EventDispatcher(), it won't be any real use. The main reason you would want to create an instance of EventDispatcher itself is when you're building a class that is an IEventDispatcher, but inherits from a base

[flexcoders] Re: How does Flex Builder validate a BlazeDS/LCDS J2EE project?

2008-12-16 Thread Michael Slinn
Cornel, Thanks for confirming my suspicions. I realized I was checking the wrong directory for disk activity. Flex Builder does not probe the Root Folder that Flex Builder presents in Project Properties / Flex Server, it probes the deployment folder, which resides in the workspace. My test

Re: [flexcoders] Does Flex builder 3.0.2 eclipse plug-in work in Eclipse 3.4?

2008-12-16 Thread Dave Kong
Thanks guys. I can't find the 3.0.2 plugin download. Seems like the only way is to update from 3.0.1, is that correct? On Fri, Dec 12, 2008 at 4:40 PM, Andriy Panas a.pa...@gmail.com wrote: Hi Dave, I aslo Flex Builder 3.0.2 as Flex Builder Plug-in with Eclipse 3.4 on Windows XP - no

[flexcoders] Nested ADG height/scroll question

2008-12-16 Thread Ken Dunnington
I'm building an app which utilizes nested ADGs to provide a drill down interface to my data. It works great in concept, but the problem I'm up against is trying to size the datagrids so they display all their rows, forcing any rows below them to move down (without creating any unnecessary space.)

[flexcoders] Re: Create Flex Ajax Bridge menu option - Crashes FlexBuilder

2008-12-16 Thread polestar11
FlexBuilder 3 --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Friday 05 Dec 2008, polestar11 wrote: So often I have accidentally clicked the 'Create Ajax Bridge' menu option which is located just above the SVN 'Team' menu option. I then click cancel and ...

RE: [flexcoders] Re: Can the Loading message be localized?

2008-12-16 Thread Alex Harui
The default DownloadProgressBar is not localizable. Create your own and set preloader=YourLocalizableDownloadProgressBar From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Tuesday, December 16, 2008 9:35 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Dynamic variable for embed image classes?

2008-12-16 Thread Alex Harui
Icon_usd is not the name of the class, it is a variable referencing the class (what would be returned from getDefinition) You can try: var classRef:Class = this[“icon_” + value] From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Berkay Unal Sent: Tuesday,

RE: [flexcoders] Overlapping interfaces

2008-12-16 Thread Alex Harui
Our code (ListCollectionView.as) gets away with this. Comment out various sections of code to see if you can isolate the problem. Maybe you have a private length as well? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jimmy5804 Sent: Tuesday, December 16,

RE: [flexcoders] Re: Padding/spacing before the first line in a TextArea

2008-12-16 Thread Alex Harui
Subclass and reposition the internal textfield. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of bjorn Sent: Tuesday, December 16, 2008 6:18 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Padding/spacing before the first line in a TextArea

[flexcoders] Re: Create Flex Ajax Bridge menu option - Crashes FlexBuilder

2008-12-16 Thread cornelcreanga
Yes, the code on Cancel is trying to do some expensive operations (and this time depends on the number of files from the project), it looks as a bug. Feel free to create one on JIRA

Re: [flexcoders] application structure

2008-12-16 Thread Barry Gee
Hi Tom. I am in exactly the same situation as yourself. I am farely new to flex and have now found myself at a stage where I want to begin developing larger apps that can scale. From the reading I have done around the topic and from what I have heard others saying then Pure MVC is a good

[flexcoders] Pattern for capturing multi-key/click actions?

2008-12-16 Thread mookie298347
I would like to add multi-key/click functionality to my Flex app. There are a couple of slightly different examples of what I mean: 1. Detect when a user is holding down the 'r' key while clicking a button. 2. Detect when a certain component has focus and the user types the letters 'd' 's' in

RE: [flexcoders] Pattern for capturing multi-key/click actions?

2008-12-16 Thread Kevin Benz
Two and three key sequences private var _escIsDown:Boolean=false; private var _f1IsDown:Boolean=false; private var _f2IsDown:Boolean=false; private var _f4IsDown:Boolean=false; private function

[flexcoders] Re: Programmatically managing BlazeDS ServerConfig

2008-12-16 Thread Michael Slinn
That produces a null result, as it should. The problem seems to be with the call to ServerConfig.getChannel(channelName). As I trace through the call, I see a call to ServerConfig.createChannel('my-amf'). It evaluates xml.channels.channel.(@id == channelId); which of course returns nothing

RE: [flexcoders] Channel documentation errors?

2008-12-16 Thread Stephen Gilson
Please log a bug for that issue. Thanks, Stephen From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Michael Slinn Sent: Tuesday, December 16, 2008 10:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Channel documentation errors? The documentation for

Re: [flexcoders] Dynamic variable for embed image classes?

2008-12-16 Thread Berkay Unal
Ahh right ;) Thanks for the info. Best, Berkay UNAL berkayu...@gmail.com On Tue, Dec 16, 2008 at 20:36, Alex Harui aha...@adobe.com wrote: Icon_usd is not the name of the class, it is a variable referencing the class (what would be returned from getDefinition) You can try: var

[flexcoders] Set a default year for editable DateField when using keyboard entry?

2008-12-16 Thread rjblakeleyphx
Hi all. I've done some googling and searching through the archives, but I haven't found a solution for my issue. Specifically, with an editable DateField control, I'd like the user to be able to enter just the month and date and have the control set the year to the current year (although,

RE: [flexcoders] Set a default year for editable DateField when using keyboard entry?

2008-12-16 Thread Alex Harui
Replace the parseFunction From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of rjblakeleyphx Sent: Tuesday, December 16, 2008 10:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Set a default year for editable DateField when using keyboard entry? Hi all.

RE: [flexcoders] Directory selection in FLEX

2008-12-16 Thread Wildbore, Brendon
Or you could use remote objects or httpservices to create the directories From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Ashish Verma Sent: Wednesday, 17 December 2008 1:09 a.m. To: flexcoders@yahoogroups.com Subject: Re:

[flexcoders] Re: OLAP

2008-12-16 Thread frielingts
--- In flexcoders@yahoogroups.com, Dominic Pazula domp...@... wrote: Has anyone seen or done an integration of with a MDX compliant OLAP server? If so, would you be willing to share your experience? Thanks Dom We have been working with Flex OLAP for a while. Any specific questions? By

[flexcoders] OLAPDataGrid Modify The headers

2008-12-16 Thread frielingts
Hi, I need to add buttons to the column headers of an olapdatagrid so that i can implement sorting (which is ORDER in MDX). My problem is that I cannot figure out how to do it for the right headers. In the OLAP grid there is a header for the level/dimension then a another series of column

Re: [flexcoders] Flex dates and time zones.

2008-12-16 Thread Ricky Bacon
Dale Fraser wrote: That whole milliseconds past 1970 is a Java thing and has bitten me before, one of many reasons we ditched Java. It's actually a Unix thing: http://en.wikipedia.org/wiki/Unix_time The standard has been around for almost 40 years. -Ricky

[flexcoders] Re: Overlapping interfaces

2008-12-16 Thread jimmy5804
Yeah, I know. First thing I did was to check out the ListCollectionView code, but didn't see anything obviously special. I made a test interface stripped down to basics that was just IList, ICollectionView and one other random property and I still get the error. I'm not really sure what's up. I'll

[flexcoders] Re: Overlapping interfaces

2008-12-16 Thread jimmy5804
Ok, reduced to bare bones and it's still there: package { public interface ITest extends IList, ICollectionView { function get blah():int; } } in bare WindowedApplication // tied to initialization event private function init():void { // obvious runtime error, but exposes the

[flexcoders] Weborb to return XML data

2008-12-16 Thread timgerr
I have been working with weborb and I think it is great. I am working on a graph that needs XML data that I have generated via php and mysql. I was wondering of Weborb can return XML and if you have any examples of this. Thanks for the, timgerr

[flexcoders] Get data from a cell in a data grid

2008-12-16 Thread danielrkrueger
If I know the RowIndex and the Column number how can I get the data from the data grid? It seems simple, but I can't seem to find it.

[flexcoders] getting refs to items in Group.mxmlContent?

2008-12-16 Thread Mic
(OK to ask Gumbo questions?)When an .fxg file is loaded into FxApplication and added to a Group, and that Group is then added to FxApplication, array mxmlContent[0] contains the .fxg Graphic object, whose child Groups can be accessed directly by name: displayGroup.mxmlContent[0].myGroup1

[flexcoders] How many classes are there in flex 3 framework?

2008-12-16 Thread devenhariyani
Its kinda a random question, but anyone know approx. how many classes there are in the entire flex framework? I'm trying to optimizing the size of my SWF filesize and I ran a link- report. I'm not sure exactly how to interpret it, but I did notice that I have external-defs on about 45

Re: [flexcoders] Re: Custom event--please help me

2008-12-16 Thread Josh McDonald
Well yeah, I don't actually instantiate it like that (as it will always run before the constructor), I was just showing an example. I have the whole lot in a .inc file and include it: http://pastie.textmate.org/340790 -Josh On Wed, Dec 17, 2008 at 12:17 AM, Amy amyblankens...@bellsouth.net

Re: [flexcoders] Get data from a cell in a data grid

2008-12-16 Thread Marco Catunda
Daniel, Generally, components in Flex works with dataprovider. The question is how can you get data from dataprovider? Depends on the type of dataprovider is. How do you set up dataprovider for this grid? Look at http://livedocs.adobe.com/flex/3/html/help.html?content=dpcontrols_1.html

[flexcoders] Re: How many classes are there in flex 3 framework?

2008-12-16 Thread Mic
I read somewhere about 900 as compared to Java's over 15,000 :-) --- In flexcoders@yahoogroups.com, devenhariyani devenhariy...@... wrote: Its kinda a random question, but anyone know approx. how many classes there are in the entire flex framework? I'm trying to optimizing the size of my

[flexcoders] Re: Command Proxy

2008-12-16 Thread flexaustin
Yes, it answers my question. I was hoping this OS level access would be available in AIR 1.5. @Mike, we need a solution to allow our AIR app to use command proxies. This app will be installed on half a million users pc's. With that in mind, and having read your post on the security issue, what

Re: [flexcoders] Re: Command Proxy

2008-12-16 Thread Josh McDonald
My .02: If it has to be .net, I'd go with the above link. If it's cross-platform, I'd go with Merapi. It's officially Alpha, but it seems pretty stable, and has a good community. -Josh On Wed, Dec 17, 2008 at 7:49 AM, flexaustin flexaus...@yahoo.com wrote: Yes, it answers my question. I was

Re: [flexcoders] Re: How many classes are there in flex 3 framework?

2008-12-16 Thread Vivian Richard
Please google search flex framework poster and you can download and view the poster with the class diagrams. Here is a link where you can see the posters on one of the fellow dev's wall: http://x-geom.net/blog/wp-content/uploads/2008/04/imag69.jpg By the way once you download

Re: [flexcoders] Re: How many classes are there in flex 3 framework?

2008-12-16 Thread Maciek Sakrejda
Our FlexBuilder may be in perpetual alpha, but on Linux, at least we've got some basic tools on our platform and don't have to resort to boorish counting ;) find $FLEX_HOME/frameworks/projects/framework/src -name \*.mxml -o -name \*.as | wc -l 669 If I include projects/* instead (including air,

RE: [flexcoders] Re: Padding/spacing before the first line in a TextArea

2008-12-16 Thread Gordon Smith
This has been a long standing bug that I've been complaining to Adobe about. The new Text Layout Framework that Gumbo components use gives you control over the vertical placement of the first line. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com

[flexcoders] odd error in the mx.controls::AdvancedDataGridBaseEx

2008-12-16 Thread btroop202
I have a app that has been working fine for over a month, and now all of a sudden I get this. If you know please let me know. TypeError: Error #1009: Cannot access a property or method of a null object reference. at

Re: [flexcoders] Re: How many classes are there in flex 3 framework?

2008-12-16 Thread Nate Beck
I had the same idea... except using ruby: require 'find' dirs = [/workspaces/flex_sdk/trunk/frameworks/projects/framework/src,/workspaces/flex_sdk/trunk/frameworks/projects] dirs.each do |dir| count = 0 Find.find(dir) do |path| if (path =~ /(\.as|\.mxml)/) if(path =~

Re: [flexcoders] Re: How many classes are there in flex 3 framework?

2008-12-16 Thread Nate Beck
Yours is probably more accurate. :D On Tue, Dec 16, 2008 at 3:09 PM, Nate Beck n...@tldstudio.com wrote: I had the same idea... except using ruby: require 'find' dirs = [/workspaces/flex_sdk/trunk/frameworks/projects/framework/src,/workspaces/flex_sdk/trunk/frameworks/projects] dirs.each

Re: [flexcoders] Re: How many classes are there in flex 3 framework?

2008-12-16 Thread Vivian Richard
By the way this counting does not include charting, adv data grids. Am I right? On Tue, Dec 16, 2008 at 3:14 PM, Nate Beck n...@tldstudio.com wrote: Yours is probably more accurate. :D On Tue, Dec 16, 2008 at 3:09 PM, Nate Beck n...@tldstudio.com wrote: I had the same idea... except using

[flexcoders] BitmapData unscaled bounds?

2008-12-16 Thread flexaustin
Is it possible to take a screen shot of a flex app if the apps components are extended off the stage, say the app is a screen and a half wide? When I try to grab a bitmap of Application.application or Application.application.stage or my main Canvas that holds my app it all comes back the size of

[flexcoders] Re: Bring Alert in front of DownloadProgressBar

2008-12-16 Thread ilikeflex
Thanks for the suggestion. Actually i find a solution, in the override public function set preloader(preloader:Sprite):void { this.customPreloader = preloader preloader.addEventListener(FlexEvent.INIT_COMPLETE,myHandleInitEnd);

RE: [flexcoders] Re: How many classes are there in flex 3 framework?

2008-12-16 Thread Alex Harui
Not every .as file is a class. If I had time, I would rename the .swc to .zip, pull the catalog.xml and find a cheap way to count scripts. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Vivian Richard Sent: Tuesday, December 16, 2008 3:17 PM To:

[flexcoders] Does setting PlayheadupdateInterval time affect videoEvents?

2008-12-16 Thread luvfotography
For the VideoDisplay, does setting the playheadUpdateInterval=500 cause any bad effects? When a video finishes, sometimes I'm not getting the VideoEvent.COMPLETE event. I have: myPlayer.addEventListener( VideoEvent.COMPLETE, flexPlayerComplete); Could this be because the interval is too

RE: [flexcoders] Re: How many classes are there in flex 3 framework?

2008-12-16 Thread Gordon Smith
And .mxmlc files like RichTextEditor.mxml ARE classes. But does anybody really care about an accurate count? - Gordon From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Tuesday, December 16, 2008 3:46 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Re: How many classes are there in flex 3 framework?

2008-12-16 Thread Josh McDonald
A quick copy-n-paste from All Classes in the ASDoc into textmate gives us 1180 public classes in the API. -Josh On Wed, Dec 17, 2008 at 10:10 AM, Gordon Smith gosm...@adobe.com wrote: And .mxmlc files like RichTextEditor.mxml ARE classes. But does anybody really care about an accurate count?

Re: [flexcoders] Flex dates and time zones.

2008-12-16 Thread Paul Hastings
Ricky Bacon wrote: It's actually a Unix thing: http://en.wikipedia.org/wiki/Unix_time no dale's right, java is *milliseconds* since epoch start, unix is *seconds*.

[flexcoders] Re: BitmapData unscaled bounds?

2008-12-16 Thread flexaustin
Getbounds and matrix.translate does the trick. -- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote: Is it possible to take a screen shot of a flex app if the apps components are extended off the stage, say the app is a screen and a half wide? When I try to grab a bitmap of

[flexcoders] Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-16 Thread devenhariyani
Hey guys, I recently posted a thread on a popular widget platform site to get developer feedback. Basically, I've created a widget using Flex technology, and since I cannot get the SWF file size down to a size 100KB I'm wondering if Flex was the wrong technology for my project. I'm not

RE: [flexcoders] Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-16 Thread Jim Hayes
(so I don't know) how small I could get the file size for a comparable solution in Flash. Is that the question that you really wanted the answer to? The answer to that will depend on what your widget actually is/does. Without knowing that, I don't see how anyone can really offer an opinion on

Re: [flexcoders] Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-16 Thread Jamie S
It would be pretty hard to get a Flex app down under 100k. The Framework itself is larger than that. You could try framework caching. But if you really want a small file size, you might have to use Flash. On Tue, Dec 16, 2008 at 5:10 PM, devenhariyani devenhariy...@yahoo.com wrote: Hey guys,

Re: [flexcoders] Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-16 Thread Josh McDonald
Depending on what parts of the framework you use, you could probably cut it right down by not using an Application as the root, and instead using a custom UIComponent that implements IContainer (some methods might be stubs, etc). Container has a *lot* of stuff in it. You should be able to lookup

[flexcoders] Architecture options for holding current model objects related to view

2008-12-16 Thread Aaron Hardy
Hey everyone, Let me set up a situation for you. Let's say you have an application with a component called Widget1 that's buried deep within the display list. Widget1 displays 50 knobs. Now, let's say you move to another part of the application and click a button that instantiates Widget3

[flexcoders] Re: Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-16 Thread devenhariyani
Thanks for the advice so far. If I follow the advice not to use the Application tag, *and* if I also remove all the MXML and re-write the app to use only ActionScript do you think I can get the size down to under 200KB? I think Flex is a great technology, but if its not the right tool for

Re: [flexcoders] Re: Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-16 Thread Josh McDonald
To be honest with a widget that simple, if you're worried about size just build it in ActionScript. -Josh On Wed, Dec 17, 2008 at 12:36 PM, devenhariyani devenhariy...@yahoo.comwrote: Thanks for the advice so far. If I follow the advice not to use the Application tag, *and* if I also remove

Re: [flexcoders] Re: Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-16 Thread Alan
I wouldn't call this 'simple' but I do think your doubts are well founded. Looking at this example, I don't see any real use of Flex. You have what looks like some animated state changes and a few navigation components - skipping Flex in this case might be easier. I do small and large

[flexcoders] Re: Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-16 Thread devenhariyani
Does anyone know where I can find some good examples of flex apps written completely in ActionScript 3? I did some quick searches on Google, but didn't find much. I would rather try to re-write the app in AS3 to see if it makes the file size manageable, rather than abandon flex completely.

Re: [flexcoders] Re: Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-16 Thread Josh McDonald
What I meant is that you don't seem to be using any Flex functionality beside ArrayCollection, and you'd do fine using Array or Vector. On Wed, Dec 17, 2008 at 1:56 PM, devenhariyani devenhariy...@yahoo.comwrote: Does anyone know where I can find some good examples of flex apps written

RE: [flexcoders] Re: How many classes are there in flex 3 framework?

2008-12-16 Thread Alex Harui
Did that include flash.*.* classes? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Josh McDonald Sent: Tuesday, December 16, 2008 4:23 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: How many classes are there in flex 3 framework? A quick

RE: [flexcoders] Architecture options for holding current model objects related to view

2008-12-16 Thread Alex Harui
The theoretical advantage of model-view is that there is better abstraction and encapsulation so that one view can be modified and not require coding in the other view. Another advantage of central model may come when you try to hook up to browser manager. It might be easier to reflect some

RE: [flexcoders] Re: Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-16 Thread Alex Harui
Under the covers, MXML is converted to actionscript. The only way to get smaller is to start removing features from the framework. If you need collections or HTTPService or styles or resources or any of that infrastructure someday you'll end up with a sizable app even if you do it in AS. So,

Re: [flexcoders] Re: How many classes are there in flex 3 framework?

2008-12-16 Thread Josh McDonald
Yeah, all public interfaces as well. On Wed, Dec 17, 2008 at 2:44 PM, Alex Harui aha...@adobe.com wrote: Did that include flash.*.* classes? *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Josh McDonald *Sent:* Tuesday, December 16, 2008 4:23 PM

Re: [flexcoders] Re: How many classes are there in flex 3 framework?

2008-12-16 Thread Josh McDonald
A quick bit of regex gives us: 28 Globals (all Flash AFAIK) 3 classes in air.* 235 classes in flash.* 914 public classes in mx.* On Wed, Dec 17, 2008 at 3:31 PM, Josh McDonald dzn...@gmail.com wrote: Yeah, all public interfaces as well. On Wed, Dec 17, 2008 at 2:44 PM, Alex Harui

[flexcoders] problem in WebService help me plz

2008-12-16 Thread NATA RAJAN
Hi All, The Below code is working very fine . but my need is i want to place the XML file instead of parameter (externalServiceParameterInfo). if i print in XML file using Aert it will show correctly.. mx:WebService id=ws_IM

Re: [flexcoders] getting refs to items in Group.mxmlContent?

2008-12-16 Thread Haykel BEN JEMIA
You should use the content management functions of group to access its children: numElements(), getElementAt(index:int), getElementIndex(element:Object) etc. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Dec 16, 2008 at 10:28 PM, Mic chigwel...@yahoo.com

  1   2   >