Re: [flexcoders] Re: How to create Flex 4 Library Project with custom namespace please ?

2010-03-15 Thread Adnan Doric
Thank you for you reply, but I've done steps you describe but in FB4 and it doesn't work. I have the following error in library project (manifest.xml is added in assets tab) : could not find source for class myPackage:TestComponent in namespace http://mynamespace.com. Did you take a look at

[flexcoders] Re: HorizontalList and itemRenderer

2010-03-15 Thread prince.sidana84
Well you can not get height 100% as height is explicitly calculated by number of rows and rowheight so if you have just single row then set the rowheight = this.height and if you have multiple rows calculate the row height from dataproveider length and application height say if you have 7

[flexcoders] Adding a button Icon

2010-03-15 Thread criptopus
// Add TLink To Issue Box issButArray.push(new Button()); issButArray[i].icon=@Embed(source='icons/more.gif'); issHbxArray[i].addChild(issButArray[i]); Error : Cannot create property icon on mx.controls.Button how do I set a buttons icon programatically? - Stephen

[flexcoders] Re: Automatically update ValueObjects...

2010-03-15 Thread valdhor
What I generally do is not use a Working Folder on the server. I use the Live folder for everything. Is there any specific reason you need a Working Folder? If this is new code, don't you need new ValueObjects? If this is existing code and you need to add new properties to a ValueObject, (I

Re: [flexcoders] Adding a button Icon

2010-03-15 Thread Robert VanCuren Jr
you need to use the setStyle method because icon is a style not a property. myButton.setStyle(icon, source); On Mon, Mar 15, 2010 at 8:20 AM, criptopus sd_br...@ntlworld.com wrote: // Add TLink To Issue Box issButArray.push(new Button());

[flexcoders] Re: Adding a button Icon

2010-03-15 Thread criptopus
issButArray[i].setStyle(icon,@Embed(source='icons/more.gif')); Type Coercion failed: cannot convert @Embed(source='icons/more.gif') to Class? - New error? --- In flexcoders@yahoogroups.com, Robert VanCuren Jr robert.vancuren...@... wrote: you need to use the setStyle method because icon is a

[flexcoders] Re: How to create Flex 4 Library Project with custom namespace please ?

2010-03-15 Thread Jeff
I did not see your original post on the Adobe Forums. Did you include the manifest.xml as an asset to the project? Did you clean the project after adding the asset? --- In flexcoders@yahoogroups.com, Adnan Doric astrona...@... wrote: Thank you for you reply, but I've done steps you describe

Re: [flexcoders] Re: Adding a button Icon

2010-03-15 Thread Robert VanCuren Jr
That embed will not work because it is in action script and will be treated as a string try something like this: First embed the image you want to use as an icon as a Class like so [Embed(source=icons/more.gif)] [Bindable] public var buttonIcon:Class; Now you can use it for your button like

[flexcoders] Re: Adding a button Icon

2010-03-15 Thread valdhor
Yes, this requires a class. Try creating variables to hold your icons and then declaring them in your class... [Embed(source=icons/more.gif)] private var moreIcon:Class; Then use the class in the setStyle method... (issButArray[i] as Button).setStyle(icon, moreIcon); --- In

[flexcoders] Drawing and Bitmaps on text

2010-03-15 Thread atlantageek
Is there a method for drawing lines and text onto a bitmap?

[flexcoders] I need some basic ActionScript help that I'm stumped on

2010-03-15 Thread Mark
I'm having an issue with finding the length of the number of children items in my ArrayCollection. A small part of the xml that is being pulled in is below. You'll see that I have a node links with a child or children node link. If I have 2 or more link nodes then the length comes back with

Re: [flexcoders] Re: How to create Flex 4 Library Project with custom namespace please ?

2010-03-15 Thread Adnan Doric
Yes of course, manifest.xml is added and project cleaned. Did you try it in FB4 too ? On 15/03/2010 14:09, Jeff wrote: I did not see your original post on the Adobe Forums. Did you include the manifest.xml as an asset to the project? Did you clean the project after adding the asset? --- In

[flexcoders] Rendering HTML table in a rich text editor

2010-03-15 Thread jerry_gagliano
Hi, I am trying to figure out how to render HTML Table tags in the rich text editor. I created a button that generates the table structure but when it gets inserted to the editor it strips out all the table tags. Does anyone have any solutions? Thanks in advance

[flexcoders] BlazeDS won't 'close' db connections

2010-03-15 Thread Mario
Help! I am writing a Flex/Java app. In a nutshell, it polls a backend (Java Dao) every so often. This java method, in turn, fetched information from a database. Its a thing of beauty which will allows (will) to monitor obscenely complex processes; makes for a sweet demo. I'm stumped at

[flexcoders] Canvas or VBox has MAX height limitation?

2010-03-15 Thread Jonathan Lee
Hello all: I'm using a Canvas to hold a list of different TileList. Every TileList is a Child of another Canvas which can set to open/close the canvas by set the height to 10 or the real height that is needed to show everything inside TileList. The outside Canvas allows scroll bar, and

RE: [flexcoders] Synchronize with Flex ??? the equivalent of wait or sleep in Java-----AnyHelp please :(

2010-03-15 Thread Nini7016 Nini7016
Hello :) Did anybodu has worked with synchrone components please ?? I would like to do the equivalent of wait or sleep .?? Anyhelp please ;( To: flexcoders@yahoogroups.com From: nahloulaha...@hotmail.com Date: Sat, 13 Mar 2010 12:48:12 +0100 Subject: RE: [flexcoders] Synchronize with Flex

[flexcoders] Send a fax

2010-03-15 Thread Christophe
Hello, Is it possible to send a Fax from a Flex application ? Thank you, Christophe,

[flexcoders] Re: Flex 4....Large recordset...how much is too much?

2010-03-15 Thread gmbroth
I'm curious: what's the use case for pushing 15 million (or, heck, even 50,000) records to the client? --- In flexcoders@yahoogroups.com, iloveyouwisconsin iloveyouwiscon...@... wrote: Maybe I'll have to wait until Flex 7 (or later) 'til they truly make flex able to handle large datasets

[flexcoders] Re: Adding a button Icon

2010-03-15 Thread criptopus
Up and running, thanks again. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Yes, this requires a class. Try creating variables to hold your icons and then declaring them in your class... [Embed(source=icons/more.gif)] private var moreIcon:Class; Then use the class

[flexcoders] Compiler Not Reporting Errors

2010-03-15 Thread okie_174
Yesterday I found that Flex Builder (v3) was no longer reporting compiler errors when compiling. It is reporting warnings but no errors. I purposely introduced errors and it will build the project and then present a blank screen. I have looked to see if there's some sort of setting I made by

[flexcoders] Adding a click to a button

2010-03-15 Thread criptopus
Thanks for those that helped with setting the Icon style with a button programatically but now I have a problem with the click event. // Add Link To Issue Box issButArray.push(new Button()); issButArray[i].setStyle(icon,moreIcon); -- Thanks!

[flexcoders] Re: Send a fax

2010-03-15 Thread valdhor
It depends. If you are using AIR, you could use Merapi to connect with a Java application to send the fax. If you are using a browser, you would have to send the data to a back end server which could send the fax. For example, using PHP, you could create a PDF with TCPDF

[flexcoders] Re: Adding a click to a button

2010-03-15 Thread valdhor
(issButArray[i] as Button).addEventListener(MouseEvent.click, moreDetail); --- In flexcoders@yahoogroups.com, criptopus sd_br...@... wrote: Thanks for those that helped with setting the Icon style with a button programatically but now I have a problem with the click event. // Add Link To

Re: [flexcoders] Re: How to create Flex 4 Library Project with custom namespace please ?

2010-03-15 Thread Adnan Doric
Alright, the problem occurs only if the checkbox include all classes... is selected. Very weird. Hope that helps someone :) On 15/03/2010 14:51, Jeffry Houser wrote: Yep, no issues in Flash Builder 4. It works fine for me! I'm not sure what to tell you. On 3/15/2010 9:34 AM, Adnan

[flexcoders] Re: I need some basic ActionScript help that I'm stumped on

2010-03-15 Thread valdhor
I'm not great with XML (That's more Tracy's forte) but shouldn't it be trace(myADG.selectedItem.links.length); --- In flexcoders@yahoogroups.com, Mark mark.pusat...@... wrote: I'm having an issue with finding the length of the number of children items in my ArrayCollection. A small part of

[flexcoders] Re: i do not get flex 4 skinning?

2010-03-15 Thread Ariel J
You can use illustrator or fireworks in CS5 and export the vector drawings as FXG (XML) that can be pasted into a Flex 4 skin and compiled. Get to me at arieljake at yahoo dot com if you want help with that process. --- In flexcoders@yahoogroups.com, dorkie dork from dorktown

Re: [flexcoders] mxlm component instantiation using ActionScript

2010-03-15 Thread Alex Harui
You can build that way, but use Label instead of TextField On 3/12/10 9:03 AM, normc_actionscript normcousin...@hotmail.com wrote: Is it possible/advisable to add an mxml component to the application by doing this from a Flex container: var myComp:myCustomPanel = new myCustomPanel(); //

[flexcoders] Re: Automatically update ValueObjects...

2010-03-15 Thread Laurence
Tracy: It does appear that using a relative path will not work... At least not in the .CFC files... (It does appear to work if I specify the relative-path in the Flex .AS component, and the full-path in the .CFC files, however...) So apparently CF is looking for the path relative to the

[flexcoders] Daylight savings bug

2010-03-15 Thread Richard Rodseth
Wouldn't you know it. A bug showed up today. I have a label function for a chart axis that does this: return dateTimeFormatter.format(DateUtils.adjustForTimeZone(labelValue)); public static function adjustForTimeZone(d:Date):Date { // Assumes d

[flexcoders] Vertical DataGrid resizing is sporadic

2010-03-15 Thread atomilux
I never got this to work consistently. Original: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg128005.html Alex Harui was kind enough to respond and requested an example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

Re: [flexcoders] Synchronize with Flex ??? the equivalent of wait or sleep in Java-----AnyHelp please :(

2010-03-15 Thread Alex Harui
What are you trying to accomplish? On 3/15/10 7:17 AM, Nini7016 Nini7016 nahloulaha...@hotmail.com wrote: Hello :) Did anybodu has worked with synchrone components please ?? I would like to do the equivalent of wait or sleep .?? Anyhelp please ;( To:

Re: [flexcoders] Canvas or VBox has MAX height limitation?

2010-03-15 Thread Alex Harui
The player doesn’t like pixels greater than 8000 or so. That’s why TileList virtualizes what it displays. On 3/15/10 7:12 AM, Jonathan Lee jlee_lee740...@yahoo.com wrote: Hello all: I'm using a Canvas to hold a list of different TileList. Every TileList is a Child of another Canvas

Re: [flexcoders] Drawing and Bitmaps on text

2010-03-15 Thread Alex Harui
Not the way you’re probably thinking of it. You would assemble a display list of some TextWidgets on top of a Bitmap and draw lines on it. On 3/15/10 6:13 AM, atlantageek atlantag...@gmail.com wrote: Is there a method for drawing lines and text onto a bitmap? -- Alex Harui Flex SDK

[flexcoders] Charting woes, a strange sort

2010-03-15 Thread s_grollins
Hi all, I have a quick question regarding arranging different bars or columns in a chart - if you use the following page as an example: http://livedocs.adobe.com/flex/3/langref/mx/charts/ColumnChart.html, what I need to do is to make the actual bars in the chart sort descending - so I would

[flexcoders] List TileList Accordion and HTTPService control [1 Attachment]

2010-03-15 Thread Sneha Bhansali
Hello All flexcoders, I have a small problem in my mxml file. I have attached a file too. In this application I am trying to do is: 1) User selects more than one location from a list control. Depending on locations selected I generate the number of child panels in an accordion with the title as

[flexcoders] show handcursor on mouseOver UITextField

2010-03-15 Thread siddiq
Hi May i know how do i use useHandCursor for a UITextField.Basically i have a AdvancedDataGrid in which i am using AdvancedDataGirdGroupItemRenderer for displaying hierarchical data with textLinks i need useHandCursor on mouseOver of the label(i am using super.label to add styles and

[flexcoders] Re: Daylight savings bug

2010-03-15 Thread Richard Rodseth
It looks as though I ran into this: http://bugs.adobe.com/jira/browse/FLEXDMV-2043 Switching to 3.4 cleared it up, though some of the comments in that bug make me a little nervous about November... On Mon, Mar 15, 2010 at 1:15 PM, Richard Rodseth rrods...@gmail.com wrote: Wouldn't you know it.

[flexcoders] Re: Flex 4....Large recordset...how much is too much?

2010-03-15 Thread iloveyouwisconsin
We have a need for that in our project. I will say that much w/out giving away the idea. The question, though, is why is Flex (without hacks) limiting the amount of data we can view? The datagrid should be smarter than it is and in my opinion has a long way to go in order to be a truly viable

[flexcoders] xml parsing

2010-03-15 Thread luvfotography
What does '*::' do in the following example: (can someone explain how this works, where aspectRatios ends up with 'widescreen') var aspectRatios:XMLList = atomXml..*::aspectRatio; where atomxml = ?xml version=1.0 encoding=utf-16? entry gd:etag=W/quot;C0QCQ347eCp7ImA9WxBbFkk.quot;

Re: [flexcoders] Re: Flex 4....Large recordset...how much is too much?

2010-03-15 Thread Alex Harui
Can you reproduce your problem in a simple test case? You say you aren’t bringing down the full data set all at once so unless your data records are really big or you are trying to make the datagrid really “tall” so it can display without scrollbars, I wouldn’t expect you to run out of memory.