[flexcoders] quality=autoLow Cutting off Labels

2009-12-30 Thread kenny14390
To help boost performance of a large Flex app, I set the quality of the application to autoLow. I'm aware of the trade-off between performance and graphics, but one Label in particular is sometimes being cut off length-wise. I'd like to keep the quality setting where it is, but is there an

[flexcoders] HTTP request error #2032

2009-12-21 Thread kenny14390
Hi, I am using the HTTPService to send POST data to a PHP page in a widely distributed application. To catch HTTP errors with the fault parameter, I am assigning a method that takes a FaultEvent as its argument. (this is all standard). That fault method writes to a file any time it is entered

[flexcoders] Embedded Assets: SWF or Image?

2009-07-14 Thread kenny14390
When would it be appropriate to embed graphical assets as SWFs? Does it increase/decrease file size or load time? Would it be better to convert the SWF to a PNG or something?

[flexcoders] PHP $_POST Array with HTTPService

2009-07-13 Thread kenny14390
Hi, We all know about PHP's ability to send an array through the $_POST variable, in a form for example: [form method=POST action=] [text type=input name=data[name]/] ... [/form] But how can I achieve that through Flex's HTTPService? If I were to print_r($_POST) in the PHP page, this is would

[flexcoders] Re: how to set a layout object's height to 100%?

2009-07-08 Thread kenny14390
percentHeight is probably what you want, but another way to achieve 100% height is so set top=0 and bottom=0. This is the natural way to achieve 100% in the design mode of Flex Builder. --- In flexcoders@yahoogroups.com, coder3 rrhu...@... wrote: Hi All I create an object as Grid, and i

[flexcoders] Re: Continuous Multi-colored Line Chart

2009-07-07 Thread kenny14390
://www.timothyhoff.com/projects/LineRendererSample/LineRendererSamp\ le.html (right click to view source) -TH --- In flexcoders@yahoogroups.com, kenny14390 kenny14390@ wrote: Hi all. It's been a year since my last question and this one seems like an interesting problem. First to give you some

[flexcoders] Continuous Multi-colored Line Chart

2009-07-06 Thread kenny14390
Hi all. It's been a year since my last question and this one seems like an interesting problem. First to give you some background, I'm making a stats page for a game. The game consists of three rounds and each round consists of five clicks. Each click can either add or subtract points from

Re:Re: [flexcoders] Bring forward something in flex

2009-07-06 Thread kenny14390
Here's an easy fix: parent.setChildIndex(obj,i); Where parent is the container (can be this), obj is the child object you want to re-order, and i is the stack index of the position amongst the parent's children. The higher i is, the closer to the front it is. i cannot be higher than the

[flexcoders] Smooth Manual setProgress

2009-07-06 Thread kenny14390
Hey. I'm using a manual ProgressBar to display progress towards a goal. As the amount increases or decreases, the setProgress method updates the progress accordingly but jumpy. Is there a way to smooth out the graphic of the progress transition? Thanks!

[flexcoders] Re: Styling Chart Selection Square

2009-07-06 Thread kenny14390
You can change the rollover/selection color from the default 0x009dff, but I don't know about styles. --- In flexcoders@yahoogroups.com, kidl33t kidl...@... wrote: Hello, I have a cartesian chart and I would like to style the blue box that highlights data when you click and drag. It is

[flexcoders] Smooth Marquee

2008-07-22 Thread kenny14390
I tried to scroll images from right to left using DHTML, but the scrolling was choppy and it didn't look right. I want to do this in Flex, but I'm not sure where to start. The application needs to; - take a list of images (maybe in an HBox) - smoothly scroll from right to left - repeat the loop

[flexcoders] Debug Mode Prematurely Terminating

2008-07-20 Thread kenny14390
In both Eclipse and Flex Builder 3, the Debug mode prematurely terminates. I have an error in my code, which isn't being picked up by the compiler, so it's hard to debug. Regardless of break points, the debugger will launch the app in the browser and then immediately terminate, not checking for

[flexcoders] Re: Debug Mode Prematurely Terminating

2008-07-20 Thread kenny14390
to include the parameter wmode = opaque fixed it. I agree this doesn't make any sense, but according to googling it has worked for other people and it worked for me. - Daniel Freiman On Sun, Jul 20, 2008 at 2:43 AM, kenny14390 [EMAIL PROTECTED] wrote: In both Eclipse and Flex Builder 3

[flexcoders] Image Marquee

2008-07-08 Thread kenny14390
Does anyone know how to create an image marquee in Flex? See http://fishbowl.com for an example.

[flexcoders] Re: crossdomain with picasa

2008-06-30 Thread kenny14390
I don't know how to fix this problem, but I do know of the way to work around it. Simply use HTTPService to call a file on your server (still in your sandbox), which then calls Picasa and does whatever magic it needs to get your data. Even though this is outside of your sandbox, Flex has no idea

[flexcoders] Re: XMLList - XML Spontaneous Error

2008-06-28 Thread kenny14390
to do: x = srv.lastResult.Term.Department.(@id==cDept).Course.(@num==cCrs)[0]; //to get the one and only XML node Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Friday, June 27, 2008 7:54 PM

[flexcoders] Re: over pixelated scaled images

2008-06-27 Thread kenny14390
I had this problem a couple days ago. See this site: http://www.actionsnip.com/snippets/vixiom/how-to-get-smooth-image-scaling-in-flex --- In flexcoders@yahoogroups.com, David Pariente [EMAIL PROTECTED] wrote: Hello, I'm showing some pics in a gallery, and they are showing smaller than real

[flexcoders] XMLList - XML Spontaneous Error

2008-06-27 Thread kenny14390
Code that I haven't touched in months is now giving me errors at runtime. It's compiling without even a warning, but when the application is run, I get unexpected results. When I run the app in debug mode, all breakpoints are ignored (news to me) so it's difficult to find exactly what's wrong. I

[flexcoders] Resizing Images

2008-06-25 Thread kenny14390
Hi. I have a space that is 175x100 and I am loading images into it on the fly. I am loading images that are as big as 200x115 and I need to shrink them to fit but also preserve their quality. If I don't specify the Image component's height and width, the image retains its quality, but it also

[flexcoders] Re: Resizing Images

2008-06-25 Thread kenny14390
] wrote: Perhaps making sure that the resizing snaps to pixels. I have the same issue on mine and I'm trying to find a solution too. I'm thinking of using server-side resizing to get it to work neatly. On 25 Jun 2008, at 15:20, kenny14390 wrote: Hi. I have a space that is 175x100

[flexcoders] Re: Resizing Images

2008-06-25 Thread kenny14390
, kenny14390 wrote: Hi. I have a space that is 175x100 and I am loading images into it on the fly. I am loading images that are as big as 200x115 and I need to shrink them to fit but also preserve their quality. If I don't specify the Image component's height and width, the image retains

[flexcoders] Re: Flex Efficiency

2008-06-23 Thread kenny14390
I know that if you try to add the same component to one container after another, it will remove it from the previous container and add it to the next. To achieve what you're looking for, you need to clone it then add it. You might have already known this, but that sounds like the problem to me.

[flexcoders] Re: Flex Efficiency

2008-06-23 Thread kenny14390
. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Friday, June 20, 2008 9:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Efficiency I'm making a simple game in Flex and I'm noticing a lot of performance issues

[flexcoders] Re: Flex Efficiency

2008-06-21 Thread kenny14390
is, of course, going to eat resources. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *kenny14390 *Sent:* Friday, June 20, 2008 9:44 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Flex Efficiency I'm

[flexcoders] Flex Efficiency

2008-06-20 Thread kenny14390
I'm making a simple game in Flex and I'm noticing a lot of performance issues. The game is very easy and simple: you have 25 tiles and you need to click them one at a time to reveal the prize (or no prize) behind them - match three like prizes and win. Getting everything on the screen and coding

[flexcoders] Re: Making Y-Axis Invisible on LineChart

2008-06-10 Thread kenny14390
={showAxis} includeInLayout={showAxis}/ /mx:verticalAxisRenderers Unfortunately, includeInLayout doesn't seem to work here. The invisible axis still talkes up space. On Sun, Jun 8, 2008 at 1:28 PM, kenny14390 [EMAIL PROTECTED]mailto:kenny14390%40yahoo.com wrote: I've got a graph and I'd like

[flexcoders] Making Y-Axis Invisible on LineChart

2008-06-08 Thread kenny14390
I've got a graph and I'd like to remove the y-axis. I still want to see the actual line graph, but just not the y-axis.

[flexcoders] Re: hslider and binding to values

2008-06-05 Thread kenny14390
Binding is curly braces {} not square brackets [] --- In flexcoders@yahoogroups.com, arieljake [EMAIL PROTECTED] wrote: I have an hslider with two tabs. I am trying to create a label next to the hslider to display the values it has set. We access the values of the hslider using the

[flexcoders] Using TitleWindow

2008-06-05 Thread kenny14390
If I just have a TitleWindow component in my application, is there a way to allow it to be draggable as if it was a popup? I'm not using PopupManager to display the TitleWindow because I want to apply a transition to it so that it slides in. Is there a way to apply this transition to a popup so

[flexcoders] Re: Using TitleWindow

2008-06-05 Thread kenny14390
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Thursday, June 05, 2008 10:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Using TitleWindow If I just have a TitleWindow component in my application

[flexcoders] Pausing / Waiting During Execution

2008-06-02 Thread kenny14390
In my code, I'd like to wait about 5 seconds before executing the next line. The implementation is this: - show notification - wait 5 seconds - hide notification I tried to use mx:Pause dynamically in the ActionScript, but I had trouble executing it. The pause component id is wait:

[flexcoders] Re: Replaying an Embedding SWF

2008-05-30 Thread kenny14390
it. Another option is to embed the swf as a ByteArray. You could then use the loader.loadBytes method to load it. This way you can reload the swf as much as you want. Greetz Erik On 5/29/08, kenny14390 [EMAIL PROTECTED] wrote: I've got a SWF file that is embedded in the Flex app. When

[flexcoders] Re: Flex Freelancers please apply

2008-05-30 Thread kenny14390
You should use flexjobs instead. This is more for technical help than job postings. --- In flexcoders@yahoogroups.com, Jason B [EMAIL PROTECTED] wrote: We are developing a product and need help on some of the items we have not been able to solve while we could post here we prefer to work one

[flexcoders] Re: Replaying an Embedding SWF

2008-05-30 Thread kenny14390
Also, SWFLoader component cannot toggle visible correctly. I'm using visible=true and visible=false but nothing happens. --- In flexcoders@yahoogroups.com, kenny14390 [EMAIL PROTECTED] wrote: I tried your first suggestion about reinstantiating the SWFLoader, but that doesn't seem to work. Here

[flexcoders] Re: Replaying an Embedding SWF

2008-05-30 Thread kenny14390
PROBLEM SOLVED: tileFront.source = new tile_Front(); I forgot that when Embedding the SWF, you store it as a Class. So to reinstatiate, you use the new keyword to get another instance of it. Thanks to all that helped. --- In flexcoders@yahoogroups.com, kenny14390 [EMAIL PROTECTED] wrote: I

[flexcoders] Replaying an Embedding SWF

2008-05-29 Thread kenny14390
I've got a SWF file that is embedded in the Flex app. When the SWF is clicked, it does an animation and fades away. How can I get the SWF to revert to its default state? I've tried resetting the source of the SWFLoader to the same SWF file, but it does not load. I've also tried creating a second

[flexcoders] Re: launching flex with arguments

2008-05-29 Thread kenny14390
This method does not validate XHTML, though. --- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: Take a look at the default html wrapper that is produced by Flex. You'll see where the flashVars are set. Depending on what web application platform you're on, you can

[flexcoders] Re: Replaying an Embedding SWF

2008-05-29 Thread kenny14390
playing it again. --peter --- In flexcoders@yahoogroups.com, kenny14390 kenny14390@ wrote: I've got a SWF file that is embedded in the Flex app. When the SWF is clicked, it does an animation and fades away. How can I get the SWF to revert to its default state? I've tried resetting the source

[flexcoders] Re: Replaying an Embedding SWF

2008-05-29 Thread kenny14390
I got the AS: (tileFront.content as MovieClip).gotoAndPlay(1); However, the SWF is still not visible after it has already run. --- In flexcoders@yahoogroups.com, kenny14390 [EMAIL PROTECTED] wrote: I searched this topic and actually found your blog post about it. It's still a bit unclear

[flexcoders] Re: Replaying an Embedding SWF

2008-05-29 Thread kenny14390
to do you much good. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Thursday, May 29, 2008 2:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Replaying an Embedding SWF I got

[flexcoders] Re: Replaying an Embedding SWF

2008-05-29 Thread kenny14390
. That movie clip may have its own timeline that you need to access. What AS version is being used? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Thursday, May 29, 2008 2:38 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: Replaying an Embedding SWF

2008-05-29 Thread kenny14390
Instead of using symbol=... in the Embed, I tried the shorthand # notation instead, but I get the same error. Perhaps the Flex app doesn't recognize the symbol? Is there a way to access the specific instance of the flash application in Flex? --- In flexcoders@yahoogroups.com, kenny14390 [EMAIL

[flexcoders] Re: The High Score Problem

2008-05-27 Thread kenny14390
. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 27 May 2008, kenny14390 wrote: Is the simple conclusion that Flash applications are inherently transparent? Yes, same as a HTML application, in a sense. This is the bane of client/server computing, and *banks

[flexcoders] Flex Control Over Embedded Flash

2008-05-22 Thread kenny14390
I know that there is a bridge between Flex and Flash, and Flash SWF and SWC's can be embedded inside of a Flex app. How much control does Flex have over the Flash movie? Let's say I have a component in Flash that has an image in it and a border with a certain color around the component. Is there a

[flexcoders] Populating Datagrid from Database

2008-05-22 Thread kenny14390
I am calling a PHP page, which reads my entire database and formats it to output as valid XML. How can I set this as the data provider for a Datagrid component? I know what the columns are, but not the number of rows nor the data (obviously). Thanks.

[flexcoders] Dynamic HTTPService Request

2008-05-21 Thread kenny14390
If I have a variable number of things to POST to a PHP page using HTTPService, I need to use mx:request to get those things over. Is there a way to do this dynamically? Here's the static way: mx:HTTPService ..mx:request var1value/var1 var2value/var2 varNvalue/varN ../mx:request

[flexcoders] Re: Securely Interfacing Between Flex and Databases

2008-05-20 Thread kenny14390
So the bottom line is to use an algorithm like RSA? To take a much simpler example, if the Flex app receives the encrypted data 1234 and it wishes to use that data, it must first decrypt it. So it performs the decryption in some AS and now you have the decrypted data that you wanted. My question

[flexcoders] Re: Securely Interfacing Between Flex and Databases

2008-05-19 Thread kenny14390
Well the concern is that no matter how you choose to encrypt/decrypt information, a Flash movie can always be decompiled and your decryption method is caught with its pants down, allowing users to find out how to view sensitive material that they're not supposed to be looking at. So how are we

[flexcoders] Re: Securely Interfacing Between Flex and Databases

2008-05-18 Thread kenny14390
I ask because security is not only a concern for my personal project, but also my employment responsibilities for my summer internship, so I want to hear how others deal with this issue. If you can help, I'd really appreciate the information. --- In flexcoders@yahoogroups.com, kenny14390 [EMAIL

[flexcoders] Securely Interfacing Between Flex and Databases

2008-05-15 Thread kenny14390
I've been using the following method for accessing databases in Flex: -HTTPService component connects to a PHP page on the same server and sends any appropriate data values via the POST or GET method. -PHP page sets up a MySQL connection and performs the necessary operations. -PHP writes any

[flexcoders] Securely Interfacing Between Flex and Databases

2008-05-15 Thread kenny14390
I've been using the following method for accessing databases in Flex: -HTTPService component connects to a PHP page on the same server and sends any appropriate data values via the POST or GET method. -PHP page sets up a MySQL connection and performs the necessary operations. -PHP writes any

[flexcoders] Built with Flex Icon

2008-04-18 Thread kenny14390
Is there any kind of STANDARD Built with Flex icon I can stick on my site? I know people have been making their own, which I found in many Google results, but I've yet to find a standard one endorsed by Adobe. Is such a thing available? Otherwise, what's everyone else using?

[flexcoders] Re: Flash/Flex Compatibility with 64bit OS

2008-04-17 Thread kenny14390
Is anybody even aware of such an issue? Should I be worried? --- In flexcoders@yahoogroups.com, kenny14390 [EMAIL PROTECTED] wrote: I got this email from a user of my Flex applications... -- Heh, I tried to log in today and it didn't work. I think I know what the problem

[flexcoders] Re: Flash/Flex Compatibility with 64bit OS

2008-04-17 Thread kenny14390
, kenny14390 [EMAIL PROTECTED] wrote: I got this email from a user of my Flex applications... -- Heh, I tried to log in today and it didn't work. I think I know what the problem is. It worked before when I was logging in with my laptop with runs 32bit XP. I run a 64 bit OS on my desktop

[flexcoders] Flash/Flex Compatibility with 64bit OS

2008-04-13 Thread kenny14390
I got this email from a user of my Flex applications... -- Heh, I tried to log in today and it didn't work. I think I know what the problem is. It worked before when I was logging in with my laptop with runs 32bit XP. I run a 64 bit OS on my desktop and it doesn't work on it. It probably has

[flexcoders] Re: RadioButtonGroup numRadioButtons never changing

2008-04-13 Thread kenny14390
rb.group = refToRadioButtonGrp DK On Fri, Apr 11, 2008 at 10:21 PM, kenny14390 [EMAIL PROTECTED] wrote: I have a canvas consisting of 5 different radio button groups: Lec, Dis, Ind, Sem, and Act. In my Script I have the following: var rb:RadioButton; rb.label = (L

[flexcoders] Re: Link Inside of TextBox

2008-04-13 Thread kenny14390
On Mon, Mar 31, 2008 at 5:46 PM, kenny14390 [EMAIL PROTECTED] wrote: Is there a way to place a link (either LinkButton or just a plan hyperlink) inside of a TextBox component?

[flexcoders] Re: RadioButtonGroup numRadioButtons never changing

2008-04-12 Thread kenny14390
. You can call validateNow on the buttons or wait a frame. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Friday, April 11, 2008 7:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] RadioButtonGroup

[flexcoders] RadioButtonGroup numRadioButtons never changing

2008-04-11 Thread kenny14390
I have a canvas consisting of 5 different radio button groups: Lec, Dis, Ind, Sem, and Act. In my Script I have the following: var rb:RadioButton; rb.label = (L) +l.dataProvider.source[m]; rb.name = l.dataProvider.source[m]; rb.groupName = Lec; rb.x = x; rb.y = y; y+=15;

[flexcoders] Custom PopUp TitleWindow Sending Status Back to Main App

2008-04-04 Thread kenny14390
I made a custom TitleWindow to log a user in or register them and I invoke it from the main application using: this.helpWindow = PopUpManager.createPopUp(canvas3, login, false); canvas3 is just the Canvas that I want the PopUp to be centered in, and login is the name of my custom component. I

[flexcoders] Re: Custom PopUp TitleWindow Sending Status Back to Main App

2008-04-04 Thread kenny14390
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Friday, April 04, 2008 7:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom PopUp TitleWindow Sending Status Back to Main App I made a custom TitleWindow to log a user

[flexcoders] Reloading too quickly raising errors with HTTPService

2008-03-31 Thread kenny14390
I have an application with an HTTPService on my main page and if the page is reloaded too quickly, ugly error messages pop up, which is definitely something I want to conceal. I surrounded the service's send() method with a try catch but that's not helping. Any ideas on how to fix it or just to

[flexcoders] Re: Reloading too quickly raising errors with HTTPService

2008-03-31 Thread kenny14390
/catch in a way. Setup a fault event handler to see what's going on/catch faults. DK On Mon, Mar 31, 2008 at 6:16 AM, kenny14390 [EMAIL PROTECTED] wrote: I have an application with an HTTPService on my main page and if the page is reloaded too quickly, ugly error messages pop up, which

[flexcoders] Link Inside of TextBox

2008-03-31 Thread kenny14390
Is there a way to place a link (either LinkButton or just a plan hyperlink) inside of a TextBox component?

[flexcoders] Custom Component and Parent Communication

2008-03-30 Thread kenny14390
How can I make the custom component tell the parent when it was clicked? I can't figure out how to make them communicate except for the parent making a new custom component and setting its properties. I'd like to get an event or a function call when the component is clicked (mouseDown). Thanks.

[flexcoders] Re: Custom Component and Parent Communication

2008-03-30 Thread kenny14390
Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com kenny14390 wrote: How can I make the custom component tell the parent when it was clicked? I can't figure out how to make them communicate except for the parent making a new custom component and setting its properties

[flexcoders] Read Contents of a Web Page

2008-03-28 Thread kenny14390
Hi. I'm trying to get the contents of a web page to read and parse and return a certain value on that page. The URL looks something like this: https://longaddress?something=aaother=CRN The CRN value at the end is variable and changing it will lead to a different web page. So I want the user to

[flexcoders] Re: Read Contents of a Web Page

2008-03-28 Thread kenny14390
]); ? From the Flex application, just call proxy.php?proxy_url=http://otherdomain.com Since the proxy.php file is in the local domain, it is in the sandbox and PHP is doing all of the out-of-the-sandbox work, not Flash. --- In flexcoders@yahoogroups.com, kenny14390 [EMAIL PROTECTED] wrote: Hi

[flexcoders] Adding RadioButtons Dynamically

2008-03-28 Thread kenny14390
I'm adding RadioButtons dynamically and it works fine when I run it locally, but when I upload it to my server, the radios never show up. I can't debug because it actually works when I run it. The problem is that the exported project runs differently, somehow. Any ideas on what might be going on?

[flexcoders] Re: Setting a label to be the length of a List component

2008-03-27 Thread kenny14390
PROTECTED] wrote: Are you sure you want to use length and not length() ? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Saturday, March 22, 2008 11:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

[flexcoders] Re: Setting a label to be the length of a List component

2008-03-27 Thread kenny14390
alex, i realized that i put the link to my site in this thread and now the thread is coming up in search results for my site. i deleted all of my posts to keep them out of the search, but your post quotes mine. would you mind deleting it? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL

[flexcoders] Drag and Drop for Variable Custom Component

2008-03-26 Thread kenny14390
Hi. I've read the documentation about drag and drop and I've read up on custom components, but my case is a little different. I'm never directly invoking my custom component, but rather conditionally invoking it (if a condition is true). So I don't write the tags for the component, I'm just adding

[flexcoders] Re: Drag and Drop for Variable Custom Component

2008-03-26 Thread kenny14390
Would it be easier to make the draggable elements in Flash then import it into Flex? This way I can control the mouseOver/Down/Release events in the (easier to use) Flash environment. Does this facilitate the drag and drop process at all? --- In flexcoders@yahoogroups.com, kenny14390 [EMAIL

[flexcoders] Adding Children to Canvases

2008-03-25 Thread kenny14390
I have 7 Canvases, one for each day of the week. When the user wants to add something to the weekly schedule, it could have multiple days (Monday and Wednesday, for example). The days to add are in a string like this: UMTWRFS, where each letter represents a corresponding day of the week. If the

[flexcoders] Re: Adding Children to Canvases

2008-03-25 Thread kenny14390
I tried using for loops to iterate through the days string, but that will not even display any of the days or none will display correctly. Interestingly, if I reverse the order of the if statements, like this: if (days.search(U)!=-1){ sun.addChild(item);

[flexcoders] Re: Adding Children to Canvases

2008-03-25 Thread kenny14390
Thank you, Gordon! That did the trick. Here is the clone() method I wrote: public function clone():ScheduleElement{ var clone:ScheduleElement = new ScheduleElement(); clone.setLabels(this.crsDeptLbl,this.crsNumLbl);

[flexcoders] Re: Using the hovered index of a List to define a ToolTip

2008-03-24 Thread kenny14390
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Sunday, March 23, 2008 4:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Using the hovered index of a List to define a ToolTip I searched the livedocs and couldn't find

[flexcoders] Re: Setting a label to be the length of a List component

2008-03-23 Thread kenny14390
: kenny14390 [EMAIL PROTECTED] Date: Sat, 22 Mar 2008 09:42:32 To:flexcoders@yahoogroups.com Subject: [flexcoders] Re: Setting a label to be the length of a List component I solved the problem in a brute force method of counting iteratively during the process of compiling the XML file

[flexcoders] Re: Setting a label to be the length of a List component

2008-03-23 Thread kenny14390
sorry, the URL is http://bingbuilder.com/bin-release/CourseSelector.html

[flexcoders] Re: Using the hovered index of a List to define a ToolTip

2008-03-23 Thread kenny14390
event. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Saturday, March 22, 2008 12:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Using the hovered index of a List to define a ToolTip I have

[flexcoders] Re: Setting a label to be the length of a List component

2008-03-22 Thread kenny14390
The id of my HTTPService is srv and I get errors on the line that I write: srv.lastResult.length() My XML tree looks somewhat like this: Schedule - Info - Term --Department ---Course Section --Department ... It pretty much goes on and on in the Department, Course, Section elements. I'm

[flexcoders] Using the hovered index of a List to define a ToolTip

2008-03-22 Thread kenny14390
I have a list whose data is variable, so the application must know the index of the item in the list that the user selects. I know clicking on an item will set several of the List's fields, but what about hovering the mouse over that item? I want to use tooltips to display the full version of the

[flexcoders] Re: Setting a label to be the length of a List component

2008-03-22 Thread kenny14390
of (something).length - though length is sometimes followed by empty parenthesis. --- In flexcoders@yahoogroups.com, kenny14390 [EMAIL PROTECTED] wrote: The id of my HTTPService is srv and I get errors on the line that I write: srv.lastResult.length() My XML tree looks somewhat like

[flexcoders] Setting a label to be the length of a List component

2008-03-21 Thread kenny14390
I'm using HTTPService to connect to an XML file and use that as a dataProvider to a mx:List component. I'd like to display somewhere in the app the number of items in the List. I've tried everything obvious and I'm stumped. Any help?

[flexcoders] Re: Using an XML file as a dataProvider and accessing its data

2008-01-14 Thread kenny14390
That was very helpful, thank you! Two follow up questions. What are the similarities/differences advantages/disadvantages of using multiple Lists instead of DataGrid? For example, if the data of the second column depends on the selection in the first column, I found it easier to just make each

[flexcoders] Horizontal Scrolling List

2008-01-14 Thread kenny14390
Hi. I've had the idea to have a horizontally scrolling list, but I'm not sure how to make it using the Flex components. I guess another way to describe it would be like a marquee or a ticker (like stocks on MSNBC). The elements are arranged horizontally and they slide both left and right-ward.

[flexcoders] Using an XML file as a dataProvider and accessing its data

2008-01-13 Thread kenny14390
I started with Flex a couple days ago and I'm just learning the basics. This shouldn't be too hard to answer, but getting me to understand it would be the hard part! If I have an XML file with parents, children, and siblings (see the example below), how can I link say a DataGrid to a child