Re: [flexcoders] Re: performance issues

2006-07-25 Thread Pan Troglodytes
Okay, no problem.  I think you're going to want to replace your for loop with this:for (rc = rowColors.length-1; rc >= 0; rc--) // loop backwards for priority order {    rowColorCriteria.dataField = StyleManager.getStyleDeclaration("."+rowColors[rc]).getStyle("dataField");    rowColorCriteria.co

[flexcoders] Cairngorm Events

2006-07-25 Thread Ryan Stewart
I'm still not entirely clear on the event model in Flex 2, so hopefully this is an easy question. I want to add an event listener in one of my flex view components that will listen for a CairngormEvent to be dispatched and then run a function within that component. Pretty straight forward I thou

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread jpc14_99
Thanks to everyone for the help. I'm still getting an error: "Attempted access of inaccessible property textField through a reference with static type..." Obviously the code you guys gave me is good, so I have to assume it's because I'm running Beta 3 Flex. I'm upgrading in the next few days so

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread jpc14_99
> Hmm... odd, I tested it before I put it out there. Are you running the > final build of Flex or a Beta build? Did you copy and paste the entire > body of my code, or just that overrided method? Sorry about being the > little late to the game on this one too, I read up why you wanted to do

[flexcoders] Re: performance issues

2006-07-25 Thread Tim Hoff
Here's the example.  Right click to view/download code.  Look at RowColorDataGrid.as component, near the bottom. http://www.iepl.net/DataGridRowColorSample/DataGridRowColorSample.html  -TH--- In flexcoders@yahoogroups.com, "Pan Troglodytes" <[EMAIL PROTECTED]> wrote:>> I don't understand why tha

Re: [flexcoders] Re: performance issues

2006-07-25 Thread Pan Troglodytes
I don't understand why that would fail.  What is actualRow?  Is it the last parameter passed into drawRowBackground()?  That's what you should be using.  If that's what it is, can you post a small example that reproduces you problem? I'm using the method Matt posting and it's working great.  So

[flexcoders] Re: performance issues

2006-07-25 Thread Tim Hoff
Jason, Thanks for the response. If I was using an ArrayCollection outside of the subclassed DataGrid component, that makes sense. However, inside the component, I'm not having any luck accessing the dataProvider and/or underlying data with any method. I tried the following line, but it comes

Re: [flexcoders] Re: Image Pan - Step 1

2006-07-25 Thread JesterXL
Base class is like DisplayObjectContainer, but that's an abstract class; both Sprite and MovieClip extend that. However, if you are using Flex, there is no point to utilize MovieClip since you don't have frames; Sprite's good. Also, the last line should be addChild(container), at least in an A

RE: [flexcoders] [Flex2 final] Application look blury when using FlashType

2006-07-25 Thread Stacy Young
Yes, few known problems with FlashType in Flex L Blurry, offset a few pixels …   Stace   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira Sent: Tuesday, July 25, 2006 4:49 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

Re: [flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread JesterXL
TextArea just got owned. http://www.jessewarden.com/archives/2006/07/nonselectable_t.html - Original Message - From: "jpc14_99" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 25, 2006 7:37 PM Subject: [flexcoders] Re: has anyone ever disabled selectability for a textArea?? Thanks for al

Re: [flexcoders] Re: performance issues

2006-07-25 Thread Pan Troglodytes
Matt just means to use getItemAt(dataIndex) to get the item for row.  Then you can use whatever field/property to make your decision on how to color it.  Make sense?On 7/25/06, Tim Hoff <[EMAIL PROTECTED]> wrote: Matt, or anyone else, Similar to your suggestion, I've been creating a sample t

[flexcoders] Hand Cursor - please, help

2006-07-25 Thread Dmitry Miller
Hello, I am trying to create a custom component that would consist of a Canvas inside of which there is going to be a single label. On mouse over the cursor should change to a hand cursor (just like over HTML link in a browser). However, the mx:Label or mx:Text do not support hand cursors althoug

RE: [flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread Dustin Mercer
Hmm… odd, I tested it before I put it out there.  Are you running the final build of Flex or a Beta build?  Did you copy and paste the entire body of my code, or just that overrided method?  Sorry about being the little late to the game on this one too, I read up why you wanted to do th

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread jpc14_99
> Out of curiosity, what is the use case to disable selection of text? Dustin thanks so much for the assistance. In my application I'm displaying text in a textArea that I don't want the user to be able to select. To have the I-beam cursor popup on mouseover just looks wrong. There's no use

[flexcoders] Re: ASP.NET and Flex2

2006-07-25 Thread prendergastjames
Thanks Clint and others for your help. I'll look into WebOrb. --- In flexcoders@yahoogroups.com, "Clint Modien" <[EMAIL PROTECTED]> wrote: > > 1. Is it necessary for me to use FDS to send and return data to the > flex clients and what can you only do using FDS that can't be achieved > using web s

[flexcoders] Question regarding datagrids - generating subtotals

2006-07-25 Thread flxcoder
I have a need where like excel, I need to show sub-totals and empty cells on the row where the sub total will appear. This subtotal will be calculated, say as an aggregate function that I can write. But the question is, how can I do this with the datagrid control. I am at a point where I can d

[flexcoders] Re: Flex 2 Release - HTTPService decoding and ArrayCollection

2006-07-25 Thread Tim Hoff
Hi Thunder, Try setting the makeObjectsBindable="false" in the HTTPService tag. -TH --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have been using an HTTPService to get an XML configuration file from > the server and using it to configu

[flexcoders] Re: Flex 2 Release - HTTPService decoding and ArrayCollection

2006-07-25 Thread thunderstumpgesatwork
I'm thinking I may write a custom static util function ... public static function MyArrayUtil.toArray(objArray:Object):Array - If object is ArrayCollection, return the 'source' array - else return ArrayUtil.toArray() then I can search and replace in my entire project for ArrayUtil.toArray and re

[flexcoders] Re: Flex 2 Release - HTTPService decoding and ArrayCollection

2006-07-25 Thread thunderstumpgesatwork
I'm thinking I may write a custom static util function ... public static function MyArrayUtil.toArray(objArray:Object):Array - If object is ArrayCollection, return the 'source' array - else return ArrayUtil.toArray() then I can search and replace in my entire project for ArrayUtil.toArray and re

RE: [flexcoders] What is the difference between an Array and an ArrayCollection?

2006-07-25 Thread Dustin Mercer
No way man!  Better ventilation if you ask me :P   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John C. Bland II Sent: Tuesday, July 25, 2006 5:14 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] What is the difference between an Array and

[flexcoders] Re: Image Pan - Step 1

2006-07-25 Thread richmcgillicuddy
OK, just needed the right terms to search on. Found this in the help: import flash.display.Sprite; import flash.events.MouseEvent; var container:Sprite = new Sprite(); container.name = "container"; var circle:Sprite = new Sprite(); circle.name = "circle"; circle.graphics.beginFill(0xFFCC00); ci

[flexcoders] Flex 2 Release - HTTPService decoding and ArrayCollection

2006-07-25 Thread thunderstumpgesatwork
Hi all, I have been using an HTTPService to get an XML configuration file from the server and using it to configure my app. The result format was ActionScript Objects, not e4x. When accessing a node that could be an array (one or more) I was using ArrayUtil.toArray(results.SomeNode.ArrayNode) to

[flexcoders] Flex 2 Release - HTTPService decoding and ArrayCollection

2006-07-25 Thread thunderstumpgesatwork
Hi all, I have been using an HTTPService to get an XML configuration file from the server and using it to configure my app. The result format was ActionScript Objects, not e4x. When accessing a node that could be an array (one or more) I was using ArrayUtil.toArray(results.SomeNode.ArrayNode) to

Re: [flexcoders] What is the difference between an Array and an ArrayCollection?

2006-07-25 Thread John C. Bland II
You mean I'm supposed to throw those (socks with wholes) away?On 7/25/06, Tobias Patton <[EMAIL PROTECTED] > wrote: You can also supply  sorting and filtering criteria to an array collection.   This would be like a chest of drawers that folds your so

[flexcoders] Re: Image Pan - Step 1

2006-07-25 Thread richmcgillicuddy
Thanks for the pointers. I replaced myMap.scrollRect.Top with myMap.X and myMap.scrollRect.X, both had no effect. What should be my base container object? Right now I just have an image as the base container, is there a better choice. In our Flash 8 code, we have 3 different movie clips. On the ch

[flexcoders] Flex 2 Library SWC Design View Issue

2006-07-25 Thread alariccole
Hello. I am trying to create a library of custom components to use across many projects. However, I have learned that there is a known issue with Flex Builder 2 when using a library of custom SWCs -- they do not display correctly in Design View. Either they render as if they were a compiled SWF,

Re: [flexcoders] What is the difference between an Array and an ArrayCollection?

2006-07-25 Thread Bill Brown
You guys are great! I don't think I've ever lauged so hard learning a programming concept.Thank-you very much!Perhaps there should be a section in the livedocs dedicated to magical furniture analogies... __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/fi

[flexcoders] Re: AS2 -> AS3 Question - onReleaseOutside()?

2006-07-25 Thread dbj2000
--- In flexcoders@yahoogroups.com, "fuad_kamal" <[EMAIL PROTECTED]> wrote: > > There's a doc out on AS2 -> AS3 conversions: > http://livedocs.macromedia.com/flex/2/langref/migration.html > > For the AS2 onReleaseOutside() EventHandler it says this is now > handlded by a mouseUp event after a call

RE: [flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread Dustin Mercer
Out of curiosity, what is the use case to disable selection of text?  Can you just you disabled=false, or do you want people to still type in it?  Here is a working example of the code you need though J  I believe the problem with your component was you were not calling the super.create

[flexcoders] Re: performance issues

2006-07-25 Thread Tim Hoff
Matt, or anyone else, Similar to your suggestion, I've been creating a sample that shows how to set the row color of a DataGrid.   When you say, "get data at dataIndex using dataProvider methods", how exactly do you go about this.  Manish suggested looking at the iterator.  I've tried this, as w

Re: [flexcoders] Problem with binding of selectedIndex proprty in Combobox Component

2006-07-25 Thread Ralf Bokelberg
Hi Martina, you could try to set the selectedIndex using callLater after the dataProvider has changed. Cheers,Ralf. On 7/24/06, Martina Smith <[EMAIL PROTECTED]> wrote: Hi,   I am using the ComboBox component () in flex 2.0. I am attaching the dataprovider to the combobox by the bind prope

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread jpc14_99
Thanks for all the help. I have it recognizing my class just fine now. Unfortunately I'm getting this error: Attempted access of inaccessible property textField through a reference with static type... So the class I'm using (below) isn't quite cutting it. Any ideas for changes? --

RE: [flexcoders] Datagrid. xml structure doesn' match

2006-07-25 Thread Tracy Spratt
If dotting down in the labelField does not work, use a labelFunction()   Tracy   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of olivier Sent: Tuesday, July 25, 2006 5:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid. xml structure

RE: [flexcoders] Flex 2 Final -> MenuBar dataprovider

2006-07-25 Thread Tracy Spratt
Post a runnable example.   Tracy   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bas J. Brey Sent: Tuesday, July 25, 2006 5:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2 Final -> MenuBar dataprovider   When changing t

RE: [flexcoders] Creating Tree from XML

2006-07-25 Thread Tracy Spratt
Use a labelFunction().  In that you have a reference to the item object that is associate with the curent node/row.  If it is an object, yo can dot down, if it is XML then you can use e4x expressions.   Actually I can’t tell if you are asking about Tree or DataGrid, but both support l

Re: [flexcoders] routeMessageToService and routeMessageToClient

2006-07-25 Thread Tom Bray
I've made a little bit of progress on this front.  As suggested by an Adobe engineer, I created a custom ServiceAdapter that overrides invoke() like so:import flex.messaging.messages.CommandMessage;import flex.messaging.messages.Message ;import flex.messaging.services.MessageService;import flex.

Re: [flexcoders] Caringorm - Visual Flowchart Poster!

2006-07-25 Thread JesterXL
Only change homey is: - Command creates Delegate, and calls method on it, passing itself (usually) in as a responder - Delegate gets service from ServiceLocator, and then calls server - upon response, either massages it (via Factory) or just simply gives it back as is to the Command All in all,

RE: [flexcoders] What is the difference between an Array and an ArrayCollection?

2006-07-25 Thread Tobias Patton
You can also supply  sorting and filtering criteria to an array collection.   This would be like a chest of drawers that folds your socks and tosses the ones that have holes in them.   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan Trog

Re: [flexcoders] Caringorm - Visual Flowchart Poster!

2006-07-25 Thread Mike Britton
That rocks! Make sure you do a hi-res version so I can hang it on my office door :-) Mike Yahoo! Groups Sponsor ~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM

[flexcoders] Caringorm - Visual Flowchart Poster!

2006-07-25 Thread Evan Gifford
My fellow Flexcoders! After reading Steven's excellent article covering the Cairngorm architecture ( Start the 6-part series here - http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html ) I've started creating a flowchart tracing a Cairngorm Event from the Event Broadcaster with a da

[flexcoders] Re: Google Analytics and Flex

2006-07-25 Thread Renaun Erickson
Google Analytics is by invitation only right now. So its kind of hard to review it. Also from the Help page. === Is there a Google Analytics API? Urchin does not currently provide an API to access the reporting data. However, we do offer export functionality for single reports in the following

[flexcoders] managing subscriptions with ServiceAdapter.manage()

2006-07-25 Thread Tom Bray
Here are the only docs I've found on this subject: "Optionally, a Message Service adapter can manage its own subscriptions. To do this, you override the ServiceAdapter.handlesSubscriptions() method and return true. You also must override the ServiceAdapter.manage() method, which is passed Comma

[flexcoders] Binding in MyHBox

2006-07-25 Thread Csík Norbert
Hi! I have a simple 'MySpecBox' with a string property 'stuff'. If this component is in an mx:HBox then it gets the value of the binding. But when I put it my simple 'MyHBox' component the binding fails. Can anyone tell me why? http://www.adobe.com/2006/mxml"; layout="vertical" xmlns:local="*">

Re: [flexcoders] What is the difference between an Array and an ArrayCollection?

2006-07-25 Thread Pan Troglodytes
To add to Jester's imaginative response, ArrayCollection actually wraps an Array.  So inside, there is an Array, which can be accessed through the source property.  But if you directly access the array, you don't get the cool events the make data binding work. On 7/25/06, JesterXL <[EMAIL PROTEC

Re: [flexcoders] What is the difference between an Array and an ArrayCollection?

2006-07-25 Thread JesterXL
It also has some nice methods to help you put things in certain spots.  You can add things via addItem just like Array.push, but it has cool methods like replaceItemAt, contains, and removeAll among others.  All trigger this "collectionChanged" event.  Finally, it implements some commonly

RE: [flexcoders] What is the difference between an Array and an ArrayCollection?

2006-07-25 Thread Dustin Mercer
As well as the ArrayCollection can be much easier to put things into than an Array.  On an Array you have to use the basic Array methods such as push and pop, where as the ArrayCollection will allow you to add and remove items with methods such as addItem and removeItem.  So trying to s

Re: [flexcoders] What is the difference between an Array and an ArrayCollection?

2006-07-25 Thread JesterXL
A drawer from Disney's "Beauty and the Beast" that goes, "Dude, you just put something in me!".   It does this by emitting an event, collectionChanged, when this happens.  Controls can listen for this event and know when the array is updated in order to redraw themselves, like the DataGrid

[flexcoders] What is the difference between an Array and an ArrayCollection?

2006-07-25 Thread Bill Brown
This is a pretty newbie programming question, but coming from an AS1/AS2 background I'm not familiar with the difference between an Array and an ArrayCollection.Could someone please explain the difference, or suggest a URL that explains the difference? When I learned about arrays through Phillip

Re: [flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread Jeff Tapper
did you declare an xml namespace for it in the mxml page which calls it? something like xmlns:view="*" At 05:47 PM 7/25/2006, you wrote: > > package > > { > > import mx.controls.TextArea; > > > > class MyTextArea extends TextArea > > { > > protected override function creat

Re: [flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread JesterXL
Namespace the ho! Think of namespaces like imports. import mx.controls.TextArea; That allows you to do: var a:TextArea = new TextArea(); So do like: Or, if you are going to use MyClass multiple times, but the xmlns:view stuff in your root tag so you only have to write it once. - Orig

RE: [flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread Dustin Mercer
You have to add view to the xml namespaces in the calling document.  I.E.   Say you have your MyTextArea control sitting in a folder called components…  Here would be the xmlns code to include it.       … xmlns:view=”components.*” />       From: flexcoder

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread jpc14_99
> package > { > import mx.controls.TextArea; > > class MyTextArea extends TextArea > { > protected override function createChildren():void > { > super.createChildren(); > textField.selectable = false; > } > } > } > > And then use i

Re: [flexcoders] Image Pan - Step 1

2006-07-25 Thread JesterXL
2. If they are children, they too will scale. Add them to the Sprite's displaylist. 3. We've done this successfully in Flex 1.5. In Flex 2, you can set the toolTipClass on the ToolTipManager class to utilize your own class. 4. To combine multiple effects at the same time, utilize the tag; i

[flexcoders] Data Services...pull just the names initially, then the rest

2006-07-25 Thread dreuimar
I'm just starting out using data services with Java, and I've become pretty comfortable filling collections with results from MySQL, etc., but here's an issue I have: I have a long list of customers that gets pulled when a user logs in. A drop down list displays all of the customers, and when sel

Re: [flexcoders] Re: Drag & Drop problem with browser scrolling

2006-07-25 Thread Scotty Scott
Not that this helps but I have seen the same thing dragging a datagrid item to the tree. duplicated with the following simple code.  Maybe it will help with trying to find an answer. http://www.adobe.com/2006/mxml" layout="absolute" height="400" verticalScrollPolicy="auto">                  

[flexcoders] Google Analytics and Flex

2006-07-25 Thread Corey
Does anyone have an example of how to hook Google Analytics into a Flex Application. I am interested in using Google Analytics to track the sales on a Flex application. Thanks, COREY -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Ar

RE: [flexcoders] ASP.NET and Flex2

2006-07-25 Thread Tracy Spratt
I understand that WebOrb provides native FDS-like functionality in dot.net.  If you want to pass around objects that is probably your best bet.   Tracy       From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 6:37 P

Re: [flexcoders] TextSnapshot not working in Flex 2

2006-07-25 Thread JesterXL
You don't... unless you use Flash.   As far as x & y, no clue, I suck at text.  Maybe this? http://www.quasimondo.com/archives/000620.php   - Original Message - From: Jignesh Satra To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:51 AM Subject: Re: [flexcoders] TextSn

[flexcoders] Image Pan - Step 1

2006-07-25 Thread richmcgillicuddy
Hello, I am new to the group and to Flex/Flash. We have a mapping tool that we had created about a year back that uses flash 8. We want to move up to Flex 2 for a number of reasons. I am trying to create the mapping hello world application. We use a standard png image as the background for the ma

RE: [flexcoders] invalidateDisplayList()

2006-07-25 Thread Gordon Smith
Calling invalidateDisplayList() on a control does not invalidate its ancestors.   - Gordon   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel Tuppeny Sent: Tuesday, July 25, 2006 4:39 AM To: flexcoders@yahoogroups.com Subject: [flexcod

[flexcoders] FIXED Re: Remote Services using Flex2 Data Services final released

2006-07-25 Thread thunderstumpgesatwork
Hey, I figured my problem out. After digging through the debug objects, I noticed it was attempting to access "http://localhost:8700/messagebroker/amf"; note that the URI was missing the context.root. Since the endpoint was defined as "http://{server.name}:{server.port}/{context.root}/messagebroke

Re: [flexcoders] Re: dispatching TextEvent on image click

2006-07-25 Thread JesterXL
- import the event - create it - dispatch it Don't know the classpath, but something like: mx.events.TextEvent; var te:TextEvent = new TextEvent ( TextEvent.TEXT, false, true ); dispatchEvent(te); Then at the top of your class, do: [Event(name="TextSomething", type="mx.events.TextEvent")] Mak

[flexcoders] Re: determining the width of a data Interval using DateTimeAxis

2006-07-25 Thread Paul BH
nevermmind - didnt have my mind in gear to think it through...if its any use to anyone, here's my quick & dirty solution:private function getPixelWidth(numDays:Number):Number{            var dAxis:DateTimeAxis = DateTimeAxis(horizontalAxis);             var w:Number = dataRegion.width;          

Re: [flexcoders] Flex2 Event Calendar

2006-07-25 Thread JesterXL
You could maybe snag this. http://weblogs.macromedia.com/khoyt/archives/2005/03/custom_calendar.cfm - Original Message - From: "David Brown" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 25, 2006 2:31 PM Subject: [flexcoders] Flex2 Event Calendar I would like to write a event calendar

Re: [flexcoders] Re: Pointing to Dynamic variables

2006-07-25 Thread JesterXL
Try: this[ "label" + i ].text = xmlOut.zalozbe.zalozba[i]; - Original Message - From: "arnold_charming" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 25, 2006 2:47 PM Subject: [flexcoders] Re: Pointing to Dynamic variables Anyone? --- In flexcoders@yahoogroups.com, "arnold_charming" <

[flexcoders] Re: dispatching TextEvent on image click

2006-07-25 Thread arnold_charming
--- In flexcoders@yahoogroups.com, "arnold_charming" <[EMAIL PROTECTED]> wrote: > > Hi! > > How to dispatch a TextEvent when a user clicks on an image? Thank you. > Can this be done? Tnx. Yahoo! Groups Sponsor ~--> See what's inside the new Yaho

[flexcoders] Flex2 Event Calendar

2006-07-25 Thread David Brown
I would like to write a event calendar app in flex 2. But I am not sure where to start. Does anyone have some examples or could you point me to the object to use. I was thinking a grid and then using it like a table in html, but not sure. David Yahoo! Groups

[flexcoders] Re: Pointing to Dynamic variables

2006-07-25 Thread arnold_charming
Anyone? --- In flexcoders@yahoogroups.com, "arnold_charming" <[EMAIL PROTECTED]> wrote: > > Hi! > > I have 3 labels with three different IDs: > > > > > Now I want to use a for...loop statement to dynamicly get access to > these labels and change their .text property. Something like this: > >

[flexcoders] [Flex2 final] Application look blury when using FlashType

2006-07-25 Thread Carlos Rovira
Hi,I create an Arial font face with Flash 8 to use the new FlashType with antialias advanced. It was all ok for a while, and fonts look so good, but now I'm starting to experience that controls and containers in the application looks a little blured and even I can see a strange grey lines as too

Re: [flexcoders] Flex Builder 2.0 serial number says it's invalid

2006-07-25 Thread Pan Troglodytes
That's my last ditch option. :DOn 7/25/06, Rick Schmitty <[EMAIL PROTECTED]> wrote: "Now entering them into Help->Manage Flex Licenses also says they are invalid."As fun as it sounds, uninstall Flex and reinstall with entering the keys during installation.  I ran into a similar problem when

Re: [flexcoders] Flex Builder 2.0 serial number says it's invalid

2006-07-25 Thread Rick Schmitty
"Now entering them into Help->Manage Flex Licenses also says they are invalid."As fun as it sounds, uninstall Flex and reinstall with entering the keys during installation.  I ran into a similar problem when we got our license, only it wouldnt take them no matter how many people tried (to get r

[flexcoders] determining the width of a data Interval using DateTimeAxis

2006-07-25 Thread Paul BH
from the docs, the unitSize property represents: "The width, in pixels, of a single data unit" but looking at the code for DateTimeAxis, it actually represents the number of milliseconds in a day (thats the data unit Im using). I'm sure I'm missing something here, but cn anyone point me in the d

Re: [flexcoders] Re: swfObject and resizing issues

2006-07-25 Thread Carlos Rovira
Hank,Both scripts do the same...only that SWFObject is more friendly, and Adobe's script has historymanager functionality. You shouldn't complicate your life and use the Flex 2 way althought you see some point or problem to use SWFObject. I use it in beta3 because the SDK at that moment came wit

[flexcoders] Re: swfObject and resizing issues

2006-07-25 Thread Tim Hoff
Yep, I think that the default application dimensions are height="100%" width="100%"; unless set explicitly. -TH --- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]> wrote: > > Hi Tim, > > So you were able to do that with the standard html template which comes with > flex ?!!

Re: [flexcoders] Re: swfObject and resizing issues

2006-07-25 Thread hank williams
Hi Tim,So you were able to do that with the standard html template which comes with flex ? :)HankOn 7/25/06, Tim Hoff < [EMAIL PROTECTED]> wrote: Hi Hank, If you use percentage-based dimensions Flex will take care of the resizing for you.  Here is an example that might give you some ideas:

Re: [flexcoders] swfObject and resizing issues

2006-07-25 Thread Carlos Rovira
Hank,Have you try to open the examples that comes with SWFObject?. There's nothing strange in that html/js that you can handle. You can see the full size example (100% width and height) to see an full sized SWF. I'll post here a full example, but I think there's no real difference with the one's

[flexcoders] Re: swfObject and resizing issues

2006-07-25 Thread Tim Hoff
Hi Hank, If you use percentage-based dimensions Flex will take care of the resizing for you.  Here is an example that might give you some ideas: http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=422  -TH --- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED

Re: [flexcoders] Anyone know the answer? Embed images in one MovieClip, use in another?

2006-07-25 Thread Pan Troglodytes
It's probably a moot point due to some of the other stuff you mentioned later, but flash.display.Bitmap has some interesting example code to dynamically load an image from a url and then duplicate it. On 7/24/06, G <[EMAIL PROTECTED]> wrote: Hi Jester--Your example here is exactly what we don't

Re: [flexcoders] swfObject and resizing issues

2006-07-25 Thread hank williams
On 7/25/06, Carlos Rovira <[EMAIL PROTECTED]> wrote: Hi Hank,On 7/25/06, hank williams < [EMAIL PROTECTED]> wrote: I am a total _javascript_/html idiot.But now I must put my flex app in an html container and I have some questions.1. Does flex user swfObject?

RE: [flexcoders] FDS sporadically works, but why?

2006-07-25 Thread Dustin Mercer
Out of curiosity, was the server restarted between the last time it didn’t work and the time it did an hour later?  If so, you may have some heap size issues (java could be running out of memory) or connection pooling issues.  I have had both of these bring a server to its knees (no fau

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread Doug Lowder
Can you not just set those styles? Just use disabledColor instead of color in your css, mxml, or script. --- In flexcoders@yahoogroups.com, "jpc14_99" <[EMAIL PROTECTED]> wrote: > > Thanks. That does make the textArea unselectable but unfortunately > it also wipes out my background color an

[flexcoders] Auto-complete list for ComboBox different in AS and MXML - why?

2006-07-25 Thread ben.clinkinbeard
Hello, I have a ComboBox defined in MXML that when I go to add an attribute to, the auto-complete list includes selectedIndex, but not selectedItem or selectedLabel. When I address the cb in AS, I get all 3 options as expected. Sup wit dat? Thanks, Ben http://www.returnundefined.com -- Flex

[flexcoders] Re: Remote Services using Flex2 Data Services final released

2006-07-25 Thread thunderstumpgesatwork
Hey, I'm getting the same exact error. Have you had any luck fixing this? It's an HTTP-404 error... seems like it just can't find the channel location, but I'm pretty sure it's set up correctly (the default)... Have you come across a fix? I'll definitely post something up if I figure it out c

RE: [flexcoders] flex 1.5 : AMF and ports and Max users

2006-07-25 Thread Eric D Anderson
FDS can use HTTP(S), AMF/HTTP(S) or RTMP(S) for data transport.  You need to define each destination to use one (or more) of those data transports.   In terms of scale, FDS Dept edition is targeted at applications for work groups or departments (you deploy an application for a 50 pers

[flexcoders] Re: Datagrid. xml structure doesn' match

2006-07-25 Thread Tim Hoff
Hi, You should be able to use simple dot notation: or -TH --- In flexcoders@yahoogroups.com, "olivier" wrote: > > Hi, > > I would like to know what's the best xml structure to use datagrid. > > Indeed, my xml data source (legacy system) is like : > > > > > >

[flexcoders] FDS sporadically works, but why?

2006-07-25 Thread ryan harlin
Does anyone know why (or has anyone had a similar experience) a Flex Data Services tutorial project... the FDS Java Adapter example from Adobe would work sporadically? The tutorial is essentiall a DataGrid with 3 columns: ID, First Name, Last Name. They have you edit the data-management-config.x

Re: [flexcoders] Flex Builder 2.0 serial number says it's invalid

2006-07-25 Thread Rob Rusher
This is the first I've heard of this problem.Personally, I uninstalled the beta before installing Flex Builder 2. I left the dashes in the key and I have not had any issues.Good luck. On 7/25/06, Pan Troglodytes <[EMAIL PROTECTED]> wrote: Just wanted to throw t

Re: [flexcoders] Anyone know the answer? Embed images in one MovieClip, use in another?

2006-07-25 Thread JesterXL
Hah! I don't care what anyone says, the Flex 1.5 docs are good. http://livedocs.macromedia.com/flex/15/flex_docs_en/1157.htm - Original Message - From: "G" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 25, 2006 2:00 PM Subject: Re: [flexcoders] Anyone know the answer? Embed images in

Re: [flexcoders] swfObject and resizing issues

2006-07-25 Thread Carlos Rovira
Hi Hank,On 7/25/06, hank williams <[EMAIL PROTECTED]> wrote: I am a total _javascript_/html idiot.But now I must put my flex app in an html container and I have some questions.1. Does flex user swfObject? if not, why not? Flex 2 does not use  swfObject.  Adobe

Re: [flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread JesterXL
It does, but TextArea extends Sprite, not TextField. It uses the UITextField via composition. Unfortunately (or fortunately?) the textField variable is protected. Additionally, the textField is selectable by default. You could do: package { import mx.controls.TextArea; class MyText

[flexcoders] Re: Flex AMFPHP and VOs

2006-07-25 Thread Renaun Erickson
Yes, I have my examples working locally with PHP 5.1.1 and on my renaun.com server under PHP 4.3.x. You'll have to change the BookVO.php file to use "var" instead of "public". You can read my post about it on my blog at http://renaun.com/blog/2006/07/25/70/. Renaun --- In flexcoders@yahoogroups

RE: [flexcoders] treeview and

2006-07-25 Thread Tracy Spratt
“labelField="@shortName” that is an e4x xml attribute reference and I would not expect it to work for an object property.  Try just “labelField="shortName”.   “label” is just the default property it looks for as a label.  labelField orlableFunction is the right way to go.   Tracy

[flexcoders] Flex Builder 2.0 serial number says it's invalid

2006-07-25 Thread Pan Troglodytes
Just wanted to throw this out there and see if I'm the only one with the problem.The serial number provided for Flex Builder 2.0 is rejected as "invalid" by my installation of Flex Builder 2.0.  I have tried both the serial numbers for FB and for charting.  Possibly important: I already had FB r

RE: [flexcoders] SOLVED:Re: Change the color of the text/label for a tree node

2006-07-25 Thread Tracy Spratt
I had a lot of problems using Label, like mouseovers would change my color back and mouseout woule not restore the new color.  I changed to a Canvas as the main container, with a  label in it and that fixed the issues.   Tracy   From: flexcoders@yahoogroups.com [mailto:[EMAI

Re: [flexcoders] Re: Returning hidden ID field value in a datagrid

2006-07-25 Thread Pan Troglodytes
Let he who has not done something equally boneheaded cast the first stone.;)On 7/25/06, michrx7 <[EMAIL PROTECTED] > wrote:My apologies for wasting too much of your time and plenty of mine. I made the cvcontactID field visible only to realize that I didn'tdeclare it in my SQL statement in the CF

[flexcoders] Re: Returning hidden ID field value in a datagrid

2006-07-25 Thread michrx7
My apologies for wasting too much of your time and plenty of mine. I made the cvcontactID field visible only to realize that I didn't declare it in my SQL statement in the CFC so the SWF file was simply filling it with blanks. Thanks for your dedication and extra time on this one. Catch me at

[flexcoders] Re: Working version of Phones in Flex2/Cairngorm2?

2006-07-25 Thread Wally Randall
Thank you Benoit It helped to change the file name to bypass the Cache problem. --- In flexcoders@yahoogroups.com, "Benoit Hediard" <[EMAIL PROTECTED]> wrote: > > All the org.nevis references have been replaced in the latest version. > You're still downloading the old version, may be a cache issu

[flexcoders] swfObject and resizing issues

2006-07-25 Thread hank williams
I am a total _javascript_/html idiot.But now I must put my flex app in an html container and I have some questions.1. Does flex user swfObject? if not, why not? 2. Also, if not, has anybody done any work to integrate. 3. Has anyone done an html container that would handle resizing the flash stag

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread jpc14_99
Thanks, I've never done that sort of thing before but it sounds like the route I may be forced to go down. Do you think it'd involve overriding the 'mouseover' handler with an empty function? Just seems absolutely bizarre why Flex wouldn't include a simple 'selectable' attribute with the textA

Re: [flexcoders] Anyone know the answer? Embed images in one MovieClip, use in another?

2006-07-25 Thread G
> Yahoo yuked on itself last night, so not sure if you > ever got your remote > shared libraries to work? No, I was waiting to hear more from you about how to do it. Based on your previous emails and those links I now understand how attachMovie works (in conjunction with Object.registerClass) an

  1   2   3   >