Re: [flexcoders] regular expression tester says it works, but it doesnt????

2009-01-14 Thread Haykel BEN JEMIA
Try this one: \"([^\"]+)\":\"?([^\",]+)\"? This should match all key-value pairs. Just iterate over them and choose the ones you need. Haykel Ben Jemia Allmas Web & RIA Development http://www.allmas-tn.com On Tue, Jan 13, 2009 at 8:01 AM, flexaustin wrote: > pattern = new RegExp('(?<=\"n

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

2009-01-14 Thread Pan Troglodytes
Thank you VERY much for the excellent pointer. I don't know why they don't install it by default either. Then again, I also don't know why the Expressions window can't understand the expression "-1"! On Thu, Jan 15, 2009 at 12:44 AM, Sam Lai wrote: > > http://blogs.adobe.com/flexdoc/2008/04/ex

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 : > Hmm, I sho

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

2009-01-14 Thread Pan Troglodytes
Hmm, I should also mention that the error I'm getting is: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.charts.series::BubbleSeries/findDataPoints()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\series\BubbleSeries.as:933]

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

2009-01-14 Thread Pan Troglodytes
I upgraded to 3.0.2 and seem to have a bit of an issue. The last time I've seen the datavisualization source distributed is in 3.0.0. Sometimes when I trace into SDK units (BubbleSeries.as at the moment), you can tell the debugger is going to a line from a different version of the file. Crashing

Re: [flexcoders] API to get the timezone information?

2009-01-14 Thread Paul Hastings
akila_ksri wrote: > Would like to know if there is any direct API available in > actionscript/C# to get the timezone information, given the city name? not in AS but you could use one of the geonames.org webservices. for example: http://www.sustainablegis.com/projects/tz/tzmap/ code: http://tzma

[flexcoders] API to get the timezone information?

2009-01-14 Thread akila_ksri
Hi, Would like to know if there is any direct API available in actionscript/C# to get the timezone information, given the city name? Thanks in advance, Akila

RE: [flexcoders] Interfaces not working the way I understand anyway

2009-01-14 Thread Alex Harui
Sounds like an applicationDomain topology problem. See the modules presentation on my blog. Make sure the interface is linked into the main app. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nate Beck Sent: Wednesday, January 14, 2009 8:12 PM To: flexcoders

Re: [flexcoders] Interfaces not working the way I understand anyway

2009-01-14 Thread Nate Beck
Post code please. On Wed, Jan 14, 2009 at 3:08 PM, mmormando wrote: > Ok, I've got a module implemented in an mxml file that implements an > interface IMyInterface, so marked with the > implements="com.my.interface.IMyInterface" tag in the right place. So, > after dynamically loading the modul

Re: [flexcoders] When to use the include directive?

2009-01-14 Thread Nate Beck
Thanks for the responses everyone. It's an interesting question that I had posed to myself... and at the time, I couldn't come up with any particular reason when to use it. I have seen it used in the framework, and I agree that there is a place for it. But I do wish some developers never knew it

[flexcoders] Apple Spotlight effect - autocomplete

2009-01-14 Thread jovialrandor
Does anyone know how to go about creating a apple spotlight effect using the Adobe autocomplete component? Any direction is appreciated.

Re: [flexcoders] Re: warning on 'back' button before closing application?

2009-01-14 Thread Maciek Sakrejda
Thanks, Jim. I don't think that'll work for us, but it's an interesting idea. I think one of the other problems is that by default, Firefox opens new windows in a new *tab*, thwarting the attempt to avoid the chrome. I think the onbeforeunload idea might work--we're actually already doing some othe

Re: [flexcoders]Change state without dispatching events

2009-01-14 Thread Paul Andrews
Seems to me that you may have two separate states and are really trying to use only one state when there should be two. What's the problem with having "state 1" for "state 1" functionality and "state 2" for state 2 functionality? Other possible solutions may be changing states then calling a fun

Re: [flexcoders] When to use the include directive?

2009-01-14 Thread Josh McDonald
FWIW, I use include *all the time* when I need to implement IEventDispatcher but I'm extending something that's not an IEventDispatcher (Proxy, I'm looking at you). -Josh 2009/1/14 Tom Chiverton > On Tuesday 13 Jan 2009, Nate Beck wrote: > > is an "include Header.as" statement that has 30 incl

Re: [flexcoders] Custom mouse cursors including the system cursor?

2009-01-14 Thread Josh McDonald
I tried to just follow up with a Mouse.show on next frame, but CursorManager calls Mouse.hide on every frame. For now I'm simply working around the problem by switching all my drag cursors to a little grabbing hand :) I sure do miss mc.startDrag() from Flash MX sometimes... -Josh 2009/1/15 Manis

[flexcoders] Interfaces not working the way I understand anyway

2009-01-14 Thread mmormando
Ok, I've got a module implemented in an mxml file that implements an interface IMyInterface, so marked with the implements="com.my.interface.IMyInterface" tag in the right place. So, after dynamically loading the module I try to either cast it to IMyInterface, or check it with "is", and it says tha

Re: [flexcoders]Change state without dispatching events

2009-01-14 Thread dorkie dork from dorktown
I have specific functionality setup in the StateChange event (functionality type 1). But in another part of the class I have functionality (functionality type 2) that does some slightly different work. The code looks like this: type 1: // someone sets the state in code (could be anywhere) // for

[flexcoders] Issue with load progress of RSL in custom preloader

2009-01-14 Thread Steve Mathews
I am using framework version 3.1 and I have created a custom preloader for my application. I want a smooth progress bar during this load so I figured I would just watch the load of the RSLs as they seem to be the biggest chunk of data (for now at least). I know this would miss some loading and the

Re: [flexcoders]Change state without dispatching events

2009-01-14 Thread Paul Andrews
- Original Message - From: dorkie dork from dorktown To: flexcoders@yahoogroups.com Sent: Wednesday, January 14, 2009 10:34 PM Subject: Re: [flexcoders]Change state without dispatching events Do you have a code example you can show me? When I use this: Application.appl

[flexcoders] Re: warning on 'back' button before closing application?

2009-01-14 Thread jim.abbott45
Your other choice is to have your entire application opened in a new, separate browser window, but with the browser 'chrome' & history turned off. In that case, users cannot accidentally navigate away from the application, because there _is no_ navigation history to begin with. Of course not everyo

Re: [flexcoders]Change state without dispatching events

2009-01-14 Thread dorkie dork from dorktown
Do you have a code example you can show me? When I use this: Application.application.setCurrentState(stateName); it always triggers a StateChangeEvent.CURRENT_STATE_CHANGE event. I want to know if there is a way to not generate that event. None at all. On Wed, Jan 14, 2009 at 2:11 AM, p...@vin

Re: [flexcoders]Count the number of arguments on a function

2009-01-14 Thread dorkie dork from dorktown
Thank you! On Wed, Jan 14, 2009 at 2:50 PM, Gordon Smith wrote: >I think describeType() provides information about method parameters. > > > > Gordon Smith > > Adobe Flex SDK Team > > > > *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On > Behalf Of *dorkie dork from

[flexcoders] Re: Chart axis values clipped

2009-01-14 Thread Richard Rodseth
To partially answer my own question, I see there is a labelFunction on LinearAxis, so I can pad the string with a space, but perhaps there is another more elegant solution. On Wed, Jan 14, 2009 at 1:46 PM, Richard Rodseth wrote: > I have a category chart displayed in a variable-sized container.

RE: [flexcoders]Count the number of arguments on a function

2009-01-14 Thread Gordon Smith
I think describeType() provides information about method parameters. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dorkie dork from dorktown Sent: Wednesday, January 14, 2009 12:39 AM To: flexcoders@yahoogroups.com Subject: [fl

[flexcoders] Image loading indicators do not display in Firefox 2

2009-01-14 Thread Greg Hess
Hi All, I am using a custom item renderer for a TileList that displays an image and a label for each item. The image has event listener functions for Open and Complete events. On the Open event we add a "spinner" component to provide a loading indicator and remove it on Complete. It works fine in

[flexcoders] Chart axis values clipped

2009-01-14 Thread Richard Rodseth
I have a category chart displayed in a variable-sized container. At smaller sizes the font used for displaying axis values is scaled, but there is a point at which the values are clipped. Obviously this won't do. Anyone else encountered this and have a workaround?

[flexcoders] Graying out the Tab Selection of the parent App

2009-01-14 Thread anuj181
Hi All I am trying to disable the canvas in ToggleButtonBar in my parent app, Actually I am setting the disable property from differnt module of my app. My disabling is working fine but I like to give it a grayed out look, so I like to set the blurX or blurY property or give it a color, The problem

[flexcoders] Re: What data type is this? var service = __locator.getService("roService");

2009-01-14 Thread djepyon
use getRemoteObject if you're service is a RemoteObject. _locator.getRemoteObject("roService"); if it was an HTTPService or a WebService then you would use either _locator.getHTTPService("httpService"); _locator.getWebService("webService"); respectively. getService() is still around and return

[flexcoders] Re: chart axis titles missing in image capture

2009-01-14 Thread netdeep
I've made some progress. If I add this code: chartPanel.addEventListener(FlexEvent.CREATION_COMPLETE, imgExport); // method: imgExport (Event) //

[flexcoders] CartesianChart axes location

2009-01-14 Thread Chad Callahan
I am wanting the axes for my charts to render in front of the chart rather than on top of, bottom of, left of or right of. Is there any way of doing this? Thanks

RE: [flexcoders] Re: Valid Date Ranges in Flex

2009-01-14 Thread Maciek Sakrejda
Ah, right. I'd forgotten that MIN and MAX are typically defined that way for floating point types. And I completely missed that you said you'd tried that--clearly I need more sleep. -Original Message- From: Gregory Kelley Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.co

[flexcoders] Re: String Encoding Issue Over AMF

2009-01-14 Thread valdhor
The problem is still PHP's problem with unicode characters. You can see the trademark character problem in php.net's method listings. About the only way to do it is to replace the TM character with the HTML equivalent: $text = "™Steve"; $text = str_replace("™", "™", $text); And on the flex end

[flexcoders] Re: chart axis titles missing in image capture

2009-01-14 Thread netdeep
I have an idea that this might be a problem with the asynchronous way methods get called in Flex. In other words even though code wise, the chart has been created before the automated image capture is called, somehow internally the chart is not complete. That's explains why the user triggere

Re: [flexcoders] Re: String Encoding Issue Over AMF

2009-01-14 Thread Daniel Freiman
Yeah, that's what I'm using. Maybe I'll check the non-release builds. On Wed, Jan 14, 2009 at 4:16 PM, Randy Martin wrote: >Are you using the latest Zend framework? Adobe contributed AMF to Zend, > and there's a Zend_AMF component in V1.7 of the framework. This might solve > your problem. >

RE: [flexcoders] Re: String Encoding Issue Over AMF

2009-01-14 Thread Randy Martin
Are you using the latest Zend framework? Adobe contributed AMF to Zend, and there's a Zend_AMF component in V1.7 of the framework. This might solve your problem. HTH, ~randy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Daniel Freiman Sent: Wednesday

Re: [flexcoders] Re: regular expression tester says it works, but it doesnt????

2009-01-14 Thread Guy Morton
[^,] means match anything except commas, ie the ^ at the start of the [] indicates that rather than match any of these characters it ought to not match any of them. You can't put patterns in the [], it's for defining a list of characters (or a range, as in a-z). Guy On 14/01/2009, at 8:1

[flexcoders] Unreliable Local SharedObject in Flash 10!!!!

2009-01-14 Thread Ilam Mougy
I searched the list for this issue and didn't find anything related. I have an app that saves a big file to the local SharedObject, I chunk it so I can display a progress bar, each chunk is 1M, I have 60 Meg of data. This worked flawless in Flash 9 (expected ha!), but with Flash 10, sometimes it

Re: [flexcoders] Re: String Encoding Issue Over AMF

2009-01-14 Thread Daniel Freiman
I'm using Zend Framework. I can't find an comparable method. On Wed, Jan 14, 2009 at 1:58 PM, aphexyuri wrote: > Have you played around with $gateway->setCharsetHandler() in > gateway.php? > > > --- In flexcoders@yahoogroups.com , "Daniel > Freiman" wrote: > > > > Either I'm missing somethin

[flexcoders] adobe update Flex messed up my apps

2009-01-14 Thread mariovandeneynde
Hi! I just finished up my update for my adobe products, and one of the updates was going from Flex3 to flex 3.2. I rebuild my app using flex 3.2 and it worked fine in my browsers BUT I used to load my flexapp in a flash movie and published this movie to an EXE. What used to work isn't work

RE: [flexcoders] Re: Valid Date Ranges in Flex

2009-01-14 Thread Gregory Kelley
Actually, just for anyone reading this in the future, Number.MIN_VALUE = "The smallest representable non-negative, non-zero, number" So the actual smallest number is negative Number.MAX_VALUE Greg From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups

[flexcoders] Re: String Encoding Issue Over AMF

2009-01-14 Thread aphexyuri
Have you played around with $gateway->setCharsetHandler() in gateway.php? --- In flexcoders@yahoogroups.com, "Daniel Freiman" wrote: > > Either I'm missing something (which is highly possible) or that information > isn't addressing the problem. Everything on the php side seems fine. And > all t

[flexcoders] Re: TourDeFlex in linux

2009-01-14 Thread jlward4th
For me it shows up in the Accessories menu. You can also launch it from where it installed in /opt -James --- In flexcoders@yahoogroups.com, "Deniz Davutoglu" wrote: > > Hi I installed air 1.5 for linux an TourDeFlex in ubuntu 8.10 but > after install I cant find TourDeFlex in any menu does an

Re: [flexcoders] Re: String Encoding Issue Over AMF

2009-01-14 Thread Daniel Freiman
Either I'm missing something (which is highly possible) or that information isn't addressing the problem. Everything on the php side seems fine. And all the tests/functions applied to the string on the php side operate as expected. It's not until the string is sent over AMF to Flex that I have a

[flexcoders] Re: warning on 'back' button before closing application?

2009-01-14 Thread Anthony DeBonis
Yes it is possible but you need some JavaScript You can create a js include file or put this in your wrapper template file. The idea is to put a event listener on the onbeforeunload function. I have tested this in a few more common browsers and it works. window.onbeforeunload = warnOfUnsa

RE: [flexcoders] Re: Valid Date Ranges in Flex

2009-01-14 Thread Maciek Sakrejda
You should be able to determine minDate and maxDate by calling new Date(Number.MIN_VALUE) and new Date(Number.MAX_VALUE). -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Gregory Kelley Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Su

Re: [flexcoders] Custom mouse cursors including the system cursor?

2009-01-14 Thread Manish Jethani
On Tue, Jan 13, 2009 at 12:46 PM, Josh McDonald wrote: > I'm wondering how I create a custom mouse cursor that will include the > system cursor, the way DragManager does with the halo mouse cursors? Why not just draw the custom cursor next to the system cursor? CursorManager does Mouse.hide. If

Re: [flexcoders] Cant empty context menu- previous answers don't work...

2009-01-14 Thread john fisher
Thanks Doug, I'll stop trying to make this work and change the interface idea. Flex team: this seems like a collision between proprietary ideas of how to build a framework and Open Source culture. Obviously a developer ought to be able to do whatever he likes with right-click events. John Doug M

[flexcoders] warning on 'back' button before closing application?

2009-01-14 Thread Maciek Sakrejda
Is there a way to warn the user that they're about to navigate away from the app through the browser's back button? This is actually a request from our users: we don't use BrowserManager (I don't think it would even make sense for us), but they are used to browser paradigms, and sometimes hit 'back

RE: [flexcoders] Datagrid and sorting

2009-01-14 Thread Alex Harui
Not without a lot of work. Because Actionscript is single-threaded, you cannot update the display while the sort is doing its thing. You'd have to turn off the sort and create a timer or event based sorting scheme so you could show progress and update the UI. You may be able to use the pseudo

Re: [flexcoders] Re: Httpservice proxy?

2009-01-14 Thread Manish Jethani
On Wed, Jan 14, 2009 at 10:53 PM, Nate Pearson wrote: > Ahhh! No way to get around that? Proxy the calls through your own web service (hosted on your own domain). Manish -- Manish Jethani

[flexcoders] Re: Httpservice proxy?

2009-01-14 Thread Nate Pearson
Ahhh! No way to get around that? --- In flexcoders@yahoogroups.com, "Manish Jethani" wrote: > > On Wed, Jan 14, 2009 at 10:37 PM, Nate Pearson wrote: > > I built a small stock widget that accesses > > http://quote.yahoo.com/d/quotes.csv to get the stock information. > > > > The app works fine on

Re: [flexcoders] Httpservice proxy?

2009-01-14 Thread Manish Jethani
On Wed, Jan 14, 2009 at 10:37 PM, Nate Pearson wrote: > I built a small stock widget that accesses > http://quote.yahoo.com/d/quotes.csv to get the stock information. > > The app works fine on my desktop but when I upload it to our domain it > doesn't work. Yes, it looks like they have a crossdom

[flexcoders] Re: String Encoding Issue Over AMF

2009-01-14 Thread valdhor
The problem is with PHP and how it handles multi-byte strings. A good overview can be found at http://www.phpwact.org/php/i18n/charsets Hopefully PHP 6 will end all this grief. --- In flexcoders@yahoogroups.com, "Daniel Freiman" wrote: > > I'm transmitting Strings from php to Flex. The values

[flexcoders] Httpservice proxy?

2009-01-14 Thread Nate Pearson
I built a small stock widget that accesses http://quote.yahoo.com/d/quotes.csv to get the stock information. The app works fine on my desktop but when I upload it to our domain it doesn't work. I have no idea what the issue is but I was thinking maybe it was a proxy issue? Should this just wor

RE: [flexcoders] flex playerProductInstall.swf

2009-01-14 Thread Kenneth Sutherland
For those that are interested, I've resolved the issue. I had to edit the playerProductInstall.swf (see http://www.adobe.com/devnet/flash/articles/fp8_detection_06.html ) so it now calls an external JavaScript function that gets used for alternative content if the user selects 'no' after seeing

Re: [flexcoders] Re: regex

2009-01-14 Thread Manish Jethani
On Wed, Jan 14, 2009 at 2:16 AM, flexaustin wrote: > Ok, this i killing me. I have down to this: > > \\\name:something\\soemthing\\ > > > How do I replace \\\ with \\ and all \\ with \. I'm not sure how you ended up with those backslashes, but here's how to replace two of those with a single one:

[flexcoders] Re: [Resolved] Passing a function reference to an item renderer

2009-01-14 Thread Amy
--- In flexcoders@yahoogroups.com, "simonjpalmer" wrote: > > that did it! thanks very much. > > I never stop finding out little mysterious helpful tricks with Flex. > It is very cool, but also quite frustrating. If you were at the beach > today I would probably never have found this out. Or

Re: [flexcoders] Data Grid with dynamic columns ignoring % width or right style.

2009-01-14 Thread Manish Jethani
On Wed, Jan 14, 2009 at 3:40 PM, Wesley Acheson wrote: >> Okay sorry If I wasn't clear enough about it basically the data grid >> stretches, but not enough to accomidate all columns. Nor even enough to fill >> the container. Setting a width of 0 makes the datagrid remember its >> constraint l

[flexcoders] chart axis titles missing in image capture

2009-01-14 Thread netdeep
I have two sections of code which generate a png file from a UIComponent. Both seem very similar except that one of them cuts the axis titles off for some reason. The actual image file is generated in Java, but the encoding happens here in flex. The same code is used in both calls to Java, t

Re: [flexcoders] Alternative Rich Text Editor

2009-01-14 Thread Weyert de Boer
You could consider using Flash Player 10 and the new text engine. The best you can get: http://labs.adobe.com/technologies/textlayout/

Re: [flexcoders]Count the number of arguments on a function

2009-01-14 Thread Amy
--- In flexcoders@yahoogroups.com, "dorkie dork from dorktown" wrote: > > Is there a way to count how many arguments there are on a function from > outside that function? For example, > > Class1: > // myFunction has one parameter of type string > myFunction(myParam:String) { > > } > > Class2:

RE: [flexcoders] Re: Valid Date Ranges in Flex

2009-01-14 Thread Gregory Kelley
I knew that at some point in the past. Now that you say that it is very obvious. In my attempt to determine the earliest/latest date supported I tried the following but then all the date parts in the object are NaN. public static const MIN_DATE:Date = new Date(-Number.MAX_VALUE); public static

Re: [flexcoders] Re: BlazeDS server environment configuration

2009-01-14 Thread Wesley Acheson
> So I still consider any additional hint towards a good book on > BlazeDS, covering both some examplary applications as well as > pointing to differences to say JBOSS for instance. This as I want to > go a bit deeper into the subject and understand better.. some aspects. > Its pretty much the sam

[flexcoders] Re: BlazeDS server environment configuration

2009-01-14 Thread grg_blls
Hi again (and thanks for replying) I didn't say Wesley is not correct..On the contrary... As I have first to work it out and then see if I get any more questions. (Obviously not having done this before, was the reason for asking about documentation (or a cookbook) in the first place. Sofar I 'v

[flexcoders] Re: Valid Date Ranges in Flex

2009-01-14 Thread valdhor
The month ranges from 0 (January) to 11 (December). You asked for day 31 of month 12 of year 2999 so Flex made it day 31 of month 1 of year 3000. --- In flexcoders@yahoogroups.com, "Gregory Kelley" wrote: > > In creating a date filterd report generation system, I was asked to add an option for

[flexcoders] String Encoding Issue Over AMF

2009-01-14 Thread Daniel Freiman
I'm transmitting Strings from php to Flex. The values are correct before I send them to Flex (I've traced them), but Flex isn't interpreting them properly (I get that square thing, or two incorrect characters). I've tried various encoding/decoding schemes (urlencode, etc) but none of them have wo

[flexcoders] Re: Alternative Rich Text Editor

2009-01-14 Thread valdhor
The only one I could find on Google was at http://flashtexteditor.com/ with a Flex demo at http://flashtexteditor.com/flexdemo/full/. It's a bit old (And pricy) but you could try emailing the author. --- In flexcoders@yahoogroups.com, "norm_2782" wrote: > > Hi all, > > Does anybody know if the

[flexcoders] Re: BlazeDS server environment configuration

2009-01-14 Thread valdhor
Wesley is correct - This is a Java question. You already have the BlazeDS part set up and working. All you need to do is change the database access in Java. I would suggest following the tutorial Wesley provided and then apply the knowledge gained to your project. >From what I can see this entai

RE: [flexcoders] Re: AIR and SQLLite

2009-01-14 Thread JD Hoover
I've never used the feature but I understand LCDS using data management services will auto sync in both directions from the sqlite ( in air ) and an online db. J.D.Hoover MageWindMedia http://www.magewindmedia.com Ph (415) 261-3000 [Moderator note: Could people at least try and trim their repli

[flexcoders] Re: Binding and the Model

2009-01-14 Thread Amy
--- In flexcoders@yahoogroups.com, "Ryan Graham" wrote: > > > You could take control of the situation by updating the summary property > inside the setter of each property that makes up the summary itself. > Forgive the quick code, but something along the lines of: ...If you do that, summary c

Re: [flexcoders] Using Flex as a Flash IDE

2009-01-14 Thread Kevin Mulvihill
http://gotoandlearn.com/ has a thing or two on this... A google search will uncover the rest... Best, Kevin On Thu, Jun 12, 2008 at 11:37 AM, thirtyfivemph wrote: > So, I've been doing some contract work lately that requires that I use > Flash instead of Flex (the deliverables have to be FLAs

Re: [flexcoders] When to use the include directive?

2009-01-14 Thread Tom Chiverton
On Tuesday 13 Jan 2009, Nate Beck wrote: > is an "include Header.as" statement that has 30 include statements within > it. Sounds like someone used to programing in C. > To give a datagrid additional functionality, you give it an > id="myDataGrid" Eww. > I just don't see a good use for the incl

RE: [flexcoders] Read xml files in relative path

2009-01-14 Thread Gregor Kiddie
You can use app: and app-storge: (I think that's right) to access the directories where the app is installed and the user specific locations. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered

Re: [flexcoders] How to call MXML from JSP

2009-01-14 Thread Howard Fore
On Wed, Jan 14, 2009 at 7:49 AM, sony antony wrote: > I need to invoke a JSP page from MXML page Do you mean that you want your SWF to open a new browser window to a particular URL? Or you want the SWF to call a JSP page and the use the output of the call to the JSP in its processing? For the fo

[flexcoders] Read xml files in relative path

2009-01-14 Thread narayanaweb
I have a Adobe AIR application that reads XML files. Currently the path to the files is Hard Coded. I tried adding the XML files to the application source folder and referencing them, but was unsuccessful. Please help.. Thanks, Satya V

[flexcoders] Quicktime API

2009-01-14 Thread venkat eswar
I am using a flex videoplayer. This videoplayer plays all movie files. I want to know using the Quicktime API is it possible to get the actual framerate of a movie. If it is possible , then how i can integrate this Quicktime API in my Flex application

[flexcoders] Ignore Previous Post: Valid Date Ranges in Flex

2009-01-14 Thread Gregory Kelley
In creating a date filterd report generation system, I was asked to add an option for returning all data. Rather than reworking the backend I just added a checkbox to the UI that says return all data. If that box is checked then the properties return the following constants (randomely created by yo

[flexcoders] Constraint-Based Layout with ColSpan?

2009-01-14 Thread graham.t...@rocketmail.com
Using constraint-based layout with content sizing, is there an easy way to have a child span columns (or rows) without resizing the child? As an oversimplified example, I have a 2x2 grid: * In each "cell" of the first row, I have a child. * In the second row, I want to center (or otherwise alig

[flexcoders] Alternative Rich Text Editor

2009-01-14 Thread norm_2782
Hi all, Does anybody know if there's an alternative to Flex's Rich Text Editor? I'm actually looking for something more like TinyMCE or FCKEditor (but in Flex, of course ; ). Flex's own RTE is kind of limited. Unfortunately Google didn't gave me much to go on... Cheers! - Jurriën

[flexcoders] Valid Date Ranges in Flex

2009-01-14 Thread Gregory Kelley
In creating a date filterd report generation system, I was asked to add an option for returning all data. Rather than reworking the backend I just added a checkbox to the UI that says return all data. If that box is checked then the properties return the following constants (randomely created by

RE: [flexcoders] Cant empty context menu- previous answers don't work...

2009-01-14 Thread Gregory Kelley
public static const MIN_DATE:Date = new Date(1500,1,1); public static const MAX_DATE:Date = new Date(2999,12,31);

[flexcoders] Re: BlazeDS server environment configuration

2009-01-14 Thread grg_blls
--- In flexcoders@yahoogroups.com, "Wesley Acheson" wrote: > > Really thats more of a java question then a flex one. for using mysql > and tomcat try > > http://www.opensourcetutorials.com/tutorials/Databases/MySQL/tomcat- and-mysql/page2.html > Thank you Wesley for a quick reply. But what I a

Re: [flexcoders] How to call MXML from JSP

2009-01-14 Thread Paul Andrews
Just embed the swf in your JSP page and when the browser loads the JSP page, the swf should run. Paul - Original Message - From: "sony antony" To: Sent: Wednesday, January 14, 2009 12:49 PM Subject: [flexcoders] How to call MXML from JSP > Hi... > > I need to invoke a JSP page from M

[flexcoders] How to call MXML from JSP

2009-01-14 Thread sony antony
Hi... I need to invoke a JSP page from MXML page and from that JSP I should be able to run the SWF file. Could anyone please help me..?? Thanks, Sony. Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/

[flexcoders] Chart - Horizontal Labels tiny!

2009-01-14 Thread jamiebadman
Hi, Wonder if you guys can help! I have a chart I'm plotting and the h-axis labels are so tiny they're almost 'dots'. So I tried creating a secondary axis, eliminating all but twelve (it's yearly data) points which have the year/month values and placing that on the chart - but again, although jus

Re: [flexcoders] BlazeDS server environment configuration

2009-01-14 Thread Wesley Acheson
Really thats more of a java question then a flex one. for using mysql and tomcat try http://www.opensourcetutorials.com/tutorials/Databases/MySQL/tomcat-and-mysql/page2.html

[flexcoders] [Resolved] Passing a function reference to an item renderer

2009-01-14 Thread simonjpalmer
that did it! thanks very much. I never stop finding out little mysterious helpful tricks with Flex. It is very cool, but also quite frustrating. If you were at the beach today I would probably never have found this out. Or maybe you are at the beach on your iPhone... anyway +1 for FlexCoders,

Re: [flexcoders] Passing a function reference to an item renderer

2009-01-14 Thread Paul Andrews
Check out outerDocument: The tag defines a new scope within an MXML file, where the local scope of the item renderer or item editor is defined by the MXML code block delimited by the and tags. To access elements outside of the local scope of the item renderer or item editor, you prefix the

[flexcoders] BlazeDS server environment configuration

2009-01-14 Thread grg_blls
Hi all, I have a "generic" question. I am using Flex plug-in to Eclipse, developing the client side of an application. I also use Tomcat and BlazeDS on the server side. The development installation was done without any hassles and works fine. Also I don't have any problems with my development

[flexcoders] Passing a function reference to an item renderer

2009-01-14 Thread simonjpalmer
I have an item renderer for a list control and I want to delegate the editing of the object that the item renderer is showing to its containing control - in fact to the custom control that contains the list that the item renderer belongs to. I have set up the item renderer inline something like th

Re: [flexcoders] Data Grid with dynamic columns ignoring % width or right style.

2009-01-14 Thread Wesley Acheson
On Mon, Jan 12, 2009 at 10:49 PM, Wesley Acheson wrote: > > > On Mon, Jan 12, 2009 at 7:45 PM, Manish Jethani > wrote: >> >> On Sun, Jan 11, 2009 at 3:51 AM, wesley.acheson >> wrote: >> >> > I've a problem with the DataGrid ignoring the % width, while using >> > Canvas as the parent. When I dy

[flexcoders] Datagrid and sorting

2009-01-14 Thread Jason Crummack
Hi, I'm currently working with a fairly large dataset within a grid and i'd like to change the mouse cursor/display informational text when the user clicks on the column headers to sort the grid, now i can get the start point of the sort using the headerRelease event but is there a way to know

[flexcoders] flex playerProductInstall.swf

2009-01-14 Thread Kenneth Sutherland
If the user doesn't have then required version of flash player then they see the playerProductInstall.swf that comes with flexbuilder and if they select yes to the install then everything is great. But what if they say 'no', then they get nothing. Is there any way to get the result back from the p

Re: [flexcoders]Change state without dispatching events

2009-01-14 Thread p...@vin Uttarwar
Hi, Yes you can do it using databinding, by keeping one of the variable which is aceessible from anywhere throughout the application [inside static class like ModelLocator] and according to its change you can change the state. 2009/1/14 dorkie dork from dorktown > Is there a way to change sta

[flexcoders]Count the number of arguments on a function

2009-01-14 Thread dorkie dork from dorktown
Is there a way to count how many arguments there are on a function from outside that function? For example, Class1: // myFunction has one parameter of type string myFunction(myParam:String) { } Class2: someFunction() { // for example, // i want to get a count of arguments of myFunction,

[flexcoders]Change state without dispatching events

2009-01-14 Thread dorkie dork from dorktown
Is there a way to change states without generating an event?

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

2009-01-14 Thread dorkie dork from dorktown
I mean like this: http://www.adobe.com/2006/mxml"; layout="absolute"> If it was a display object all the suggestions would work but it extends EventDispatcher and manages states, etc. The problem was that the id was not getting set. It also was not enumerated when I looped through the ap