Re: [flexcoders] SWC Flex Flash integration

2005-03-23 Thread Ketan Bengali
Have made a component (.swc) in Flash and successfully used in Flex. The file flexforflash.zip file has Flex components in it which can be used to make your own custom components in Flash. You already have the document for reference. Regards, Ketan Bengali Wilfred LEUNG wrote: Hi By

[flexcoders] Hooks in custom components

2005-03-23 Thread Erik Westra
Does any1 have a list of wich hooks i can use in custom component and when they are called? With hooks i mean functions like init and createChildren. Greez Erik Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe

RE: [flexcoders] Hooks in custom components

2005-03-23 Thread Dirk Eismann
Try this PDF http://download.macromedia.com/pub/documentation/en/flex/15/flex_components_themes.pdf it's titled Developing Flex Components and Themes in Flash Authoring but it also gives a good overview about the instantiation process etc. According to the PDF the following methods are

RE: [flexcoders] Hooks in custom components

2005-03-23 Thread Erik Westra
Thnx, that list is perfect :) Greetz Erik -Original Message- From: Dirk Eismann [mailto:[EMAIL PROTECTED] Sent: woensdag 23 maart 2005 11:41 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Hooks in custom components Try this PDF

[flexcoders] ScrollPane

2005-03-23 Thread Erik Westra
I noticed that there is no ScrollPane component in flex. What can i use as alternative? Greetz Erik Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your

Re: [flexcoders] Passing Models into MXML components...

2005-03-23 Thread Scott Barnes
What's the error? Changes to unknown property, firstName will not be detected. Are you working with strongly typed objects? If so, does the object have the properties you're trying to access declared? No, as at the present inside mx:Script you can only initialize top level variables

RE: [flexcoders] ScrollPane

2005-03-23 Thread Dirk Eismann
No need for a ScrollPane as all components that subclass mx.core.View support scrolling (e.g. VBox) Dirk. -Original Message- From: Erik Westra [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ScrollPane

[flexcoders] Hierarchy Map

2005-03-23 Thread sreejithunni
Has anybody tried creating a hierarchy Map such as an Organization Chart in Flex. Any guidance pointers would be helpful! Thanks Sree Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an

[flexcoders] Custom security for RemoteObjects

2005-03-23 Thread Laurent Cornelis
Hi, What are you using to protect your services ? I want that the first time a user access one of the service (RemoteObjects in my case), he will be redirected to a custom login form. This form will send authentication data to a class that will validate these informations against our

[flexcoders] Re: mx.formatters.DateFormatter parsing !

2005-03-23 Thread r0main
Whaoo, a wish list, that was my biggest wish ! ;-) (MM engineers: don't be afraid, that huge load of data on macromedia.com servers will not be spam or any DOS attack, only me filling my wishes for Flex :-) ) r0main --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

RE: [flexcoders] ScrollPane

2005-03-23 Thread Erik Westra
Yeah, I just found that out... I feel stupid, hehe... Thnx though. Greetz Erik -Original Message- From: Dirk Eismann [mailto:[EMAIL PROTECTED] Sent: woensdag 23 maart 2005 12:50 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ScrollPane No need for a ScrollPane as all

RE: [flexcoders] RemoteObject : Convert Java Exception to ActionScript Fault

2005-03-23 Thread Peter Farland
The AMF Gateway uses a RuntimeException called flashgateway.GatewayException that has these properties. A thin façade could be built to map your exception type to the gateway exception type. -Original Message- From: Laurent Cornelis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March

Re: [flexcoders] Has anyone written a custom DateField that changes years via combo?

2005-03-23 Thread Dave Carabetta
On Wed, 23 Mar 2005 13:51:29 +1000, Scott Barnes [EMAIL PROTECTED] wrote: Thanks Jeff, hmm is it my corporate proxy or does that site not load? probably the earlier. I had wanted to remove the user from typing in dates as well thats when typos / exceptions are going to occur (ie we are a

Re: [flexcoders] RemoteObject : Convert Java Exception to ActionScript Fault

2005-03-23 Thread Laurent Cornelis
Thanks ! Where can we find the documentation for the Java part of Flex ? I searched about Exception on Macromedia and Google and didn't find this ... Last thing, now I'm able to set the code, detail and faultstring but I can't find a way to set the type. If it is not possible, it's not

RE: [flexcoders] RemoteObject : Convert Java Exception to ActionScript Fault

2005-03-23 Thread Peter Farland
The documentation for Java based services is largely in the Using Data Services section: http://livedocs.macromedia.com/flex/15/flex_docs_en/0742.htm The Flash Remoting gateway did not include a way for users to customize this error information, so this is not exposed in Flex 1.5 as its AMF

[flexcoders] Displaying the current date in an easy to read format

2005-03-23 Thread Anthony Merryfield
Title: Displaying the current date in an easy to read format Hi everyone, I need to display the current date on screen in an easy to read format but get this error each time I try: A class's instance variables may only be initialized to compile-time constant expressions. A snippet

[flexcoders] Label question

2005-03-23 Thread nostra72
I hope this is not a silly question but what I want to do is make a label but give it a border sort of a 3 D appearance and I was wondering if someone could give me some tips on how to do this or if there is a better way to do this? Because I do nto want a button you can click to make it do

[flexcoders] Datagrid - Select ALL Items

2005-03-23 Thread gevgelija50
Does anyone know of an easy way of selecting all items in a datagrid with a click of a button? By the same token, how do you de-select? Thanks, Alex Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this

RE: [flexcoders] subclassing accordion control.

2005-03-23 Thread Matt Chotin
Maybe try overriding the createChildren method (and call super.createChildren() first) instead of the events? Matt From: Jeff Krueger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 12:02 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] subclassing

RE: [flexcoders] Displaying the current date in an easy to read f ormat

2005-03-23 Thread Matt Chotin
Title: Displaying the current date in an easy to read format You could also look into the DateFormatter class. Matt From: Anthony Merryfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 7:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Displaying

RE: [flexcoders] Datagrid - Select ALL Items

2005-03-23 Thread Matt Chotin
Check out the selected inidices property, just go through and populate it with entries from 0 to length-1 Matt From: gevgelija50 [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 8:09 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid - Select ALL

[flexcoders] Custom Slider extension.

2005-03-23 Thread Shahnavaz Alware
Hi FlexCoders, I am a newbie to Flex RIA playing with the LoanApplication.mxml (chapeter 18 by Steven Webster) where I have extended Hslider to have 3 thumbcount and have 3 DataGrids reflecting them respectively. This LoanApplication worked as is with Slider.swc which is packaged

Re: [flexcoders] java.lang.NullPointerException - Answer

2005-03-23 Thread Tarik Ahmed
Well here's the solution. :) One of the other developers was testing something and in IIS set the Execute Permissions to Scripts Only from Scripts and Executeables. What this caused was the browser to load indefinitely - it wouldn't even time out. There were no errors in the log files...

RE: [flexcoders] Label question

2005-03-23 Thread Tracy Spratt
One easy solution would be to use mx:TextInput, and set editable=false. Tracy From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 10:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Label question I hope this is not a silly

Re: [flexcoders] Label question

2005-03-23 Thread JesterXL
An additional way is to use a Canvas. Quick example since I'm at work and don't have Flex here (haven't validated MXML): mx:Canvas mx:Label text="Some Text" id="main_txt"textColor="#FF" x="100" y="100" / mx:Labe text="Some Text" id="shadow_txt" textColor="#00" x="101" y="101" /

[flexcoders] Re: Binding question

2005-03-23 Thread temporal_illusion
I tried something similar a while back as a quick and dirty way to change the web service between development and deployment, but could not get it to work. I ended up creating a named service in the flex-config.xml and refer to that, so I only have to set up the service once and depending if

Re: [flexcoders] Binding question

2005-03-23 Thread Matthew Shirey
You just hit on a problem I had a week ago. It looks like the wsdl attribute cannot be set at runtime. I even tried doing it in actionscript with no luck. This is problematic for me because I want to be able to declare all of my web service urls globally so they can be changed easily. I

[flexcoders] Tabular data

2005-03-23 Thread Robert Brueckmann
What would be the best way to take XML from the database and output it to the screen in a way that would look like an exploded datagrid, static, in tabular format? Is this possible? Im just playing with some ideas of utilizing Flex for displaying dynamically generated data in a

RE: [flexcoders] Application architecture

2005-03-23 Thread Steven Webster
Viraf, I was hoping that by now there are some best practices / architecture guidelines for developing applications in flex. Could someone please provide me with references. One such architecture is the Cairngorm architecture that you will find here currently:

[flexcoders] SWF Timeout

2005-03-23 Thread JesterXL
How do you turn this off? Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

RE: [flexcoders] SWF Timeout

2005-03-23 Thread Abdul Qabiz
You mean, A script in this movie is causing You can increase the limits in Application tag..Following shows default.. mx:Application scriptRecursionLimit=1000 scriptTimeLimit=60 ... ../mx:Application Or are you talking about SWF expires after two days thing? -abdul -Original

Re: [flexcoders] SWF Timeout

2005-03-23 Thread JesterXL
SWF expires after 2 days thing. - Original Message - From: Abdul Qabiz [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, March 23, 2005 6:38 PM Subject: RE: [flexcoders] SWF Timeout You mean, A script in this movie is causing You can increase the limits in

RE: [flexcoders] Attaching Custom Component

2005-03-23 Thread Abdul Qabiz
Hi, Where do you want to attach the component. If it's a container, you can use contianerRef.createChild( customComponentName, name: String, initProps: Object) Can you please tell us, why would want to attach Custom Component using ActionScript in Repeater? You can do in clean approach using

RE: [flexcoders] SWF Timeout

2005-03-23 Thread Abdul Qabiz
Hmm, with developer version, it's going to be there, it can not be removed. I presume you have Non-Commercial license version, I am sorry, I am not sure about it. Someone with good understanding of Flex Licensing might explain... -abdul -Original Message- From: JesterXL

Re: [flexcoders] Attaching Custom Component

2005-03-23 Thread Jack Waknitz
I'm trying to make a app that will look through an xml file and decide what components to use for each item based on some meta data. So I'm thinking about puting the createChild tag within the function based on if statements to choose between a few different compontents to display the data. Can

[flexcoders] Re: internal representation of an array

2005-03-23 Thread Eric Raymond
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: The Flash player implements both Array and Object as hashtables. In Two somewhat related questions: 1) How does the implementation work with for in loops? Is there any natural order in which the propery names are

RE: [flexcoders] Re: internal representation of an array

2005-03-23 Thread Gordon Smith
1. You shouldn't assume that for-in loops iterate in any particular order because it is subject to change in future versions of the Flash player. 2. To do this efficiently I think you'd need to maintain a secondary array that keeps track of the populated indices in the primary array:

[flexcoders] How to pass AS Objects to a CFC

2005-03-23 Thread Mohanraj Jayaraman
Hi All, I've been trying to pass an AS Object to a Coldfusion CFC thorough FLEX RemoteObject calls. But I havent found any success so far. I knew there are examples provided my Macromedia for exchanging complex objects (http://www.macromedia.com/devnet/flex/articles/complex_data_03.html) , but

Re: [flexcoders] How to pass AS Objects to a CFC

2005-03-23 Thread Mohanraj Jayaraman
Hi Clint, Thanks for your reply. I think i was not clear ealrier on my problem. Here's a sample code I am dealing with. Please note the property 'modarray' of the 'pData' object. 'modarray' is populated with SelTP object _s whcih is an Array of Structures. Here I polupate the _s with

RE: [flexcoders] Re: internal representation of an array

2005-03-23 Thread Tracy Spratt
For standard arrays, for in.. always goes in reverse order. You must use array.reverse to iterate in the normal order. Don't know about Associative arrays/objects. Tracy -Original Message- From: Eric Raymond [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 7:59 PM To:

RE: [flexcoders] Re: internal representation of an array

2005-03-23 Thread Gordon Smith
For standard arrays, for in.. always goes in reverse order. I think it is likely to be the reverse order of how the elements were added, not reverse numerical order of the indices. But please don't count on this behavior continuing to be supported. Ecmascript doesn't require it, and it isn't

RE: [flexcoders] SWF Timeout

2005-03-23 Thread Matt Chotin
Make sure that license.properties is filled in in web-inf/flex for your flex server. You need your NCL serial number in there. Matt From: Abdul Qabiz [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 4:03 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders]

RE: [flexcoders] Data loss (datatyping?)

2005-03-23 Thread Matt Chotin
Im attaching a simple workaround (not sure if it will do the trick for you but it will get you started). This is a modified version of XMLObjectOutput in that it doesnt store attributes in an attribute map, it instead attaches them to the main object like HTTPService would normally.

RE: [flexcoders] Constructors and dynamic coding

2005-03-23 Thread Matt Chotin
Look into createChild and createClassObject defined on UIObject/UIComponet etc. Matt From: Nick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 12:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Constructors and dynamic coding I am creating a

RE: [flexcoders] Tabular data

2005-03-23 Thread Matt Chotin
I dont have any great suggestions if DataGrid and Repeater wont cut it for you. But have you checked out CF 7 and its reporting capabilities? J Matt From: Robert Brueckmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 1:07 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Application architecture

2005-03-23 Thread Matt Horn
I assume you've already checked the content on the Flex Best Practices page of the Macromedia website (I'll post it here for those who don't know about it): http://www.macromedia.com/devnet/flex/best_practices.html There's some excellent architectural articles there. Hth, Matt Horn

Re: [flexcoders] Hierarchy Map

2005-03-23 Thread Scott Barnes
No, But i've created a modeler in FLASH MX 2004 that lets you draw such a tool. One thing about heirachy maps is that you kind of need to adopt some AI - in that if you have it either horizontal or vertical (either) you kind of need it to do each tier test on what spaces are avaiable in that

[flexcoders] Modal Transparency Color

2005-03-23 Thread Scott Barnes
Forgive me if this has been asked a million times but how doth i change the color of the modal transparency layer from white to say red? -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Coming Soon) Yahoo! Groups Links * To visit your group on the web, go to:

RE: [flexcoders] Redraw problems with TileList and custom cell re nderer

2005-03-23 Thread Matt Chotin
I just tried a big number of things both documented and undocumented and couldnt get it to work correctly. I have no idea why since this is something I thought we tested (though maybe it was with embedded images and not dynamically loaded). Ill file a bug on this but I dont have any good