Re: [flexcoders] Re: Flash Builder 4 for Linux

2009-11-17 Thread primo411
I used Eclipse 3.5 SR1 32 bits (the Java EE version). I did not follow the instructions, I just pasted/merged the contents of the fb4linux "eclipse" folder in the "eclipse" installation folder. 2009/11/18 Kelly > > > Which version of Eclipse did you install it on? > > I tried 3.3, 3.4, and 3.5 >

[flexcoders] Adobe AIR 2.0 up on Labs!

2009-11-17 Thread Charles Parcell
I saw someone else post about AIR 2.0 and Flash Player 10.1 (not 10.2) on Labs. Here are a number of useful links to AIR 2.0 information. Plus I wanted to take this opportunity to again invite all Flash/Flex developers interested in Adobe AIR to going the AIR-Tight Google Group. AIR-Tight Links --

RE: [flexcoders] first tile of tilelist does not show up

2009-11-17 Thread Alex Harui
Have you set columnWIdth/rowHeight explicitly? I wouldn't let the TileList measure the renderer and decide for itself. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]

RE: [flexcoders] Re: how to enable stack traceback?

2009-11-17 Thread Alex Harui
In Adobe terminology, you are running a debugger player and have or have not launched it in a debugger. The main player you get from the Adobe site is a "release" player. A "debug" player is internal to Adobe and there is a release-debug version build and a debugger-debug build that we use to

RE: [flexcoders] Re: Constraining the DragManager

2009-11-17 Thread Alex Harui
No, I would go to systemManager.cursorChildren. There should be one child and moving it or its child (which should be the actual cursor) should be what you want to do. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@y

Re: [flexcoders] global error handling flash player 10/flex 4

2009-11-17 Thread Jeffry Houser
Global Error Handling was introduced in the Flash Player 10.1 (which went into public beta today, I think). I doubt it is integrated into the Flex 4 SDK yet. Ariel J wrote: I have started seeing the automatic popup window for ErrorEvents that are getting dispatched in my program. I want

Re: [flexcoders] Passing an object to a rendererProvider

2009-11-17 Thread Jeffry Houser
What component are you using? Most list based classes have a ListData property passed into itemRenderers. You can extend ListData to contain your custom data, and extend the List class to use your new ListData class with new data. You could also pass in the relevant data as part of your ite

Re: [flexcoders] Layered ListBase component

2009-11-17 Thread Jeffry Houser
I guess I don't understand the request. Don't most list based classes allow you to drag and drop items in them and then position those items where they were dropped? When you say depth, I'm unclear what you are referring to. method_air wrote: Hello, I am looking for a component (presu

[flexcoders] Re: Plotting lots of data on a line chart

2009-11-17 Thread napearson99
Bump. Any ideas? This is possible, right? --- In flexcoders@yahoogroups.com, "napearson99" wrote: > > I have a dataset of about 10,000 points. I want to plot the data in a line > chart. I don't need every single item to be plotted, i just need to shape of > the data show up. > > I thought

[flexcoders] Re: Issues debugging on Windows 7?

2009-11-17 Thread mike_morearty
I think you are running into this issue: http://bugs.adobe.com/jira/browse/FB-22107 This was caused by a change made by Microsoft in Internet Explorer 8. Flex Builder and Flash Builder launch their own instance of iexplore.exe, and when you click Terminate, they kill that process. The problem

[flexcoders] global error handling flash player 10/flex 4

2009-11-17 Thread Ariel J
I have started seeing the automatic popup window for ErrorEvents that are getting dispatched in my program. I want to suppress the window. I cannot find an example of the definition of a global error handler for a Flex app. Can anyone help me out?

[flexcoders] Re: Constraining the DragManager

2009-11-17 Thread cuttenv
How would you go about getting the drag cursor? by accessing the cursormanager? --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > No APIs for doing that with DragManager. Maybe there is some way to find the > dragcursor and move it to where you want it. > > Alex Harui > Flex SDK Develop

[flexcoders] Layered ListBase component

2009-11-17 Thread method_air
Hello, I am looking for a component (presumably extending ListBase) that allows objects to be dropped inside of it, and positioned where they are dropped (kind of like a stage or root timeline). The depth of the display objects is bound to the data provider indexing. Does such a component exis

[flexcoders] Why does flex DateTimeAxis creates duplicate months on the axis?

2009-11-17 Thread kthanrahan
I am working with a Flex DateTimeAxis. I have a scenario where the DateTimeAxis sometimes creates duplicate months on the Axis. The month label unit is generated based on a min/max value that is supplied to the DateTimeAxis, it is NOT generated by the series data as far as I can tell. In other wor

RE: [flexcoders] Comparing Dates: ObjectUtil.dateCompare not working

2009-11-17 Thread Keith Reinfeld
You could use new Date(dateStr); However, if the date string contains hyphens it will be invalid and fail. If the hyphens in the date string are not under your control then you can swap them out for nice valid forward slashes: var dateStr:String = "2012-11-21 11:11:00"; dateStr = dateStr.

[flexcoders] Re: how to enable stack traceback?

2009-11-17 Thread mitchgrrt
I'm running the debug version of Flash player, sometimes in the debugger and sometimes not. It used to be the case that running the debug version of Flash player, even outside the debugger, there was a stack trace when there was an unhandled exception. Has that changed? --- In flexcoders@yahoog

[flexcoders] Re: how to enable stack traceback?

2009-11-17 Thread valdhor
I don't think you can. As I understand it, the production (ie. non-debug) player suppresses errors so users don't see them. --- In flexcoders@yahoogroups.com, "mitchgrrt" wrote: > > Thanks, that was really helpful. I'll bookmark those pages. > > Now I see positively that I have the debug Flash

[flexcoders] Re: Issues debugging on Windows 7?

2009-11-17 Thread brian.raymes
I have the same problem with Windows Vista and IE 8 (fairly certain it happened with IE 7 as well). Terminating or Terminate/Relaunch leaves behind an instance of IE... Lame! I ended up downloading KillProcess from http://www.beyondlogic.org/consulting/processutil/processutil.htm and wrote a

[flexcoders] Re: first tile of tilelist does not show up

2009-11-17 Thread mattgarland2000
Good call. The test image shows up. So it looks like the first image I dynamically create is either not available when assigned or incorrectly created. Looking into it... --- In flexcoders@yahoogroups.com, "jamesfin" wrote: > > Put this code in and see if an image appears in the first slot. If

[flexcoders] Wonky alignment in mx:htmlText property (Flex 3)

2009-11-17 Thread droponrcll
I think the MXML is more readable for a TextArea if you use the mx:htmlText property, but I found that I got a giant left indent on the first line and unexpected line breaks in the TextArea (with a giant indent again) when I used it, whether I included any markup in the property or not. If I us

[flexcoders] Re: how to enable stack traceback?

2009-11-17 Thread mitchgrrt
Thanks, that was really helpful. I'll bookmark those pages. Now I see positively that I have the debug Flash player, but I'm still not seeing stack tracebacks unless I run in the debugger. Any ideas how to set it so I can always see a traceback if there's an unhandled exception? Thanks. -

[flexcoders] Re: how to enable stack traceback?

2009-11-17 Thread valdhor
Have you tried http://www.adobe.com/livedocs/flex/3/langref/flash/system/Capabilities.html#version or http://kb2.adobe.com/cps/155/tn_15507.html or http://www.playerversion.com/ --- In flexcoders@yahoogroups.com, "mitchgrrt" wrote: > > I'm still having this problem. > > On the Mac how do I

[flexcoders] Re: how to enable stack traceback?

2009-11-17 Thread mitchgrrt
I'm still having this problem. On the Mac how do I tell what version of the Flash Player I'm running? In About This Mac > Software > Applications there is more than one, how do I tell which one I'm running? The most recent one I downloaded is this: Flash Player: Version:10.0.12.36 Las

[flexcoders] FB Serial number invalid

2009-11-17 Thread Richard Rodseth
My employer purchased a FlexBuilder 3 license for me to use. When I enter the serial number in FB (plug-in version, Eclipse Ganymede, OS X Snow Leopard) it shows a green checkmark but says the serial number is invalid. Customer service claims the number is valid and suggests I edit license.properti

[flexcoders] Passing an object to a rendererProvider

2009-11-17 Thread InvertedSpear
So I need to pass additional information (an object like an associative array) to my renderer provider which is stored nicely in a component, but I can't access any variables in my parent application from the component, only children. As a work around, I parsed the object variable to text, put it

Re: [flexcoders] quick XML question

2009-11-17 Thread thomas parquier
Hello, Most e4x methods return xmllist not xml. I think the following should work : > var n1 : XML = report.system["product-name"][0]; thomas --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net téléphone portable : +33601 822 056 2009/1

[flexcoders] Re: In a Label field, if the text is too long it ends with ..... , however if you ..

2009-11-17 Thread jamesfin
This was of help to me a while back... http://thanksmister.com/index.php/archive/flex-truncating-html-text --- In flexcoders@yahoogroups.com, "luvfotography" wrote: > > If the Label control size is smaller than its text, the text of the Label > control is truncated using a localizable string

Re: [flexcoders] quick XML question

2009-11-17 Thread claudiu ursica
Can you post your detailed xml ? I'll have a quick look in the morning... C From: "Pruitt, Byron S" To: "flexcoders@yahoogroups.com" Sent: Tue, November 17, 2009 10:01:48 PM Subject: RE: [flexcoders] quick XML question Found an article online reporting th

Re: [flexcoders] Re: Flash Builder 4 for Linux

2009-11-17 Thread primo411
I tested it and it works great ! I'm curious too, how did you achieve this ? Did you patch a lot of jars ? 2009/11/17 pcassi...@ymail.com > > > How do you do it? Could you tell me? How about the performance issues? > > > --- In flexcoders@yahoogroups.com , feiy > wrote: > > > > hi, > > i had po

[flexcoders] Re: Flash Builder 4 for Linux

2009-11-17 Thread pcassi...@ymail.com
How do you do it? Could you tell me? How about the performance issues? --- In flexcoders@yahoogroups.com, feiy wrote: > > hi, > i had ported the flash builder 4 to linux,more info: > http://code.google.com/p/fb4linux/ > ÏÐÔÆ¹Âº× - ÇåÀäÏãÖб§Ï¥Ò÷ >

RE: [flexcoders] quick XML question

2009-11-17 Thread Pruitt, Byron S
Found an article online reporting the dashes are a problem in E4X syntax. http://www.insideria.com/2009/01/flex-xml-quick-tip.html if anyone is interested. However it addresses the problem of… dg.dataProvider = xmlDataSource.data-one; And recommends… dg.dataProvider = xmlDataSource[

[flexcoders] In a Label field, if the text is too long it ends with ..... , however if you ..

2009-11-17 Thread luvfotography
If the Label control size is smaller than its text, the text of the Label control is truncated using a localizable string, such as "...". However if you set the text with htmlText, then you do not get the '...' How can I set the text of the Label field with htmlText and still get the '...' if

RE: [flexcoders] Comparing Dates: ObjectUtil.dateCompare not working

2009-11-17 Thread powers
@Keith What would you recommend to use instead of DateField.stringToDate to parse a string into a date object so that it doesn't strip off the time portion? Date.parse does not correctly parse a date when the string is formatted as -MM-DD HH:NN:SS. Keith Reinfeld wrote: > > ObjectUtil.da

[flexcoders] Re: first tile of tilelist does not show up

2009-11-17 Thread jamesfin
Put this code in and see if an image appears in the first slot. If so, your image source logic is incorrect. test.png is a sample image... [Embed(source="test.png")] [Bindable] public static var testImage:Class; override protected function commitProperties():void{ supe

[flexcoders] Re: first tile of tilelist does not show up

2009-11-17 Thread mattgarland2000
Thanks, that makes sense, but it does not work here, unfortunately. I think I might try to defining some states for the renderer and see if using states takes care of this if it is some weird timing/updating issue. --- In flexcoders@yahoogroups.com, "jamesfin" wrote: > > Move the setImage int

[flexcoders] Re: first tile of tilelist does not show up

2009-11-17 Thread jamesfin
Move the setImage into commitProperties and you should be good to go... override protected function commitProperties():void{ super.commitProperties(); setImage(); } --- In flexcoders@yahoogroups.com, "mattgarland2000" wrote: > > I have a componen

Re: [flexcoders] Re: LineSeries

2009-11-17 Thread Jake Churchill
yeah, or if you know flash you can embed them all into an FLA or create another SWF and just embed them all once. That usually ends up being a compile time thing for me though. On Tue, Nov 17, 2009 at 1:07 PM, turbo_vb wrote: > > > I usually use a separate class for embeddedAssets; that would b

[flexcoders] first tile of tilelist does not show up

2009-11-17 Thread mattgarland2000
I have a component which breaks up a picture into a tilelist. It works great, except, the first picture does not show up. The renderer is a canvas with an image (subclasses add other images). It grabs the appropriate image from the parent component. (This image is dynamically created from a loa

[flexcoders] Re: LineSeries

2009-11-17 Thread turbo_vb
I usually use a separate class for embeddedAssets; that would be referenced by the itemRenderer. That way, you have a central place to manage the assets and you don't risk duplication. -TH --- In flexcoders@yahoogroups.com, Vivian Richard wrote: > > Got your point - very clearly. But Every

Re: [flexcoders] quick XML question

2009-11-17 Thread claudiu ursica
I think the -is the issue. There is a solution for this but i cannot remember where i read about it. Do some google-ing... C From: "Pruitt, Byron S" To: "flexcoders@yahoogroups.com" Sent: Tue, November 17, 2009 8:29:22 PM Subject: [flexcoders] quick XML

Re: [flexcoders] Re: LineSeries

2009-11-17 Thread Jake Churchill
I'm not sure what happens in memory but I have an application with a PlotSeries and every time the trend switches to either positive or negative I have to display a green or red arrow (around 10-15 times on an average chart) and when I was monitoring it during development I was able to see each req

Re: [flexcoders] Re: LineSeries

2009-11-17 Thread Vivian Richard
Got your point - very clearly. But Every time a point is rendered, does it mean that for each point all the images will be attached with the app. I mean is there a possibility that these images will be duplicated? On Tue, Nov 17, 2009 at 10:57 AM, Jake Churchill wrote: > > > Yes, that i

Re: [flexcoders] Re: LineSeries

2009-11-17 Thread Jake Churchill
Yes, that is possible but you have to remember that each image you display will be a subsequent request to the web server. If you embed the image, you embed it once and use it a bunch of times without subsequent requests. On Tue, Nov 17, 2009 at 12:54 PM, Vivian Richard wrote: > > > > > Is it

Re: [flexcoders] Re: LineSeries

2009-11-17 Thread Vivian Richard
Is it possible to do it with out embedding the image? Just creating am iamge and then pointing the source of the image to the image component. Instead Embedding all the images. On Tue, Nov 17, 2009 at 10:07 AM, turbo_vb wrote: > > > Just read your last post a little more. To add an Image

[flexcoders] quick XML question

2009-11-17 Thread Pruitt, Byron S
I have a variable named report set to an xml document. var report : XML = . var n1 : XML = report.system as XML; var n2 : XML = report.children()[0]; n1 = null n2 = the system node I have accessed nodes many times like I do for n1 and not a problem with it evaluating to null. I can't

[flexcoders] Re: LineSeries

2009-11-17 Thread turbo_vb
Just read your last post a little more. To add an Image control, first create a var: private var myImage:Image; Then in createChildren(): override protected function createChildren():void { super.createChildren(); if ( !myImage ) { myImage = new Image(); addChild( myImage ); } }

[flexcoders] Re: LineSeries

2009-11-17 Thread turbo_vb
Ok 2 things, better to change the image in the set data method and then invalidateDisplayList(); because updateDisplayList gets called a lot more frequently than than the data changes. And for the image, add an Image control to the UIComponent itemRenderer in createChildren. (remember to set

Re: [flexcoders] Re: LineSeries

2009-11-17 Thread Vivian Richard
Thanks for the reply. I got the logic part. In updateDisplayList I get the data like data.item.type = spider or bee or butterfly . so depending on the type I want to show the image of the insects. But the problem is since this itemrenderer inherits UIComponent, I cannot or do no

[flexcoders] AIR 2.0 and Flash 10.2 beta is out

2009-11-17 Thread hworke
Please check this out: http://tech.yahoo.com/news/nf/20091117/tc_nf/70110

[flexcoders] Re: LineSeries

2009-11-17 Thread turbo_vb
Thanks Vivian, For the plot chart, you can do the same type of thing, except with more images, with an itemRenderer. Just like the way you can change icons, or images, in a List itemRenderer, the same can be done with a chart. In the last sample, you can see how to inspect the data; to determine

[flexcoders] Re: how to update a progress bar when uploading an image

2009-11-17 Thread jamesfin
This also assumes you are trying to upload text vs. binary depending on how your server is configured. This is an example that you might be able to leverage if you have binary. http://www.adobe.com/devnet/flex/articles/file_upload_05.html --- In flexcoders@yahoogroups.com, "stinasius" wrote:

[flexcoders] Re: Null data for the last dynamically added lineseries

2009-11-17 Thread lmrudner
I added linechart.validateNow(); after the linechart.invalidateSeriesStyles(); and all is fine now (I thought I had tried that earlier).

[flexcoders] Both Flex 3 & 4 compatible implementation

2009-11-17 Thread Julien Nicoulaud
Hi everyone, for the flex-iframe project (http://code.google.com/p/flex-iframe/), we use Application.application to get the current URL (here: http://code.google.com/p/flex-iframe/source/browse/trunk/flexiframe/src/com/google/code/flexiframe/IFrame.as?spec=svn89&r=87#252). But this is deprecated in

[flexcoders] Re: how to update a progress bar when uploading an image

2009-11-17 Thread stinasius
wow... so the only way is to use the indeterminate to show that smething is happening. thanks but in case someone has a solution please share. thanks again

RE: [flexcoders] Comparing Dates: ObjectUtil.dateCompare not working

2009-11-17 Thread Keith Reinfeld
ObjectUtil.dateCompare() function does account for the time portion of the supplied dates. According to the scenario you describe ObjectUtil.dateCompare() function never sees the time portion of date_A nor date_B. The DateField.stringToDate() method only evaluates the -MM-DD portion of

[flexcoders] AIR - Ascynchronous file deletion - fixed order ?

2009-11-17 Thread thedauntless_ff
Hi, Simple test: private function init():void { var f:File = File. applicationStorageDirectory.resolvePath("movie.avi"); f.addEventListener(Event.COMPLETE, com1); f.deleteFileAsync(); var f2:File = File.applicationStorag

[flexcoders] Re: Problem sorting advancedDataGrid after dataprovider updated

2009-11-17 Thread droponrcll
--- In flexcoders@yahoogroups.com, InvertedSpear wrote: > > > Problem Solved... I guess. > > > I was turning my HTTPService result into an XMLList. I just switched it to > an arrayCollection and I no longer loose the ability to sort when I refresh > the data. > > Maybe there is some limitat

[flexcoders] Flex linkBar control - multiple lines?

2009-11-17 Thread lanekelly5
Any way to make the linkBar control wrap around to use multiple lines? I have an application where the client wants two rows worth of menu items and it would be nice not to have to work around the convoluted logic of using two linkBar controls (one for each line) since the links will be built d

[flexcoders] Re: how to update a progress bar when uploading an image

2009-11-17 Thread jamesfin
There isn't a way to do this. You can simulate a progress bar but for whatever reason, this functionality doesn't exist. If you have a look at speedtest.net, they show download progress nicely but their upload progress is simulated. I've thought about making another (different) request to the

[flexcoders] Re: Binding not working in custom class and DataGrid using XMLListCollection

2009-11-17 Thread Greg Lafrance
Thanks for your help on this guys. I solved it by using [Bindable] before the getter function, and dispatching a collectionChange event in the setter. I was trying to use the event constant CollectionEvent.COLLECTION_CHANGE in the dispatchEvent() method, but I should have used "collectionChange

Re: [flexcoders] Datagrid with rotated headers

2009-11-17 Thread Tino Dai
http://www.badu.ro/?p=19 That should do it. -Tino On Mon, Nov 16, 2009 at 9:10 AM, Allan Pichler wrote: > > > Does anyone have a simple example of a datagrid where the column header > labels are rotated so they take up minimum space horizontally? > > > > Thanks in advance > > > > --Allan >

[flexcoders] Flash Builder 4 for Linux

2009-11-17 Thread feiy
hi, i had ported the flash builder 4 to linux,more info: http://code.google.com/p/fb4linux/ 闲云孤鹤 - 清冷香中抱膝吟

[flexcoders] Eclipse and Flex SDK 3.4

2009-11-17 Thread Jansen Hutagalung
Hi all, My mission is to make a flex project using explipse. But i headace with the settings. Can any one help me how to set the eclipse to flex 3 sdk. I have : - Eclipse Classic 3.5 and Eclipse for PHP - Flex SDK 3.4 Please help me with this mess.. Thanks in advance. Regards, Hiawata

[flexcoders] Re: Problem sorting advancedDataGrid after dataprovider updated

2009-11-17 Thread valdhor
I'm glad you have a working solution. --- In flexcoders@yahoogroups.com, InvertedSpear wrote: > > > Problem Solved... I guess. > > > I was turning my HTTPService result into an XMLList. I just switched it to > an arrayCollection and I no longer loose the ability to sort when I refresh > the da

[flexcoders] Re: How to remove the horizon line which between the datagrid header and content

2009-11-17 Thread chinaloveshisiling
Thanks very much. --- In flexcoders@yahoogroups.com, "Flex Boy" wrote: > > > > --- In flexcoders@yahoogroups.com, "chinaloveshisiling" > wrote: > > > > -- > > |number(Header)| > > -- //I want to remove this line > > | 1 | > > --- > > | 2 | > > --

[flexcoders] Re: How to remove the horizon line which between the datagrid header and content

2009-11-17 Thread Flex Boy
--- In flexcoders@yahoogroups.com, "chinaloveshisiling" wrote: > > -- > |number(Header)| > -- //I want to remove this line > | 1 | > --- > | 2 | > --- > > How to delete the top border of the the first row content. > The SkinClass package { im

[flexcoders] Re: Binding not working in custom class and DataGrid using XMLListCollection

2009-11-17 Thread gers32
Although the above discussion about Data Binding is great, you can skip directly to 28:24 for the short explanation I was referring to. Chris.

[flexcoders] Re: Binding not working in custom class and DataGrid using XMLListCollection

2009-11-17 Thread gers32
The reason for this is explained in Diving in the Data Binding Waters by Michael Labriola , but an example using ArrayCollection or XMLListCollection would be welcome. Thanks, Chris.

[flexcoders] Re: How to remove the horizon line which between the datagrid header and content

2009-11-17 Thread chinaloveshisiling
I look forward to your reply. --- In flexcoders@yahoogroups.com, "chinaloveshisiling" wrote: > > I am really very anxious. I hope anyone can help me. > > How to remove the horizon line which between the datagrid header and content. > > --- In flexcoders@yahoogroups.com, "chinaloveshisiling" china

[flexcoders] how to update a progress bar when uploading an image

2009-11-17 Thread stinasius
hi, am trying to upload and image and i would like to show progress while uploading process goes on by updating the progress bar but the progress bar seems not to get updated. here is my code "formitem component" http://www.adobe.com/2006/mxml"; creationComplete="init()">

Re: [flexcoders] how to implement bread crumbs in flex application

2009-11-17 Thread dorkie dork from dorktown
Flex doesn't support the notion of a hyperlink in the traditional sense. If you wanted to create breadcrumbs and you were using states and let's say, a viewstack, then you could bind a text field to the values of the different states and show or hide the breadcrumb depending if you were on a state