[flexcoders] What data type is this? var service = __locator.getService(roService);

2008-07-19 Thread dnk
Warning: Id 3604: You should now use one of the strongly typed methods for returning a service. What to Type it as? I thought remoteObject, but the compiler complains with: Id 1118: Implicit coercion of a value with static type mx.rpc:AbstractService to a possibly

Re: {Disarmed} Re: [flexcoders] Variable Typecasting

2008-07-19 Thread Sid Maskit
Interesting. Thanks for the clarification. I guess I have been thinking that if FlexBuilder doesn't show something as an option in the code completion menu that I should avoid using it, or should only use it with bracket syntax. This might just be me, but I would go a little further and say

Re: [flexcoders] Screen Refresh function??

2008-07-19 Thread Dan Pride
Thanks for the insight into the problem, it helped a great deal. I came up with another solution which seems to work and conceptually at least seems a little simpler. I put the proceedure to fill in the text fields in a creation complete event in the Canvas, then called the view of the

Re: [flexcoders] Screen Refresh function??

2008-07-19 Thread Dan Pride
Odd, actually I have to call it in both places in its entirety, then it works fine. If I call the display from the double click, then fill from the complete, it misses the selected. But if I call it from both it works fine. So if I do this am I always running it twice or just on the first go

[flexcoders] htmlText to Text

2008-07-19 Thread hugocorept
Hi guys, Does somebody have an idea to convert htmlText to text, it means remove the Angle Brackets. Example: FONT ...Lorem Ipsum/FONT to Lorem Ipsum I don't know, RegExp, some String Method ? :S Thanks, Core

[flexcoders] need help urgent - multiple images printing

2008-07-19 Thread sondang paruliant
Dear all need help how to printing multiple images (1000 images) I try using images loader to printing but cannot shown in printing result. when Using Reperter to call multiple images Good work but to heavy and make long time loading. I try Using mx:list and itemRenderer to Get images data

[flexcoders] NEED HELP URGENT MULTIPLE IMAGES PRINTING MORE THAN 1000 IMAGES

2008-07-19 Thread sondang paruliant
Dear all need help how to printing multiple images (1000 images) I try using images loader to printing but cannot shown in printing result. when Using Reperter to call multiple images Good work but to heavy and make long time loading. I try Using mx:list and itemRenderer to Get images data

[flexcoders] NEED HELP URGENT MULTIPLE IMAGES PRINTING MORE THAN 1000 IMAGES

2008-07-19 Thread sondang paruliant
Dear all need help how to printing multiple images (1000 images) I try using images loader to printing but cannot shown in printing result. when Using Reperter to call multiple images Good work but to heavy and make long time loading. I try Using mx:list and itemRenderer to Get images data

[flexcoders] Re: htmlText to Text

2008-07-19 Thread hugocorept
Nevermind, i resolved it. Create a RichTextEditor pass the htmlText to it, then accessing to is Text proproety it's tag free :D Example: mx:RichTextEditor x=20 y=10 title=Title id=richText mx:htmlText ![CDATA[

Re: [flexcoders] Screen Refresh function??

2008-07-19 Thread shaun
Hi, Dan Pride wrote: Odd, actually I have to call it in both places in its entirety, then it works fine. If I call the display from the double click, then fill from the complete, it misses the selected. But if I call it from both it works fine. So if I do this am I always running it

[flexcoders] Re: Passing data to AdvancedDataGridRendererProvider

2008-07-19 Thread Amy
--- In flexcoders@yahoogroups.com, frank_sommers [EMAIL PROTECTED] wrote: Hi, I'm trying to pass some custom data into the AdvancedDataGridItemRenderer. But as far as I can see, only the datafield can be passed to this component. Is there any way to specify to the class factory some

[flexcoders] Re: Aligning images in TileList itemRenderer

2008-07-19 Thread Amy
--- In flexcoders@yahoogroups.com, lelander [EMAIL PROTECTED] wrote: Hello! I'm working on an app that allows users to drag variable height images from a List onto a shelf; think of it as something like variable height spines of books on a shelf. All the widths can be the same. Can I

[flexcoders] Re: Screen Refresh function??

2008-07-19 Thread Amy
--- In flexcoders@yahoogroups.com, Dan Pride [EMAIL PROTECTED] wrote: Thanks for the insight into the problem, it helped a great deal. I came up with another solution which seems to work and conceptually at least seems a little simpler. I put the proceedure to fill in the text fields in

[flexcoders] Set attributes and methods of dynamically added controls

2008-07-19 Thread daddyo_buckeye
I'm trying to add a number of colorpickers and textareas to my app dynamically. Each item needs a separate id, and the colorpickers need to call an open() and change() method and pass the textarea id as a parameter along with the event. I'm a little baffled on how to set the methods, but my

Re: [flexcoders] Set attributes and methods of dynamically added controls

2008-07-19 Thread shaun
daddyo_buckeye wrote: I'm trying to add a number of colorpickers and textareas to my app dynamically. Each item needs a separate id, and the colorpickers need to call an open() and change() method and pass the textarea id as a parameter along with the event. I'm a little baffled on how

[flexcoders] Re: Set attributes and methods of dynamically added controls

2008-07-19 Thread Amy
--- In flexcoders@yahoogroups.com, daddyo_buckeye [EMAIL PROTECTED] wrote: I'm trying to add a number of colorpickers and textareas to my app dynamically. Each item needs a separate id, and the colorpickers need to call an open() and change() method and pass the textarea id as a

Re: [flexcoders] htmlText to Text

2008-07-19 Thread Sid Maskit
I've only tested this with the actual sample below, so it may need some refinement, but this should get you started: var myText:String = 'p class=myClassmy text/p'; myText = myText.replace(/\.*?\/g, ); trace(myText); Hope that helps, Sid -

Re: [flexcoders] Re: htmlText to Text

2008-07-19 Thread Sid Maskit
I don't know if this will be of interest to anyone, but I learned something trying to respond to this post. I thought that it would be cool to do this entire thing within ActionScript. I managed to get it working, but it took a little bit more than I thought it would. One can use the text

Re: [flexcoders] Set attributes and methods of dynamically added controls

2008-07-19 Thread shaun
shaun wrote: daddyo_buckeye wrote: [snip] Any thoughts on how I can accomplish this? As a guess.. ssPicker.open = openEvt; ssPicker.change = changeColor; Whoops. Scrap that. As Amy said, it should be using addEventListener.. Getting languages mixed up... :-/ lookup[ssPicker.id] =

Re: [flexcoders] Re: htmlText to Text

2008-07-19 Thread Sid Maskit
Oops, please ignore the Singleton line; it's old code in my testing file. Also, here's slightly revised to correctly remove listener instead of using boolean flag: private var myControl:TextInput; private function init():void { var myText:String = 'pmy text/p';

[flexcoders] Tortoise and Flex 4

2008-07-19 Thread Sherif Abdou
I am using Tortoise to get Flex 4 from the trunk, I was wondering do i need to recompile everytime Tortoise does an update and downloads new files or update old ones? Is running ant -q main in cygwin a one time thing?

[flexcoders] Form question

2008-07-19 Thread [p e r c e p t i c o n]
Hi Experts, is there some advantage to putting the components in a form as opposed to just putting the components in the panel or canvas? thanks percy

Re: [flexcoders] Re: Performance profile strangeness

2008-07-19 Thread Douglas Knudsen
double check that you are using the debug player too http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19245 some updates have a mysterious way of switching to the release player I've noticed. DK On Fri, Jul 18, 2008 at 6:02 PM, Mike [EMAIL PROTECTED] wrote: 9,0,115,0 ... the one

Re: [flexcoders] Re: Performance profile strangeness

2008-07-19 Thread Douglas Knudsen
even better http://flashplayerversion.com/ nice! DK On Sat, Jul 19, 2008 at 4:02 PM, Douglas Knudsen [EMAIL PROTECTED] wrote: double check that you are using the debug player too http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19245 some updates have a mysterious way of

[flexcoders] Re: Set attributes and methods of dynamically added controls

2008-07-19 Thread daddyo_buckeye
I was just experimenting with using the 'for' loop to add them dynamically just to see how it's done. I'm pulling the number of colorpickers needed from an XML file, and I need them to run a function to color specific items from that XML file. Sherm --- In flexcoders@yahoogroups.com, Amy

[flexcoders] Re: Aligning images in TileList itemRenderer

2008-07-19 Thread lelander
HI Amy, It did not fix it completely, but maybe we're getting closer. All the images are cut off at about the center, but I am seeing the varying heights of the images. I wish there was a way to move them all up about 200 pixels. Thanks for your comment just the same! JP --- In

Re: [flexcoders] TextArea popup editor in DataGrid

2008-07-19 Thread Glenn Jones
Yes, I don't want the TA to fit within a single Row. You're right - the case for TA at the bottom of a DG is a problem. Today, the TA gets clipped, so that's not good either. The PopupButton doesn't have either problem. How does the PopUpButton popup? On Fri, Jul 18, 2008 at 4:42 PM, Alex

Re: [flexcoders] Re: Flash USB-API :)

2008-07-19 Thread dorkie dork from dorktown
@Rick - That doesn't really help solve the problem. And because it doesn't exist or it would be difficult isn't a reason for not including it. People still have applications that need to be built that include this support. dorkie a little bit late to the conversation dork from dorktown On Tue,

[flexcoders] Re: Aligning images in TileList itemRenderer

2008-07-19 Thread lelander
HI Alex, I'm using TileList. Can the image be contolled within the renderer so that it appears that the images work with different heights, even though the renderer (vbox in my case) is the same size? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: A tileLists

[flexcoders] Re: Aligning images in TileList itemRenderer

2008-07-19 Thread Amy
--- In flexcoders@yahoogroups.com, lelander [EMAIL PROTECTED] wrote: HI Amy, It did not fix it completely, but maybe we're getting closer. All the images are cut off at about the center, but I am seeing the varying heights of the images. I wish there was a way to move them all up about

[flexcoders] controls not not loading..

2008-07-19 Thread [p e r c e p t i c o n]
Hello Good People, I've Extended TitleWindow and also created a corresponding mxml component. When I create it using mxml in my application it's created with all of the controls i laid out in the design view no problem, but when i try to create it dynamically (new operator) none of the controls

[flexcoders] Re: Set attributes and methods of dynamically added controls

2008-07-19 Thread Amy
--- In flexcoders@yahoogroups.com, daddyo_buckeye [EMAIL PROTECTED] wrote: I was just experimenting with using the 'for' loop to add them dynamically just to see how it's done. I'm pulling the number of colorpickers needed from an XML file, and I need them to run a function to color

[flexcoders] Re: Form question

2008-07-19 Thread Amy
--- In flexcoders@yahoogroups.com, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: Hi Experts, is there some advantage to putting the components in a form as opposed to just putting the components in the panel or canvas? thanks Built-in labels and default button. That's about as many as

Re: [flexcoders] Re: Form question

2008-07-19 Thread [p e r c e p t i c o n]
wow...i've really been making life hard for myself by using spacers and v/h boxes to lay them out... thanks... On Sat, Jul 19, 2008 at 4:51 PM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:

[flexcoders] Drawing on Canvas using Graphics API with backgroundColor

2008-07-19 Thread Vijay Ganesan
I'm trying to draw a line on a Canvas using the Graphic API as follows: myCanvas.graphics.clear(); myCanvas.graphics.lineStyle(2); myCanvas.graphics.moveTo(0,0); myCanvas.graphics.lineTo(100,100); This works fine as long as the Canvas does not have a backgroundColor style property set. Once the

RE: [flexcoders] Re: Flash USB-API :)

2008-07-19 Thread Rick Winscot
Then use Merapi - if it is important to you. but just because it is important to you doesn't mean that the development cost is justifiable. If this isn't the 'solution' that you hope for. make a case - submit it as a feature request to Adobe and try to garner some support for the feature. R

Re: [flexcoders] Tortoise and Flex 4

2008-07-19 Thread shaun
Sherif Abdou wrote: I am using Tortoise to get Flex 4 from the trunk, I was wondering do i need to recompile everytime Tortoise does an update and downloads new files or update old ones? Yes. Is running ant -q main in cygwin a one time thing? No. Depending on the files that have changed

[flexcoders] Re: Drawing on Canvas using Graphics API with backgroundColor

2008-07-19 Thread Tim Hoff
Hi Vijay, If you want to draw a line on top of the background of a canvas, you can draw it in a BorderSkin. Or, something like this works, usually by overriding createChildren(): var myComponent:UIComponent = new UIComponent(); var myShape:Shape = new Shape(); myShape.graphics.lineStyle(2);