[flexcoders] Issue with Canvas resize and maxHPosition

2006-01-18 Thread antonin34
Hi there, We currently have a strange behavior with one of our canvas in flex 1.5. It contains an array of dynamicaly created panel at runtime, so we have a scroll to navigate through all the elements. Every thing goes fine at the beginning. We need in certain circumstance to resize

[flexcoders] Re: Runtime width of tree control - Urgent !!

2006-01-18 Thread Robs
Thanks Gordon ! --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Can i get the width at runtime in pixels? Yes If yes, then how? myTree.width - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [flexcoders] event flow / URLLoader

2006-01-18 Thread Angus Johnson
Many thanks Dirk! I've got a little closer now. I can see the jpg being fetched, the imageLoaded listener called and it looks like it is sets the myImage.dataObject property. However, flashplayer displays a broken link icon where the image should display, no errors reported. I don't know if

[flexcoders] Using the mx:Repeater tag -- S.O.S

2006-01-18 Thread Robs
Hi all, I'm facing issues while using the Repeater tag. I have a xml file named 562114560.xml which defines my data as follows: ?xml version=1.0 encoding=iso-8859-1? folder page name001.jpg/name no1/no /page page name002.jpg/name no2/no /page /folder As u can see I need

Re: [flexcoders] Using the mx:Repeater tag -- S.O.S

2006-01-18 Thread Bruno Martins
Hi Robs, Take a look at charpter 8(page 269) in the http://www.2flex.com.br/flex_dev_apps.pdftuturial. I hope that help you to solve your problem. Hugs.. On 1/18/06, Robs [EMAIL PROTECTED] wrote: Hi all, I'm facing issues while using the Repeater tag. I have a xml file named 562114560.xml

[flexcoders] Flex Asp.Net WebService

2006-01-18 Thread Marcelo Ferracioli
Hi! I'm new in this list! My Name is Marcelo Ferracioli! I want consume an Asp.Net Web Service that return DataSet classes. This is possible? Exists examples?? Thank you Marcelo -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Flex 1.5 how to get Menu height and width

2006-01-18 Thread bhaq1972
Hi I'm looking at the flex 1.5 livedocs example of how to create a Menu - http://livedocs.macromedia.com/flex/15/asdocs_en/index.html (at the bottom). I cant seem to get the height and width of the Menu after creating the menu. eg myMenu = Menu.createMenu(panel, myMenuData);

[flexcoders] Re: Passing Vars from one state to another state.

2006-01-18 Thread Jeremy Rottman
AAL is the id I have given to the custom component. The state is create prior to transition. So I know the state exists, and I know that the property exists. However, I am unable to pass that var into the state 'ntcl'. I have also tried this public function ListState()

[flexcoders] setUsernamePassword and J2EE login

2006-01-18 Thread Jim Schneider
After calling setUsernamePassword on a service, is this information available to the backend services (remote object or web service)? Or perhaps after a J2EE/JAAS login? If so, how/where? We have a requirement to do a lot of logging of whos doing what in the system and was wondering

Re: [flexcoders] Using the mx:Repeater tag -- S.O.S

2006-01-18 Thread Douglas Knudsen
source=data/folders/562114560/{docThumb.currentItem.name} DK On 1/18/06, Robs [EMAIL PROTECTED] wrote: Hi all, I'm facing issues while using the Repeater tag. I have a xml file named 562114560.xml which defines my data as follows: ?xml version=1.0 encoding=iso-8859-1? folder page

Re: [flexcoders] setUsernamePassword and J2EE login

2006-01-18 Thread Douglas Knudsen
I'm using JRun, setUserNamePassword() uses JAAS and sets up a J2EE session, username being the principal. Make use of the flashgateway.jar and use flashgateway.Gateway.getHttpRequest().getUserPrincipal().getName(); Note clearUserNamePassword() pretty much does nothing...need to do clear the

[flexcoders] addChild from String

2006-01-18 Thread Brendan Meutzner
Hi All, I'd like to provide a String value which represents the DisplayObject class I want to create dynamically with addChild. Has anyone accomplished this? This would be equivalent to createChild(findClass(Button)) in AS2... Thanks, Brendan -- Flexcoders Mailing List FAQ:

RE: [flexcoders] Re: AS3 Camera Class

2006-01-18 Thread Roger Gonzalez
Did you rename your file to not be named Camera.mxml as I recommended? -rg -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João Fernandes Sent: Thursday, January 12, 2006 7:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders]

Re: [flexcoders] addChild from String

2006-01-18 Thread Jens Halm
Hi All, I'd like to provide a String value which represents the DisplayObject class I want to create dynamically with addChild. Has anyone accomplished this? You mean like this? public function createInstance (className : String) : Object { var MyClass : Class =

[flexcoders] DataGrid styles

2006-01-18 Thread Dima Ulich
I'm trying to print dataGrid and I need to have solid column and row lines. I set vGridLines and hGridLines to true, but when I print it out i get lines you can barely see. I spent lots of time to find a workaround for that but I wasn't successfull. DataGrid doesn't have a style definition to set

[flexcoders] Displaying results from a query

2006-01-18 Thread Jeremy Rottman
I have gotten to the point where I have alot of my app going, and I have run into the issue of populating text inputs based on returned values from my cfc. After a user searches, they are taken to an edit screen where they can view the files information. However, I am not sure how to output the

[flexcoders] Flex application on PDA

2006-01-18 Thread shahnavaz Alware
Hi, We are developing web application using Flex 1.5 for desktop. Now there is planning to make same application available on PDAs. Flex is my first encounter with Flash Programming (J2EE Developer). Thats being said I have few questions for you guys doing development on PDA/Mobile

[flexcoders] Re: DataGrid styles

2006-01-18 Thread kronos113
I've been having some difficulty getting the style right PrintDataGrid's as well. To get the most uniform look possible I've turned off border-sides except for the right side, as the vGridLine doesn't show up on the right edge of the data grid. When I have all the borders turned on I get a

Re: [flexcoders] Re: Question about a book written by Steven Webster and Alli...

2006-01-18 Thread nostra72
Well I think the kind I do use is a Jrun integrated flex server? Also I am using the localhost version of Flex you know the kind it reverts too after the trial is up? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: addChild from String

2006-01-18 Thread Brendan Meutzner
Hey Jens, Thanks for the help. It's now working (sort of)... If I create an instance of a built-in class (such as Button), the method below works fine. However, if I try creating a custom Class (eg. MyCustClass which extends from Canvas) like so: import custclasses.MyCustClass; var

[flexcoders] modelChanged event and mx:Tree

2006-01-18 Thread Johannes Nel
Hi All I have a model which dispatches the model change event which in turn gets caught by the mx:Tree (i have established this by subclassing the tree and checking if the events come in), but my tree just does not update and to add insult to injury after that it stops dispatching nodeOpen

Re: [flexcoders] Re: addChild from String

2006-01-18 Thread Johannes Nel
search the flash coders list for this, there are a ton of sollutions floating around in there. On 1/18/06, Brendan Meutzner [EMAIL PROTECTED] wrote:Hey Jens,Thanks for the help.It's now working (sort of)... If I create an instance of a built-in class (such as Button), themethod below works

RE: [flexcoders] addChild from String

2006-01-18 Thread Gordon Smith
You can use the player's getClassByName() function, which is in the flash.util package. Pass it a fully qualified class name like mx.controls.Button: createChild(getClassByName(mx.controls.Button)); - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Drag and Drop in Tree Componet

2006-01-18 Thread kjlinboomer
Hi all, I am developing a tree component with drag and drop dunctionality within itself (ie -- if a drag a leaf from one branch to another). Can somebody point me in the right direction of a tutorial or some online examples. Thanks! -- Flexcoders Mailing List FAQ:

RE: [flexcoders] addChild from String

2006-01-18 Thread Matt Chotin
I asked internally and the equivalent createInstance functionality is not in the ECMA spec. So probably not going to come from us in Flex 2. Please file the enhancement request at http://www.macromedia.com/go/wish. You would need to simulate by creating the object with a no-arg constructor and

[flexcoders] CellRenderer For ComboBox

2006-01-18 Thread Simeon Bateman
Ok, i have been beating my head against this one for a bit now. i would like to display a list of checkboxes in a combo box. The combobox exposes the list it uses internally through the dropdown property. I have tried setting the cellrenderer on that at several points during initaliziation but

Re: [flexcoders] CellRenderer For ComboBox

2006-01-18 Thread JesterXL
Welcome to the pain... shot of morphine? Matt had an old email that did it like this: mx:ComboBox dataProvider={sizes.size} creationComplete=event.target.getDropdown().cellRenderer = sizeRenderer; event.target.getDropdown().variableRowHeight=true / I did the same thing, only used the open

[flexcoders] Flex 1.5 - How to Set Link Object to look selected

2006-01-18 Thread Libby
I have extended the LinkBar class and dynamically create children from Link objects within it. When a Link is clicked, I would like to have the color change and stay changed, or some other change occur so I know which Link was clicked. Underlining the Label text would be fine if I could figure out

Re: [flexcoders] addChild from String

2006-01-18 Thread Jens Halm
public function createInstance (className:String, args:Array) : Object { var myClass : Class = getClassByName(className); var inst : Object = new myClass(); inst.initArgs.apply(inst, args); return inst; } Yes, that would be a workaround if I have complete control over the

[flexcoders] Re: CellRenderer For ComboBox

2006-01-18 Thread Simeon Bateman
Thanks man, That was exactly what I needed. However I think I underestimated just how close that would get me to my goal. I need it to stay open when I select a checkbox. Any guesses at what method I need to extend to make be able to intercede the closing of the box? Thanks for the help.

[flexcoders] Re: Cairngorm Question

2006-01-18 Thread fowleryj
Thank you Jeff, Bruno, and Robin. We're evaluating the options now, and I'll get back to you with further questions. We appreciate your swift responses very much. :) --- In flexcoders@yahoogroups.com, Robin Hilliard [EMAIL PROTECTED] wrote: Hi YJ, RocketBoots is working with a development

[flexcoders] OT: Melbourne job - Macromedia Flex 2, Ruby On Rails, Linux C++

2006-01-18 Thread andrewstuartblah
Hello folks - this job is only available to people currently residing in Melbourne, Australia Senior Programmer Linux, C++, Macromedia Flex 2, Javascript, Ruby on Rails * Diverse technical and language skills required * Front end and back end development * Suited to talented, passionate

[flexcoders] Re: Flex 1.5 - How to Set Link Object to look selected

2006-01-18 Thread Andrew Spaulding
Hi Libby, If you've managed to control the Link and hijack the click event etc, why don't you try Link.setStyle(textDecoration, underlined); you will have to build the logic to set the textDecoration back to none when another link is clicked, but this will get you started ;-) cheers, Andrew

Re: [flexcoders] Embed SWF with masked edges / borders

2006-01-18 Thread JesterXL
Masking the SWF itself is best, but you could do: createEmptyMovieClip(mask_mc); mask_mc.beginFill(0x00); mask_mc.lineTo(widthOfThing, 0); mask_mc.lineTo(widthOfThing, heightOfThing); mask_mc.lineTo(0, heightOfThing); mask_mc.lineTo(0, 0); mask_mc.endFill(); yourThing.setMask(mask_mc); -

[flexcoders] all UI controls malfunction

2006-01-18 Thread Tansht
Hi, I experienced an extremely weird problem. I have to double/multiple click the controls to perform the action, e.g. select a radio button or check box, scroll the scrollbar. These problems occured after I loaded a Flash paper swf file into application. Bascially, the layout is 2 column

[flexcoders] extracting a ui component

2006-01-18 Thread davecaygill
Hi, I'm trying to extract the tab bar component from flex to use in flash mx2004 for an as2.0 project anyone got any ideas how to do this!? Cheers, dave -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: Using the mx:Repeater tag -- S.O.S

2006-01-18 Thread Robs
Hey, thanks Douglasthat did my job. --- In flexcoders@yahoogroups.com, Douglas Knudsen [EMAIL PROTECTED] wrote: source=data/folders/562114560/{docThumb.currentItem.name} DK On 1/18/06, Robs [EMAIL PROTECTED] wrote: Hi all, I'm facing issues while using the Repeater tag. I