[flexcoders] Syntax question

2007-09-22 Thread candysmate
The conpiler complains with a syntax error 'expecting rightparen before 1.' for my line: var selectedGrowerAddress1:String = event.currentTarget.growerSearchGrid.selectedItem.ADDRESS_LINE#1; my client's database field name has a # in it which I have to accept. But, as this is used extensively

[flexcoders] Re: Open SWF from another SWF.

2007-09-22 Thread helix206
Ok, i have tryed this with fscommand(exec, test.exe); and it works, all SWF files must be projectors. Now i have 2 problems, the projector test.exe witch is an application runs fine when run directly, but when i execute it from my first projector (runner.exe) the second test.exe wont read any

Re: [flexcoders] propiedad headerText de DataGridColumn cargar en tiempo de ejec ución.

2007-09-22 Thread [EMAIL PROTECTED]
Gracias nuevamente. Todo funcionó OK Muchas Gracias por todo. Pablo Dario Ingelhorn Ingelhorn Sistemas Alex Harui escribió: dg.columns[i].headerText = new header text; *From:* flexcoders@yahoogroups.com

Re: [flexcoders] DataGrid (dejar fijo 1er.columna y 1er.fila a pesar de scroll)

2007-09-22 Thread [EMAIL PROTECTED]
Mil gracias Alex Hace justo lo que necesitaba. Muchas Gracias por todo nuevamente. Dios te bendiga. Pablo Dario Ingelhorn Ingelhorn Sistemas Alex Harui escribió: lockedRowCount, lockedColumnCount? *From:*

Re: [flexcoders] Re: How to converst an XML to AS Object ?

2007-09-22 Thread Roger Braunstein
Hi there, Tony Alves tipped me off that there was a thread about this when I posted my article on instant binding to XML models. Feel free to use the code I present in my approach here: http://www.partlyhuman.com/blog/roger/instant-model-binding-with-reflection Cheers! Roger Braunstein

[flexcoders] Flex2/AS3 Shopping Cart API

2007-09-22 Thread illiasdissi
I'm looking to create mini E-comm sites preferably done in Flex2/AS3, so as to implement the kind of interface seen in Adobe's sample store application (http://examples.adobe.com/flex2/inproduct/sdk/flexstore/flexstore.html).I'm I'd also like to make use of PHP on the backend, as that's how our

[flexcoders] Custom Components Data

2007-09-22 Thread Andrew
Hello, i am new to flex and im just starting to get the hang of it. Currently i am working on a project that requires a custom component. The problem i am having is how to get data to that component. I am trying to read tutorials but i must be missing something. Currently it my main movie that has

[flexcoders] Re: Buttons in Flex !

2007-09-22 Thread restlessdesign
Hmmm...not as easy as expected. Anyone have any ideas (MXML or Actionscript)? mx:Button id=myButton x=10 y=10 label=Squirrels! styleName=customBtn mx:transitions mx:Transition fromState=* toState=* mx:Fade alphaFrom=0 alphaTo=100 duration=2 / /mx:Transition

RE: [flexcoders] Are you going to MAX?

2007-09-22 Thread Dimitrios Gianninas
I will be there! Dimitrios Gianninas Development Team Lead / Moderator Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Friday, September 21, 2007 9:44 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] FDS Compiler Error Eclipse 3.3

2007-09-22 Thread Dimitrios Gianninas
Which FB plugin version you got? the 2.0? it only works with Eclipse 3.2... you have to have FB 3.0 for it to work Eclipse 3.3 and even then this is on XP, doesnt work on Vista. Dimitrios Gianninas Development Team Lead Optimal Payments Inc. From:

RE: [flexcoders] firefox and FileReference.upload over SSL - error 2038

2007-09-22 Thread Dimitrios Gianninas
I have it working in FF... one issue with FF of course is that when you do a file upload it creates a brand new session on the server-side and there is nothing you can do to work around that. It is something that Adobe knows about but requires and extensive change in the Flash player to get it

RE: [flexcoders] Re: Sending custom clases (value objects) to remote services

2007-09-22 Thread Dimitrios Gianninas
it is free is you use the Express edition which runs on only one CPU. If you need more CPUs then yes you have to pay. Dimitrios Gianninas Development Team Lead Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Setting the crossdomain.xml file for WebService in a diffferent path than root

2007-09-22 Thread Claude Hussenet
I would like to be able to deploy the crossdomain file in the same domain name as the webservice but NOT in the root domain. Possible solution would be able to set the path of the crossdomain file before the initialization of the webservice on the client side. I tried the following method

Re: [flexcoders] Eeeeek! Development grinds to a halt due to stupid syntax problem

2007-09-22 Thread Paul Andrews
Why do you have to use the database field names inside the flex application? - Original Message - From: candysmate [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, September 22, 2007 3:58 PM Subject: [flexcoders] Ek! Development grinds to a halt due to stupid syntax

Re: [flexcoders] Eeeeek! Development grinds to a halt due to stupid syntax problem

2007-09-22 Thread Stephen Allison
Are you able to use the square brackets syntax for accessing properties ? This should work if your data objects are type object or are dynamic (?) var selectedGrowerAddress2:String = StringUtil.trim(String (event.currentTarget.growerSearchGrid.selectedItem[ADDRESS_LINE#2])); My client's

[flexcoders] Max Conference

2007-09-22 Thread Ed Capistrano
Seems like tokyo game show to me yipee! Btw could you just go in there w/o any fees Edtrade; Send instant messages to your online friends http://uk.messenger.yahoo.com

Re: [flexcoders] Is it possible to anti-alias fonts without embedding?

2007-09-22 Thread Jon Bradley
On Sep 22, 2007, at 1:23 AM, Alex Harui wrote: Device fonts are anti-aliased except when cached as bitmaps. They should be anti-aliased even when cached as bitmaps in the upcoming Player 9,0,60 and later. Now all you guys need to do is support rotation on non-embedded fonts. That would

[flexcoders] IE 7 not showing my flex app

2007-09-22 Thread Guillermo Villasana Cardoza
Hello, I have a problem with ie 7 and flex, IE7 keeps telling me that flash is not installed, I was told that I had to specify size of my app. But the problem is that even though I specify size, it still shows me that flash is not installed. How can I solve this? Thanks

[flexcoders] Re: Eeeeek! Development grinds to a halt due to stupid syntax problem

2007-09-22 Thread candysmate
--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: Why do you have to use the database field names inside the flex application? What alternative approach would you suggest Paul? I use them to help me keep track of everything, as I'm using both a MS SQL database and an

Re: [flexcoders] Syntax question

2007-09-22 Thread Daniel Freiman
try event.currentTarget.growerSearchGrid.selectedItem[ADDRESS_LINE#1]; - Dan Freiman On 9/22/07, candysmate [EMAIL PROTECTED] wrote: The conpiler complains with a syntax error 'expecting rightparen before 1.' for my line: var selectedGrowerAddress1:String =

[flexcoders] JPGEncoder with progress support?

2007-09-22 Thread Jon Bradley
Has anyone attempted to modify the corelib JPGEncoder to support progress. Rather than letting it bang away for a seemingly long time, I'd like to provide feedback for JPG (and PNG) compression if possible. many thanks for any pointers... - jon

[flexcoders] Re: IE 7 not showing my flex app

2007-09-22 Thread mitek17
Hi Guillermo, I had same problem recently. The fix is to reinstall Flash Player. 1 step - download the uninstaller as a standard Windows Remove program will not fix the problem. http://fpdownload.macromedia.com/get/flashplayer/current/uninstall_flash_player.exe 2 step - install it FP again,

[flexcoders] Re: ItemRenderer : listData and dataChange event

2007-09-22 Thread benoit.kogut
Thanks, so it is a case of performance trade-off. Alas, I may not get sleep so easily, by now I'm trying to figure out the drag n drop mechanics within a Tree (calculateDropIndex, ah!) Thanks for the reply --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Every once in a

Re: [flexcoders] Re: Eeeeek! Development grinds to a halt due to stupid syntax problem

2007-09-22 Thread Paul Andrews
- Original Message - From: candysmate [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, September 22, 2007 6:12 PM Subject: [flexcoders] Re: Ek! Development grinds to a halt due to stupid syntax problem --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL

Re: [flexcoders] JPGEncoder with progress support?

2007-09-22 Thread Doug McCune
This is doable, but requires a little more work than you probably think. To do this you would modify JPEGEncoder, if you're using Moxie take a look at the JPEGEncoder class around line 121. You'll see this double for loop: for (var ypos:int = 0; ypos height; ypos += 8) { for

RE: [flexcoders] pixel font [old] issue

2007-09-22 Thread Randy Martin
I've always had good results like this: In your application.css file (or in a mx:Style block), add these kinds of font statements: @font-face { src: url(fonts/MyriadWebPro.ttf) ; fontFamily: Myriad; unicodeRange: U+0021-U+007E; /* Normal Chars */ } @font-face { src:

[flexcoders] Re: IE 7 not showing my flex app

2007-09-22 Thread Mike Morearty
Another possibility is, are you running 64-bit Windows? See this earlier message on that topic: http://www.cflex.net/flexcoders.cfm?Message=msg68141.html - Mike Morearty, Adobe Flex Builder team --- In flexcoders@yahoogroups.com, mitek17 [EMAIL PROTECTED] wrote: Hi Guillermo, I had same

Re: [flexcoders] JPGEncoder with progress support?

2007-09-22 Thread Jon Bradley
Sure does Doug! Thanks for the tips. I'm actually re-writing the corelib version now to make it more efficient for larger images. Right now encoding a 2k image takes much longer than I'm happy with. :) I was doing a bit more research and will be breaking it up into 'chunks' with progress

Re: [flexcoders] pixel font [old] issue

2007-09-22 Thread Jon Bradley
But I do not believe that solution helps with pixel fonts that need to be antialiased based on the grid. The only way that I know of to get it to work properly is by using Flash to export the font. I'd love a cleaner method though... - j On Sep 22, 2007, at 1:47 PM, Randy Martin wrote:

RE: [flexcoders] Setting the crossdomain.xml file for WebService in a diffferent path than root

2007-09-22 Thread Alex Harui
a.b.com is not the same domain as d.b.com. You should be able to use a file from a different folder in a.b.com. Did you get it before calling send on the webservice? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claude Hussenet

RE: [flexcoders] Is it possible to anti-alias fonts without embedding?

2007-09-22 Thread Alex Harui
If chart labels are looking fine to you, then you should be able to duplicate. What kind of issues are you having? Is it that you're trying to get bitmaps before attaching the text widgets to the display list? Or are you seeing visual problems over certain backgrounds or angles?

RE: [flexcoders] Re: Buttons in Flex !

2007-09-22 Thread Alex Harui
Are you saying you're trying this in Moxie? Did you read up on how to do it in the release notes? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of restlessdesign Sent: Friday, September 21, 2007 9:13 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Custom Components Data

2007-09-22 Thread Alex Harui
Usually by binding to the datagrid's selectedItem. mx:TextInput text={myDg.selectedItem.name} From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Sent: Friday, September 21, 2007 3:48 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: Open SWF from another SWF.

2007-09-22 Thread Alex Harui
You can't use a shell app with SWFLoader? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of helix206 Sent: Saturday, September 22, 2007 4:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Open SWF from another SWF. Ok, i

[flexcoders] Re: Eeeeek! Development grinds to a halt due to stupid syntax problem

2007-09-22 Thread candysmate
It's actually a Sage Line 100 database if that means anything to you. Sage have now uses SQL Server 2005 i believe, but this old proprietary format that I have to work with doesn't allow for anything 'creative'. Looks like I'm hosed, unless one of you clever people can think of a way around it.

Re: [flexcoders] Is it possible to anti-alias fonts without embedding?

2007-09-22 Thread Jon Bradley
Thanks for any help Alex... I'm actually having issues on the initial draw of the bitmap - so visual problems. While the user rotates and scales the field, everything is fine and dandy. BUT, when the class for handling the bitmap and the text field itself is first instantiated, the field

Re: [flexcoders] Re: Eeeeek! Development grinds to a halt due to stupid syntax problem

2007-09-22 Thread Doug McCune
Multiple people have already said this on both of the threads you posted with the same question: use square brackets to reference your properties. Try: selectedItem[ADDRESS_LINE#2] And if that doesn't work tell us that it doesn't and what happens if you try. On 9/22/07, candysmate [EMAIL

RE: [flexcoders] Re: Eeeeek! Development grinds to a halt due to stupid syntax problem

2007-09-22 Thread Randy Martin
If it were me, I'd just change the name of the field in the SQL select statement, like: select [ADDRESS_LINE#2] as addr2, - . . from. Then use addr2 in your app. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of candysmate Sent: Saturday,

Re: [flexcoders] Re: Real size of components

2007-09-22 Thread Arpit Mathur
Would this work? component.percentWidth = 50 component.percentHeight = 50 component.validateSize() trace(component.measuredWidth) I have never really used the validation thing so I am curious. Its how I would imagine it would work. On 9/21/07, Gordon Smith [EMAIL PROTECTED] wrote: It

[flexcoders] Re: Eeeeek! Development grinds to a halt due to stupid syntax problem

2007-09-22 Thread candysmate
--- In flexcoders@yahoogroups.com, Stephen Allison [EMAIL PROTECTED] wrote: Are you able to use the square brackets syntax for accessing properties ? This should work if your data objects are type object or are dynamic (?) var selectedGrowerAddress2:String = StringUtil.trim(String

Re: [flexcoders] Is it possible to anti-alias fonts without embedding?

2007-09-22 Thread Jon Bradley
I think I actually fixed it I was doing this in my constructor for the custom field: if (m != null) { transform.matrix = m; setTransform(m); }

RE: [flexcoders] Is it possible to anti-alias fonts without embedding?

2007-09-22 Thread Alex Harui
TextField definitely has quirks. If you look in TextArea, you'll see some callLaters used to deal with it. And I think we don't use autosize, we trust textWidth/Height and dictate size. Also note that until applicationComplete event, you aren't really on the display list.

RE: [flexcoders] Re: Real size of components

2007-09-22 Thread Alex Harui
Use validateNow() or validateClient(). ValidateSize is for internal use by the framework and calling it by itself isn't guaranteed to work. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Arpit Mathur Sent: Saturday, September 22, 2007

Re: [flexcoders] Re: Anyone seen this effect as Flex module - Accordion Menu

2007-09-22 Thread Doug McCune
Here's my example with write-up and source code: http://dougmccune.com/blog/2007/09/22/nifty-flex-accordion-menu-like-on-applecom/ Or straight to the example (right click to view source): http://dougmccune.com/flex/apple_accordion/ Doug On 9/20/07, Tony Alves [EMAIL PROTECTED] wrote: Doug,

[flexcoders] Re: Setting the crossdomain.xml file for WebService in a diffferent path than root

2007-09-22 Thread Claude Hussenet
I am getting the Security error before calling the send method . Using an HTTP Proxy(Fiddler)I have noticed that whatever file is set to the loadPolicyFile method a SECOND request after is executed to load the policy file from the web root domain !! So Fiddler reports 2 HTTP requests to the

[flexcoders] Re: Eeeeek! Development grinds to a halt due to stupid syntax problem

2007-09-22 Thread candysmate
--- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote: Multiple people have already said this on both of the threads you posted with the same question: use square brackets to reference your properties. Try: selectedItem[ADDRESS_LINE#2] And if that doesn't work tell us

Re: [flexcoders] pixel font [old] issue

2007-09-22 Thread Ary
yes i try both already ...embeding .ttf files and make a dynamic text on swf file, i choose embeding dynamic text ,embedding ttf doesnt work at all, while embedding swf is working, but blurred text, i define normal,italic and bold in font face already...i even got fontantialiastype set to advanced

[flexcoders] Simulating mouse click on itemRenderer in dataGrid

2007-09-22 Thread candysmate
I need to simulate that a textInput itemdenderer in a dataGrid has just been click in/on with the mouse. My efforts with manually dispatching an event to the itemRenderer have failed, as I do not know how to reference it. Can anyone help please? I can reference the grid with: var mev:MouseEvent

Re: [flexcoders] pixel font [old] issue

2007-09-22 Thread Jon Bradley
Search archives. Another embedding fonts thread was discussed up about a week ago (Embed Flash Font was the subject). Text of my post is below, which works for all pixel fonts I've tested so far (provided you use the proper font size in the Flex CSS document). First step is to put a

[flexcoders] Re: Custom Components Data

2007-09-22 Thread Andrew
Well the datagrid on the main movie is fine, but my fields in the custom componet do not update or obtain information. mx:TextArea x=10 y=10 width=225 htmlText={teams.selectedItem.team_name} height=29 editable=false fontSize=21 fontWeight=bold borderStyle=solid

RE: [flexcoders] Re: Setting the crossdomain.xml file for WebService in a diffferent path than root

2007-09-22 Thread Alex Harui
I'm not well-versed on webservice. Did you specify a wsdl? Maybe it is getting loaded before you hit send. When do you try to get the policy file? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claude Hussenet Sent: Saturday,

RE: [flexcoders] Simulating mouse click on itemRenderer in dataGrid

2007-09-22 Thread Alex Harui
Are you using editable=true? Then editedItemRenderer should be the one. You can also set editedItemPosition to shift editing and focus to a cell. You shouldn't need to fake a mouse event. The TextField is handled by the player and doesn't listen for them anyway. Are you trying to set focus

RE: [flexcoders] Re: Custom Components Data

2007-09-22 Thread Alex Harui
This implies you have: mx:DataGrid id=teams' ... / And data objects in the data provider that have a property called team_name. How are your data objects defined? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Sent:

[flexcoders] Re: Custom Components Data

2007-09-22 Thread Andrew
Here i am kinda confused so here is the code so you can see what i mean. Code of Main app.mxml [Code] ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=teamRequest.send() layout=absolute xmlns:ns1=bin.myComponents.*

[flexcoders]Air Bus tour in Minneapolis

2007-09-22 Thread dorkie dork from dorktown
Anyone from the list attending the AIR Bus Tour in Minneapolis? http://onair.adobe.com/blogs/tour/2007/09/21/leg-3-speakers-and-agendas-updated/ repost: September 21st, 2007 by Mike Chambers We have just updated the website with the agendas and speakershttp://onair.adobe.com/bus/for leg 3 of

[flexcoders] Is there any way to access code within a flash-generated SWF?

2007-09-22 Thread thegiffman
Hi All, Is it at all possible to access code within a flash-generated SWF? I have an animated character that I want to color on the fly, and use external ActionScript 3.0 class linkages to do this. However, when I load the swf into flex by embedding the symbol, all of the types revert to

Re: [flexcoders] Is there any way to access code within a flash-generated SWF?

2007-09-22 Thread Muzak
http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3 - Original Message - From: thegiffman [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, September 23, 2007 12:04 AM Subject: [flexcoders] Is there any way to access code within a flash-generated SWF? Hi

[flexcoders] Re: Is it possible to query a Flash SWF for its images / symbol list ?

2007-09-22 Thread helihobby
The issue I am trying to solve is this ... If a user loads a compiled SWF to my site ... How can I dynamically from within Actionscript get a list of the embeded images ( Symbols ) ? Is it possible ? Regards and thanks again, Sean. --- In flexcoders@yahoogroups.com, helihobby [EMAIL

RE: [flexcoders] Re: Custom Components Data

2007-09-22 Thread Alex Harui
Each mxml is its own document with its own set of variables just like HTML files. If the custom component is a used in the main app, then using parentDocument.teams should work. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew

RE: [flexcoders] Is there any way to access code within a flash-generated SWF?

2007-09-22 Thread Alex Harui
Flash8 swfs are sandboxed and only localConnection will communicate between them. Flash9 swfs are available to as3. When you embed them, they get buried in a MovieClipLoader. You can still get at it. Search the archives for past threads on this topic.

RE: [flexcoders] Re: Is it possible to query a Flash SWF for its images / symbol list ?

2007-09-22 Thread Alex Harui
There is no API to query a SWF for its contents. The easiest way is to force everyone to put a list somewhere that you know how to get to. There is a way to load the swf as a bytearray and scan its contents, but that won't be fun. From:

[flexcoders] SWFLoader onRoll: can it be set in Actionscript?

2007-09-22 Thread grimmwerks
I've got a swfloader that I want to assign it's rollOver / rollOut handler to call only after it's creationComplete fires - can I do it in actionscript? In other worse, I've a page that loads in - and if the user's cursor is right over the area of the swfloader as it's being drawn, it gets

[flexcoders] Re: Setting the crossdomain.xml file for WebService in a diffferent path than ro

2007-09-22 Thread Claude Hussenet
Yes,I did specify a WSDL. As noticed in my previous email the crossdomain.xml is loaded from the web ROOT domain at the instanciation of the WebService regardless of calling the method flash.system.Security.loadPolicyFile. When I call the method loadPolicyFile,the crossdomain.xml file is

[flexcoders] Datagrid Sorting by Row

2007-09-22 Thread Jeremy Rottman
I am not even sure if this is possible, but here it comes anyways. I have two arrays that I am using to create a the dataprovider for a datagrid. The first grid tranMonth holds the data for the dynamic columns that I am creating. It holds the column header, and data field. The second grid holds