[flexcoders] modelLocator.testVO.test[i] indirection for modelLocator.testVO.test1?

2008-07-29 Thread chigwell23
modelLocator.testVO.test1 = some string; var i:int = 1; modelLocator.testVO.test[i]= some string; // gives error undefined property - how does one code this kind of indirection in Flex? TIA, Mic.

Re: [flexcoders] modelLocator.testVO.test[i] indirection for modelLocator.testVO.test1?

2008-07-29 Thread Josh McDonald
Close :) You want: modelLocator.testVO.[test + i] -Josh On Tue, Jul 29, 2008 at 4:06 PM, chigwell23 [EMAIL PROTECTED] wrote: modelLocator.testVO.test1 = some string; var i:int = 1; modelLocator.testVO.test[i]= some string; // gives error undefined property - how does one code this kind

[flexcoders] FilterFunction is throwing an error #1069

2008-07-29 Thread jitendra jain
Hi friends, My code is as follows public function setVisitor():void{ if(frm_visitType.selectedItem == E){ visitorList= ObjectUtil.copy(model.visitorList) as ICollectionView;

[flexcoders] FilterFunction is throwing an error #1069

2008-07-29 Thread jitendra jain
Hi friends, My code is as follows public function setVisitor():void{ if(frm_visitType.selectedItem == E){ visitorList= ObjectUtil.copy(model.visitorList) as ICollectionView;

[flexcoders] flex 2/3 charting questions

2008-07-29 Thread Maciek
We need to build a Flex 2 project that uses Flex Charting. Is it possible to download Flex Charting 2? All Adobe Flex Charting 2 links seem to point to FlexBuilder 3. I know that FlexBuilder 3 includes the Flex 2 SDK: with the pro version (that includes Flex 3 Charting), is it possible to build a

[flexcoders] Recording and saving sound to local file system

2008-07-29 Thread venkat eswar
i need to finish a task which is very urgent. Am trying to record the video and Audio from LOCAL WEBCAM and MIC using FLASH MEDIA SERVER. its working perfectly.. i can record everything and i can save it. but all recorded FLV files am generating r stored in server directory... i want those files

[flexcoders] Re: modelLocator.testVO.test[i] indirection for modelLocator.testVO.test1?

2008-07-29 Thread chigwell23
And the answer is: modelLocator.testVO[test + i] --- In flexcoders@yahoogroups.com, chigwell23 [EMAIL PROTECTED] wrote: modelLocator.testVO.test1 = some string; var i:int = 1; modelLocator.testVO.test[i]= some string; // gives error undefined property - how does one code this kind

[flexcoders] Re: modelLocator.testVO.test[i] indirection for modelLocator.testVO.test1?

2008-07-29 Thread chigwell23
Thanks Josh - you were posting just as I was! --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Close :) You want: modelLocator.testVO.[test + i] -Josh On Tue, Jul 29, 2008 at 4:06 PM, chigwell23 [EMAIL PROTECTED] wrote: modelLocator.testVO.test1 = some

[flexcoders] Re: Error #1034 - HashMap convert to ActionScript?

2008-07-29 Thread cyrill.zadra
Hi everybody, The debug log of BlazeDS shows that the java.util.HashMap get's converted to an Object. *** debug log *** [BlazeDS]07/29/2008 [DEBUG] [Endpoint.AMF] Serializing AMF/HTTP response Version: 3 (Message #0 targetURI=/2/onResult, responseURI=) (Externalizable Object #0 'DSK')

Re: [flexcoders] Re: Error #1034 - HashMap convert to ActionScript?

2008-07-29 Thread Josh McDonald
for (var key:* in myObject) { var value:* = myObject[key]; } for..in does keys, for each..in does values. -Josh On Tue, Jul 29, 2008 at 5:07 PM, cyrill.zadra [EMAIL PROTECTED]wrote: Hi everybody, The debug log of BlazeDS shows that the java.util.HashMap get's converted to an Object.

[flexcoders] How do you identify a component created in a repeater????

2008-07-29 Thread Nievtha NagaRaj

[flexcoders] Re: Flex 3 Preloader broken when using deep linking ?

2008-07-29 Thread Adnan Doric
I am on FF 3 (FP 9.0.124) found this too : http://bugs.adobe.com/jira/browse/SDK-14162 Deferred to FP bugs I suppose. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Yeah, worthy of a bug. I was using IE, has anyone tried it with FF?

Re: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ?

2008-07-29 Thread Tom Chiverton
On Tuesday 29 Jul 2008, Alex Harui wrote: Yeah, worthy of a bug. I was using IE, has anyone tried it with FF? FF3/Linux, Player 9.0.124 debug. Our custom preloader loads fine, and we're using BrowserManager. -- Tom Chiverton This email

Re: [flexcoders] cairngorm sevice locator performance?

2008-07-29 Thread Tom Chiverton
On Monday 28 Jul 2008, markflex2007 wrote: Do you think if it affect the performance because no garbage collection for each delegate? No. I've never seen anyone even suggest it might be an issue. Why do you ask ? -- Tom Chiverton This

Re: [flexcoders] How to best implement this barcode generator...

2008-07-29 Thread Tom Chiverton
On Monday 28 Jul 2008, bredwards358 wrote: Right now I'm trying to figure out how to implement Barcode generation in my AIR app since two of the reports I need this to be able to print require a list of Barcodes You could just use a suitable barcode font. There's a free 6of9 (or whatever the

Re: [flexcoders] Error #2032: Stream Error. URL: datavisualization_3.0.0.477.swz

2008-07-29 Thread Tom Chiverton
On Monday 28 Jul 2008, Vijay Ganesan wrote: Get this error trying to use the datavisualization library as an RSL: Error #2032: Stream Error. URL: datavisualization_3.0.0.477.swz What does the web server log for the request for this file ? -- Tom Chiverton

Re: [flexcoders] How long to build a Flex app....

2008-07-29 Thread Tom Chiverton
On Tuesday 29 Jul 2008, Alan wrote: I'm new to Flex, and having fun with it, but I'd like to get an idea how long these things take to make. You are going to have to give at least a vague clue to the business area you are going to be delivering this too and functions it would perform. -- Tom

Re: [flexcoders] Migrating Flex 2 to 3 Issues

2008-07-29 Thread Tom Chiverton
On Tuesday 29 Jul 2008, Indra Prastha wrote: I tried to edit the .ACTIONSCRIPT file which is hidden in the project folder, but access denied. Have you checked the file system permissions are set to allow writing ? -- Tom Chiverton This

[flexcoders] HTTPService Sends Request Multiple Times

2008-07-29 Thread stoff0
I just got done tracking down a nasty bug. In certain cases a request in my app was taking way longer than it should have. Needless to say I fixed that, but I noticed a much more worrisome behavior with HTTPService. It seems that after a certain time period the request was being sent again, which

Re: [flexcoders] flex 2/3 charting questions

2008-07-29 Thread Tom Chiverton
On Tuesday 29 Jul 2008, Maciek wrote: We need to build a Flex 2 project that uses Flex Charting. Is it possible to download Flex Charting 2? I think it's included in the SDK, but watermarked. Could be wrong. seem to point to FlexBuilder 3. I know that FlexBuilder 3 includes the Flex 2 SDK:

[flexcoders] Re: How to best implement this barcode generator...

2008-07-29 Thread bredwards358
I didn't realize Barcodes could be used as a font, thanks. However for our purposes we need type 128 barcodes which I'm not sure I can find for free, but I'll keep looking and messing around with the component I got yesterday. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]

[flexcoders] Re: HttpService Fault Response Body Decoding

2008-07-29 Thread ron_mori
I must be missing something obvious - Using an httpService proxy to the backend server like so in my proxy-config: destination id=backEnd properties urlhttp://myServer:8080/myApp/url /properties /destination Executing a simple test, I monitor the traffic

[flexcoders] Re: How do you identify a component created in a repeater????

2008-07-29 Thread Laurent Cozic
Within which context? If you need to know which component has triggered an event, you can use event.currentTarget, as in: yourRepeatedComponent click=clickHandler(event) / Then in a script block: function clickHandler(event) { var yourComponenet = event.currentTarget; // From then you can

Re: [flexcoders] SoundChannel position misreporting

2008-07-29 Thread Mark Carter
I also have this problem. If i call the play Sound play() method with the position 1, then play begins at 20secs. In general if I specify a value of X, then play will begin at 2X milliseconds from the beginning. I have tried it with 64kbps and 32kbps mp3, FWIW. What am I doing wrong!? --

[flexcoders] Unable to play more than 2 audio streams simultaneously

2008-07-29 Thread Jo Morano
Hi! I'm a newbie and have decided to learn flex (mxml + as) directly while never having learned flash before. I'm playing with an audio player that can play 3 or 4 audio streams simultaneously overlaying sounds from each. I've been able to do so well with 2 streams: var wish1:Sound = new

[flexcoders] Controlling slice colors within PieChart objects

2008-07-29 Thread kamelkev
Hi, I'm sure someone has run into this before, but I search and search and find nothing that sounds right. I am creating an applet that loads a remote xml document containing the necessary data I want to render within the pie chart. I pass the labels, the value for the slice, along with a

Re: [flexcoders] SoundChannel position misreporting

2008-07-29 Thread Toby Ashley
Double check the sample rate of the sound file (not the bitrate). I recently fixed a problem in an Actionscript 2 project, so relevant to the previous AVM, where this exact problem was happening with MP3s using a sample rate which wasn't 44200, 22100 or 11050Hz. Haven't come across it in AVM2 yet,

Re: [flexcoders] Re: How to best implement this barcode generator...

2008-07-29 Thread Tom Chiverton
On Tuesday 29 Jul 2008, bredwards358 wrote: we need type 128 barcodes which I'm not sure I can find for free, http://www.google.com/search?btnG=Google+Searchq=type+128+barcode+font -- Tom Chiverton This email is sent for and on behalf of

[flexcoders] Re: Accordion initially all childcontainers closed

2008-07-29 Thread valdhor
It appears (To me, at least) that Doug McCune's Accordion menu should get you off in the right direction: http://dougmccune.com/blog/2007/09/22/nifty-flex-accordion-menu-like-on-applecom/ --- In flexcoders@yahoogroups.com, simon.friso [EMAIL PROTECTED] wrote: In an accordion by default the

Re: [flexcoders] SoundChannel position misreporting

2008-07-29 Thread Mark Carter
The two mp3s I tried are both 22050Hz. (of course, sample rate is far more relevant than bit rate - I must have been half dead when I wrote that earlier!) The playback itself is completely fine - not double speed. Its just the position value... Ok, so I've done so more experimenting: If I

Re: [flexcoders] SoundChannel position misreporting

2008-07-29 Thread Toby Ashley
Interesting... I'll test our findings again with some 22050Hz MP3s just to make sure it's working for us. When we we testing this the other day, it was files using 32000Hz (or something) sample rate that were causing problems, those at 44100,22050 and 11025 were fine. This was in AVM1 though,

[flexcoders] Re: How to best implement this barcode generator...

2008-07-29 Thread nathanpdaniel
Hey - try getting the component from here: http://flex2.bsi-scs.com/BarCodeDemo - it's an updated version not available from the Adobe Exchange - which fixes most the major issues with the one you have. I've tried updating the one on the Exchange, but it never gets updated.. ?? If you have

RE: {Disarmed} RE: [flexcoders] mxml components

2008-07-29 Thread Scott
That helps a little; thanks. Based on how you are describing the instances, my issue may be with the debugger and variable scope within the debugger. I'm talking about my instances instead of flex instances in my example. I'm trying to figure out how code is initialized to understand where

[flexcoders] Custom error handler

2008-07-29 Thread markgoldin_2000
If I subclass Error class like this: public class AppError extends Error { public function AppError(message:String, errorID:int) { super(message, errorID); } } do I need to do anything else to get all errors into my custom error handler? Thanks

[flexcoders] Re: How long to build a Flex app....

2008-07-29 Thread Amy
--- In flexcoders@yahoogroups.com, Alan [EMAIL PROTECTED] wrote: I know this is a pretty broad question... I'm new to Flex, and having fun with it, but I'd like to get an idea how long these things take to make. Instead of me trying to pitch a hypothetical situation, maybe anyone

[flexcoders] Re: setting the value of axis label in line chart which is populated dynamically!

2008-07-29 Thread Amy
--- In flexcoders@yahoogroups.com, samata [EMAIL PROTECTED] wrote: Thanx 4 reply Amy... But i need the soln For Flex 2... V r using that 4 our project:-)) FWIW, this kind of illiterate reply is more of a slap in the face than an outright attack.

Re: [flexcoders] SoundChannel position misreporting

2008-07-29 Thread Mark Carter
Toby Ashley wrote: Very interested to hear if you find a solution. Sure, will do although I think any workaround will be to check the sample rate in the ID tag and then scale the position accordingly. BTW, the length field is always correct. Therefore, if you use a progress bar (using the

[flexcoders] Ico loader from url

2008-07-29 Thread toelen
Hi, I need to display a table with icons (windows ico files) which are only known at runtime (by name, I can create the full url using the name), and a lot of rows will have identical icons. There are over 200 icon files and some of them will be created at runtime by another process, so I can not

[flexcoders] Hotkey Class type variable for certain labels

2008-07-29 Thread Jason B
I've got several labels which shouldnt be shown on screen but if a user hits a hotkey it would be nice to show them, what im wondering... Is there a way to tag these items with a class like in Html so i can have a function trigger the visible field on and off. I know i can reference the ID but I

[flexcoders] Re: How long to build a Flex app....

2008-07-29 Thread Jason B
It really depends on the flex coder since each coder could take longer depending on thier understanding of the project and database functions etc...and whether or not they are building the middleware code too? We have an app with about 30 tabs and over 600 objects total on the flex code, and about

Re: [flexcoders] How long to build a Flex app....

2008-07-29 Thread Greg Morphis
My professional opinion is an eternity.. ;) On Mon, Jul 28, 2008 at 11:07 PM, Alan [EMAIL PROTECTED] wrote: I know this is a pretty broad question... I'm new to Flex, and having fun with it, but I'd like to get an idea how long these things take to make. Instead of me trying to pitch a

[flexcoders] Re: Mouse DOUBLE_CLICK not fired in Browser but in AIR

2008-07-29 Thread valdhor
Given the following: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=creationCompleteHandler() mx:Script ![CDATA[ private function creationCompleteHandler():void {

[flexcoders] Re: How to control positioning of Dynamic Control in a panel?

2008-07-29 Thread valdhor
panel.AddChildAt ? --- In flexcoders@yahoogroups.com, pbrendanc [EMAIL PROTECTED] wrote: I have a panel that will contain a dynamically created custom grid component(the size is determined at run time). The grid is added to the panel via the panel.AddChild() method and is placed at the bottom

RE: [flexcoders] mxml components

2008-07-29 Thread Scott
My spam filter needs to be re-tuned to get rid of the {disarmed}. I'm going to resend this so it gets on the thread vs. starting a new one. My apologies for this. - That helps a little; thanks. Based on how you are describing the instances, my issue may be with the debugger and

[flexcoders] Re: RemoteObject madness

2008-07-29 Thread valdhor
Have you tried an HTTP proxy application like Charles to see what is actually being sent/received over the wire? --- In flexcoders@yahoogroups.com, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: Hello Good People... My application has one RemoteObject that i use to connect to different

Re: {Disarmed} RE: [flexcoders] mxml components

2008-07-29 Thread Michael VanDaniker
Are these the same instance or unique instances with in each of the class instances themselves (mainclass/class3)? MainClass.mxml: mx:script ![CDATA{ Import com.myapp.models.LoginClass; ... .. And Class3.mxml mx:script ![CDATA{

Re: [flexcoders] Re: How long to build a Flex app....

2008-07-29 Thread Nik Derewianka
On 30/07/2008, at 12:52 AM, Jason B wrote: It really depends on the flex coder since each coder could take longer depending on thier understanding of the project and database functions etc...and whether or not they are building the middleware code too? We have an app with about 30 tabs and

[flexcoders] Please help a newbie :) - ArrayCollection

2008-07-29 Thread cox.blair
Hi, I'm sure this is incredibly simple, however I'm having trouble figuring it out. I have a php script which connects to a db and returns standard xml. What I want to do is choose which children from the repeating elements to use. Found this example and it works: mx:Repeater id=pointRepeater

[flexcoders] Re: Please help a newbie :) - ArrayCollection

2008-07-29 Thread Amy
--- In flexcoders@yahoogroups.com, cox.blair [EMAIL PROTECTED] wrote: Hi, I'm sure this is incredibly simple, however I'm having trouble figuring it out. I have a php script which connects to a db and returns standard xml. What I want to do is choose which children from the repeating

[flexcoders] Re: Please help a newbie :) - ArrayCollection

2008-07-29 Thread cox.blair
I'm starting to think all I need to do is post a message here and the answer instantly makes itself known. Sorry that I wasn't very descriptive. This is what I was looking for; private function getListLabel(item:Object):String { return item.Sample_Point_Name + ( +

RE: [flexcoders] mxml components

2008-07-29 Thread Scott
The import class; is what creates the instance? So in other words, if I use the import thisfile.mxml in each of my other files, each one is creating another instance of the thisfile.mxml? From: flexcoders@yahoogroups.com on behalf of Michael VanDaniker Sent:

[flexcoders] Re: mxml components

2008-07-29 Thread Michael VanDaniker
The import statement does not create instances. It just makes a class available to another class so it can use its methods and create instances of it. You don't need an import statement if the class you want to import is in the same package as the class you are referencing it from. You can

RE: [flexcoders] Ico loader from url

2008-07-29 Thread Alex Harui
SuperImage from quietlyscheming.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of toelen Sent: Tuesday, July 29, 2008 7:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Ico loader from url Hi, I need to display a table

RE: [flexcoders] Custom error handler

2008-07-29 Thread Alex Harui
Throw it and catch it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Tuesday, July 29, 2008 7:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom error handler If I subclass Error class like

[flexcoders] pass extra params to callback?

2008-07-29 Thread chigwell23
mx:LineSeries id=mySeries lineSegmentRenderer=myLineRenderer This callback takes a LineSeriesSegment I think. What I want to do is pass more information about the chart to it, as in lineSegmentRenderer=myLineRenderer('mySeries','var1', 'var2')

[flexcoders] Re: Custom error handler

2008-07-29 Thread markgoldin_2000
But in where? Anywhere I expect the error to occur? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Throw it and catch it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent:

[flexcoders] Re: Free Flex Gauge Component

2008-07-29 Thread twgonzalez
--- In flexcoders@yahoogroups.com, twgonzalez [EMAIL PROTECTED] wrote: Update v.04 released New features: Alert Levels Log Scale BounceEffect on/off More accurate tick marks You can see it here http://form-function.blogspot.com/2008/07/gauge-component-new-features- v04.html  .

Re: [flexcoders] TextArea popup editor in DataGrid

2008-07-29 Thread Glenn Jones
I trapped in DataGrid.itemEditorFocusOutHandler() - the chain of 'owner' values for event.relatedObject does goes back to the grid, but the chain of 'parent' values does not. The event.relatedObject is type UITTextField The owner parent of UITextField is an instance of TextArea. This is the

[flexcoders] Need help: Build with remoteObject support

2008-07-29 Thread olol97124
Hello I am having problems to build the project with LCDS (remoteObject). The RemoteObject is handled by a Java thread on server. The service is in .jar which I put under WEB-INF/lib. The system works fine in non-built release (which I copied those files to server directly, let server built

[flexcoders] Setting the dataGrid column's font and leaving the header alone?

2008-07-29 Thread bredwards358
So, today I found a type128 barcode font which fits the purposes of the application we're developing quite nicely. However I've hit a bit of a snag. When the font family of a dataGrid column is set, it sets both the font of the column's items as well as the column header. This would be fine if the

RE: [flexcoders] TextArea popup editor in DataGrid

2008-07-29 Thread Alex Harui
focusOutHandler should have called itemRendererContains with your custom class and that textfield and the owner chain should have gotten from the textfield to the custom class. It shouldn't matter what the parent is, you want it to be the systemManager. It should be the fifth if statement

RE: [flexcoders] Setting the dataGrid column's font and leaving the header alone?

2008-07-29 Thread Alex Harui
I think you have to make a custom header renderer that forces its font family back to something you want. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bredwards358 Sent: Tuesday, July 29, 2008 11:07 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Custom error handler

2008-07-29 Thread Alex Harui
When an exception is thrown, all functions in the call stack exit immediately until someone catches the exception. If nobody catches, you'll get an RTE dialog in the debugger player. You have to decide where to catch it and how to deal with the fact that some code probably didn't run because

[flexcoders] Re: Free Flex Gauge Component

2008-07-29 Thread zyzzx00_99
looks a lot like your Degrafa gauge. We use it at Woodword Governor's internal toolset: http://www.brightpointinc.com/FlexDemos/degrafagauge/degrafagaugesample.html

Re: [flexcomponents] RE: [flexcoders] Re: Measurement and template component

2008-07-29 Thread Richard Rodseth
Good suggestion. For good measure (groan) I added a few overrides of measure() that call super, that I could set breakpoints in. Recall that the hierarchy is like this: TiledCanvas PodChrome ReportModuleA (not a real module, just a VBox) ReportChrome ReportA Grid I

Re: [flexcomponents] RE: [flexcoders] Re: Measurement and template component

2008-07-29 Thread Richard Rodseth
Actually, I take it back. Only the pseudo-module names are determined in the service layer - instantiation occurs in an observer. Still, tI'm concerned about the messed-up parentApplication. On Tue, Jul 29, 2008 at 11:33 AM, Richard Rodseth [EMAIL PROTECTED] wrote: Good suggestion. For good

[flexcoders] Re: Setting the dataGrid column's font and leaving the header alone?

2008-07-29 Thread bredwards358
Thank you, that worked perfectly. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I think you have to make a custom header renderer that forces its font family back to something you want. From: flexcoders@yahoogroups.com

[flexcoders] Flex (w/ LCDS or BlazeDS) Hosting options...

2008-07-29 Thread henryhokinhang
Where do you host your Flex app that requires LiveCycle DS or Blaze DS? When a hosting company claims they support CF8, does it usually include the embed LCDS? Is dedicated server the only way to go? Is RMTP channel practical for flex on Internet? or just for Intranet? Thank you.

[flexcoders] MouseEvent's not firing

2008-07-29 Thread Patrick J. Jankun
Hi Everyone, I got a strange problem which i can't really understand, i loaded an .swf through the loader, initialised it as an movieclip, then initialised objects in it's library as classes to generate some navigation items, put those itmes in an holder, added that holder to stage. it looks

[flexcoders] Update Pie Chart

2008-07-29 Thread nofearalpha
I am looking for a way for the pie chart to update each time the custom component is viewed. Right now the way I have it, the chart does not visually appear on the screen. If I use creationcomplete event to fire it off, then it works, but will never update. Suggestions? Here's some of my code:

Re: [flexcoders] Flex (w/ LCDS or BlazeDS) Hosting options...

2008-07-29 Thread Ryan Gravener
Slicehost, full control for $20 a month http://www.slicehost.com On Tue, Jul 29, 2008 at 2:48 PM, henryhokinhang [EMAIL PROTECTED] wrote: Where do you host your Flex app that requires LiveCycle DS or Blaze DS? When a hosting company claims they support CF8, does it usually include the

[flexcoders] Re: flex 2/3 charting questions

2008-07-29 Thread Tim Hoff
As a related note, if you're automating a flex3 build (mxmlc) with charts, using ant, you may want to to include the following files into the project. Otherwise, there will be compile errors; if the machine doesn't have the pro version installed. /libs/datavisualization.swc (add library path)

[flexcoders] Re: Free Flex Gauge Component

2008-07-29 Thread Tim Hoff
Very cool Tom, thanks. -TH --- In flexcoders@yahoogroups.com, twgonzalez [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, twgonzalez tgonzalez@ wrote: Update v.04 released New features: Alert Levels Log Scale BounceEffect on/off More accurate tick marks You can see it here

Re: [flexcoders] MouseEvent's not firing

2008-07-29 Thread Dan Vega
Patrick, Check out rawChildren, this works just fine for me. *private function addUI():void { var mySprite:Sprite = new Sprite(); mySprite.graphics.beginFill(0xFF); mySprite.graphics.drawCircle(30, 30, 30);

[flexcoders] how to get the y position of item in list

2008-07-29 Thread blc187
Is there a way to get the y position of a row in a list or datagrid? I noticed that list has a protected var rowInfo that holds an array of ListRowInfo objects with x and y properties. From the list class I could do rowInfo[rowNumber].y but am trying to get the y value from outside the list

RE: [flexcoders] Re: How long to build a Flex app....

2008-07-29 Thread Gordon Smith
if you're like me, and you're in the 20% of cases the Flex developers didn't plan for 90% of the time Amy, do you think that your use cases are simply different from those of most Flex developers? Or do you think that the Flex framework is failing to anticipate the use cases of most Flex

[flexcoders] Re: how to get the y position of item in list

2008-07-29 Thread Tim Hoff
Here's one way. If you're scrolling to the index and setting the currentItem, you an use this code with the change event: private function onItemClick(event:ListEvent):void { var pt:Point = new Point(event.itemRenderer.x, event.itemRenderer.y); pt =

[flexcoders] Re: Flex 3 MovieClip Move Effect

2008-07-29 Thread Shaq
i have solved this problem by adding effects to the UIComponent (bPUic). This works great. --- In flexcoders@yahoogroups.com, Shaq [EMAIL PROTECTED] wrote: I have a movie clip wrapped in UIComponent. What I would like to do is move the move from one side of the form to the other using the

Re: [flexcoders] MouseEvent's not firing

2008-07-29 Thread Patrick J. Jankun
Hi Dan, What do you mean by rawChildren? Here you can see my whole function: private function initNav() : void { navHolder = new Sprite; navHolder.addEventListener(MouseEvent.MOUSE_OVER, navOnMouseOver); navHolder.addEventListener(MouseEvent.MOUSE_OUT, navOnMouseOut);

RE: [flexcoders] MouseEvent's not firing

2008-07-29 Thread Alex Harui
SWFs loaded from a different domain or SWFs built for Player 8 do not dispatch mouse events. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Patrick J. Jankun Sent: Tuesday, July 29, 2008 11:50 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcomponents] RE: [flexcoders] Re: Measurement and template component

2008-07-29 Thread Alex Harui
You know that any indenting you do in the hierarchy doesn't come through email, right? The whole list is flat. If a measure() method does not get called then either nobody called invalidateSize() on it (or caused it to be called via some deeper invalidation), or it has fixed width/height and

Re: [flexcoders] MouseEvent's not firing

2008-07-29 Thread Patrick J. Jankun
Dear Alex, I just realised that the problem is actually cause of casting an class from an loaded .swf, but this .swf is actually an flash9 swf's, but it's loaded from an different domain then the root .swf.. hmm strange, i didnt knew that :| I'm using the Bulk-Loader class to load some

[flexcoders] Re: how to get the y position of item in list

2008-07-29 Thread blc187
In order to get that I would have to click on the item. I'm not clicking, I just need to scroll then grab the position of the item. Thanks for the try, but this is not a viable solution. --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Here's one way. If you're

[flexcoders] Flex 2.01 date problem

2008-07-29 Thread aceoohay
The following code yields unexpected results on a date; var dtTest:Date = new Date; dtTest.fullYear = 1987; dtTest.month = 1; dtTest.date = 3; trace('dtTest.toDateString()=' +

Re: [flexcoders] Re: RemoteObject madness

2008-07-29 Thread [p e r c e p t i c o n]
no...but i'm going to try it now... thanks percy On Tue, Jul 29, 2008 at 8:25 AM, valdhor [EMAIL PROTECTED] wrote: Have you tried an HTTP proxy application like Charles to see what is actually being sent/received over the wire? --- In flexcoders@yahoogroups.com

[flexcoders] Re: Flex 2.01 date problem

2008-07-29 Thread aceoohay
Just as a test I used the following; dtTest = new Date(1987,1,3,0,0,0,0); This returned; dtTest.toDateString()=Tue Feb 3 1987 which is what I expected. I am so confused. Any ideas? Paul --- In flexcoders@yahoogroups.com, aceoohay [EMAIL PROTECTED] wrote: The following code yields

RE: [flexcoders] Re: how to get the y position of item in list

2008-07-29 Thread Tracy Spratt
I am a bit nervous about your question, and why you want to do that. First, do you understand why ... rowInfo[25] it throws an error.? While directly accessing the visual elements of a data-driven control is sometimes valid, it is more often due to a misunderstanding of the way those

[flexcoders] Getting current URL from iFram

2008-07-29 Thread flexawesome
Hey there, I have a problem of getting URL address from iFrame, I am using iFrame to link the Flex main.html ( generated by Flex ), I am unable to use the AS to get the parent URL address. ExternalInterface.call( window.location.href.toString ); Do you know how to retrieve the parent URL (

[flexcoders] Re: how to get the y position of item in list

2008-07-29 Thread Tim Hoff
Ok, no worries. Take 2: import mx.controls.listClasses.IListItemRenderer; private function scrollToListItem( index : Number ) { myList.scrollToIndex(index); myList.selectedIndex = index; var itemRenderer:IListItemRenderer = myList.indexToItemRenderer(index); var

Re: [flexcoders] Re: Flex 2.01 date problem

2008-07-29 Thread Matt Chotin
Try setting the date before you set the month? I think setting the month while the current day is later than 28 is going to roll the month on you potentially? Just by reording that I got it to work. When I tried to set the Date's time to 0 to avoid it using the current date that didn't seem

RE: [flexcoders] Re: Flex 2.01 date problem

2008-07-29 Thread Gordon Smith
A simpler test is var d:Date = new Date(1987, 1, 29); trace(d); This traces Sun Mar 1 00:00:00 GMT-0800 1987, presumably because 1987 didn't have a February 29. So I doubt waht you're seeing is a bug. (I'd have to check the Ecmascript spec to say for sure.) But it means that using

[flexcoders] Re: Flex 2.01 date problem

2008-07-29 Thread aceoohay
What you have shown is that if you use invalid data (February 29th of a non leap year) you get bad results. What I showed (February 3rd of a non leap year) was that if I use valid data I get invalid results. I truly believe this is a bug. Paul --- In flexcoders@yahoogroups.com, Gordon Smith

[flexcoders] Custom Context Menu in flex app

2008-07-29 Thread vipinck
I am trying to add a custom context menu in my flex app. I am writing below code in a method which i am calling on applicationComplete event of the main application. // customMenu = new ContextMenu(); var saveItem:ContextMenuItem = new ContextMenuItem(Save,true,true,true);

[flexcoders] Re: Flex 2.01 date problem

2008-07-29 Thread Tim Hoff
Yes, but what Matt and Gordon are saying is if you're going to create a date like this (adjust, instead of construct all at once), you may run into a leap year issue. var dtTest:Date = new Date - dtTest.toDateString()=Tue Jul 29 2008 dtTest.fullYear = 1987 - dtTest.toDateString()=Wed Jul 29 1987

RE: [flexcoders] Re: Flex 2.01 date problem

2008-07-29 Thread Gordon Smith
Your code leads to the same invalid value. When you don't pass any arguments to the Date constructor, you get a Date representing right now, so 'date' is 29 because today is the 29th. When you then set the fullYear to 1987 and then month to 1 (February), you get the invalid date Feburary 29,

RE: [flexcoders] MouseEvent's not firing

2008-07-29 Thread Alex Harui
I'm not sure I understand your configuration. You'll have to read up on Flash Security. If you own both domains, you can give one domain permission to use the other via crossdomain.xml. If you can't get permission to access the other domain's swf from your domain, you'll have to try to break

Re: [flexcoders] Re: Flex 2.01 date problem

2008-07-29 Thread Matt Chotin
Actually, you can file directly against the flash Player when going into JIRA these days :-) On 7/29/08 3:32 PM, Gordon Smith [EMAIL PROTECTED] wrote: Your code leads to the same invalid value. When you don't pass any arguments to the Date constructor, you get a Date representing right

[flexcoders] Re: Flex 2.01 date problem

2008-07-29 Thread Tim Hoff
This would also happen if today was the 31st and you changed to a month that had 30 or 28 days. -TH --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Your code leads to the same invalid value. When you don't pass any arguments to the Date constructor, you get a

Re: [flexcoders] flex 2/3 charting questions

2008-07-29 Thread Maciek
No, it's a separate file. It used to be available from Adobe, but is not any longer: there are still Flex 2 Charting links on Adobe's web site, but they all point to FB3Pro... -Maciek On Tue, 2008-07-29 at 12:07 +0100, Tom Chiverton wrote: On Tuesday 29 Jul 2008, Maciek wrote: We need to

Re: [flexcomponents] RE: [flexcoders] Re: Measurement and template component

2008-07-29 Thread Richard Rodseth
Sorry about the indenting. I keep forgetting to put periods in. It's like this TiledCanvas ..PodChrome ReportModuleA (not a real module, just a VBox) ..ReportChrome ReportA ..Grid I also apologize for giving incorrect information earlier. The measure() methods *are* all

  1   2   >