[flexcoders] Re: xml to e4x Help Please!!!

2007-05-05 Thread b_alen
The example that you pasted contains errors and there's no XML provided. Please send a compilable simplified example. Btw, I'm using E4X by just loading XML with URLLoader and then typing the result as XML. It's brilliant. Alen --- In flexcoders@yahoogroups.com, emobilecat [EMAIL PROTECTED]

[flexcoders] Setting the styles to Text .htmlText at runtime

2007-05-05 Thread b_alen
I have a string that goes somthing like this: var str:String = p class=\H1\section/p; var str:String += p class=\TXT\main text/p; and then I populate the Text component like this: txtPage.htmlText = str; Now, I want to add styles to this text through class attributes that I provided in the

[flexcoders] java and ArrayCollection

2007-05-05 Thread haiqing7
Could someone help me out on How to generate an ArrayCollection using java (will pass through RemoteObject) to Flex? the hard part for me is the AC contains multiple objects and each object has more than one elements. here is the AC look like: public var dpac:ArrayCollection = new

Re: [flexcoders] youtube

2007-05-05 Thread Luis Eduardo
OpenLaszlo has already an application that load FLVs directly from the server and plays it. (so its possible) heres the link for the demo: http://www.openlaszlo.org/demos#YouTube perhaps here is a good start to do in the flex. http://www.youtube.com/dev in time: with a small google,

Re: [flexcoders] youtube

2007-05-05 Thread Manish Jethani
On 5/5/07, André Rodrigues Pena [EMAIL PROTECTED] wrote: but loading from youtube server? You can start here: http://mannu.livejournal.com/326881.html The demo doesn't work because of cross-domain issues. But you can extract the code for fetching the FLV URL and use it in your app. PS: Yes,

Re: [flexcoders] Setting the styles to Text .htmlText at runtime

2007-05-05 Thread Manish Jethani
On 5/5/07, b_alen [EMAIL PROTECTED] wrote: I have a string that goes somthing like this: var str:String = p class=\H1\section/p; var str:String += p class=\TXT\main text/p; and then I populate the Text component like this: txtPage.htmlText = str; Now, I want to add styles to this text

Re: [flexcoders] How do I set the text color of a row in a datagrid (without memory problems)?

2007-05-05 Thread Manish Jethani
On 5/5/07, fidelityphil [EMAIL PROTECTED] wrote: I need to change the text color of a given row of a datagrid if one of the columns has a value. I put in an instream itemRenderer on the datagrid (above the columns definition) which works fine. However, if I then try to sort one of the

Re: [flexcoders] flex 2 with vb6

2007-05-05 Thread Manish Jethani
On 5/5/07, b_rajesh_k [EMAIL PROTECTED] wrote: I want to use flex 2 charts in my VB6 app. Can someone please tell me how i can do it? Just a wild guess: Can't you, like, embed the Flash Player ActiveX control into your VB6 application? Oh, wait, here's a quick search on Google:

[flexcoders] Re: Setting the styles to Text .htmlText at runtime

2007-05-05 Thread b_alen
Thanks a lot Manish. I wasn't even aware of the mx_internal thing. It works great for what I need. However, I do have doubts that this is the most elegant solution. I don't know how your subclassed idea could work. Because in the subclass itself you are setting the styleSheet to the Text object,

Re: [flexcoders] Re: Setting the styles to Text .htmlText at runtime

2007-05-05 Thread Manish Jethani
On 5/5/07, b_alen [EMAIL PROTECTED] wrote: Thanks a lot Manish. I wasn't even aware of the mx_internal thing. It works great for what I need. However, I do have doubts that this is the most elegant solution. mx_internal is the namespace for internal stuff in the Flex framework. You can access

RE: [flexcoders] youtube

2007-05-05 Thread Benoit Hediard
Are you sure that it is allowed to play FLV directly without the official YouTube player? Benoit Hediard #affinitiz.com De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Manish Jethani Envoyé : samedi 5 mai 2007 11:45 À : flexcoders@yahoogroups.com Objet : Re:

Re: [flexcoders] compc help

2007-05-05 Thread Roman Protsiuk
If you're setting configuration file like -load-config papervision.xml it replaces default flex-config.xml, thus you should specify path to the framework libraries. Something like compiler external-library-path path-elementC:/Program Files/Adobe/Flex Builder 2 Plug-in/Flex SDK

[flexcoders] Re: form not filling parent Canvas

2007-05-05 Thread arieljake
Ah, yes, you were right. I was missing a percentHeight = 100 for my viewStack. thank you. --- In flexcoders@yahoogroups.com, arieljake [EMAIL PROTECTED] wrote: I have this code: var categoryCanvas:Canvas = new Canvas(); categoryCanvas.label = [EMAIL PROTECTED]; categoryCanvas.percentHeight

Re: [flexcoders] youtube

2007-05-05 Thread Manish Jethani
On 5/5/07, Benoit Hediard [EMAIL PROTECTED] wrote: Are you sure that it is allowed to play FLV directly without the official YouTube player? Yes. But you have to get the FLV URL right. That's the tricky part.

Re: [flexcoders] Problem using getDefinitionByName in a ClassFactory

2007-05-05 Thread Manish Jethani
On 5/4/07, Tom Chiverton [EMAIL PROTECTED] wrote: I have a componet I want to pass a dynamic renderer into: coreView:MonthCalendar date={ thisMonth } dataProvider={foo} dayRenderer=com.halliwells.flex.bma.view.HearingDay/ It's a TileList type control, so at some stage

[flexcoders] Re: flex 2 with vb6

2007-05-05 Thread barry.beattie
how are you going to get the data from the vb6 app to drive the charts in the swf?

Re: [flexcoders] Masks, Filters, Soft Wipes

2007-05-05 Thread Manish Jethani
On 5/4/07, Lachlan Cotter [EMAIL PROTECTED] wrote: Can anybody help shed some light on an odd problem with filters? I want to create soft edge wipe effects. I've got a pretty good proof of concept that works like so: target.cachePolicy = 'on' mask.filters = [new

[flexcoders] Re: Question about the 'includes' compiler option and SWC files.

2007-05-05 Thread gotgoose09
I'm giving this thread one more chance at the top. --- In flexcoders@yahoogroups.com, gotgoose09 [EMAIL PROTECTED] wrote: Is there a way to indicate 'includes' to include a folder of classes instead of listing each one separately? What I want: -includes 'source.classes.*' This gives me an

Re: [flexcoders] Re: Question about the 'includes' compiler option and SWC files.

2007-05-05 Thread Christian Gruber
When you compile a swf against a swc it only uses those parts of the .swc it needs, so you can have a very large .swc file and it will not include all things from the .swc. Christian. On May 5, 2007, at 11:39 AM, gotgoose09 wrote: I'm giving this thread one more chance at the top. --- In

Re: [flexcoders] Hoe to Extend the EmailValidator using the Model approach?

2007-05-05 Thread Manish Jethani
On 5/5/07, Amine Diab [EMAIL PROTECTED] wrote: Hello, I need to customize the EmailValidator class to perform post validation on multiple email fields on a flex form. I am using the mx:model to pass the mulitple email fields to the validator: mx:Model id=client registration email

Re: [flexcoders] date localization

2007-05-05 Thread Manish Jethani
On 5/4/07, xho [EMAIL PROTECTED] wrote: Anyway, I cannot find usefull informations on how to create and build a working italian locale for flex or download a working one: in a default flex installation i can only find one locale in [...]\Flex SDK 2\frameworks\locale\ where the only

[flexcoders] Flash cache probem when flash is embedded in a asp.net page

2007-05-05 Thread wpding
I have embedded a flash into a asp.net page, and i want the flash to be cached by browsers. But the the flash embedded in the aspx Page will not be cached.So the flash will be reloaded everytime your revisit the page.And if i embed the flash into a html file ,there is no such probems. it seems

RE: [flexcoders] LinearAxis - need help with value ordering! (Repost with sample code)

2007-05-05 Thread Ely Greenfield
The kludgey answer is: 1) Invert all your values (5 becomes -5) 2) Add labelFunctions to your axis (and possibly dataTip functions) to re-invert the values before they get displayed on screen. There's no functionality in the charts right now to just tell an axis to

Re: [flexcoders] Re: 2nd transition not working

2007-05-05 Thread Manish Jethani
On 5/3/07, bill.fogarty17 [EMAIL PROTECTED] wrote: Thanks for your feedback, I tried my best to debug the code, but was unable to find out anything like that. I'm running the application in Debug mode, have set breakpoints and have my variables window open. But in the variables panel area, i

RE: [flexcoders] How do I set the text color of a row in a datagrid (without memory problems)?

2007-05-05 Thread Alex Harui
Check out the item renderer examples on my blog http://blogs.adobe.com/aharui/item_renderers/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Saturday, May 05, 2007 3:02 AM To: flexcoders@yahoogroups.com Subject: Re:

RE: [flexcoders] Where can we download the new Flex / Flash Integration?

2007-05-05 Thread Matt Chotin
http://labs.adobe.com/wiki/index.php/Flex_Component_Kit From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of helihobby Sent: Friday, May 04, 2007 6:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Where can we download the new Flex /

RE: [flexcoders] mx.flash.UIMovieClip - Building in flex?

2007-05-05 Thread Matt Chotin
I believe it's a single class and we only included it in the extension for now. You can go find the actual source file in the CS3 folders and copy it to your Flex installation if you want. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Re: Where can we download the new Flex / Flash Integration?

2007-05-05 Thread helihobby
Thank you for all the help, Sean - HeliHobby.com --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: http://labs.adobe.com/wiki/index.php/Flex_Component_Kit From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Newbie in need of help with graphics

2007-05-05 Thread williamkusumo
Please forgive this stupid question. I can't seem to figure out how to draw a simple rectangle in a Flex app...:( I know it involve the graphics object and I have to call drawRect at some point. But where do I put this code, and how do I attach this rectangle into one of the container? Any help

[flexcoders] Datagrid - case-insensitive sort

2007-05-05 Thread Paul Booth
Hi, When I click on a column header to sort a datgrid column the sort is case sensitive e.g. the values aa, AA, bb, BB are displayed as AA BB aa bb I can't find a way to tell the Datagrid (or DatagridColumn) to sort in a case-insensitive manner. Can someone please enlighten me? Thanks, Paul.

Re: [flexcoders] Where can we download the new Flex / Flash Integration?

2007-05-05 Thread Stephen Downs
The Flex Component Kit for Flash CS3 is what you might be looking for: http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3 On 2007-05-04, at 6:13 PM, helihobby wrote: Where can we download the new Flex / Flash Integration? Any good links to read more about it ? As always,

[flexcoders] Flash Component *.swc not working in Flex ... help ...

2007-05-05 Thread helihobby
I have installed the Extension for Flash CS3 and updated Flex to latest 2.01 that supports the Flash Components. I made a simple Flash CS3 a symbol and clicked the Commands - Make Flex Components and got: Command made the following changes to the FLA: Turned on Permit Debugging Turned on

[flexcoders] Re: Question about the 'includes' compiler option and SWC files.

2007-05-05 Thread gotgoose09
Thanks for that info! Is there somewhere I can read more about SWCs or is there only the Flex 2 Documentation? I'm still wondering about matching multiple files instead of one at a time; anyone know if this can be done? --- In flexcoders@yahoogroups.com, Christian Gruber [EMAIL PROTECTED]

Re: [flexcoders] Re: Question about the 'includes' compiler option and SWC files.

2007-05-05 Thread Christian Gruber
As to docs, I'm not sure. I mostly looked up things from the flex docs or from the archives of lists like this. As to multiple files, I'm not. I know you can match a whole source folder with -include-sources, but not with wildcards. If you're running the compiler from the shell, then you

Re: [flexcoders] Newbie in need of help with graphics

2007-05-05 Thread Daniel Freiman
check out: http://livedocs.adobe.com/flex/201/html/05_Display_Programming_162_07.html Daniel Freiman nondocs http://nondocs.blogspot.com On 5/5/07, williamkusumo [EMAIL PROTECTED] wrote: Please forgive this stupid question. I can't seem to figure out how to draw a simple rectangle in a

Re: [flexcoders] Newbie in need of help with graphics

2007-05-05 Thread Manish Jethani
On 5/5/07, williamkusumo [EMAIL PROTECTED] wrote: Please forgive this stupid question. I can't seem to figure out how to draw a simple rectangle in a Flex app...:( I know it involve the graphics object and I have to call drawRect at some point. But where do I put this code, and how do I

[flexcoders] binding and dataProvider.filterFunction

2007-05-05 Thread arieljake
I have a class that manages a var called allAvailableCategories:ArrayCollection. I have a list that would like to use that variable as the basis for its output, but only output a subset, say those categories starting with the letter 'A'. Now, since the allAvailableCategories collection can be

[flexcoders] Re: Html Text does NOT print in same format as rendered on scre

2007-05-05 Thread scott_flex
John, I ended up going a different route.. i'll use this technique in the future. It was a great expirement. The print quality just wasn't good enough. Anyway, I wrote a recursive routine to find all Text controls, then manually reset their heights for printing. For reasons, unknown to

Re: [flexcoders] Datagrid - case-insensitive sort

2007-05-05 Thread Manish Jethani
On 5/5/07, Paul Booth [EMAIL PROTECTED] wrote: I can't find a way to tell the Datagrid (or DatagridColumn) to sort in a case-insensitive manner. Can someone please enlighten me? In your headerRelease event handler: import mx.collections.*; var

[flexcoders]

2007-05-05 Thread Tom Bray
Shouldn't the height of the VBox below end up being 300? Shouldn't height=100% make it fill up the area allotted to it by it's parent? Instead it ends up having a height of 612 and no scrollbar. Set a breakpoint in the debug() method below to check the values. ?xml version=1.0

Re: [flexcoders] binding and dataProvider.filterFunction

2007-05-05 Thread Manish Jethani
On 5/6/07, arieljake [EMAIL PROTECTED] wrote: [snip] It seems that setting the filterFunction is affecting the allAvailableCategories variable when I trace the length of the allAvailableCategories variable after the listData is refreshed. Why? here is the code: model:CategoryData

[flexcoders] Shouldn't this VBox have a scrollbar?

2007-05-05 Thread Tom Bray
Shouldn't the height of the VBox below end up being 300? Shouldn't height=100% make it fill up the area allotted to it by it's parent? Instead it ends up having a height of 612 and no scrollbar: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Re: Help! Object integrity across DataService.commit()

2007-05-05 Thread simonjpalmer
Pete / Jeff. I think I need to start from the basics here. I have been poring through endless logs but I have some unanswered questions at the beginning which I think I need to sort out first. The basic unanswered issue for me is that when I lazily load a child the parent reference is null.

[flexcoders] Re: Datagrid - case-insensitive sort

2007-05-05 Thread iko_knyphausen
You could also create a sortCompareFunction, similar to this one private function sfSortFunction(ob1:Object, ob2:Object) : int { var s1 : String = ob1.dataField.toString().toLowerCase(); var s2 : String = ob2.dataField.toString().toLowerCase(); if (s1s2) return 1; if (s1

[flexcoders] Re: Shouldn't this VBox have a scrollbar?

2007-05-05 Thread scott_flex
You would think so... however, i have found that you have to set the height of a vBox to a pixel height, not percentage to get the scrollbars to act the way you want them to. By default a vBox's height will autosize to the combined height, plus verticalGap... of all it's children, UNLESS you

[flexcoders] Re: Shouldn't this VBox have a scrollbar?

2007-05-05 Thread scott_flex
Oh, and one more thing, hopefully i don't butcher this. As explain to me before, using constrained layout on objects does not actually resize them, just anchors them based on teh top, bottom, left and right properties. That's why you can't anchor a vBox on all sides and expect the scrollbars

Re: [flexcoders] Shouldn't this VBox have a scrollbar?

2007-05-05 Thread Jas Kaur
The value of height=200 is making this happen mx:Canvas width=100% height=200 backgroundColor= green/ mx:Canvas width=100% height=200 backgroundColor= green/ - Original Message From: Tom Bray [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, May 5, 2007 5:36:08 PM

[flexcoders] TextEvent.LINK bug

2007-05-05 Thread Jobe Makar
Hi guys, I found a bug when trying to capture the click event from an HTML field. If the field is selectable then all is fine. If it is not selectable, then you still get the hand icon but no event is fired. I blogged a little extra info on it here if interested:

Re: [flexcoders] Re: Shouldn't this VBox have a scrollbar?

2007-05-05 Thread Tom Bray
Thanks, Scott. It's nice to know I'm not crazy in thinking that this is unexpected behavior. Hopefully the Adobe guys will weigh in on this. I'll bind the height of the vbox to it's parent's height, but I'll do so with a heavy heart. Thanks, Tom On May 5, 2007, at 3:09 PM, scott_flex

[flexcoders] Re: Shouldn't this VBox have a scrollbar?

2007-05-05 Thread simonjpalmer
I suspect you may get closer to what you are looking for if you make the height of each of your canvases in your vbox 33%, e.g. mx:Canvas width=100% height=33% backgroundColor= green/ mx:Canvas width=100% height=33% backgroundColor= green/ mx:Canvas width=100% height=34% backgroundColor= green/

Re: [flexcoders] Shouldn't this VBox have a scrollbar?

2007-05-05 Thread Tom Bray
Hi Jas, I expect the measuredHeight to be 612, which it is. The problem is that I also expect the VBox to respect the height of its parent canvas (300) and thus display a vertical scrollbar. Thanks, Tom On May 5, 2007, at 3:17 PM, Jas Kaur wrote: The value of height=200 is making

[flexcoders] Re: Shouldn't this VBox have a scrollbar?

2007-05-05 Thread simonjpalmer
It will never show a scroll bar while you have verticalScrollPolicy=off in the parent canvas... --- In flexcoders@yahoogroups.com, Tom Bray [EMAIL PROTECTED] wrote: Hi Jas, I expect the measuredHeight to be 612, which it is. The problem is that I also expect the VBox to respect the

Re: [flexcoders] Component release :: TaskPaneFX drawer component set

2007-05-05 Thread dorkie dork from dorktown
nicely done! :) i could use the single pane example for a project right now. i also like the debug menu in the menu example. On 5/4/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, I would just like to announce the TaskPaneFX, TaskListFX and TitleBarControl set. These components are jam

Re: [flexcoders] youtube

2007-05-05 Thread Abdul Qabiz
I have been posting lots of details on YouTube... You can search my blog: http://www.abdulqabiz.com/blog/ using this link *http://tinyurl.com/2uoltz *You can even find things like, getting FLV URL on client side without even using server-side proxy, some sample apps playin YouTube Video etc. *

Re: [flexcoders] Flash cache probem when flash is embedded in a asp.net page

2007-05-05 Thread Abdul Qabiz
You need to check if code in your ASPX page is setting HTTP requests headers such that content expires? Also check if the SWF path is static instead of a different or unique URL everytime it loads... Make sure, you are not appending any random string to SWF path... -abdul On 5/5/07, wpding

Re: [flexcoders] Re: Shouldn't this VBox have a scrollbar?

2007-05-05 Thread Tom Bray
Simon, I don't want the parent canvas to own the scrollbar. If I let the parent own the scrollbar, it obscures the right-most content of the VBox (or displays a horizontal scrollbar if I let it). I want the vbox to respect the height=100% and thus have a height of 300 (in this example)

Re: [flexcoders] Stopping embedded flash in Flex

2007-05-05 Thread Abdul Qabiz
There is no interoperability between AS3 and AS2 apps that means you can't control or invoke anything in loaded SWF8 ( or less) from a SWF9 or more.. There are workarounds which use LocalConnection or ExternalInterface to achieve that. Infact, there are some projects around this problem.

[flexcoders] Re: binding and dataProvider.filterFunction

2007-05-05 Thread arieljake
In response: 1) I apparently must use {categoryData.allAvailableCategories.source} as the source attribute because FlexBuilder complains about cast of ArrayCollection to Array. 2) If I make the change in #1, then I get the warning that Data binding will not be able to detect assignments. How can

[flexcoders] Re: Question about the 'includes' compiler option and SWC files.

2007-05-05 Thread gotgoose09
That -include-sources compiler option will work nicely because I wanted to include a whole directory anyway. Thanks! --- In flexcoders@yahoogroups.com, Christian Gruber [EMAIL PROTECTED] wrote: As to docs, I'm not sure. I mostly looked up things from the flex docs or from the archives of

Re: [flexcoders] Re: Disabling Selectable Text for a ComboBox

2007-05-05 Thread Brendan Meutzner
Another workaround is to nest the ComboBox in a Canvas container and then enable/disable the Canvas... you can see a tiny bit of disabled coloring bleeding over the radius of the ComboBox corners, but you've really gotta be looking. Brendan On 20 Mar 2007 11:06:03 -0700, Paul Whitelock [EMAIL

Re: [flexcoders] Re: Actionscript - copy constructor/ assignment operator question

2007-05-05 Thread Troy Gilbert
Well, from a C++ background string concatenation would be done through operator overloading. Troy. On 5/4/07, Manish Jethani [EMAIL PROTECTED] wrote: On 5/4/07, Troy Gilbert [EMAIL PROTECTED]troy.gilbert%40gmail.com wrote: String is a primitive type, like int/uint/Number (which have

[flexcoders] Scrubbing in a MP3-file

2007-05-05 Thread Sebastian Mohr
Hi guys, is there anybody who can explain how to give a mx:HSlider-component the ability to scrub in a MP3-file? Up to now I could find a scrubbing example for the mx:VideoDisplay only, see: http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=1921 Thank