[flexcoders] Strange behavior on mx:TextArea

2005-12-16 Thread keishichi2001
I think TextArea component is a very simple one. And I use this component any place in my application built with Flex 2. However in particular case, i got following error popup. TypeError: Error #1034: Type Coersion failed: cannot convert flash.events::[EMAIL PROTECTED] to

RE: [flexcoders] Strange behavior on mx:TextArea

2005-12-16 Thread Abdul Qabiz
Hi, I think, that error is because of something else instead of this code. This error is because of improper casting... Can you post the complete code? -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of keishichi2001Sent: Friday, December 16, 2005 2:16

[flexcoders] Printing options in Flex 2

2005-12-16 Thread Dima Ulich
Did anyone tried to use flex printing packages? When I tried to print a report with bitmaps it didn't print them. It only print bitmaps if they are embeded into swf file. But I need to dynamically add images. Does anyone have any suggestion how to do it? I don't know may be it's alpha version

[flexcoders] Flex2 (old subject amfphp) best way to communicate with php

2005-12-16 Thread Flapflap
Hi there, I read your post (not all... sorry) and to resume I look to others solutions So I try the webservice way... Mmmm I got trouble with xsd:array type return form nusoap that don't support by Flex2 (not even by Flash)... So does you guys have a solution to exchange array data type

[flexcoders] Trying to set the track colors on an HSlider

2005-12-16 Thread siteask
I'm just beginning to work with styles in Flex and I'm trying to get a handle on how to set the colors of the tracks in an HSlider. Here is what I'm doing... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* mx:Style HSlider {

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread Brian Lesser
Hi Dave, This thread started with a query regarding using the open source AMF PHP software that a number of people have been using for some time to build Flash/AMF/PHP based applications. Developers in that space naturally want to continue to use the server-side code base (in PHP) they have

[flexcoders] Re: Modifying Scroll Bars

2005-12-16 Thread ffej1138
Thanks for your help. I want much more control over how the slider and buttons look. I want to chjange them more than just their color. I guess what I need to do is modify pulseBlue.fla. But I understand this is not how it's done in flex 2 so I think I'll hold off on this little project until I

RE: [flexcoders] Re: columnCount prop doesn't work in TileList(Flex2.0)

2005-12-16 Thread Joan Tan
Yes, this is a bug in Flex2 for TileList not honoring columnCount when you have height or width settings. It has been fixed internally, so you should see the fix in subsequent builds. Thanks, Joan -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread Brian Lesser
Thanks Matt, You know I just assumed addHeader was a public function because it showed up in the Flash Help. But of course you're right. It only does that because I've installed the Flash Communication Server and the entry is only in the server-side ASD. When the Remoting classes were

RE: [flexcoders] Trying to set the track colors on an HSlider

2005-12-16 Thread Philippe Maegerman
http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html Form elements Slider Philippe From: flexcoders@yahoogroups.com on behalf of siteask Sent: Thu 12/15/2005 23:38 To:

RE: [flexcoders] Re: Modifying Scroll Bars

2005-12-16 Thread Philippe Maegerman
Not sure but maybe skins (swc) might help you. I have never used them so I cannot give you a start point. Maybe s/one else in the list has experience with that. Philippe From: flexcoders@yahoogroups.com on behalf of ffej1138 Sent: Fri 12/16/2005 1:49 To:

[flexcoders] 1st flex 2 project, startup problems

2005-12-16 Thread fritzdimmel
Hi!I want to start a net flex2 project.What I want to do is is to have some mxml files and some as classes.The main app should be a mxml.I've: (mymxml.mxml)?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" mx:Label id="myLabel" text="no

[flexcoders] flex1.5 can not apply style or theme to the rsl, any 1 can help?

2005-12-16 Thread sobluesky
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; marginBottom=0 marginLeft=1 marginRight=1 marginTop=0 verticalGap=0 rsl=flex.sws;icons.sws theme=theme/winXp/windowsXP.swc mx:Style source=theme/winXp/windowsXP.css/ all the classes in the flex.sws, and icons.sws will not have the

Re: [flexcoders] 1st flex 2 project, startup problems

2005-12-16 Thread Johannes Nel
first off, the event model has changed so you subscribe to an enterframe event root.addEventListener(enterFrame,frameListener); private function frameListener(evt:Event):Void { if(mouseX 0 || mouseX this.width || mouseY 0 || mouseY this.height) {

RE: [flexcoders] 1st flex 2 project, startup problems

2005-12-16 Thread Philippe Maegerman
You didn't instantiate your class in the mxml page. Something like mx:Script var myAs:myAs = new myAs(); /mx:Script Philippe From: flexcoders@yahoogroups.com on behalf of fritzdimmel Sent: Fri 12/16/2005 14:57 To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] html link in text

2005-12-16 Thread Nithya R
thanks abdul... i have one more issue with this... say i have the openLink() function in another mxml file and the text is not in the main application..its in a panel (acustom component)...then how should i call it by using a href? see the link should not open a new browser it shuold instead

[flexcoders] Scientific Notation

2005-12-16 Thread Clint Modien
Ran a quick search didn't find anything. Will actionscript handle a number with scientific notation? example: 9.095531709556422E7 Thanks in advance. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Vertical link bar

2005-12-16 Thread rgwilson26
I would like to create a vertical link bar that is tied to a viewstack. The functionality I am looking for is when the user clicks on it the selected link is highlighted with relation to a particular view. Is there a way to make a Link bar direction vertical, and what would be the best way

Re: [flexcoders] Scientific Notation

2005-12-16 Thread Scott Langeberg
Should be right, if:9.095531709556422E7 = (9.095531709556422 * 10^7) = 90955317.0955642which should be correct!ScottOn 12/16/05, Martin Wood [EMAIL PROTECTED] wrote: i just did a quick var x:Number = 9.095531709556422E7; trace(x); and it said 90955317.0955642 is that right? my brain

Re: [flexcoders] Scientific Notation

2005-12-16 Thread Clint Modien
*snickers*... guess I could have done that. Thanks Martin.On 12/16/05, Martin Wood [EMAIL PROTECTED] wrote:i just did a quickvar x:Number = 9.095531709556422E7;trace(x); and it said90955317.0955642is that right? my brain doesnt remember scientific notation.(this was using f8, not

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread hank williams
Philip, Thank you for taking the time to respond to this issue. I do appreciate it. But I do have a bit of a concern with what you are saying. It sounds like you are saying that because of improvments in architecture or performance, old style AMF remoting may not be possible, or may not be

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread Jeff Tapper
Hank - I think he is saying anything that runs in FP8 will continue to run in FP8.5. At Max, there was a lot of talk about how hte Flash 8.5 player had 2 AVM's, one for AS1/2 and a newer faster one for AS3. I'm reading Phil's statements as saying it will still run, just not as fast as the

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread JesterXL
Flash will be backwards compatible, like always. However, you'll either have to use AMF0 for the defaultObjectEncoding property of flash.net.NetConnection to allow it to work with old content. The optimized changes to AMF packets + serialization/deserialization means that projects like

[flexcoders] Building a dynamic flowchart in FLEX

2005-12-16 Thread rgwilson26
I am working on a project where I would like to build a flow chart that is built on data input by the user. For example, when the user inputs a flow of events via input boxes FLEX will create a flowchart boxes that will be connected to eachother. I would also like each box to be dynamic and

Re: [flexcoders] Vertical link bar

2005-12-16 Thread JesterXL
This kind of works; you'll have to play with the positioning of the LinkBar in the canvas; rotation doesn't play well with Flex layoutmanager, hence it not being a supported property. Also, ensure Verdana.ttf is in your project's folder. ?xml version=1.0 encoding=utf-8? mx:Application

Re: [flexcoders] Scientific Notation

2005-12-16 Thread Ben Lucyk
Hey guys, The trace reports the math accurately, but is dropping the number down from 16 significant digits to 15. Not sure how you would change that to report 16 if you truly needed it and I didn't find what level of precision an AS will keep for you. (Could look up double-precision IEEE-754

RE: [flexcoders] Re: Selection.setSelection Issue

2005-12-16 Thread Brian McPheeters
Not sure about 2.0 but passing the explicit values with 1.5 did not make any difference. Anyone else had this issue? From: flexcoders@yahoogroups.com on behalf of Darin KohlesSent: Thu 12/15/2005 7:42 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Selection.setSelection

RE: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread Philip Costa
Both Jeff and Jesse interpreted my comment correctly. It's only if you want to go to the new format/language that things change. Phil -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Friday, December 16, 2005 11:42 AM To:

[flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread Renaun Erickson
Totally agree with Jesse's statements. Renaun --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Flash will be backwards compatible, like always. However, you'll either have to use AMF0 for the defaultObjectEncoding property of flash.net.NetConnection to allow it to work

Re: [flexcoders] Building a dynamic flowchart in FLEX

2005-12-16 Thread Sreejith Unnikrishnan
First I would like to know if this is even possible in FLEX Yes! if so what kind of container would hold such objects A Canvas, it could hold objects with x,y positions defined dynamically and second if anyone has seen anything similar to this to give me an idea of what I am up against.

[flexcoders] Michael H Merchant is out of the office.

2005-12-16 Thread Michael . H . Merchant
I will be out of the office starting 12/16/2005 and will not return until 12/19/2005. I will respond to your message when I return. Yahoo! Groups Sponsor ~-- Most low income homes are not online. Make a difference this holiday season!

[flexcoders] Re: passing Map from Flex to server side

2005-12-16 Thread jgraham_us
Well I have narrowed it down, it wasn't any of the collections stuff as I previously thought. It appears to be a public static final variable that I had defined in my class. class x { ... public static final String TEST_KEY = test; ... } With the above class I can retrieve it

[flexcoders] Re: passing Map from Flex to server side

2005-12-16 Thread Dave Wolf
Hmmm, not sure this is an answer, but the compiler does quite interesting things with a public static final fields. Effectively the compiler realizes since the field can never change, it will inline the value in the bytecode and remove the field. So imaging public static final boolean

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread hank williams
Jesse, What your are saying sounds great. But it sounds different than what philip is saying. It sounds like you are saying that my current code will work in 8.5 with the new AVM2 but I will have to use the AMF0 flag which means it will be less efficient. It sounds like what philip is saying is

RE: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread Matt Chotin
Jesse is correct and you're mis-interpreting Phil. The new AVM can communicate using AMF0 if you set that flag on NetConnection. You can then use NetConnection directly against the older server. Additionally AMF3 is not available in the older AVM, it's only available in the new AVM and the code

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread Johannes Nel
AFAIK it will run in the AVM+ but will use the old AMF encoding vs the new (optimal) formatOn 12/16/05, hank williams [EMAIL PROTECTED] wrote:Jesse,What your are saying sounds great. But it sounds different than what philip is saying.It sounds like you are saying that my current code will work

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread JesterXL
Just to confirm, this link has as Flash Player 7 movie created in Flash MX 2004 using Remoting, and a Flex 1.5 Flash Player 7 movie using RemoteObject, both use AMFPHP. This link works in my Firefox 1.5 using the alpha Flash Player 8.5:

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread JesterXL
Er, Flash 9 Blaze... you knew what I meant. - Original Message - From: JesterXL [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, December 16, 2005 3:35 PM Subject: Re: [flexcoders] Re: Flex2 and Amfphp is it possible ? Just to confirm, this link has as Flash Player 7

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread hank williams
Ok, so I was right. All jesse is saying is 8.5 wont break the millions of apps that are out there right now. Just an inch shy of meaningless. (no offense jesse). What I am talking about is being able to have 8.5 AVM2 based apps talk to AMF0 and all the existing server installations that are out

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread JesterXL
1. The existing Flash MX 2004 Flash 8 Remoting classes do not compile in Flex 2. Since Flex 2 is not done yet, not sure if Macromedia will include those classes or not. If not, we'll have to code them. So, for now, if you are not using the Flex 2 framework, then you most likely will have to

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread hank williams
Jesse, Perhaps you missed the beginning of the thread, but the facts that you state are pretty much what this thread is complaining about. I am not concerned about what the alpha looks like but what Adobe's plan and policy is relationg to this matter. The issue is that it appear to me that it is

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread JesterXL
I would say Flex 2's goal is to improve on the AMF protocol by making it better, not to orphan existing servers. I posted code showing that AMF0 works in AS3, which should negate your concern. You've been writing email after email about this on various lists about this topic since the day

[flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread Renaun Erickson
With Flex and AS3 we could write our own AMF0 RemoteObject component, and yes it would be nice to have Adobe do it for us. I believe if Adobe doesn't somebody will do it by the time Flex2 is finalized. I have thought about it quite a bit, but havenn't been able to figure out how to set up the

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread hank williams
Jesse, I am not sure why you are making me restate what is fairly clear from the emails from both brian and myself. In fact I would say brian is more articulate about it than me. But since you ask: On 12/16/05, JesterXL [EMAIL PROTECTED] wrote: I would say Flex 2's goal is to improve on the AMF

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread JesterXL
Sure... just package your code you wrote in a class with all the metadata defined, and use as a tag in Flex 2. - Original Message - From: Renaun Erickson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, December 16, 2005 5:27 PM Subject: [flexcoders] Re: Flex2 and Amfphp

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread Jeff Tapper
Hank - I still fail to see the meat of your argument. Macromedia has already released CFAdapter, which offers a clean, painless migration path for existing ColdFusion and JRun customers. I think its safe to assume they will have a similar adapter released which covers other .Net and Java

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread hank williams
On 12/16/05, Jeff Tapper [EMAIL PROTECTED] wrote: Hank - I still fail to see the meat of your argument. Macromedia has already released CFAdapter, which offers a clean, painless migration path for existing ColdFusion and JRun customers. I think its safe to assume they will have a similar

RE: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread Ralf Rottmann
I 100% second this. Without any offense this entire thread points to some of the downsides of the open source idea and initiatives. At the end of the day without *any* driving commercial model things run into problems. I am a big fan of open source, I am a heavy user of frameworks, patterns and

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread hank williams
I can clearly understand that this time Macromedia does not care about reverse engineered open source alternatives to what they offer as a product. I surely wish someone at Adobe would say this. It would make it so much easier. Regards Hank ds Ralf Rottmann | Director Sales Marketing |

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread JesterXL
You aren't inexperienced; the fact you know what __resolve is shows that. 2 ways. Yes, you can use __resolve. Another way is to use Composition and use Function.apply. The Remoting AS2 framework for Flash MX 2004 and Flash 8 uses both. Every call creates a method as a property, and returns

[flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread Renaun Erickson
function.apply sits well with my thinking. What did you mean by Composition and Function.apply? Composition in terms actually declaring the function methods in the class? you can't mean this, as it defeats the purpose of not knowing the method calls of the remote service. I noticed the

[flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread Darin Kohles
Let's sum up shall we? If anyone's keeping track, and are willing to call this one discussed, please do so. The yahoo format is not the best, but I've been trying to follow some threads without overburdening my intake. I think there are a few things getting lost in the shuffle when time is

[flexcoders] Data Grid headers

2005-12-16 Thread yaagcur
Couple of points a) It seems to me that if I textAlign=right a DataGridColumn then the column header automatically follows that designation even if I want it to be textAlign=center and have entered it so in DataGrid b) How can I have two rows of headers so that the lower row can be a subdivision