Re: [flexcoders] Re: Question for Amfphp and Flex RemoteObject ?

2009-03-30 Thread jitendra jain
When you import flex.war in the eclipse or Flex Builder, you will see all those configuration files. Thanks, with Regards, Jitendra Jain --- On Sun, 29/3/09, Amy amyblankens...@bellsouth.net wrote: From: Amy amyblankens...@bellsouth.net Subject: [flexcoders] Re: Question for Amfphp and Flex

Re: [flexcoders] Re: TextArea textHeight with HTMl text?

2009-03-30 Thread jitendra jain
Look at this link, it will be quite helpful   http://livedocs.adobe.com/flex/2/langref/flash/text/TextLineMetrics.html Thanks, with Regards, Jitendra Jain --- On Sun, 29/3/09, Nicolas Noben nicolas.no...@gmail.com wrote: From: Nicolas Noben nicolas.no...@gmail.com Subject: [flexcoders] Re:

[flexcoders] Fortify Scan on my Application.

2009-03-30 Thread Parkash
Hello All, I ran fortify scan on my application and getting the three hot issues on history.js and historyFrame.html. How can I eliminate the problems from these files? Do I really need these files can I delete these files can any one tell me the purpose of these files. The hot

[flexcoders] Rowcount in Advanceddatagrid

2009-03-30 Thread venkat eswar
How to get the actual row count of an advanceddatagrid with Open nodes and closed nodes

[flexcoders] playerProductInstall calling for v10

2009-03-30 Thread tom s
I'm using the playerProductInstall supplied with FB 3 to make sure my users have the correct version of flash player. I'm using the JS supplied with FB 3 to detect the player version and prompt as neccessary. It is correctly identifying when the player is v 9.0.124 and when it is not. However,

Re: [flexcoders] Rowcount in Advanceddatagrid

2009-03-30 Thread Adrian Williams
Hi Venkat, Would taking the adg.dataProvider.length work for you? Adrian venkat eswar wrote: How to get the actual row count of an advanceddatagrid with Open nodes and closed nodes

[flexcoders] Re: I want to use Flex Builder 3 to develop Flash Games

2009-03-30 Thread Amy
--- In flexcoders@yahoogroups.com, Axonn theax...@... wrote: Hm, I think I didn't ask the right question, because somebody told me that it *is* possible. What I want is this: - Create a FLA file in Flash. - Draw 2 rectangles. - Create an AS file in Flex 3. - Attach it to the Flash.

[flexcoders] Connecting an AIR application to FCF through Webservices.

2009-03-30 Thread smccran
Hi all, I am trying to connect an AIR app to a coldfusion back end webservice (CFC), but am getting an error message: Code: mx:WebService id=popData wsdl=http://www.mccran.co.uk/wld/services/phoneBook.cfc?wsdl; showBusyCursor=true useProxy=true mx:operation name=getData resultFormat=object

Re: [flexcoders] Re: I want to use Flex Builder 3 to develop Flash Games

2009-03-30 Thread mark . jonkman
Hi My workflow for working with Flash and Flex has turned into this: Take one of two branches: Flex project or ActionScript project. I mostly start with a Flex project *but* I don't bother to use the Flex framework. I let it generate its usual main.mxml file that extends application. I

[flexcoders] AMFPHP release project security problem

2009-03-30 Thread soulflow132
Hi am new to flex 3. /br I've created a flex application that connects to database using amfphp./br When i compile it and run it on flex builder environement it simply works ./br So i wanted to export it as release and i've done so./br As result i got a bin-release folder that contain the swf

[flexcoders] How can I add a SeriesInterpolate effect with actionscript to my PieChart?

2009-03-30 Thread sailorsea21
MXML: mx:SeriesInterpolate id=action duration=1000 minimumElementDuration=200/ ACTIONSCRIPT: var pie:PieSeries = new PieSeries(); pie.setStyle(showDataEffect,action); Does anyone know why the following doesn't animate my chart? Thanks.

[flexcoders] HTTPService using underscores in variable names not working with POST...

2009-03-30 Thread joel.sisko
Newbie problem, I think, I need to POST to a php script that has underscores in the variables names. Using the code below the underscores are sent as 5F So the result is: http://localhost/admin/index.php?sec=useradmin5Faction=addplace5F=2 mx:HTTPService resultFormat=text

[flexcoders] PieChart Legend Label???

2009-03-30 Thread sailorsea21
Hi everyone, with a ColumnChart, I can set my custom Legend name by setting the displayName attribute in my ColumnSeries. How can I set a custom name to my PieChart Legend Label?? Thanks.

[flexcoders] LCDS Add/Remove/Update Collection without Entire Collection Reloading

2009-03-30 Thread Kevin
It seems that every time I add a new item to a collection (or change a property of an item in the collection) and commit it using LCDS the entire collection gets reloaded from the server. Is there a way to prevent this. Some of my collections are rather large and reloading them stalls the

[flexcoders] Re: why doesnt this work (custom drawing)

2009-03-30 Thread valdhor
The function never runs. AFAIK you need to add this to a component implementation and then instantiate the component. Something like this... MyComponent.as: package { import mx.core.UIComponent; public class MyComponent extends UIComponent { public function MyComponent()

[flexcoders] Re: Connecting an AIR application to FCF through Webservices.

2009-03-30 Thread valdhor
Your crossdomain.xml file looks outdated for the newer versions of Flash. --- In flexcoders@yahoogroups.com, smccran s_mcc...@... wrote: Hi all, I am trying to connect an AIR app to a coldfusion back end webservice (CFC), but am getting an error message: Code: mx:WebService id=popData

[flexcoders] Re: Spring vs Flex

2009-03-30 Thread Anthony DeBonis
Check out what Christophe Coenraets has put together using BlazeDS http://www.adobe.com/devnet/livecycle/articles/blazeds_spring.html --- In flexcoders@yahoogroups.com, senthilkumarirtt senthilkumari...@... wrote: hi i need to integrate spring and flex application. ( i want to get data

[flexcoders] Re: Custom Classes and Custom Events

2009-03-30 Thread valdhor
You can't put a listener on your datagrid or your customcomponent as they will never see the event you dispatched. Put the event listener in the application itself. When you catch the event you can instantiate the customcomponent and use the _data property to set the arraycollection for your

RE: [flexcoders] Re: Connecting an AIR application to FCF through Webservices.

2009-03-30 Thread shaun mccran
So its an access problem? You can connect AIR apps to a server side object? Isn't this all you need in your crossdomain.xml ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain=* /

[flexcoders] Re: AMFPHP release project security problem

2009-03-30 Thread valdhor
Do you have a crossdomain.xml file on your server? --- In flexcoders@yahoogroups.com, soulflow132 sfood00...@... wrote: Hi am new to flex 3. /br I've created a flex application that connects to database using amfphp./br When i compile it and run it on flex builder environement it simply

[flexcoders] Re: Connecting an AIR application to FCF through Webservices.

2009-03-30 Thread valdhor
There are now stricter rules. See http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html --- In flexcoders@yahoogroups.com, shaun mccran s_mcc...@... wrote: So its an access problem? You can connect AIR apps to a server side object? Isn't this all you need in your

[flexcoders] Re: Spring vs Flex

2009-03-30 Thread kramus0
Or just have a look at Christophe Coenraets page at http://coenraets.org/flex-spring/ Regards Markus --- In flexcoders@yahoogroups.com, senthilkumarirtt senthilkumari...@... wrote: hi i need to integrate spring and flex application. ( i want to get data retun by spring from Db to

Re: [flexcoders] Re: Spring vs Flex

2009-03-30 Thread Richard Rodseth
In my view, whether or not you use AMF and BlazeDS, it's important to embrace the service layer and DTO concepts (Data Transfer Object) rather than trying to distribute your domain objects. (as an aside, one of my favourite books is Domain-Driven Design, by Eric Evans) If you choose not to use

Re: [flexcoders] Re: Separate browser sessions in AIR

2009-03-30 Thread Wesley Acheson
On Sun, Mar 29, 2009 at 10:22 PM, Amy amyblankens...@bellsouth.net wrote: --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote: There doesn't seem to be any way to tell AIR to start different browser sessions, or even end an existing one. Am I missing something obvious, and

[flexcoders] Add/remove columns dynamically to AdvancedDataGridColumnGroup

2009-03-30 Thread Joao Coelho
Anyone knows if it is possible to add and remove columns to an AdvancedDataGridColumnGroup at runtime? So far I had no luck doing so. What I have tried: - pushing new columns into the children property; - setting children property to a newly created and populated array; - getting the children

Re: [flexcoders] Add/remove columns dynamically to AdvancedDataGridColumnGroup

2009-03-30 Thread Adrian Williams
Joao, We faced a similar challenge (we have a report that the user can customize and persist which columns to display) and instead of actually removing the columns, we found it much simpler to manage the visibility instead...affecting the column.visible property. So when their report is

[flexcoders] Re: Add/remove columns dynamically to AdvancedDataGridColumnGroup

2009-03-30 Thread Joao Coelho
Adrian, Thanks for the input, I also thought of using that aproach since I will only be displaying 5 columns at most simultaneously and adding and removing columns as needed, main problem is depending on certain configurations the total number of columns (either visible or hidden) is not

[flexcoders] Re: why doesnt this work (custom drawing)

2009-03-30 Thread gmoniey22
hmm...I thought that my mx:Canvas line did instantiate, and that the script within the canvas tag's essentially overrode the updateDisplayList function. Thanks for clearing this up. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: The function never runs. AFAIK you need

[flexcoders] Looking for Flash Developer in San Jose, CA

2009-03-30 Thread recruiter.2008
Hello, I have 9 months contract position open as Flash Developer in San Jose, CA. Full Description: Flash developer assisting client's direct marketing organization in creating their onsite and email flash creatives. Required Skills: Coding experience in ActionScript 3, Flex If interested,

[flexcoders] Re: HTTPService using underscores in variable names not working with POST...

2009-03-30 Thread valdhor
I tried your code and it worked perfectly. The two POST variables admin_action and place_next showed up in the $_POST array as $_POST[admin_action ] and $_POST[place_next] with the values add and 2 respectively. The sec variable showed up in the $_GET array as $_GET[sec] with the value user.

[flexcoders] Re: Spring vs Flex

2009-03-30 Thread bruno.marchesson
Hello, As a side note, if you want to send your persistent entity from DB to Flex through BlazeDS, you can have a look at Gilead library (http://gilead.sourceforge.net) Hope this helps Bruno --- In flexcoders@yahoogroups.com, kramus0 kram...@... wrote: Or just have a look at Christophe

[flexcoders] Re: HTTPService using underscores in variable names not working with POST...

2009-03-30 Thread joel.sisko
Well I am glad to read that the code worked. I can send you a ehtereal trace file to help the debugging. Prior to that, let me ask the dumb question that I did not ponder to think of till your post: What version of Apache and PHP did you test against? Thanks for the help. Joel --- In

RE: [flexcoders] Fortify Scan on my Application.

2009-03-30 Thread Tracy Spratt
The purpose of those files and IFRame is to allow the Flex app to be navigated using the browser Forward and Back buttons. I never use this functionality myself. You can turn it off in the Project, Properties, Compile dialog. That will remove the js file and will not pit the IFrame in the

RE: [flexcoders] Re: Add/remove columns dynamically to AdvancedDataGridColumnGroup

2009-03-30 Thread Tracy Spratt
You should be able to manipulate the columns dynamically. At least with the standard DataGrid, the.columns property returns a *copy* of the DataGridcolumns array, so it is critical after modifying that atrray that you re-assign it to the columns property. var aDGCTemp:Array =

RE: [flexcoders] Re: Custom Classes and Custom Events

2009-03-30 Thread Tracy Spratt
Yes, unless the event is bubbling , you must declare the listener on the component that is dispatching the event. So you need something like: custROInstance.addEventListener(CustEvent.CHANGE, databaseChange_eventHandler); Tracy Spratt, Lariat Services, development services available

Re: [flexcoders] Ribbon in FLEX

2009-03-30 Thread Scott Barnes
Just a note. The true power of Ribbon isn't necessarily just a tab/hbox navigation, it's also about context in that the navigation reacts to elements you may have with your application. Thus producing contextual sensitive additional menu items where the end user invokes sensitive areas. On

Re: [flexcoders] Re: How to make some rows in ADG invisible

2009-03-30 Thread Wesley Acheson
Could you not just use a filter function on the dataprovider. I think thats simpler than hiding rows. I could be wrong. Regards, Wesley Acheson On Mon, Mar 30, 2009 at 10:15 AM, yossi.baram yossi.ba...@yahoo.com wrote: sorry, I ment If I have 100 rows, and paging of 10, and the user chooses

[flexcoders] Flex 3/ LCDS / Coldfusion RTMP Issues

2009-03-30 Thread Alan Rother
Hey All, I'm just trying to play around with some of the LCDS / Flex 3 / Coldfusion samples by Tom Jordahl. I've managed to get them all working, but I cannot get them to use the cf-rtmp channel, it always switchs back to cf-polling-amf. When I comment that out, it connects but fails to subscribe.

[flexcoders] Re: HTTPService using underscores in variable names not working with POST...

2009-03-30 Thread valdhor
PHP 5.2.3; Apache 2.2.6 --- In flexcoders@yahoogroups.com, joel.sisko joel.si...@... wrote: Well I am glad to read that the code worked. I can send you a ehtereal trace file to help the debugging. Prior to that, let me ask the dumb question that I did not ponder to think of till your

[flexcoders] Re:Separate browser sessions in AIR

2009-03-30 Thread Martyn Bowis
Have you considered using a single session, but separating out your different user logins into separate child objects within that one session? eg: in a typical session, you might have a session object with the following keys: session.firstname session.lastname session.email session.cart ...,

Re: [flexcoders] Flex 3/ LCDS / Coldfusion RTMP Issues

2009-03-30 Thread Alan Rother
Hmm... scratch that... apparently sending this email made it work... I launched it again and this time, consumer.channelSet told me it was using cf-rtmp Magic... =\ -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org

[flexcoders] Flat ApplicationControlBar

2009-03-30 Thread markgoldin_2000
How can I make a flat ApplicationControlBar? Thanks

[flexcoders] Application with parameters

2009-03-30 Thread markgoldin_2000
Is there a way of sending parameters to my Flex application? Thanks

[flexcoders] VSlider direction?

2009-03-30 Thread gwangdesign
I am trying to make a VSlider but in a reversed direction than the default one, i.e., making it up side down, i.e., with the maximum value on the bottom and the minimum value on the top. What would be the easiest/fastest way? One of the innovative ways (but unsuccessful) I tried was setting

Re: [flexcoders] VSlider direction?

2009-03-30 Thread Guy Morton
Does slider.rotation = 180 do what you want? On 31/03/2009, at 9:20 AM, gwangdesign wrote: I am trying to make a VSlider but in a reversed direction than the default one, i.e., making it up side down, i.e., with the maximum value on the bottom and the minimum value on the top. What would

[flexcoders] SecurityError: Error #2047

2009-03-30 Thread alekseyvays
I'm using Flash inside of Flex. One Flash file loads other Flash files without a problem, until I try to load a Flash file that has a TextInput, which requires Focus - I get the following RTE: SecurityError: Error #2047: Security sandbox violation: parent: loaded swf cannot access parent swf

Re: [flexcoders] Ribbon in FLEX

2009-03-30 Thread Gleb Dolgich
Ribbon is not a good UI, IMHO. It comes from Microsoft's idea that every command must have a corresponding icon, which in the past made for some of the most cluttered UIs out there. It's really hard to find what you need in the new Office ribbons, and I would think twice before following

Re: [flexcoders] Application with parameters

2009-03-30 Thread Pedro Sena
Flashvars is the keyword. http://www.permadi.com/tutorial/flashVars/ HTH On Mon, Mar 30, 2009 at 7:15 PM, markgoldin_2000 markgoldin_2...@yahoo.comwrote: Is there a way of sending parameters to my Flex application? Thanks -- /** * Pedro Sena * Systems Architect * Sun Certified

Re: [flexcoders] I want to use Flex Builder 3 to develop Flash Games

2009-03-30 Thread Axonn
Hi Doobie! You said: You might want to organize things differently. Assuming that Game.as is your main class that you compile for the game, you may not want to compile this with Flash if you're trying to use Flex Builder. The way I organize is to break down my stuff into 2 categories - the

[flexcoders] Re: Ribbon in FLEX

2009-03-30 Thread Bjorn Schultheiss
Good point, Its difficult in an application with so many functions though. Take CS4, the tools panel in Photoshop seems to work for trained designers, but when it got introduced into Flash CS4 with the collapsed panels, its difficult to know which icon to click when they're not all familiar.

RE: [flexcoders] Flat ApplicationControlBar

2009-03-30 Thread Tracy Spratt
Styles? Play with it in the Style Explorer, see what you can do: http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer. html# Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

[flexcoders] Re: I want to use Flex Builder 3 to develop Flash Games

2009-03-30 Thread Bjorn Schultheiss
Using swc's for your assets is great because it it also makes compiling a lot quicker. With organisation i would suggest a few more categories. - assets - component (eg. spaceship) logic - component factories. - main - main factories - main logic these separate swcs/swfs make your

Re: [flexcoders] VSlider direction?

2009-03-30 Thread Paul Andrews
You've already had a suggestion to rotate the control; most users would expect the control to operate in the usual way, so what's the exception in this case? Paul - Original Message - From: gwangdesign gwangdes...@yahoo.com To: flexcoders@yahoogroups.com Sent: Monday, March 30, 2009

Re: [flexcoders] Re:Separate browser sessions in AIR

2009-03-30 Thread Sam Lai
Thanks for the responses everyone. Amy: For some browsers yes, but nevertheless, it would be a nice capability for AIR to have. No idea how it works for other browser controls. Wesley: The site I'm logging into is a third-party site that I have no control over. Martyn: This is with the mx:HTML

Re: [flexcoders] AMFPHP release project security problem

2009-03-30 Thread soulflow132
No i dont. i only have the service-config.xml file which is given with amfphp /br its something like this/br/br services-config services service id=amfphp-flashremoting-service class=flex.messaging.services.RemotingService

RE: [flexcoders] VSlider direction?

2009-03-30 Thread Tracy Spratt
I think that is a valid modification, say your control is increasing attenuation. If it was me, I would just look at the slider control code and decide whether to subclass or copy and modify it. I bet the logic is pretty simple. Tracy Spratt, Lariat Services, development services

Re: [flexcoders] VSlider direction?

2009-03-30 Thread Paul Andrews
I take your point, but even for attenuation I would expect to slide upwards to increase the attenuation level. If I dampen a sound, the more I dampen it the quieter it gets. My slider would be controlling the dampening rather than the sound volume. Maybe I've got the example wrong. Paul

[flexcoders] Re: Explicit refresh in a data control

2009-03-30 Thread madhav_2k
Thanks for your response There is no datatype of the data provider, it's just a tree of generic objects of type TreeItem. Following is the signature of the TreeItem class: import mx.collections.ArrayCollection; import mx.collections.IViewCursor; public class TreeItem {

[flexcoders] Re: Application with parameters

2009-03-30 Thread markgoldin_2000
Cannot get it working, any more examples? --- In flexcoders@yahoogroups.com, Pedro Sena sena.pe...@... wrote: Flashvars is the keyword. http://www.permadi.com/tutorial/flashVars/ HTH On Mon, Mar 30, 2009 at 7:15 PM, markgoldin_2000 markgoldin_2...@...wrote: Is there a way of

[flexcoders] AdvancedDatagrid

2009-03-30 Thread lehaianh1986
Hi every body. I have a AdvancedDatagird and dataprovider from Array Collection. How to listen an event when I click to each row? I want use an event when I click left mouse, right mouse, double click,...etc My code is here but it not run var client:AdvancedDataGrid = new AdvancedDataGrid;

[flexcoders] Re: AdvancedDatagrid

2009-03-30 Thread Tim Hoff
Just a syntax problem. Should be like this: var client:AdvancedDataGrid = new AdvancedDataGrid; client.dataProvider = ArrayResults; client.addEventListener( ListEvent.ITEM_CLICK , myEventHandler ); private function myEventHandler( event:ListEvent ) { // do something } -TH Also, I'd

Re: [flexcoders] Re: Ribbon in FLEX

2009-03-30 Thread Scott Barnes
Eye of the beholder and all..Our research tells us were on point with the end users so far. I'd be curious to listen to some of your own thoughts on where it could be improved, albiet removed and replaced with a better solution? (little-r me so not to interrupt the thread flow). There's many

[flexcoders] Re: AdvancedDatagrid

2009-03-30 Thread Tim Hoff
Missed the return void. private function myEventHandler( event:ListEvent ):void { // do something } -TH --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Just a syntax problem. Should be like this: var client:AdvancedDataGrid = new AdvancedDataGrid; client.dataProvider =

[flexcoders] Re: AdvancedDatagrid

2009-03-30 Thread lehaianh1986
Yeah I see. Thank you very much. I still have small question To give index of row I use AdvancedDataGrid(event.currentTarget).selectedIndex = event.rowIndex; But to give data of it, how do I do? --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Missed the return void.

RE: [flexcoders] Re: Application with parameters

2009-03-30 Thread Tracy Spratt
Lots of examples out there. What google phrases have you tried so far? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Monday, March 30, 2009 9:31 PM To:

RE: [flexcoders] Re: AdvancedDatagrid

2009-03-30 Thread Tracy Spratt
What are you trying to do with the line?: AdvancedDataGrid(event.currentTarget).selectedIndex = event.rowIndex; As it is is sets the selectedIndex to itself. rowIndex is the selectedIndex. Tracy Spratt, Lariat Services, development services available _ From:

[flexcoders] Re: AdvancedDatagrid

2009-03-30 Thread Tim Hoff
event.itemRenderer.data -TH --- In flexcoders@yahoogroups.com, lehaianh1986 lehaianh1...@... wrote: I use the line to test. It show the row index in advanceddatagrid that I want to select. What I need is data of object in each row I select. But how to give it? --- In

RE: [flexcoders] Re: AdvancedDatagrid

2009-03-30 Thread Tracy Spratt
Use : event.currentTarget.selectedItem; That will return a reference to the currently selected item object in the dataProvider. Alternatively, you could do: ArrayResults.getItemAt(event.CurrentTarget.selectedIndex) Tracy Spratt, Lariat Services, development services available _

[flexcoders] Re: AdvancedDatagrid

2009-03-30 Thread lehaianh1986
I use the line to test. It show the row index in advanceddatagrid that I want to select. What I need is data of object in each row I select. But how to give it? --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: What are you trying to do with the line?: