[flexcoders] Re: How to make an RPC call secure

2008-10-13 Thread Abdul Razak PM
Hi jitendra, Thank you for your reply, I'm doing form-based login and different role creation. My doubt is even if I didn't give role , The User who knows my remote methods can call these methods from his client(suppose he created a new GUI with my remote methods). How can I block it?, https

[flexcoders] Who can explain this SWFLoader issue?

2008-10-13 Thread Zhiqiang
Hi, When I use SWFLoader to load a SWF built by Flash CS3, the SWFLoader can not display the background color of the loaded SWF. If the SWF is built by Flex SDK framework, the SWFLoader can display the background color. Who can tell me the reason. Thanks, Zhiqiang

[flexcoders] Custom Tooltip

2008-10-13 Thread Manu Dhanda
Hii I was looking for a custom tooltip. Is there a way that I can pass an object to a tooltip rather then a String. Say, I want to pass an Arraycollection.. Is that possible?? And if it is.. then how? Thanks. -- View this message in context:

[flexcoders] Re: Error #1063: Argument count mismatch using read/writeobject in AIR

2008-10-13 Thread Claudio M. E. Bastos Iorio
BTW, If you guys test my example doen't show any error. But is not complete. Let me show you some code: My Class: package { [Bindable] [RemoteClass(alias='MyClass')] public class MyClass { public function MyClass(mystring:String) { } } } Save and open: private

[flexcoders] Custom itemRenderer for Tree

2008-10-13 Thread Weyert de Boer
Hello, I am currently trying to work on a itemRenderer for the Flex Tree component. Only I am having some trouble with it. I would like to to hard-code the itemHeight of every item in the list. My objective is to make an itemRenderer which has a image item and a label and together with two 1px

Re: [flexcoders] Custom itemRenderer for Tree

2008-10-13 Thread Michael Schmalle
I am using the following code: Did you use fontColor = white; ;-) Can't see the following code. Mike On Mon, Oct 13, 2008 at 9:15 AM, Weyert de Boer [EMAIL PROTECTED] wrote: Hello, I am currently trying to work on a itemRenderer for the Flex Tree component. Only I am having some trouble

[flexcoders] Re: Custom itemRenderer for Tree

2008-10-13 Thread fourctv
If you care to share the code someone might help you :-) it seems you forgot to paste it... --- In flexcoders@yahoogroups.com, Weyert de Boer [EMAIL PROTECTED] wrote: Hello, I am currently trying to work on a itemRenderer for the Flex Tree component. Only I am having some trouble with it.

[flexcoders] Re: AIT application window size

2008-10-13 Thread nathanpdaniel
There is a NativeWindow.maximize() function... --- In flexcoders@yahoogroups.com, Jim Hayes [EMAIL PROTECTED] wrote: (Probably) something along the lines of this.nativeWindow.width = Screen.mainScreen.visibleBounds.width; (and similar for height, x and y etc) There should be more

[flexcoders] AIR with twitter

2008-10-13 Thread abhishekchess1
hello all frnds, i want to connect my AIR application with twitter API, i never used any API before, i used mx:HTTPService id=httpSerSendMessage url=http://twitter.com/direct_messages/new.format; result= resultHandlerSendMessage(event); fault=faultHandlerSendMessage(event);

Re: [flexcoders] Re: Custom itemRenderer for Tree

2008-10-13 Thread Weyert de Boer
Sorry, the code was I was using can be found below now. I am using: ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:degrafa=com.degrafa.* xmlns:paint=com.degrafa.paint.* xmlns:geometry=com.degrafa.geometry.* height=22 degrafa:Surface

[flexcoders] Huge impact of Class and Function on memory usage

2008-10-13 Thread cesarerocchi
Hi, in profiling my application, when I visualize the loitering objects, my classes have an impact of the 5% on memory usage. I think it is not much, but I see a huge impact of Class, Function, Bitmapdata, Object, String. Are these classes generating memory leaks? -- Cesare Rocchi

Re: [flexcoders] Custom Tooltip

2008-10-13 Thread Flex Gangsta
Well, it all depends how you want it rendered... If you pass an array collection... For what reason and how do you want it to render? Sent from my iPhone On Oct 13, 2008, at 5:09 AM, Manu Dhanda [EMAIL PROTECTED] wrote: Hii I was looking for a custom tooltip. Is there a way that I can

Re: [flexcoders] Custom Tooltip

2008-10-13 Thread Manu Dhanda
I can always define a custom tooltip with a Panel, List or anything in it. But the real issue is, How can I pass data to it(as an Object/Collection), other then just text ??? Any idea/thoughts?? -Manu. Flex Gangsta wrote: Well, it all depends how you want it rendered... If you pass an

Re: [flexcoders] Java-like equals() method?

2008-10-13 Thread Maciek Sakrejda
Frank, There's no .equals() in actionscript unless you implement it yourself. Without hearing more about the context, it's hard to tell whether Jitendra's data binding solution would work for this specific problem (data binding would effectively set the list selection to an object that is not in

Re: [flexcoders] Re: Flex poster and Lynda.com free trial

2008-10-13 Thread Paul Andrews
Posters have arrived - a big thanks to everyone involved in their production and making them available. You've done a great job. Now I just need a bigger wall.. Paul - Original Message - From: Paul Andrews [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, September 30,

Re: [flexcoders] Re: How to make an RPC call secure

2008-10-13 Thread jitendra jain
Yes you are right.. It is a static method and returns the Session for the current request. so you can use getId method of this class. Moreover if you think of calling the remote methods from other GUI is not possible because they are in .class files. However flex sends the remote method as a

Re: [flexcoders] force SeriesInterpolate on BubbleSeries to preserve bubble order?

2008-10-13 Thread Pan Troglodytes
Well, it's been a while but I've finally been able to get back to this. Unfortunately, there are cases where this simply won't work. For example: [Bindable] public var d:ArrayCollection = new ArrayCollection([ new ArrayCollection([ {x:1, y:1, z:10}, {x:2,

Re: [flexcoders] Custom Tooltip

2008-10-13 Thread Flex Gangsta
For what reason do you want to pass an object to it? That might clear up any confusion that I have Sent from my iPhone On Oct 13, 2008, at 8:42 AM, Manu Dhanda [EMAIL PROTECTED] wrote: I can always define a custom tooltip with a Panel, List or anything in it. But the real issue is,

[flexcoders] open the other website

2008-10-13 Thread dialogtmp
dear all, I have a question about open the other website. I only know that I can use navigateToURL(urlRequest,_blank) to open anyone I want. But the method will open the new window. I want to open the other website without open new window in my flex website. Is that can implement? What

[flexcoders] Flex Workspace Preferences

2008-10-13 Thread Amy
Hi, all; Is there a way to copy preferences from one workspace to another? For example, things like my help contexts I always want to be the same across projects. But it's aggravating that each time I create a new project I have to do all this setup again. Thanks; Amy

RE: [flexcoders] AIT application window size

2008-10-13 Thread Jim Hayes
(Probably) something along the lines of this.nativeWindow.width = Screen.mainScreen.visibleBounds.width; (and similar for height, x and y etc) There should be more reliable info than mine available in the help, under Screen, however. -Original Message- From:

[flexcoders] SOT: Apache and Windows resources

2008-10-13 Thread Cutter (Flex Related)
Trying to setup some Alias paths, within Apache, exposing resources available on a Storage Area Network. These are primarily media type resources (site.com/images, site.com/media, etc.) When working with IIS, you set these up as Virtual Directories, and apply any user permissions within that

[flexcoders] Error #1063: Argument count mismatch using read/writeobject in AIR

2008-10-13 Thread Claudio M. E. Bastos Iorio
Hi, I'm using AMF format storing and retrieving objects using write and readobject() in AIR. But I have a problem. Let's say this is my class: (simple, no params in constructor) ActionScript Code: public class MyClass { public function MyClass():void { } } Then, I create

RE: [flexcoders] open the other website

2008-10-13 Thread Tracy Spratt
If you want the new url to open in the current window, *replacing* the Flex app, use _self in place of _blank. If you want the new site to open *within* the flex app, it is much harder. Flex, running in the Flash Player, cannot render full html. One solution is to use an IFRAME in your

Re: [flexcoders] Custom Tooltip

2008-10-13 Thread Manu Dhanda
ok, for an example, I have a row in the list. And for it's tooltip, I want to display various characteristics (which I have in the form of name/value pairs in a list). Does that give you an idea?? ---row1 ---row2 (ToolTip)[has a name/value list, which can be represented as a tooltip] ---

[flexcoders] Errror while accessing mxml component in external as file

2008-10-13 Thread anuj181
Hi Guys I am trying to implement the login form . The login form works fine when i use script and put all the action script in the main mxml file. But my requirements is to put all the action script in external as file and make things working. For some reason the builder does not like my login

[flexcoders] Troubleshooting Invalid Embed

2008-10-13 Thread Richard Rodseth
I'd appreciate some help troubleshooting this Flexbuilder error, as I don't recall how I resolved it the last time it drove me crazy: Invalid Embed directive in stylesheet - can't resolve source 'Embed(assets/images/dollar_large.png)'.FooAppline 7 First of all there's no style sheet.

[flexcoders] PopUpMenuButton.itemClick event

2008-10-13 Thread Maciek Sakrejda
I've set PopUpMenuButton.openAlways = true and it looks like the PopUpMenuButton itemClick event is firing even when I click on the main button (with the first item as the selected menu item). Is there any way to get around this? Basically, what I would like is to *only* pop up the menu when the

[flexcoders] Re: Smooth scrolling when setting verticalScrollPosition on TextArea

2008-10-13 Thread Kevin Fauth
That's funny, I JUST did that same thing last week on Wednesday. AnimateProperty is the right choice. Mine looks smooth during the movement, is yours doing something weird or choppy? You could also look at using an easing function and see what that does for you. - Kevin --- In

[flexcoders] Re: Custom Tooltip

2008-10-13 Thread Amy
--- In flexcoders@yahoogroups.com, Manu Dhanda [EMAIL PROTECTED] wrote: ok, for an example, I have a row in the list. And for it's tooltip, I want to display various characteristics (which I have in the form of name/value pairs in a list). Does that give you an idea?? ---row1

[flexcoders] function to get a color uint value from a color name string?

2008-10-13 Thread Pan Troglodytes
Is there a function somewhere that takes something like red as input and returns 0xFF? I've looked all over in the docs and can't find it. Thanks. -- Jason

RE: [flexcoders] function to get a color uint value from a color name string?

2008-10-13 Thread Gordon Smith
The badly-named StyleManager.getColorName() method. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan Troglodytes Sent: Monday, October 13, 2008 12:50 PM To: flexcoders Subject: [flexcoders] function to get a color uint value from a color name string? Is

Re: [flexcoders] function to get a color uint value from a color name string?

2008-10-13 Thread Pan Troglodytes
Ironically, this was the one class I skipped and meant to come back to while really casting about for anything that might even be close. Thanks! On Mon, Oct 13, 2008 at 2:54 PM, Gordon Smith [EMAIL PROTECTED] wrote: The badly-named StyleManager.getColorName() method. - Gordon

Re: [flexcoders] Flex Workspace Preferences

2008-10-13 Thread Douglas Knudsen
Maybe one way...open up your current workspace, choose File Switch Workplace Other. In the dialog you will see Copy Settings, toggle it open and check things off. Set and open your new workspace. HTH DK On Mon, Oct 13, 2008 at 12:37 PM, Amy [EMAIL PROTECTED] wrote: Hi, all; Is there

[flexcoders] Re: PopUpMenuButton.itemClick event

2008-10-13 Thread Tim Hoff
Hi Maciek, The click event pertains to the popup button itself. You can use that to open the menu: mx:PopUpButton id=myPopupButton creationComplete=initMyPopupButtonMenu() click={ myPopupButton.open() }/ The change event is the one that you use when a menu item is selected:

Re: [flexcoders] Re: PopUpMenuButton.itemClick event

2008-10-13 Thread Maciek Sakrejda
Thanks, Tim. I was hoping for something more straightforward (the PopUpMenuButton.itemClick description says Dispatched when a user selects an item from the pop-up menu; this is exactly what I want--or rather would be, if it did what is documented), but this will do. Thanks, -- Maciek Sakrejda

[flexcoders] Resource Bundle Missing in AIR

2008-10-13 Thread Geoffrey
I'm using localization on a flex project for a slightly different use. We have 2 projects that share the same code base, but we want to change some UI text that's displayed. So, we're using localization to swap certain text strings to be project specific. Everything works fine for the web

Re: [flexcoders] Errror while accessing mxml component in external as file

2008-10-13 Thread anuj sharma
hi all problem has been fixed.Scope of function needs to be changed. Thxs for ur help Anuj On Mon, Oct 13, 2008 at 10:38 AM, anuj181 [EMAIL PROTECTED] wrote: Hi Guys I am trying to implement the login form . The login form works fine when i use script and put all the action script in the

[flexcoders] Re: PopUpMenuButton.itemClick event

2008-10-13 Thread Tim Hoff
Actually itemClick should work for a PopupMenuButton. I misread your question as PopupButton. -TH --- In flexcoders@yahoogroups.com, Maciek Sakrejda [EMAIL PROTECTED] wrote: Thanks, Tim. I was hoping for something more straightforward (the PopUpMenuButton.itemClick description says

RE: [flexcoders] Remote calls are not happening using blazeDS in secured environment

2008-10-13 Thread Seth Hodgson
You need to use a SecureAMFChannel to interact with a SecureAMFEndpoint. It’s not clear from your emails why the server is receiving HTTP requests rather than HTTPS requests. If you’re using a SecureAMFChannel on the client, its requests will be sent via HTTPS. If you have something in front

[flexcoders] Efficiency and objects in the display list

2008-10-13 Thread Guy Morton
We have an app which adds 50 or 60 dynamically created and animated canvas-based objects to the display list as it runs. I've noticed when running this under the profiler that even though these canvas-based components are really simple (they have a draw function and a rotate function in

[flexcoders] Problem with the DataGrid column keeps switching location

2008-10-13 Thread Weyert de Boer
Hello, I have been working on a solution to make some sort of property grid in Flex and I have been using the DataGrid. Only I am experiencing some problems with it. The datagrid consists of two columns called name and value. The second value is a column where I used a custom itemRenderer to

Re: [flexcoders] Problem with the DataGrid column keeps switching location

2008-10-13 Thread Weyert de Boer
The problem is shown when you click a few times on the buttons.

Re: [flexcoders] Re: How to make a Docking Window Framework/component like Eclipse/InfoDock/JDocking

2008-10-13 Thread Josh McDonald
We've all gotta pay the rent mate :) I won't be much help beta testing at the moment, as the project I'd need it on won't be at that stage for quite a while yet. It looks great though, and we'll probably have a need for it at my 9-5 sometime down the track, so I'd definitely appreciate a heads-up

[flexcoders] Tab Navigator/SWF Loader

2008-10-13 Thread stldvd
Hi All, I've got a tab navigator in an app that's throwing a strange exception. What happens is that if you *click* on a tab, you don't see this error, but if you use the arrow keys to move to one of the tabs, you do. The tab in question is different from the others in that it's the only one

Re: [flexcoders] Custom Tooltip

2008-10-13 Thread Manu Dhanda
I am asking to pass an object to a ToolTip rather then only a String. Does anyone have any direction on that?? Thanks. Amy-28 wrote: --- In flexcoders@yahoogroups.com, Manu Dhanda [EMAIL PROTECTED] wrote: ok, for an example, I have a row in the list. And for it's tooltip, I want

Re: [flexcoders] Smooth scrolling when setting verticalScrollPosition on TextArea

2008-10-13 Thread Mark Carter
Oh, its fine - not choppy at all. I've even been toying with the idea of doing something more acceleration based instead, but probably won't bother. I scroll to a position where some text is newly selected. I just needed to be careful that I only made the selection after the scrolling finished.

Re: [flexcoders] AIR with twitter

2008-10-13 Thread Shahid Faiz
i hope you have found the answer on twitter mailing list. replace .format with .xml as you are expecting e4x. - shahid On Mon, Oct 13, 2008 at 3:02 PM, abhishekchess1 [EMAIL PROTECTED]wrote: hello all frnds, i want to connect my AIR application with twitter API, i never used any API