[flexcoders] Equivalent to html embed tag's "scale" attribute?

2005-07-19 Thread cazzaran
Is there any way to achieve what the scale="noBorder" attribute in the html embed tag does? I need to have a flash movie take up the whole area of an mx:Image tag without being shrunk or distorted. The scale="noBorder" usually does this in HTML, or Stage.scaleMode = "noBorder" in straight-up Flash

[flexcoders] Help with loading of some SWF content in an mx:Image tag

2005-07-15 Thread cazzaran
I have a banner that I load into my Image tag, and this banner goes out to the server it came from to request a TXT file to load up some variables. The problem is that I want to be able to use as much client side as possible. Is there a way to override it loading these vars so I can put in my own

[flexcoders] Re: Dynamically add an MXML to a Panel

2005-07-07 Thread cazzaran
vent) { > var resource = event.target.selectedItem.data.resource; > var child = editMessageSpecificsPanel.createChild(eval(resource), > undefined, {label:'TEST', width:'100%', height:'100%'}); > } > > > note the eval(resource). > > ? >

[flexcoders] Dynamically add an MXML to a Panel

2005-07-06 Thread cazzaran
I have a Panel in my application that needs to include different form stuff based on what a user chooses in a ComboBox. I have a Panel that looks like: Based on the selection they choose in the ComboBox, I need what shows up in the Panel to change. I have created several MXML files that have an

[flexcoders] Re: Trouble getting mx:List to show any changes to dataProvider

2005-06-09 Thread cazzaran
of the data and the labelFunction. > > Tracy > > -----Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of cazzaran > Sent: Wednesday, June 08, 2005 6:32 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Trouble gett

[flexcoders] Re: Trouble getting mx:List to show any changes to dataProvider

2005-06-08 Thread cazzaran
My labelFunction isn't even being called. So it seems, that although the dataProvider is full, the List thinks it's empty. I don't understand why though. group.nodes (what I set my DP to) is an array populated remotely from a Java Set, and all my other arrays of objects work fine. group.nodes.leng

[flexcoders] Re: Trouble getting mx:List to show any changes to dataProvider

2005-06-08 Thread cazzaran
Indexed Arrays or Objects? > > Post a sample of the data and the labelFunction. > > Tracy > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:flexcod [EMAIL PROTECTED] On > Behalf Of cazzaran > Sent: Wednesday, June 08, 2005 6:32 PM > To: fl

[flexcoders] Trouble getting mx:List to show any changes to dataProvider

2005-06-08 Thread cazzaran
For some reason, I have one mx:List in mxml that refuses to show the contents of its dataProvider. I have: And my code to change it is: theRDUList.dataProvider = group.nodes; The thing is, upon debug, I can see that group.nodes is full of an Array, *AND* the dataProvider property of theRDULi

[flexcoders] Re: Pass variable to mx:image tag

2005-05-20 Thread cazzaran
included > SWF. psuedoexample: > > var src = "IncludedTestFile.swf?myVar=" + myVar; > ... > > > > HTH, > > matt horn > flex docs > > > > ____ > > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED

[flexcoders] Trouble with mx:Image or mx:Loader

2005-05-20 Thread cazzaran
I have a flash banner that displays its content in the vertical middle. I have an application that is 800px wide, but the banner is, by default, only around 600px wide. My tag looks like: If I specify the width attribute of the Image tag, the flash movie doesn't scale with it. Usually, the

[flexcoders] Re: Pass variable to mx:image tag

2005-05-12 Thread cazzaran
__ > > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of cazzaran > Sent: Thursday, May 12, 2005 11:51 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Pass variable to mx:image tag > > >

[flexcoders] Pass variable to mx:image tag

2005-05-12 Thread cazzaran
I need to include an external SWF file that takes variables to display some content. It's just a banner, so the mx:Image tag is sufficient, except that I can't figure out how to pass variable information to it. There's talk of a flashVar tag, but that's for JSP, and it doesn't look like there's

[flexcoders] Using the Camera object

2005-04-29 Thread cazzaran
I want to get a feed from a camera connected to the client's computer using Camera.get(). I know this works in Flash MX 2004, but I'm not sure how to go about getting the feed and displaying it in a Panel, or something similar? Any ideas? I have no need to actually capture the video feed, I just ne

[flexcoders] Prevent dynamic properties from being set

2005-04-11 Thread cazzaran
I have some POJOs on my server like Role, etc... They have many getter methods that return subsets of actual data. For example, Role has getGroups() and getSubGroups(), where getSubGroups() returns a filtered list of what getGroups() would (they both reference the same Set in the object, but just

[flexcoders] Re: Error: Cannot invoke method when using a VO

2005-04-11 Thread cazzaran
groups.com, Christoph Guse <[EMAIL PROTECTED]> wrote: > Hi cazzaran, > > how did you solve your problem? I'm interested in a solution, because I > have a very similar problem. In my case I have an object (OgoJobVO) in > which is another object (OgoAccountVO) in which is anoth

[flexcoders] Re: Popup only works once

2005-04-08 Thread cazzaran
wrote: > Just for fun, try the magic doLater(). > doLater(this, "deletePopUp") > Tracy > > -Original Message- > From: cazzaran [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 07, 2005 6:00 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Popu

[flexcoders] Popup only works once

2005-04-07 Thread cazzaran
I have an "Add Group" button in my MXML that calls a method: public function showAddGroupWindow():Void { var popup = PopUpManager.createPopUp(MovieClip(mx.core.Application.application), addGroupWindow, true); popup.centerPopUp(); } In my popup MXML, which is just a simple title windo

[flexcoders] Re: Simple Cairngorm architecture question

2005-04-05 Thread cazzaran
Omar, That really does help, I appreciate it. I was trying to figure out how to accomplish this... Again, thanks! -Josh --- In flexcoders@yahoogroups.com, "Omar Ramos" <[EMAIL PROTECTED]> wrote: > Hi Josh, > > Here is a example of how you would do it. > > var alertListener:Function = Dele

[flexcoders] Re: Simple Cairngorm architecture question

2005-04-05 Thread cazzaran
You can use the Delegate > class to redirect each event to a difrent method. > > Omar Ramos > Itacon Corporation > Technology Manager > > _ > > From: cazzaran [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 05, 2005 4:34 PM > To: flexcoders@yahoo

[flexcoders] Re: Simple Cairngorm architecture question

2005-04-05 Thread cazzaran
27;t fully understand the question. But it seems that you would > broadcast the "DeleteGroup" event only once the click of ok was pressed. > The broadcast will find the command to do the work and then notify the view > helper when done. > > Jeff > > > -Orig

[flexcoders] Simple Cairngorm architecture question

2005-04-05 Thread cazzaran
I have a simple architectural philosophy question regarding Cairngorm. I am using the Contoller, Command, and ViewHelper pattern, which is working out perfectly -- except in one situation... And it's not that I can't get this to work, it's that I'm curious what the proper way to do it would be.

[flexcoders] How to get access to HttpSession in a stateful-class

2005-04-04 Thread cazzaran
I have some remote business delegates that are stateful. Is there a way to get access to the session that they are being held in? For example, I have a UserDelegate that handles user based business logic for the current logged in user, and it maintains a member variable of the user so I don't ne

[flexcoders] Re: Flex 1.5 price

2005-04-03 Thread cazzaran
"it gives us a better understanding of how the product is being used, the sorts of problems people are facing, and so on, by interacting with real users rather than 'customers'." ... "and participating in this forum is not necessarily a part of our job." And we love you for it! ;-) -Josh

[flexcoders] Re: Error: Cannot invoke method when using a VO

2005-03-30 Thread cazzaran
ssage Creator" id = "402881e500523eca0100523ffc040001" organization = (Ref #6) superuser = false [1] = (Typed Object #10 'pojos.Role') roleRights = "adm" users = (Array #11)

[flexcoders] Re: Error: Cannot invoke method when using a VO

2005-03-30 Thread cazzaran
I've set my flex logs to debug, but I don't get much in the way of logging from flex. I've also set every trace option to true, but still don't get much from it. I'm curious, do my server and client sided classes have to have identical sets of members (or matching getters and setters)? I ask th

[flexcoders] Re: Error: Cannot invoke method when using a VO

2005-03-30 Thread cazzaran
OAP > transport protocol was removed for RemoteObject in Flex 1.5. I'd like to > see all Flex users move away from _remoteClass and rely on > Object.registerClass. > > > -Original Message- > From: cazzaran [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March

[flexcoders] Re: Error: Cannot invoke method when using a VO

2005-03-30 Thread cazzaran
e want to see whether an AMF Typed Object or untyped Object was > deserialized from your Group param. > > > -Original Message- > From: cazzaran [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 30, 2005 2:12 PM > To: flexcoders@yahoogroups.com > Subject: [flexco

[flexcoders] Re: Error: Cannot invoke method when using a VO

2005-03-30 Thread cazzaran
tool that has a few issues > - mainly that it doesn't show objects typed with Object.registerClass). > > > > > -Original Message- > From: cazzaran [mailto:[EMAIL PROTECTED] > Sent: Monday, March 28, 2005 4:58 PM > To: flexcoders@

[flexcoders] Re: Error: Cannot invoke method when using a VO

2005-03-28 Thread cazzaran
ut I know it > was in Flex 1.0. > > -Original Message- > From: cazzaran [mailto:[EMAIL PROTECTED] > Sent: Monday, March 28, 2005 4:19 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Error: Cannot invoke method when using a VO > > >

[flexcoders] Re: Error: Cannot invoke method when using a VO

2005-03-28 Thread cazzaran
Peter, It does... -Josh --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > Does the Java version of Group have a public no args constructor? > > > -Original Message- > From: cazzaran [mailto:[EMAIL PROTECTED] > Sent: M

[flexcoders] Error: Cannot invoke method when using a VO

2005-03-28 Thread cazzaran
I have a delegate class on my server called GroupDelegate, and it has a method addGroup(Group group). When I try and call this method on my remote object, I get the error: Error: Cannot invoke method addGroup However, if I switch my method's signature to addGroup(String groupName), the method

[flexcoders] Weird tree issue

2005-03-27 Thread cazzaran
I have a tree I'm populating with objects that mimic my serverside Group classes. What's happening is that the tree is getting built, but the data field of the nodes isn't getting filled. This method: var node = treeDP.addTreeNode(group.name, group); is supposed to create a node with the label

[flexcoders] Re: Can't see selectedNode on my Tree change event

2005-03-27 Thread cazzaran
Well, I can't see it when debugging, but it's accessable, so nevermind... thanks... --- In flexcoders@yahoogroups.com, "cazzaran" <[EMAIL PROTECTED]> wrote: > > I have a Tree that has a method bound to the change event. Problem is, > for some reas

[flexcoders] Can't see selectedNode on my Tree change event

2005-03-27 Thread cazzaran
I have a Tree that has a method bound to the change event. Problem is, for some reason, the event.target doesn't have a selectedNode property, so I can't seem to find out what Node the user clicked. As I understand it, this property should be there. Am I correct? Any ideas? Thanks in advance.

[flexcoders] Re: Problem with variable initialization

2005-03-26 Thread cazzaran
u create a column with the > columnName of the getter it'll be fine. > > > > Matt > > > > _ > > From: cazzaran [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 26, 2005 7:16 PM > To: flexcoders@yahoogroups.com > Subject: [flexcode

[flexcoders] Re: Problem with variable initialization

2005-03-26 Thread cazzaran
t instead of the variable data you use a getter: > > > > Public function get data() : String > > { > > Return id; > > } > > > > Matt > > _ > > From: cazzaran [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 26, 2005 6:1

[flexcoders] Problem with variable initialization

2005-03-26 Thread cazzaran
I have a weird (to me, anyway) problem. I have some AS 2 objects that are client models of my Hibernate POJOs on my server. I want to get all my data set to the members of my class, but then have another variable, "data", set to the same value as my "id" variable. This is so when I get an array