[flexcoders] Validation drama

2007-06-05 Thread Bjorn Schultheiss
I just want to say validators in Flex 2 are the worst! Why is something as simple as updating the border focus color on a component so difficult. Fair enough i may be a little upset at the moment and not venting on a public forum, but please have some sort of update for this Flex 3. As

[flexcoders] data providers and filter functions

2007-06-05 Thread Ariel Jakobovits
I have a global variable called categories. It is an XMLListCollection populated when a user logs in, representing the categories they have created. I use the categories collection as a dataprovider in various controls. I also have a global variable called selectedItem. An item, among other

RE: [flexcoders] Sleep / Blink Image

2007-06-05 Thread Dimitrios Gianninas
Try using the Glow effect Dimitrios Gianninas Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Olsen Sent: Sunday, June 03, 2007 9:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

Re: [flexcoders] data providers and filter functions

2007-06-05 Thread Roman Protsiuk
The simplest solution as I see it: create another collection. R. On 6/5/07, Ariel Jakobovits [EMAIL PROTECTED] wrote: I have a global variable called categories. It is an XMLListCollection populated when a user logs in, representing the categories they have created. I use the categories

Re: [flexcoders] Validation drama

2007-06-05 Thread Bjorn Schultheiss
and btw thanks for making Validator._source private so i cant even override the source setter without copy and pasting the entire class. On 05/06/2007, at 4:25 PM, Bjorn Schultheiss wrote: I just want to say validators in Flex 2 are the worst! Why is something as simple as updating the

[flexcoders] PDF in Flex

2007-06-05 Thread Harald Dehn
Hi, are there any plans to display PDF-documents directly in a future version of the flash-player. It should be possible for the flash-player to detect an installed acrobat reader on the client machine and use it for rendering. This would helps us a lot to improve the user experience of

Re: [flexcoders] Re: Using the Flex Builder search to navigate through my asdoc docs

2007-06-05 Thread Tom Chiverton
On Monday 04 Jun 2007, nunomorgadinho wrote: asdoc.exe -source-path frameworks -namespace http://framework frameworks/core-framework-manifest.xml -doc-namespaces http://framework -exclude-dependencies -exclude-classes ZipCodeValidator Try not doing it by namespaces but by path. --doc-sources

Re: [flexcoders] Automatically Cast CF Arrays to Flex ArrayCollections?

2007-06-05 Thread Tom Chiverton
On Monday 04 Jun 2007, Douglas Knudsen wrote: Check out this http://www.cubicleman.com/2007/02/13/coldfusion-and-flex-composite-cfcs-and -arrays/ I wrote a blog post about this a bit back. Isn't it easy to just write a custom getter in the AS VO ? . . public class Account { . . public var

Re: [flexcoders] Adding a menubar to a cell in a datagrid

2007-06-05 Thread Tom Chiverton
On Monday 04 Jun 2007, bill.fogarty17 wrote: This is the error I get: 1195: Attempted access of inaccessible method menuHandler through a reference with static type guess menuHandler isn't public -- Tom Chiverton Helping to augmentatively introduce granular e-commerce on:

Re: [flexcoders] .swc versus .swf

2007-06-05 Thread Tom Chiverton
On Monday 04 Jun 2007, fumeng555 wrote: my swf files to .swc files will make it easier for me to send data in and get data out of them then it would if i was just using the I'd say yes. Also, unless you have a compelling reason not to, just make the two Flash apps into one combinded Flex app.

[flexcoders] Flex and Adsense

2007-06-05 Thread Giro
Anybody investigate to integrate Adsense on flex application. Is legal? We can use a htmlcontrol? Any idea Thk. Giro.

Re: [flexcoders] Adding a menubar to a cell in a datagrid

2007-06-05 Thread Harish Sivaramakrishnan
menubar does not implement the interfaces IDropInListItemRenderer or IListItemRenderer. For getting an itemRenderer to work it must be implementing these interfaces. One way to get started on this is to subclass menubar in such a way that it implements the abovementioned interfaces Thanks Harish

Re: [flexcoders] keeping a drawn line attached to 2 objects

2007-06-05 Thread Tom Chiverton
On Monday 04 Jun 2007, Clint Tredway wrote: Can anyone point me in the direction in drawing a line between to objects and then keeping that line attached to each object even during being dragged around the screen? Add a new UIComponent to the root display element Then on each objects move

Re: [flexcoders] Validation drama

2007-06-05 Thread Tom Chiverton
On Tuesday 05 Jun 2007, Bjorn Schultheiss wrote: http://www.adobe.com/devnet/flex/quickstart/validating_data/ play with the bottom example, count how many times you can get a red border with blue focus or the opposite incorrect value. Zero. Do you have a recent version of the player and a

Re: [flexcoders] good examples of dynamic rendering

2007-06-05 Thread Tom Chiverton
On Monday 04 Jun 2007, Derrick Anderson wrote: am i correct in thinking that this must happen all in actionscript since it is dynamic in nature? mx:Repeater may do what you want ? -- Tom Chiverton Helping to centrally engineer magnetic e-business on: http://thefalken.livejournal.com

Re: [flexcoders] repeater child click event

2007-06-05 Thread Tom Chiverton
On Monday 04 Jun 2007, nhp_ny wrote: mx:Repeater ... mx:LinkButton id=myLB click=onClick(Event.currentTarget)/ /mx:Repeater how can i fire the click event of repeater child component myLB[0]? just to simulate a mouse click on that component. Err, just call onClick() yourself ? -- Tom

[flexcoders] Re: repeater child click event

2007-06-05 Thread nhp_ny
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 04 Jun 2007, nhp_ny wrote: mx:Repeater ... mx:LinkButton id=myLB click=onClick(Event.currentTarget)/ /mx:Repeater how can i fire the click event of repeater child component myLB [0]? just to

Re: [flexcoders] good examples of dynamic rendering

2007-06-05 Thread Mark Doberenz
Yeah, but they can be a bit slow regarding rendering time. If you can get away with doing a List and setting it's ItemRenderer to a Component, it may get you what you want also. This is the way I try to do things since I heard that Repeaters are slow rendering-wise... mx:List

[flexcoders] [SOLVED] Flex Data Services / XAMPP Problem - Apache doesn't start any more

2007-06-05 Thread Stefan Schmalhaus
Problem solved...

Re: [flexcoders] Re: repeater child click event

2007-06-05 Thread Tom Chiverton
On Tuesday 05 Jun 2007, nhp_ny wrote: Err, just call onClick() yourself ? but that gives me error Firstly, always give the error message, when you just say 'gives me an error' it's not helpful. There are many errors :-) Why can't you do 'onClick(new LinkBar())' ? If your function relies on

[flexcoders] custom tooltip for HSlider? What happened to toolTipFormatFunction?

2007-06-05 Thread bjorn -
I'd like to change the tooltip of my HSlider. I see there was a tooltipFormatFunction in Flex 1.5: http://livedocs.adobe.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentationfile=0149.htm .. but it doesn't longer exist:

[flexcoders] Re: repeater child click event

2007-06-05 Thread nhp_ny
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 05 Jun 2007, nhp_ny wrote: Err, just call onClick() yourself ? but that gives me error Firstly, always give the error message, when you just say 'gives me an error' it's not helpful. There are many

[flexcoders] Flex Reflection

2007-06-05 Thread André Rodrigues Pena
Hi all, I'm wondering if Flex has some mechanism for dynamically calling methods and setting properties. I mean, I don't know the name of the method or the property at compile time. Something like Java Reflection. Thanks -- André Rodrigues Pena LOCUS www.locus.com.br

[flexcoders] Make datagrid into spreadsheet

2007-06-05 Thread Mark Ingram
Hi, I want to be able to type into any row of a datagrid and enter new data. How easily can this be done? Mark

[flexcoders] Re: Flex and Adsense

2007-06-05 Thread Rohan Pinto
i tried htmlCOntrol and also iframes, it just didnt work... Rohan --- In flexcoders@yahoogroups.com, Giro [EMAIL PROTECTED] wrote: Anybody investigate to integrate Adsense on flex application. Is legal? We can use a htmlcontrol? Any idea Thk. Giro.

Re: [flexcoders] Flex Reflection

2007-06-05 Thread Tom Chiverton
On Tuesday 05 Jun 2007, André Rodrigues Pena wrote: method or the property at compile time. Something like Java Reflection. anObject[aString] gets you the property of anObject who's name is in the string aString -- Tom Chiverton Helping to appropriately harvest B2C e-business on:

[flexcoders] Re: OPENTUBE

2007-06-05 Thread Rohan Pinto
Hi Peter, OPENTUBE is a open SOurce video sharing platform developed using FLEX as the froentend. Why am I asking folks to join: well, so far it's been a 1 man show, and i need all the help i can get. So please do join the project and help complete development of a product thats i foresee as a

Re: [flexcoders] loading mxml components based on flashvars

2007-06-05 Thread Brendan Meutzner
Try component1 != null component1 != Also, if you set component1 = '' when you're defining it, you'd only need to test for != '' inside the openWin function... Brendan On 6/4/07, Rohan Pinto [EMAIL PROTECTED] wrote: Hi Folks, I'm passing component ID's into my app using flashvars. in

RE: [flexcoders] Flex 2 Webservices - load wsdl failed

2007-06-05 Thread Peter Farland
I don't see enough information here to diagnose what is going on... If you'd like me to take a look can you email the wsdl and schemas directly to [EMAIL PROTECTED] Thanks, Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thuvu03

Re: [flexcoders] YouTube style video (Video vs VideoDisplay)

2007-06-05 Thread Johannes Nel
yeah. i saw it does that, but the problems you describe are the exact reasons we manage the code ourself. its not that much work doing it yourself and i think you can develop a much more robust system IMO On 6/4/07, Jeffry Houser [EMAIL PROTECTED] wrote: VideoDisplay is set up to try 4

Re: [flexcoders] YouTube style video (Video vs VideoDisplay)

2007-06-05 Thread Johannes Nel
the appoach i describe has other benefits as well, like being able to seperate your stream logic from your display thus we got the same video mangement working in flash 9 in about 5 minutes. On 6/4/07, Johannes Nel [EMAIL PROTECTED] wrote: yeah. i saw it does that, but the problems you

Re: [flexcoders] AS3 decorator pattern examples

2007-06-05 Thread duncan mcmillan
Thanks Mike But was wondering if you could ellaborate. What I am trying to do is to use the decorataor pattern to decorate Charts (or any other UI component for that matter), so that a user could select say chart data effects, chart filter types at runtime. So I set upon using

[flexcoders] Re: JSP Tag Library - FDS 2.0.1

2007-06-05 Thread malaschitz
Instead of mm:mxml source=test.mxml/ write mm:mxml source=test.mxml/mm:mxml Actually I am having a different problem now. I can get the inline MXML working in a JSP page, so everything seems to be configured properly. But when I try to reference an MXML file I get a null pointer

[flexcoders] Flexstore further development

2007-06-05 Thread lexanderg
Hello, I'm building a new application based on the great flexstore example (Adobes example here: http://examples.adobe.com/flex2/inproduct/sdk/flexstore/flexstore.html), I was wondering if there are any developers in here who would like to share further development (for instance, search

[flexcoders] Access session cookies from within Flex?

2007-06-05 Thread alteraa
Is there a relatively straightforward way to access session cookies from within the Flex application? I've tried using the ExternalInterface to call a javascript function that gets cookies but, aside from the fact it doesn't work, it seems like a clumsy solution assuming Flex has access to the

Re: [flexcoders] Max image size?

2007-06-05 Thread Charles Galpin
Thanks Daniel That bites. Does anyone know if this will ever be raised? I'm trying to avoid having to implement a tile based solution since the quality is nearly good enough as-is. thanks charles On Jun 4, 2007, at 8:45 PM, Daniel Freiman wrote: The max is 2880 pixels in each direction.

[flexcoders] Image scaling problem

2007-06-05 Thread Charles Galpin
I have found that at some point while zooming in on an image (scaling), the image mysteriously no longer displays portions of the image, almost like it's getting truncated at the top left. To see this, load the sample below and zoom in. For this image it happens a a zoom of 5.6. Scroll

[flexcoders] Adding custom styles to MXML component

2007-06-05 Thread borekbe
I'm trying to create a MXML component with custom [Style] defined is mx:Script section. The compiler is complaining that [Style] must annotate a class. I understand this message and I see where the problem is but I don't know how to overcome it. Any advice? Thanks, Borek

[flexcoders] Re: stage.stageWidth/stageHeight lies in standalone player?

2007-06-05 Thread seriousbraincancer
Tracing enterFrame shows the right dimensions, as does setting scaleMode to NO_SCALE and listening to Event.RESIZE. Although, it doesn't quite match the args I pass in for default-size: (Test.as is at http://pastie.caboo.se/67829) mxmlc -default-size 300 300 Test.as trace output: on resize

RE: [flexcoders] Validation drama

2007-06-05 Thread Dimitrios Gianninas
Same here, zero its either a blue or red border, not both at the same time. Dimitrios Gianninas Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Tuesday, June 05, 2007 2:25 AM

[flexcoders] Re: Flex and Adsense

2007-06-05 Thread James
I am also interested in a solution. First thing that comes to mind would be (gasp) html frames.

[flexcoders] Re: Flex and Adsense

2007-06-05 Thread reude
I looked at this and apparently under the TOS from Adsense, it is not authorized to integrate Adsense into Software Applications otherwise they will terminate your account. Romain. --- In flexcoders@yahoogroups.com, Rohan Pinto [EMAIL PROTECTED] wrote: i tried htmlCOntrol and also

[flexcoders] Re: Flex and Adsense

2007-06-05 Thread James
It is a flash site. It is not a Software Application. --- In flexcoders@yahoogroups.com, reude [EMAIL PROTECTED] wrote: I looked at this and apparently under the TOS from Adsense, it is not authorized to integrate Adsense into Software Applications otherwise they will terminate your

Re: [flexcoders] Adding custom styles to MXML component

2007-06-05 Thread Michael Schmalle
Hi, it's mx:Metadata [Style(name=myStyle)] /mx:Metadata Peace, Mike On 6/5/07, borekbe [EMAIL PROTECTED] wrote: I'm trying to create a MXML component with custom [Style] defined is mx:Script section. The compiler is complaining that [Style] must annotate a class. I understand this

[flexcoders] DataGrid ItemEditor being closed when other component is updated

2007-06-05 Thread havardfl
I'm having some trouble with an editable DataGrid... I have one DataGrid that is editable, and then a List that is not. The List is bound to an XMLListCollection (Same thing happens ArrayCollection), which gets items added to it constantly. Now, when I click one of the columns in the editable

Re: [flexcoders] Flex Reflection

2007-06-05 Thread André Rodrigues Pena
Thanks Tom. I thought it would only work for objects of type Object On 6/5/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 05 Jun 2007, André Rodrigues Pena wrote: method or the property at compile time. Something like Java Reflection. anObject[aString] gets you the property of

[flexcoders] Re: Flex Reflection

2007-06-05 Thread powertool786
For ECMAScript in general (Javascript and ActionScript) you'd use a for..in loop to iterate over the properties (including methods) of an Object. ActionScript changes for..in to only work over the dynamic properties of an Object instance. The docs say: To get a list of fixed properties, use

[flexcoders] Re: Flex and Adsense

2007-06-05 Thread Romain
I don't know but from their TOS ( https://www.google.com/adsense/support/bin/answer.py?answer=48182sourceid=asosubid=ww-ww-et-asuimedium=linkgsessionid=npfYqhKshv0 ), they seems pretty stingent on things like: Any AdSense code must be pasted directly into webpages without modification. AdSense

Re: [flexcoders] Re: repeater child click event

2007-06-05 Thread Tom Chiverton
On Tuesday 05 Jun 2007, nhp_ny wrote: i need to pass to the onclick function, a linkbutton from the repeater list. there are n linkbuttons and i just need to pass the first one, so the myLB[0]. Because i have to simulate a myLB[0] linkbutton click You might want to look in the repeaters child

[flexcoders] Re: Flex and Adsense

2007-06-05 Thread alex steel
you can always put div box over flash containing adsense html code look out for css z-index with flash use ...

Re: [flexcoders] Flex Reflection

2007-06-05 Thread Mark Lapasa
... and if you don't know the method or property at run-time, you can use describeType() that will return you an XML description of the object's public methods and properties. http://onrails.org/articles/2007/02/24/flex-introspection-api-describetype-value-xml -mL knowledge.lapasa.net Tom

Re: [flexcoders] Flex Reflection

2007-06-05 Thread Tom Chiverton
On Tuesday 05 Jun 2007, André Rodrigues Pena wrote: Thanks Tom. I thought it would only work for objects of type Object Everything is a child of Object :-) -- Tom Chiverton Helping to continuously orchestrate professional networks on: http://thefalken.livejournal.com

[flexcoders] Re: Flex and Adsense

2007-06-05 Thread James
Well if it is true that their current TOS disallows flash site usage, then we need to start a petition or something. But first we need to get Google's official stance. Anyone up to writing them a friendly email? :) -James

[flexcoders] Re: Access session cookies from within Flex?

2007-06-05 Thread Rohan Pinto
You could obtain session values using jsp or php and pass it onto the flex app as flashvars. Rohan http://opentube.info --- In flexcoders@yahoogroups.com, alteraa [EMAIL PROTECTED] wrote: Is there a relatively straightforward way to access session cookies from within the Flex application?

[flexcoders] Re: Encryption functions in ActionScript 3

2007-06-05 Thread nxzone
http://code.google.com/p/as3corelib/ --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: I thought the source for that package are up there somewhere in the svn (on labs.adobe.com), try search for it or drop me a line I can send you a copy (may not be the latest one cause it

[flexcoders] Re: Make datagrid into spreadsheet

2007-06-05 Thread powertool786
How much like a spreadsheet do you want it to be? If you just want every cell to be editable, does setting the 'editable' attribute on the DataGridColumn to 'true' not do the trick for you? If you wish to implement formulas and automatic 'trickle-on' updating of cells references in formulas

[flexcoders] Re: Adding custom styles to MXML component

2007-06-05 Thread borekbe
That's it! Thank you very much, Mike. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, it's mx:Metadata [Style(name=myStyle)] /mx:Metadata Peace, Mike On 6/5/07, borekbe [EMAIL PROTECTED] wrote: I'm trying to create a MXML component with

[flexcoders] Re: Flex and Adsense

2007-06-05 Thread Romain
Maybe some Adobe Flex/Apollo evangelist could take up the gauntlet ? Any in the room ? --- In flexcoders@yahoogroups.com, James [EMAIL PROTECTED] wrote: Well if it is true that their current TOS disallows flash site usage, then we need to start a petition or something. But first we need to

[flexcoders] FDS and Web Service: Unable to load WSDL

2007-06-05 Thread Scott Hoff
I have the following web service: mx:WebService id=dashboardWS wsdl=http://localhost/flexGrocer/cfcs/aggregate.cfc?wsdl; useProxy=true fault=Alert.show(event.toString()) mx:operation name=getTypeSalesData result=Alert.show(event.toString()) mx:request

[flexcoders] VideoDisplay smoothing

2007-06-05 Thread Jon Bradley
I saw a post on the cookbook beta about smoothing the VideoDisplay but unfortunately it doesn't work out of the box. There's a call to videoPlayer.smoothing which obviously doesn't exist. After removing that, event extending VideoDisplay and using the _smoothing property, it doesn't smooth

[flexcoders] Re: Access session cookies from within Flex?

2007-06-05 Thread alteraa
Yes, but is there any way to access the cookie from within Flex itself? --- In flexcoders@yahoogroups.com, Rohan Pinto [EMAIL PROTECTED] wrote: You could obtain session values using jsp or php and pass it onto the flex app as flashvars. Rohan http://opentube.info --- In

[flexcoders] Re: Make datagrid into spreadsheet

2007-06-05 Thread powertool786
Wow, that post looks quite unreadable. Does this forum allow any code of literal (or fixed width) formating ? -David

RE: [flexcoders] Re: Make datagrid into spreadsheet

2007-06-05 Thread Mark Ingram
Hi, thanks for the response. I meant like a spreadsheet as in I can type into any cell I like. If you just imagine I have a data provider setup with {Monday, 1}, {Tuesday, 2}. The data grid will contain 2 rows (and 2 columns). How can I get it so that I can click on the 3rd row and just type

[flexcoders] Re: Make datagrid into spreadsheet

2007-06-05 Thread powertool786
I think you just need to set editable to true on the DataGrid and on the DataGridColumn's. --- In flexcoders@yahoogroups.com, Mark Ingram [EMAIL PROTECTED] wrote: Hi, thanks for the response. I meant like a spreadsheet as in I can type into any cell I like. If you just imagine I have a data

[flexcoders] Re: Encryption functions in ActionScript 3

2007-06-05 Thread Jeff Houser
Here are two alternative packages if you can't get the Adobe ones working: http://ascrypt3.riaforge.org/index.cfm http://crypto.hurlant.com/ --- In flexcoders@yahoogroups.com, NZEYIMANA Emery Fabrice [EMAIL PROTECTED] wrote: Hello Group, I am looking for a way to generate SHA1 and MD5

[flexcoders] Re: repeater child click event

2007-06-05 Thread nhp_ny
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 05 Jun 2007, nhp_ny wrote: i need to pass to the onclick function, a linkbutton from the repeater list. there are n linkbuttons and i just need to pass the first one, so the myLB[0]. Because i have to

RE: [flexcoders] Re: Make datagrid into spreadsheet

2007-06-05 Thread Mark Ingram
No, that just allows you to edit data that is currently entered (it doesn't allow you to enter new data in an empty row). Cheers, Mark -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of powertool786 Sent: 05 June 2007 16:05 To:

[flexcoders] Newbie getting annoyed with Drag and Drop :-)

2007-06-05 Thread martz256
Hi Guys, I have recently started to create a small flex application and the major aspect of it is drag and drop functionality. I am dragging into a TileList and i can't get the thing to accept my drag. I have put up some code for the project, ive cut loads out of it to try and simplify but

[flexcoders] DataGrid: Get current column index

2007-06-05 Thread Mark Ingram
Hi, if I register for the mouse down event in a data grid, I can use the following function to get the selected row: dataGrid.selectedItem How can I find out the actual column that was clicked, so I can index into the selected item's object and retrieve the individual field, rather than

[flexcoders] Package Level Funtions

2007-06-05 Thread Jesse Hallam
Reading over: http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=03_Language_and_Syntax_160_05.html I got the distinct impression that each .as file could only export one publicly visible definition (i.e. one public class, or one public

[flexcoders] Error after loading swf

2007-06-05 Thread tonyx_788
Hi all, i get this error Error: Unable to load ''. after loading a swf and my app just stops working here is part of my code. *main mxml private function ShowPano():void { var SWFLoaderInstance:Panoramica2 =

[flexcoders] differences between flex sdk and ide

2007-06-05 Thread flex_degree
hi there, i am currently writing my degree in media-informatics on producing flash-websites with as3. one of my first chapters should be an adjustment between the compilers in the flex sdk, the flex ide, flash cs3 and maybe haxe. i am searching now for days in the internet and cant find much

[flexcoders] Re: loading mxml components based on flashvars

2007-06-05 Thread Rohan Pinto
could you please {{please}} elaborate a little bit more... Her'es my mx:Application mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; autoLayout=true layout=vertical creationComplete=openWin() horizontalScrollPolicy=off verticalScrollPolicy=auto height=100%

[flexcoders] Re: loading mxml components based on flashvars

2007-06-05 Thread Rohan Pinto
Hi Brendan I tried the following: public function openWin():void{ if(vkey!=null vkey!=){ openVideo(); isViewOpen = true; } else if(channel!=null channel!=){

Re: [flexcoders] Re: Flex and Adsense

2007-06-05 Thread Judith Dinowitz
Actually, if someone has found a way to do so, I'd love to publish it as a short article on FA online. :) Judith Dinowitz Editor-in-Chief Fusion Authority http://www.fusionauthority.com/ On 6/5/07, Romain [EMAIL PROTECTED] wrote: Maybe some Adobe Flex/Apollo evangelist could take up the

Re: [flexcoders] Re: Flex and Adsense

2007-06-05 Thread Judith Dinowitz
Actually, Michael says that Adsense is a piece of JavaScript that remotely pulls in content. Straightforward, but the content being pulled in, which is essentially HTML, needs to be placed on the page in context. So if the page is a Flex application, then the Flex application has to accept that

[flexcoders] Re: Make datagrid into spreadsheet

2007-06-05 Thread powertool786
Well, if you think about it, that makes sense. Where is the empty row when the rows overflow the height of the DataGrid container? Either add and maintain a pseudo item in the dataProvider (which appends a new Object when edited), or add some button/widget near your DataGrid which appends an

[flexcoders] Re: Selecting which Child Components to add at runtime

2007-06-05 Thread phall121
Yes, Alex. You Rock dude(ss)!! For those who may follow and look at this let me add a few notes. I needed to add an import statement to bring in the Container class (done from scratch, this happens automatically): import mx.core.Container; I then updated the combo box array to

RE: [flexcoders] DataGrid: Get current column index

2007-06-05 Thread Robert Chyko
I do something along these lines: * add an itemClick listener to the datagrid, in the handler for that event you can access event.columnIndex * with that you can do something like - myGrid.selectedItem[myGrid.columns[event.columnIndex].dataField] -Original Message-

RE: [flexcoders] Re: Make datagrid into spreadsheet

2007-06-05 Thread Mark Ingram
Yes, that's what I think I'll have to do. I've posted in a new topic (DataGrid: Get Current Column Index) - I can get the current selected row, but I can't get the current column! Thanks, Mark -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Re: Datagrid with bound dataProvider not updating.

2007-06-05 Thread beecee1977
Thanks for all the responses! I took the advice and switched to using ArrayCollection and all is working fine now (without hammers :-)) Thanks again! --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I think Alex called invalidateDisplayList a big hammer. The

[flexcoders] Re: keeping a drawn line attached to 2 objects

2007-06-05 Thread maunger
Clint, i think i'm in exactly the same spot as you -- good timing :) I think tho that i'm wanting the line between the objects in my application to be an object that is selectable... am i wrong in believing that the lineTo method just draws a line that the user can't select? did i say flex

[flexcoders] Re: loading mxml components based on flashvars

2007-06-05 Thread Rohan Pinto
I got it, I all initApp() from openWin() and get all the flashvars... I get it now.. Thanks a ton !! :-) Rohan http://opentube.info --- In flexcoders@yahoogroups.com, Rohan Pinto [EMAIL PROTECTED] wrote: could you please {{please}} elaborate a little bit more... Her'es my mx:Application

[flexcoders] dispatchevent question when in a custom component.

2007-06-05 Thread Romain
Hi, I am making a custom mxml component, composed of a datagrid and a few buttons. I am potentially dispatching the following 2 events: [Event(name=btnClick, type=flash.events.MouseEvent)] [Event(name=rowClick, type=mx.events.ListEvent)] These events are thrown by event handlers on the actual

[flexcoders] why are my events firing twice

2007-06-05 Thread boy_trike
I have a popup that when a user clicks to close, it will dispatch an event then remove itself. My Event is firing TWICE! (even though the line that is raising the event is reached only once.) thanks Bruce

Re: [flexcoders] Package Level Funtions

2007-06-05 Thread Ralf Bokelberg
I haven't tried it with packages, but if you want to declare a class, which is visible to the current public class only, you have to define it outside of the package. Maybe the same works for package functions? package mypackage { public function myFunction() {

[flexcoders] Help ! fontWeight style in datagrid once applied does not change?

2007-06-05 Thread arpan srivastava
Hi, I am facing problem when setting fontWeight property of datagrid to bold. when I start my datagrid i set fontWeight to bold and it works but at runtime when i set the property to normal no change is reflected. All other properties are changing like color, fontSize etc. only fontWeight

[flexcoders] Spry and Flex Development Tools

2007-06-05 Thread Bruce Hopkins
Hi, I would like to know is there a tool that allows me to create Flex and Spry applications at the same time? I'm thinking that the only tool that would come close would be Dreamweaver CS3. However, I haven't heard of anyone doing that. So, here's my real question, has anyone really tried to

[flexcoders] Re: Selecting which Child Components to add at runtime

2007-06-05 Thread rough68fish
Can you extend this concept slightly for me. I have several dynamic items to display in the view (whether they are displayed is controled through binding and set functions) this works. I just can figure out how to control the order that they are drawn on the page. --- In

[flexcoders] Re: Selecting which Child Components to add at runtime

2007-06-05 Thread rough68fish
When showAssociate is set to true the button shows up, but I want it always to show up first. Here's my code: ?xml version=1.0 encoding=utf-8? mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import mx.controls.RadioButton; // Associate

Re: [flexcoders] CDATA and E4X

2007-06-05 Thread Jesse Warden
Rad, thanks a bunch Michael! On 6/4/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hey man, I just hacked this out. it's ugly but works. function cdata(string:String):XML{ return new XML('![CDATA[' + string + ']]') } var username = Jesse; var lastname = Warden;

RE: [flexcoders] Re: Selecting which Child Components to add at runtime

2007-06-05 Thread Alex Harui
The order of items in HBox/VBox is their childIndex order. addChildAt(myButton, 0) should put it first. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rough68fish Sent: Tuesday, June 05, 2007 10:05 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Package Level Funtions

2007-06-05 Thread Alex Harui
Did you have any public thing in that file? Maybe hack up one public thing From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jesse Hallam Sent: Tuesday, June 05, 2007 7:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Package

RE: [flexcoders] Newbie getting annoyed with Drag and Drop :-)

2007-06-05 Thread Alex Harui
Took a quick peek. I didn't see calls to event.preventDefault() which are usually required when overriding drag/drop behavior. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of martz256 Sent: Tuesday, June 05, 2007 7:44 AM To:

RE: [flexcoders] Re: stage.stageWidth/stageHeight lies in standalone player?

2007-06-05 Thread Alex Harui
Linux player doesn't really honor SWF dimensions. We've had to use HTML wrappers to control it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of seriousbraincancer Sent: Monday, June 04, 2007 7:51 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] differences between flex sdk and ide

2007-06-05 Thread Gordon Smith
The Flex IDE uses the Flex SDK to do compilation. The format of the bytecode in a SWF is described in this document: http://www.adobe.com/devnet/actionscript/articles/avm2overview.pdf Flash CS3 produces similar bytecode, but I don't know whether it uses the same AS3 compiler as the Flex SDK

RE: [flexcoders] DataGrid ItemEditor being closed when other component is updated

2007-06-05 Thread Alex Harui
If the DG thinks it needs to be re-layed out, it will close its session. Try locking the width/height of the List. It might stop it from invalidating the parent container. Wrapping the List in another container might work as well. From:

RE: [flexcoders] why are my events firing twice

2007-06-05 Thread Gordon Smith
Please post a simple example demonstrating this problem. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of boy_trike Sent: Tuesday, June 05, 2007 9:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] why are my events

RE: [flexcoders] Flex Reflection

2007-06-05 Thread Gordon Smith
Everything is a child of Object You mean Everything is a subclass of Object. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Tuesday, June 05, 2007 7:09 AM To: flexcoders@yahoogroups.com Subject: Re:

[flexcoders] How to put MXML example into ASDOC?

2007-06-05 Thread tddclare
I'm trying to be a good boy and AsDoc my new class that I wrote. I wanted to put in an example of using it, embedding a complete MXML document in the @example tag. My MXML document has a CDATA tag in it (for the script tag) which generated an error from the AsDoc executable until I removed it:

  1   2   >