[flexcoders] ByteArray as VideoDisplay source

2008-06-19 Thread Joshua Garnett
Does anyone know of a way to connect a VideoDisplay or Video object to a locally created ByteArray as opposed to a NetStream source? or perhaps how to sub-class NetStream in order to manually feed bytes from a ByteArray to the Video object? Essentially what I want to do is have a custom loading

Re: [flexcoders] LCDS/Hibernate DataServices Issue

2007-10-19 Thread Joshua Garnett
flag which controls whether the references are sent by id or by value when the parent item is sent to the client. Jeff -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Joshua Garnett *Sent:* Friday, October 19, 2007 11:44 AM

Re: [flexcoders] LCDS/Hibernate DataServices Issue

2007-10-19 Thread Joshua Garnett
and c so that we can do the mapping properly. Jeff -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Joshua Garnett *Sent:* Thursday, October 18, 2007 6:54 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] LCDS/Hibernate

[flexcoders] LCDS/Hibernate DataServices Issue

2007-10-18 Thread Joshua Garnett
Hello, We've recently encountered a problem on a project I'm working on. We are using the Data Management Services to managed all of our persisted objects. It connects to our database via a customized Hibernate assembler. The issue we are seeing is that we have a series of collections that

Re: [flexcoders] help binding info to a title window

2007-09-20 Thread Joshua Garnett
Hi Gustavo, First off you should have some method for converting the XML into an object. The class can be named something like SampleVO with the fields client, description, and image. Verify that you are able to read in the XML and set the fields properly. Then in your title window create the

Re: [flexcoders] Code behind - class extend mxml vs. mxml extend class

2007-09-19 Thread Joshua Garnett
Hi Christoph, I think one of the things you should look into doing, is try to avoid directly referencing the items that are in your view in your code behind class. By doing so this will allow you rebuild your view without changing much to your base class. For example, say you have an

Re: [flexcoders] Adding to an ArrayCollection

2007-09-19 Thread Joshua Garnett
Hi Don, You should be able to do: for each (xyz2:CustComponent in someArrayCol){ xyz2.address = Some address; } --Josh On 9/19/07, donvoltz [EMAIL PROTECTED] wrote: Is there a good way to add additional information into an array collection variable? If I start with this code to

Re: [flexcoders] Re: Adding to an ArrayCollection

2007-09-19 Thread Joshua Garnett
Don, The ArrayCollection contains an array of references. When doing the for each loop, xyz2 is a reference to the original object you created in the previous loop. --Josh On 9/19/07, donvoltz [EMAIL PROTECTED] wrote: This is where I am confused. if I do xyz2.address = Some Address Am

[flexcoders] Re: Changing between Windows and Mac

2007-05-15 Thread Joshua Garnett
things converted in a week, but its always better to plan for the worse. --Josh On 5/9/07, Joshua Garnett [EMAIL PROTECTED] wrote: Hi everyone, I've just gone through the very turbulent process of getting my Flex Builder 2 serial number converted from Windows to Mac. The FAQ makes the process seem

[flexcoders] Changing between Windows and Mac

2007-05-09 Thread Joshua Garnett
Hi everyone, I've just gone through the very turbulent process of getting my Flex Builder 2 serial number converted from Windows to Mac. The FAQ makes the process seem fairly straightforward, but it is not. Here are a few things to keep in mind when calling Adobe's Customer Service: 1) Do not

Re: [flexcoders] Binding a property to a function

2007-01-30 Thread Joshua Garnett
HI Lieven, The way I usually do this is wrap the function I want to call with a setter function. So for example lets say I have mx:Binding source={model.myValue} destination=myValue /, I'd have a function: private function set myValue(v:String) : void { if(v != null) {

Re: [flexcoders] Adobe, Help Memory Leaking !!

2006-08-23 Thread Joshua Garnett
Have you tried setting the recycleChildren attribute of the Repeater to false? I believe when you have recycleChildren set to true, even if you reduce the number of items in the dataProvider, it still keeps an object in memory that it will reuse. I've actually encountered other issues with

[flexcoders] Issue with DragEvents

2006-07-17 Thread Joshua Garnett
I'm trying to capture the dragEnter event in a VBox container, but the event will only fire if the mouse is placed over an empty area of the Vbox. If the mouse is placed over an area that is filled (label, etc..) it doesn't want to fire. Is there a way to enable bubbling of DragEvents? or

[flexcoders] Re: Issue with DragEvents

2006-07-17 Thread Joshua Garnett
capturing events when they aren't visible? --JoshOn 7/17/06, Joshua Garnett [EMAIL PROTECTED] wrote: I'm trying to capture the dragEnter event in a VBox container, but the event will only fire if the mouse is placed over an empty area of the Vbox. If the mouse is placed over an area that is filled (label

[flexcoders] F2F FDS AMF Issue

2006-07-07 Thread Joshua Garnett
I've setup FDS to build the clients on the server using the secure-amf channel as the default. The channel uses the java adapter. Now the client that I'm working on works fine in Firefox. It is able to make calls through the AMF gateway without any issues. When trying to run the same client in

Re: [flexcoders] F2F FDS AMF Issue

2006-07-07 Thread Joshua Garnett
by setting the following in the secure-amf channel-definition properties section: add-no-cache-headersfalse/add-no-cache-headers Let me know if that fixes the issue. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Joshua Garnett Sent: Friday, July

Re: [flexcoders] Cairngorm 2 SequenceCommand question

2006-07-05 Thread Joshua Garnett
); CairngormEventDispatcher.getInstance().dispatchEvent(firstEvent);There may be a better approach, but this has been working for me.--JoshOn 7/5/06, Joshua Garnett [EMAIL PROTECTED] wrote: There are a couple of ways that you can do it. 1) Have your command extend SequenceCommand and then in the command's

Re: [flexcoders] Cairngorm 2 SequenceCommand question

2006-07-05 Thread Joshua Garnett
There are a couple of ways that you can do it. 1) Have your command extend SequenceCommand and then in the command's constructor call super(nextEvent). or 2) You can dynamically assign the nextEvent by passing it to the command. This is the way I prefer, since it allows you to build different

Re: [flexcoders] result fault event errors:

2006-07-03 Thread Joshua Garnett
I believe you need to change the references to event.call to event.token.--JoshOn 7/3/06, lownlazy000 [EMAIL PROTECTED] wrote:After upgrading to Flex 2 full-version I keep recieving this error: 1119: Access of possibly undefined property call through a referencewith static type

[flexcoders] F2F: Auto-complete import issue

2006-06-29 Thread Joshua Garnett
When creating a new variable and referencing CairngormEvent, Flex Builder 2 is automatically adding import org.nevis.cairngorm.control.CairngormEvent; instead of import com.adobe.cairngorm.control.CairngormEvent;. I've imported the new library and it compiles fine, its just that the

Re: [flexcoders] F2F: Auto-complete import issue

2006-06-29 Thread Joshua Garnett
/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 29 June 2006 16:14, Joshua Garnett wrote: Is there some setting I need to adjust or clear out?Do you have the old source code for Cairngorm somewhere ?--Tom Chiverton This email is sent

[flexcoders] Re: F2B3: Internal build error

2006-06-28 Thread Joshua Garnett
I finally discovered what the problem was. It turns out I was using the wrong ending tag in my FDS configuration file. It would be nice to get better feedback in the Builder for this type of error. Internal Build Error isn't very clear. --JoshOn 6/27/06, Joshua Garnett [EMAIL PROTECTED] wrote

Re: [flexcoders] switching from beta 3 to the real thing?

2006-06-28 Thread Joshua Garnett
One thing to keep in mind is that F2B3 code doesn't seem to run the same in the newly released Flash 9 Player. I just loaded up my F2B3 app with the new Flash Player and it doesn't work the same. The UI colors are off and I can't even load up all of my views in the code. So make sure you bundle

[flexcoders] F2B3: Internal build error

2006-06-27 Thread Joshua Garnett
I'm running the Flex 2 plugin inside of Eclipse. I made a few changes to the code and ended up hitting an Internal build error. I'm not sure what the actual cause is since I've tried to back out of the code changes I had recently made. Here is the message from the .log file:!ENTRY

[flexcoders] Flex 1.5 AMF Issue

2006-06-14 Thread Joshua Garnett
I'm having a problem passing objects that contain objects through the AMF gateway. I've found a way to work around it, but I'm not really keen on the solution. What I'm trying to do is pass an object to a java function. This object contains a reference to another object within it. When trying

Re: [flexcoders] How to user setInterval() to call the remoteobject method?

2006-04-25 Thread Joshua Garnett
Try calling setInterval like this, intervalID = setInterval(this,getUser,1); Also, in the getUser function add clearInterval(intervalID);--JoshOn 4/25/06, loveewind [EMAIL PROTECTED] wrote: Hi All, I have a piece of code below:?xml version=1.0 encoding=utf-8?mx:Application

Re: [flexcoders] OutOfMemoryError

2006-04-05 Thread Joshua Garnett
I'm not sure if this is related, but when running large Flex 1.5 apps I'd get an OutOfMemory Error from Tomcat. If you open up the Tomcat monitor and then goto the Java tab you can adjust the memory settings. I've set Initial Memory Pool to 64 and Maximum Memory Pool to 512. After making those

Re: [flexcoders] Re: What happened to Iteration:Two Site?

2006-04-03 Thread Joshua Garnett
Yeah if you refresh that link a few times it'll eventually show up.--JoshOn 4/3/06, rodneyjlucas [EMAIL PROTECTED] wrote:Most of the site is down but I was able to get Cairngorm v2.0 via the following pagehttp://www.richinternetapps.com/archives/000143.html--- In flexcoders@yahoogroups.com ,

Re: [flexcoders] Flash within Flex?

2006-03-20 Thread Joshua Garnett
I haven't used Flex 2.0 yet, but I know in Flex 1.5 to load in a swf you can use the Loader Class (checked Flex 2.0 docs and I don't believe this was depreciated). mxml example: mx:Loader source=some.swf id=mySwf / Once the file is loaded you can access any public functions/variables that exist

Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-16 Thread Joshua Garnett
The issue I ran into with sockets is that not everyone has all of their ports open, which essentially cuts out a decent portion of users.--JoshOn 3/16/06, Manish Jethani [EMAIL PROTECTED] wrote: On 3/17/06, Tracy Spratt [EMAIL PROTECTED] wrote: I am using .NET for the socket server. There are

Re: [flexcoders] Re: Cairngorm Framework with Flex 2.0

2006-03-15 Thread Joshua Garnett
According to a post at, http://www.richinternetapps.com/archives/cat_cairngorm.html, they still haven't decided how FES and Cairngorm will work together. I'm sure as we near an actual release of Flex 2, we'll see an update to Cairngorm 2. We're hugely excited about enterprise data services, and