[flexcoders] Re: setFocus is evil

2005-11-10 Thread Renaun Erickson
I vaguely remember messing with this. There was an issue with the Broswer/FLash Player getting focus itself. So basically your code running in the flash player is set correct but the Flash Player it self does not have focus, until you click some where on the flash swf in the page. I dont

[flexcoders] Re: Dynamic Events (Flex2 Custom Events?)

2005-11-10 Thread Renaun Erickson
FLEX 2: To added Arbitary properties to the Event object what you can do is create your custom Event class that extends the flash.events.Event like: package org.nevis.cairngorm.samples.store.view.checkout { import flash.events.Event; public class ShippingCostChangeEvent extends

[flexcoders] Re: Dynamic Events (Flex2 Custom Events?)

2005-11-10 Thread Renaun Erickson
To add arbitrary properties ... Getting tired ;) Renaun --- In flexcoders@yahoogroups.com, Renaun Erickson [EMAIL PROTECTED] wrote: FLEX 2: To added Arbitary properties to the Event object what you can do is create your custom Event class that extends the flash.events.Event like

[flexcoders] Re: Dynamic Events (Flex2 Custom Events?)

2005-11-10 Thread Renaun Erickson
@yahoogroups.com Subject: Re: [flexcoders] Re: Dynamic Events (Flex2 Custom Events?) I still can't set bubbles = true, though... bleh - Original Message - From: Renaun Erickson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, November 10, 2005 7:39 PM Subject

[flexcoders] Re: Cairngorm is bad?

2005-11-15 Thread Renaun Erickson
The code example fit Mykola's arguments well, which I see as a case for a component that self contains everything. The Model, ViewHelper, and Command for these specific components would never be reused outside the component it self. Is there a need for this? Could be, but a lot of times Models

[flexcoders] Re: Cairngorm is bad?

2005-11-15 Thread Renaun Erickson
Mykola Paliyenko but how often do you need model to be shared across views that are backed by different mxmls? This definitely depends on the type of applications you are creating. The one I am working on now has roughly 20 tables and only 3 are changed by the user. I do more reading and

[flexcoders] Re: Links to Nice-looking Flex Apps

2005-11-15 Thread Renaun Erickson
You might get some mileage from the samples off flexauthority.com http://www.flexauthority.com/samplesIndex.cfm The Harely-Davidson one is a nice example, you can find the link the the past posts. --- In flexcoders@yahoogroups.com, Merrill, Jason [EMAIL PROTECTED] wrote: My client wants some

[flexcoders] Re: My Flex Site Mockup - considerations?

2005-11-17 Thread Renaun Erickson
There are technical issues with just deploying generated SWF's. But it depends on the features you use in Flex Server. Like the Proxy server, named Remoting services, and/or security configurations. You can still do everything in flash so its by-passable, but just be aware there are

[flexcoders] Re: Poll: Flex developer US$ rate?

2005-11-18 Thread Renaun Erickson
I'll join, hehe --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Dude, I want to run a firm now. - Original Message - From: Hans Omli [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, November 18, 2005 1:55 PM Subject: RE: [flexcoders] Poll: Flex

[flexcoders] Re: Binding Data XML vs. AMFPHP

2005-11-18 Thread Renaun Erickson
Flex 1.5 AMFPHP is just like any other gateway. Just set up the gateway correctly on your Apache/PHP server. Then change the amf-gateway in the flex-config.xml file to point to the AMFPHP gateway (example below). Then use the mx:RemoteObject/ tag. Like this: mx:RemoteObject id=recordsDelegate

[flexcoders] CellRenderer Bound DataProvider create/destroy issue

2005-11-18 Thread Renaun Erickson
I have a component that I am programmatically create and destroy (createChild/destroyChild), call it ResultList. ResultList has a TileList that has a dataprovider that is bound to a static variable Items. So the sequence looks like: Create ResultList Fill the array of Items (which in turn

[flexcoders] Re: Returning Object Instances from ColdFusion

2005-11-19 Thread Renaun Erickson
mx.utils.ClassUtil.FLEX_CLASS_FIELD is a static field. And the value is _remoteClass the article is pointing out that you need to set it to _REMOTECLASS because of how coldfusion sends back properties (in all uppercase). So like the article notes your AS Objects will have to have all UPPER class

[flexcoders] Re: Links to Nice-looking Flex Apps

2005-11-19 Thread Renaun Erickson
Here is an interesting way to look for examples: http://www.google.com/search?q=mxml+filetype%3Amxml It brings up this site that I haven't seen before. http://designcenter.omnova.com/flex/omnova/omnovaProductSelector.mxml?versionChecked=true Renaun --- In flexcoders@yahoogroups.com, Merrill,

[flexcoders] Re: Returning Object Instances from ColdFusion

2005-11-19 Thread Renaun Erickson
, Simeon Bateman [EMAIL PROTECTED] wrote: Thanks for your response. I guess my real question is where am I supposed to set hte FLEX_CLASS_FIELD at? Just in my VO in as? Its just not clear to me. Thanks. simeon --- In flexcoders@yahoogroups.com, Renaun Erickson [EMAIL PROTECTED] wrote

[flexcoders] Re: php flex-2 standalone

2005-11-20 Thread Renaun Erickson
You can always connect using the NetConnection code as you do in Flash and AS 2.0. The Flex mxml tags are just nice wrappers that handle a lot stuff for you. I used the AS NetConnection class to connect a Flex 2 app to the current AMF ColdFusion format just fine. The newer RemoteObject

[flexcoders] Re: php flex-2 standalone

2005-11-21 Thread Renaun Erickson
=585threadid=1081224enterthread=y which seems to indicate it likely won't work. Any light you can throw on getting back a record set would be most welcome. Yours truly, -Brian Renaun Erickson wrote: You can always connect using the NetConnection code as you do in Flash and AS 2.0

[flexcoders] Re: php flex-2 standalone

2005-11-21 Thread Renaun Erickson
=585threadid=1081224enterthread=y which seems to indicate it likely won't work. Any light you can throw on getting back a record set would be most welcome. Yours truly, -Brian Renaun Erickson wrote: You can always connect using the NetConnection code as you do in Flash and AS 2.0. The Flex

[flexcoders] Re: Adding node

2005-11-28 Thread Renaun Erickson
http://livedocs.macromedia.com/flex/15/asdocs_en/ Use addTreeNode or addTreeNodeAt. Renaun --- In flexcoders@yahoogroups.com, Ghislain Simard [EMAIL PROTECTED] wrote: I need to add programmatically a node in a Tree. That node has to be inserted at the end of my Tree. The Tree is populated

[flexcoders] Re: Adding one or more property in a node of a tree

2005-11-28 Thread Renaun Erickson
You could use setProperty method right on the node object, but I would encourage just creating your custom Objects and pass that as the data value of the node. Something like: var dataObject = new Object(); dataObject.screen = cde; dataObject.color = blue; dataObject.label = abc;

[flexcoders] Flex2 flash_proxy/Proxy getProperty and Binding

2006-03-14 Thread Renaun Erickson
The sample code is located below. I am trying to find a way to bind dynamic attributes (when using Proxy class). I can't get the dynamic properties to bind, any suggestions or help would be appreciated. Renaun Proxy Class: package { import flash.util.flash_proxy; import

[flexcoders] Re: Flex2 flash_proxy/Proxy getProperty and Binding

2006-03-15 Thread Renaun Erickson
, Mike On 3/15/06, Renaun Erickson [EMAIL PROTECTED] wrote: The sample code is located below. I am trying to find a way to bind dynamic attributes (when using Proxy class). I can't get the dynamic properties to bind, any suggestions or help would be appreciated. Renaun Proxy

[flexcoders] Re: Cairngorm Framework with Flex 2.0

2006-03-15 Thread Renaun Erickson
The framework can be used for UI organization as well as the Data Services. Its a big assumption stating its designed for RPC protocols. Its actually designed for overall application design, the Command pattern used by Cairngorm specifically compliments/facilitates RPC, internal application

[flexcoders] Re: Cairngorm Framework with Flex 2.0

2006-03-15 Thread Renaun Erickson
PROTECTED] wrote: Thanks Renaun. Concetually this must be true. But DataServices has has some cool features like DS binding with DataGrid - my concern is how to fit such fecilities into framework . From: flexcoders@yahoogroups.com on behalf of Renaun Erickson

[flexcoders] Re: Multiple flex apps on one tomcat server out of memory

2006-03-15 Thread Renaun Erickson
What version JVM are you using. I use JRockit with Tomcat for my best results on the servers (regular Java apps). No need to set XMS and XMX settings on JRockit as the default settings group the heap size for you (there are pros and cons for this, but you wont get OutOfMemory very easily). I

[flexcoders] Re: Embedding Flash 7 or 8 into Flex

2006-03-18 Thread Renaun Erickson
The issue with embed SWF referencing _root can be eliminated by using this._lockroot = true; http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1522.html Renaun --- In flexcoders@yahoogroups.com, Roger Gonzalez [EMAIL

[flexcoders] Flex Framework Source Code

2006-03-19 Thread Renaun Erickson
I am seeing some reports that the Flex Framework Source Code will become available. 2006-03-17 Full Flex framework ActionScript source code released on Adobe Flex 2.0 Beta1 CD - in \extras\flex2_b1_framework+charts_source_01-30.zip. I don't see this online yet, the CD was included with this

[flexcoders] Re: Flex Framework Source Code

2006-03-20 Thread Renaun Erickson
/06, Paul BH [EMAIL PROTECTED] wrote: you might find this useful too: http://www.docsultant.com/site2/articles/flex_src.html On 3/20/06, Renaun Erickson [EMAIL PROTECTED] wrote: I am seeing some reports that the Flex Framework Source Code will become available

[flexcoders] Re: Flash within Flex?

2006-03-20 Thread Renaun Erickson
=300 source=@Embed (source=xxx/LeftNav.swf') x=50 y=55/ ...I only see the first frame of the swf. What's the deal? --- In flexcoders@yahoogroups.com, Renaun Erickson renaun@ wrote: You can access SWF's in Flex. Just pay attention to the normal quirks. _lockroot

[flexcoders] Re: WebService vs. RemoteObject ??

2006-03-21 Thread Renaun Erickson
The quick answer, WebService uses the SOAP specification to transfer data. This is a xml based specification that was created so people could expose their API to others on a common ground. (Its a specification so how its actually implemented across Java, .NET, PHP, etc... can be different,

[flexcoders] Re: Google Finance in AJAX: Can we do this in Flex?

2006-03-21 Thread Renaun Erickson
When I right-click it comes up as Flash Player, hmmm... AJAX and Flex (FABridge?) probaby not, Google wouldn't be using Flex2, but probably a nice Flash app. Renaun --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Sorry to keep posting but, I just went back to that

[flexcoders] mxmlc/compc versus web server compile

2006-03-22 Thread Renaun Erickson
## This post is in regard to Flex 1.5 ## I have finally got around to trying out mxmlc and fastmxmlc with a xml build script. The purpose was to see if it was faster to use mxmlc to compile on my development environment versus using the web server (accessing the mxml by a url). I am not seeing

[flexcoders] Re: mxmlc/compc versus web server compile

2006-03-22 Thread Renaun Erickson
After some more reading I am under the assumption that for development of Flex 1.5 apps its better to use the Java web server access to compile with caching on. Is this correct? Renaun --- In flexcoders@yahoogroups.com, Renaun Erickson [EMAIL PROTECTED] wrote: ## This post is in regard

[flexcoders] Re: mxmlc/compc versus web server compile

2006-03-22 Thread Renaun Erickson
. -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Renaun Erickson renaun@ wrote: After some more reading I am under the assumption

[flexcoders] Re: mxmlc/compc versus web server compile

2006-03-22 Thread Renaun Erickson
Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Renaun Erickson renaun@ wrote: After some more reading I am under the assumption that for development of Flex

[flexcoders] Re: mxmlc/compc versus web server compile

2006-03-22 Thread Renaun Erickson
(developer chooses which target to compile - unitests,app or all) and our continues integration server. we only deploy a swf to production. On 3/22/06, Renaun Erickson [EMAIL PROTECTED] wrote: Thanks Johannes for insight. Is this what you do as a developer on a dev box? Or only

[flexcoders] Re: mxmlc/compc versus web server compile

2006-03-22 Thread Renaun Erickson
(unit tests for example) and the flexibility that ant gives you, since in the long run you save time On 3/22/06, Renaun Erickson [EMAIL PROTECTED] wrote: The use of the multiple targeted build scripts (unittests, app, or all) makes sense. My question then would be, is the speed

[flexcoders] Re: mxmlc/compc versus web server compile

2006-03-22 Thread Renaun Erickson
a lot of other stuff however that you will never get using that approach, like svn integration and the ability to inspect the flashlog file after something has run. On 3/22/06, Renaun Erickson [EMAIL PROTECTED] wrote: I totally agree with the reasoning behind the longer compile times

[flexcoders] Re: mxmlc/compc versus web server compile

2006-03-23 Thread Renaun Erickson
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Renaun Erickson Sent: Wednesday, March 22, 2006 6:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: mxmlc/compc versus web server compile Dave, Thanks for the response. So you use ANT build scripts

[flexcoders] Re: mxmlc/compc versus web server compile

2006-03-23 Thread Renaun Erickson
Yeah, life is too short. You can always go once step further and add Mason on top of ANT and have a whole other bag of goodies to spin off during the build process. Maybe even the Flex 2 document/source code generator I am seeing people talking about. Renaun --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Streaming video via RTMP into flex 1.5

2006-03-26 Thread Renaun Erickson
In Flex 1.5 the media components are MediaDisplay and MediaController (almost identical to MX Media Components). Just like you would use the old MX components to stream video you can do that in Flex 1.5. Renaun --- In flexcoders@yahoogroups.com, kjlinboomer [EMAIL PROTECTED] wrote: Hello,

[flexcoders] Re: Cairngorm problem

2006-03-27 Thread Renaun Erickson
I create an example called ComplexObjectBinding that illustrates using simple binding and Cairngorm method of a static ModelLocator. You can find it here: http://www.renaun.com/flex2/ Not sure whats up with your code, I pretty much did you what you outlined, only thing I can guess is if the

[flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-03-27 Thread Renaun Erickson
I have created an example showcasing Flex2 Beta2, Cairngorm2 and AMFPHP. It uses a custom RemoteObjectAMF0 component I created. The custom component allows access to AMF0 format services. The access tries to mimic a subset of what you can do with the Flex 1.5 RemoteObject. It does not support

[flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-03-28 Thread Renaun Erickson
You set the gateway URL in the RemoteObjectAMF0 endpoint attribute. In the example that is located at org.nevis.cairnogrom.samples.login.business.Services.mxml Renaun --- In flexcoders@yahoogroups.com, William Lambé [EMAIL PROTECTED] wrote: Where did you put the two lines : var

[flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-03-28 Thread Renaun Erickson
is: using your implementation you can only pass three args, can't you? How would you do it if you want to pass more than three args? Thanks, Oriol 2006/3/28, Renaun Erickson [EMAIL PROTECTED]: I have created an example showcasing Flex2 Beta2, Cairngorm2 and AMFPHP. It uses a custom

[flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread Renaun Erickson
One big one is everytime Flex comes up with newer components Laslo either has to mimic them or create their own version. Another is Laslo is runtime heavy and Flex is compiled. Renaun --- In flexcoders@yahoogroups.com, Sanjeeb Patel [EMAIL PROTECTED] wrote: Hi All, I am in the

[flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread Renaun Erickson
is runtime heavy and Flex is compiled. Would you please elaborate ? Thanks, -San -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Renaun Erickson Sent: Tuesday, March 28, 2006 9:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

[flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread Renaun Erickson
The size has to do with all the Flex Framework components, yes its bigger but a richer set of components. Even if Laslo did a lot of interperting at the runtime level it could still have decent performance, I assume its not a problem as Laslo is viable. The richness of Flex Framework is not to

[flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread Renaun Erickson
Thanks for the clarification. It does only include what you use but just creating a Flex application requires a big chunk of components. I agree with the not in control of their runtime and playing catch-up. Price used to be the biggest issue but that has gone a way with Flex2. Flash Lite 2

[flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-03-28 Thread Renaun Erickson
, William. _ De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Renaun Erickson Envoyé : mardi 28 mars 2006 17:37 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP] Oriol, Thanks for you feedback

[flexcoders] Re: Cairngorm problem

2006-03-28 Thread Renaun Erickson
This does sound weird. I haven't had time to play with the HTTPService 1s timing issue. But definetly something is going on. So we have narrowed it down to HTTPService and Binding is that correct, not Cairngorm or other RPC services? Renaun --- In flexcoders@yahoogroups.com, Peter Blazejewicz

[flexcoders] Re: Cairngorm problem

2006-03-28 Thread Renaun Erickson
Johanthan and Peter, I finally got a chance to test the code. I confirm the spardic LineChart bind issue with HTTPService's url accessing a cfm and a php file. I also confirm Peter's solution by using executeBindings. Basically import mx.core.Application and add this line of code at the bottom

[flexcoders] Re: Flex 2.0 and AMF.NET

2006-03-29 Thread Renaun Erickson
Does AMF.NET support the new AMF format? With Flash Player 8.5 and AS 3 there was released a newer AMF format, called AMF3. Renaun --- In flexcoders@yahoogroups.com, Niklas Richardson [EMAIL PROTECTED] wrote: Hi Everyone, Is there any reason why AMF.NET would not work with Flex 2.0? We're

[flexcoders] Re: Fedora Core 5 and Flex 1.5

2006-03-30 Thread Renaun Erickson
I have had trouble with Apache 2.2 and ColdFusion, I am stepping on thin ice but would assume Apache 2.2 is the culprit. Renaun --- In flexcoders@yahoogroups.com, charlespaz1 [EMAIL PROTECTED] wrote: Anyone been able to get Flex to work properly under FC5? Apache 2.2 and Tomcat 5.5.15 come

[flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-03-31 Thread Renaun Erickson
Can you create some sample code we can see? Flex2 has a Publish Application Source feature. --- In flexcoders@yahoogroups.com, lift69boy [EMAIL PROTECTED] wrote: hi allnot a new question but still can't find the answer... i think this is more of a flash security issue but I get the

[flexcoders] Re: Flash Player 7 for Pocket PC?

2006-04-03 Thread Renaun Erickson
Flash Lite 2 is consider Flash Player 7 version but does not have any of the Flex Framework so will not play flex swfs. Renaun --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote: So uhh.. Charles Freedman here @ yahoo just sent me this link...

[flexcoders] Re: Flash Player 7 for Pocket PC?

2006-04-03 Thread Renaun Erickson
- From: Renaun Erickson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, April 03, 2006 8:23 PM Subject: [flexcoders] Re: Flash Player 7 for Pocket PC? Flash Lite 2 is consider Flash Player 7 version but does not have any of the Flex Framework so will not play flex swfs

[flexcoders] Re: AMFPHP v.s. HTTPService PHP ??

2006-04-22 Thread Renaun Erickson
I agree with Jesse on the points between the Binary and XML formats. One of the other down falls of AMFPHP and AS3 right now is that you have to us NetConnection and not a nice RemoteObject component. Thats not to say the NetConnection wont work in the future, it probably will continue to,

[flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-04-22 Thread Renaun Erickson
of AMFPHP? I'm having the same request as William. --- In flexcoders@yahoogroups.com, Renaun Erickson renaun@ wrote: You set the gateway URL in the RemoteObjectAMF0 endpoint attribute. In the example that is located at org.nevis.cairnogrom.samples.login.business.Services.mxml

[flexcoders] Re: iteration::two namespace

2006-04-27 Thread Renaun Erickson
There is a Cairngorm 2 beta version for the Flex 2 Beta 2+ out there. Look over the list for the link. Renaun --- In flexcoders@yahoogroups.com, Darren Houle [EMAIL PROTECTED] wrote: I'm gathering all the public Caringorm examples I can for study, so I downloaded the BlogReader.zip from

[flexcoders] Re: f2 b3 Sound busted ?

2006-05-11 Thread Renaun Erickson
The night Beta 3 came out, I tried out an application I wrote in Beta 2 and the sound didn't work. I messed around with the application again today and it works just fine. My code is just like you mentioned (like the livedocs). I have cleared my cache since the first test not sure if that has

[flexcoders] Re: Cairngorm ServiceLocator and AMFPHP

2006-05-13 Thread Renaun Erickson
Andi, Stefan, I just updated the code to Flex2 Beta3. You can see my post about it here. http://renaun.com/blog/?p=31 Renaun --- In flexcoders@yahoogroups.com, Andrea Varga [EMAIL PROTECTED] wrote: Hi Stefan You might want to look at this: http://renaun.com/blog/?p=25 Andi

[flexcoders] Re: Cairngorm ServiceLocator and AMFPHP

2006-05-13 Thread Renaun Erickson
. Only time will tell, Renaun --- In flexcoders@yahoogroups.com, stefan_schmalhaus [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Renaun Erickson renaun@ wrote: I just updated the code to Flex2 Beta3. You can see my post about it here. Renaun, Thanks for taking

[flexcoders] Re: Using amf0 in f2b3

2006-05-18 Thread Renaun Erickson
X, Thanks for sharing your code updates. I have also created a component that provides AMF0 functionality with Flex2. You can find it here: Custom RemoteObjectAMF0 http://www.renaun.com/flex2/ I was caught up on a part of the implementation but your code help me figure out how to pass along

[flexcoders] Re: Camera.getCamera(name:String) does not work and crashes the player

2006-07-12 Thread Renaun Erickson
If I understand you right, you are having problems with var camera:Camera = Camera.getCamera(); for any camera? or is your issue you are trying to dynamic selected a camera? Ok, first var camera:Camera = Camera.getCamera(); works in Flex 2 for me. You can check by going to my application that

[flexcoders] Re: Flex AMFPHP and VOs

2006-07-25 Thread Renaun Erickson
I have updated the RemoteObjectAMF0 with samples of how to do the AMFPHP and VO's. Example Using Cairngorm: http://www.renaun.com/flex2/CairngormAMFPHPExample/CairngormAMFPHPExample2.html Example With Out Using Cairngorm:

[flexcoders] Re: Cairngorm AMFPHP - List of VO Instances

2006-07-25 Thread Renaun Erickson
You can take 2 approaches on the Array of VO's. First approach is to create the array of VO's in PHP instead of passing back a PHP resultset. The other option is to put the returned PHP resultset through a Factory AS object and create teh Array of VO's on the Flex/AS side. You can pass Array of

[flexcoders] Re: SWF Volume

2006-07-25 Thread Renaun Erickson
If you are using the mx.controls.VideoDisplay you would use: var myVideo:VideoDisplay = new VideoDisplay(); myVideo.source = some.flv; myVideo.volume = 50; myVideo.play(); or mx:VideoDisplay id=myVid height=158 width=211 source=assets/phone.flv autoPlay=false volume=50/ Renaun --- In

[flexcoders] Re: Cairngorm AMFPHP - List of VO Instances

2006-07-25 Thread Renaun Erickson
A simple way to do in the Flex/AS side is in the VO with a static function. So for a UserVO factory you would have something like this. public static function CreateUserVO( results:Array ):Array { var newArray:Array = new Array(); for( var i:int = 0; i results.length; i++ ) { var

[flexcoders] Re: Flex AMFPHP and VOs

2006-07-25 Thread Renaun Erickson
: cannot convert [EMAIL PROTECTED] com.renaun.samples.vo.BookVO. And the same happens with your example Andi. Then, my question is, can anyone do this without the coercion error, and, without extra functions to map it? Thanks, Oriol. 2006/7/25, Renaun Erickson [EMAIL PROTECTED]: I have

[flexcoders] Re: Flex AMFPHP and VOs

2006-07-25 Thread Renaun Erickson
Andi, The Cairngorm 2 that is packaged in it was from their second 2 release, and I had to add the getRPCService myself also. I need to go back and include just the SWC or have people download it separate. As for the AbstractService and namespace usage, it is a more cleaner approach and I'll

[flexcoders] Re: Flex AMFPHP and VOs

2006-07-25 Thread Renaun Erickson
Yes, I have my examples working locally with PHP 5.1.1 and on my renaun.com server under PHP 4.3.x. You'll have to change the BookVO.php file to use var instead of public. You can read my post about it on my blog at http://renaun.com/blog/2006/07/25/70/. Renaun --- In

[flexcoders] Re: Google Analytics and Flex

2006-07-25 Thread Renaun Erickson
Google Analytics is by invitation only right now. So its kind of hard to review it. Also from the Help page. === Is there a Google Analytics API? Urchin does not currently provide an API to access the reporting data. However, we do offer export functionality for single reports in the following

[flexcoders] Re: Google Analytics and Flex

2006-07-26 Thread Renaun Erickson
do execute an javascript function on the actions you wana log. Rogerio On 7/25/06, Renaun Erickson [EMAIL PROTECTED] wrote: Google Analytics is by invitation only right now. So its kind of hard to review it. Also from the Help page. === Is there a Google Analytics API

[flexcoders] Re: Flex AMFPHP and VOs

2006-07-26 Thread Renaun Erickson
, Renaun Erickson renaun@ wrote: I have updated the RemoteObjectAMF0 examples to demonstrate it working with out the error. Thank you very much. I successfully tested your example. Just two things: 1. Since you use the old org.nevis namespace for the Cairngorm package I assume

[flexcoders] Re: Flex AMFPHP and VOs

2006-07-27 Thread Renaun Erickson
, Renaun Erickson renaun@ wrote: I have updated the RemoteObjectAMF0 examples to demonstrate it working with out the error. Thank you very much. I successfully tested your example. Just two things: 1. Since you use the old org.nevis namespace for the Cairngorm package I assume

[flexcoders] Re: Not getting code hinting for Cairngorm types

2006-07-28 Thread Renaun Erickson
Seems to work for me. For example, in a the script tag of an applicaiton tag I typed in: var fc:FrontController = new FrontController(); fc. When I hit CTRL-Space at the fc. I get the code hinting, you'll addCommand in the code hinting which is a public method on the FrontController. Renaun

[flexcoders] Re: rotation on mx:Text?

2006-07-28 Thread Renaun Erickson
It worked for me, I tried the rotation attribute and the Rotate effect. ?xml version=1.0 encoding=utf-8? !-- Simple example to demonstrate the Rotate effect. -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; initialize=Font.registerFont(arial_font); mx:Script ![CDATA[

[flexcoders] Re: [Flex 2/Flex Builder 2] Viewing Source for certain files fails

2006-08-01 Thread Renaun Erickson
I do know not all the classes are in the source. You can find the source files (at least with a standard install of the standalone Flex Builder 2 on windows) here: C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\source I did find mx.containers.utilityClasses.CanvasLayout.as so I am

[flexcoders] Re: Cairngorm user interaction best practices

2006-08-01 Thread Renaun Erickson
I believe either will work. Book are tied to the datagrid through selectedItem or selectedIndex. More than not if you are going to want a reference to the selected item of a collection outside of the encapsulated View/ViewHelper you would add another attribute to the model and set the selected

[flexcoders] Re: Cairngorm: Managing Application State

2006-08-01 Thread Renaun Erickson
The states as used in Cairngorm will not correlate with the mx:states in Flex 2. The serve different purposes. Well let me step back and say, this is how I feel about it. Flex 2 states are good for view/control states where Cairngorm workflow states are just that work/process flow. Thats not

[flexcoders] Re: Cairngorm: Managing Application State

2006-08-02 Thread Renaun Erickson
--- In flexcoders@yahoogroups.com, Renaun Erickson renaun@ wrote: The states as used in Cairngorm will not correlate with the mx:states in Flex 2. The serve different purposes. Well let me step back and say, this is how I feel about it. Flex 2 states are good for view/control states where

[flexcoders] Re: Serverside FLV conversion?

2006-08-02 Thread Renaun Erickson
On2 Flix Engine http://www.on2.com/developer/flix-engine-sdk/ There are other transcoding services or boxes that people sale. I think ffmpeg is also used to encode FLV its open source but will take some configuration to make it work as you want. Renaun --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Array parameters fail with Webservices

2006-08-02 Thread Renaun Erickson
Try: ws.sendStrings(One,Two,Three); Which should make the call with 3 distinct parameters. Renaun --- In flexcoders@yahoogroups.com, kaleb_pederson [EMAIL PROTECTED] wrote: I'm using a webservice that requires that an array of strings be passed to one function. Each method that I have

Re: [Junk E-Mail - MED] [flexcoders] Binding array to repeater

2006-08-03 Thread Renaun Erickson
To use ArrayCollection it will look like this: import mx.collections.ArrayCollection; [Bindable] public var arrMdta:ArrayCollection; private function init():void { var myArray:Array = new Array(); for(var i:Number = 1; i 100; i++) {

[flexcoders] Re: Array parameters fail with Webservices

2006-08-03 Thread Renaun Erickson
the number of variations that I have tried, I'm beginning to wonder if this is a bug? Thanks for the help. --Kaleb --- In flexcoders@yahoogroups.com, Renaun Erickson renaun@ wrote: Try: ws.sendStrings(One,Two,Three); Which should make the call with 3 distinct parameters

[flexcoders] Re: How to streaming video with VideoDisplay component?

2006-08-03 Thread Renaun Erickson
To do live streaming you need a FMS server. Technically the FLV by it self is a progressive streaming format. Just use VideoDisplay and set the source attribute with a url to the FLV be it on a normal server or on a FMS server over rtmp. Renaun --- In flexcoders@yahoogroups.com, user_abcxyz

[flexcoders] Re: reset forms

2006-08-03 Thread Renaun Erickson
I wrote an AdvancedForm component that might help. http://renaun.com/blog/flex-components/comp-advancedform Renaun --- In flexcoders@yahoogroups.com, arnold_charming [EMAIL PROTECTED] wrote: Hi! How to reset input forms when a user returns to a screen where he has already been? By default

[flexcoders] Re: Schema files for mxmlc and compc config files

2006-08-09 Thread Renaun Erickson
Have you tried: mxmlc -help list mxmlc -help advanced mxmlc -help syntax mxmlc -help aliases mxmlc -help details You can find alot of information from the executables themselves. Renaun --- In flexcoders@yahoogroups.com, Lance Linder [EMAIL PROTECTED] wrote: Anyone know where I could get

[flexcoders] Re: Want to create paint application

2006-08-15 Thread Renaun Erickson
Jesse Warden has some example of drawing in Flex2/AS3 on his blog: http://www.jessewarden.com/archives/2005/10/as3_chronicles.html There's not going to be an example just like MS but the idea of painting in Flash is pretty standard you just have to put all the pieces together and spend the time

[flexcoders] Re: MediaPlayback for Flex 2

2006-08-15 Thread Renaun Erickson
Name change VideoDisplay now. http://livedocs.macromedia.com/flex/2/langref/mx/controls/VideoDisplay.html --- In flexcoders@yahoogroups.com, Bruno Martins [EMAIL PROTECTED] wrote: Any one know where I can find it? Tks.. -- Bruno Gustavo Martins Office: (11)3443-9527 experience

[flexcoders] Re: AMFPHP: Mapping date objects between PHP and Flex

2006-08-21 Thread Renaun Erickson
Oriol, My example is a little misleading, I will have to update it. The issue at hand is a limitation of PHP. You have to handle the manual conversion your self and your method below is a perfect fit. As far as the 1000 issue it is related to Flash date. Flash dates are mapped to Unix

[flexcoders] Re: AMFPHP: Mapping date objects between PHP and Flex

2006-08-21 Thread Renaun Erickson
PROTECTED] wrote: And why dates are multiplied by 1000? 2006/8/21, Renaun Erickson [EMAIL PROTECTED]: Oriol, My example is a little misleading, I will have to update it. The issue at hand is a limitation of PHP. You have to handle the manual conversion your self and your

[flexcoders] Re: Blitz XRay

2006-08-24 Thread Renaun Erickson
The connectors link shows: Connectors (8.11.2006) * Latest component package for AS2 (xray_conn_1.6.mxp) * Latest component package for AS1 (xray_component_as1.mxp) * Connector-only package for MTASC, SFWMill, etc. * Connector Only Tutorial (Tutorial in

[flexcoders] Re: Blitz XRay

2006-08-24 Thread Renaun Erickson
on the link for the 1.6 version: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.mxp?format=raw On 8/24/06, Renaun Erickson [EMAIL PROTECTED] wrote: The connectors link shows: Connectors (8.11.2006) * Latest component package for AS2

[flexcoders] Re: Blitz XRay

2006-08-25 Thread Renaun Erickson
that communicates with that connector is a Flex2 application however. On 8/24/06, Renaun Erickson [EMAIL PROTECTED] wrote: Would be less confusing if the OSFlash site stated it supported AS3. How do you put the connector directly into a Flex2 application? Do you have the SWC or AS source code

[flexcoders] Re: Blitz XRay

2006-08-25 Thread Renaun Erickson
--- In flexcoders@yahoogroups.com, John Grden [EMAIL PROTECTED] wrote: LOL yep! man, lately, that's all I've been hearing about...guess I should get on it ;) On 8/25/06, Renaun Erickson [EMAIL PROTECTED] wrote: Lol, good luck :) Thanks, that is what I thought, just got confused

[flexcoders] Re: Coldfusion Flex Beginner

2006-08-26 Thread Renaun Erickson
Have your ColdFusion WebService return an Array of Structs. In you Flex code on the result event handler for the WebService operation take the event.result and will a line like this create your ArrayCollection. myArrayCollection = event.result as ArrayCollection; Then bind the myArrayCollection

[flexcoders] Re: Flex Builder 2, getting slower as code grows

2006-08-29 Thread Renaun Erickson
Your choice of Java VM, its version and its arguments play a big roll in how your Flex Builder (Eclipse) and Flex compiler will perform. Renaun --- In flexcoders@yahoogroups.com, Douglas Knudsen [EMAIL PROTECTED] wrote: some things that may help:

[flexcoders] Re: AMFPHP / Cairngorm / _explicitType Problem

2006-11-03 Thread Renaun Erickson
It is very possible to use Cairngorm AMFPHP and VO's. I have a RemoteObjectAMF0 component that helps facilitate Flex 2 and AMF0 connections. Along with the component is a Cairngorm 2.1 Store example with AMFPHP backend. http://renaun.com/blog/flex-components/remoteobjectamf0/ Renaun

[flexcoders] Re: mx.rpc.remoting.mxml.RemoteObject source code?

2006-11-08 Thread Renaun Erickson
They do not give us everything, this is one of those cases. Is there anything in particular that you are trying to do with that class? Renaun http://renaun.com/blog/ --- In flexcoders@yahoogroups.com, Douglas McCarroll [EMAIL PROTECTED] wrote: Hi All, Does anyone know if the source code

  1   2   >