Re: [flexcoders] Re: Flash Remoting Options
Resonably - there are no options regarding AMFPHP. PHP 4 is really old. Your host should offer an upgrade to at least PHP 5. Alan On Jan 10, 2009, at 11:44 PM, Amy wrote: Any options for earlier php versions?
Re: [flexcoders] Stupid Question - Flex width and height
It would seem to me that Application.application.stage.width only exists when using the Flex framework. Without Flex your just dealing with the 'default' Flash display list. Alan On Jan 12, 2009, at 3:48 PM, Wally Kolcz wrote: Application.application.stage.width
Re: [flexcoders] Debugger hosed
Don't forget... RIght Click on windowed file Debug As Debug Configurations. Check your settings there as well. On Jan 23, 2009, at 12:56 AM, Alex Harui wrote: My FlexBuilder quit debugging today. For a bunch of descriptions and ideas on this, please see:
Re: [flexcoders] Announcing a Flex Community Feedback Forum
My impression is that this meeting will be about how the open source Flex SDK 'works'. If anyone here is interested in contributing to the SDK, or has input on making the open source SDK more successful, this is the place to go. The meeting is open, free and it will cool to hear people's thought on improving Flex. Alan On Jan 23, 2009, at 3:23 AM, Gregor Kiddie wrote: But is there any guidance on what questions are off limits, area’s to focus on, etc, as I think a lot of people will come wanting to talk about AIR / Flash Player rather than the SDK strictly.
Re: [flexcoders] Go and Vote for beter Flex builder! (Cache Buster)
I¹d rather know how to add the feature it myself. https://bugs.adobe.com/jira/browse/FB-16764 Alan
Re: [flexcoders] Go and Vote for beter Flex builder! (Cache Buster)
Anyone have any suggestions of good places to learn about using ANT, particularly in context of Flex's compiler? Alan I'm not sure if it is necessary to change FlexBuilder to do this. Have you tried a ant script running as a builder before your flex build.
Re: [flexcoders] *** Security Sandbox Violation *** ?
I'm confused, if the app runs fine, then what is the problem? Your getting a sandbox error because your trying to grab data from somewhere besides the host application's home. Alan I get the error message when I debug a application.the application works fine, but I get the message in debug console.
Re: [flexcoders] How to instantiate a weak reference
I don't understand. Event pointers can be instanciated as weak. Do you mean an object with a weak reference to another? e.g var foo:Object = 'First'; var bar:Object = foo; // destroy object foo // foo still exists because of object bar Alan However, I cant seem to find any way to instantiate a weak reference, how can I do this in ActionScript?
Re: [flexcoders] Upload images
http://weblog.cahlan.com/2006/12/flex-upload-component.html Hello, I want to Upload images from the user computer into my flex application. Which instruction to use to upload images ? Thank you, Christophe,
Re: [flexcoders] Login / Password Form
No, you can use a PHP file, for example, to hold and check against. Hello, I am searching a code source exemple for a classical login / password form in a flex application. Did I need absolutely a database to store Passwords ? Thank you, Christophe,
Re: [flexcoders] Sign function
Do you mean 'sine'? Math.sin(180); Alan need to find the sign of a number is there a sign function or method available such as; var mySign:number = sign(-123)
Re: [flexcoders] HTML editor for Flex Builder 3?
Download Eclipse PDT and install Flex Builder as a Plug in. You will have code hinting and debugging for HTML, XML, PHP as well as other nifty stuff. http://www.eclipse.org/pdt/release-notes/pdt2_0.php Alan
Re: [flexcoders] Unicode Normalization in flex
I don¹t know anything about the technologies you were referring to, but I created a Flex app on OSX and I had 15 different languages displayed. German being one of them. I had no problems. I just set the app to use Arial MS Unicode. Alan Because of this issue my i was not able to display the German characters properly on my flex application.S
Re: [flexcoders] how to use a preloader?
http://www.adobe.com/devnet/flash/articles/preloader.html http://www.adobe.com/devnet/actionscript/articles/lightweight_as3_print.html
Re: [flexcoders] Generate PDF files
http://alivepdf.bytearray.org/ Hello, How to generates PDF Files from a flex application ? Thank you, Christophe
Re: [flexcoders] Re: Help the Flex Team by taking our survey!
It all worked great for me. Alan
Re: [flexcoders] try, catch, finally ...
This sounds like the try-catch is not being used as ( how I see ) intended. As Alex mentioned, they are costly so unless you need it, skip it. I suggest just adding an IOErrorEvent listener/handler to the caller, and if/when the call is complete then remove the listener(s) for GC. In the try, catch¹ scenario, your code is always checking¹ for the error. Alan Try-Catch blocks are an absolute necessity as without them, you are putting the operation of your software into the hands of user input errors, http errors, unintended consequences as well as the myriad of things that exist outside the ³Happy Path².
Re: [flexcoders] Login in an XML File
I want to store my website login and password in an xml file. This xml file will be on the server. Where to put this xml file to be invisible for the exterior of the website ? In short... Anything accessed and consumed by the client ( a web browser ) will be exposed to the client. When a user accesses a XML file, she is downloading the file and parsing it. This is whey a server side language, such as PHP, is used. With PHP, a request is sent to the server and a response is sent back. While the request and response can be monitored, the script it self is not exposed. Alan
Re: [flexcoders] flex + mysql unicode support
If your app is set to use a unicode font, then you will have n0 problem. Alan I am displaying data from mySql database. This data some unicode text which I want to display in a datagrid in uncide. Is this possble?
Re: [flexcoders] Re: flex + mysql unicode support
Can you please provide information on this? Google embedding fonts with Flex. But keep in mind that the entire Unicode library is something like 30 megs. Also Google about localizing flex apps. Alan
Re: [flexcoders] Re: flex + mysql unicode support
Yes. Guy and Gordon are correct - going with system default is probably the safest. Using custom fonts with international apps will require further testing. There is Arial Unicode which is a Microsoft font, and is included with the default installation of Windows. OS X is different, somehow, but does include international fonts by default as well. I don't know about Linux systems. Alan We have an app with multilingual support and we just use the default system font. Don't some device fonts (e.g., Arial on Windows?) include glyphs for large portions of Unicode?
Re: [flexcoders] AMFPHP Question
Last time I made a data driven app with AMFPHP. I used PHP and MySQL. I did all of what your describing within PHP and MySQL. Everytime I querried the database, I always sent back the same kind of object to Flex. The object always had two properties, a success¹ property and a message¹ property. IF the query succeeded, then my object that I created in PHP would be: success¹ = true; message¹ = query executed successfully. Or if it failed it would be. success¹ = false; message¹ = [enter your custom error message here. I.e. record already exists¹] I suggest making your remote object responses in a format that you repeat, like this: mx:RemoteObject id=myRemoteObject mx: method name =insertRecord result =¹_onInsertRecordResponse(event)/ mx:RemoteObject/ private function _onInsertRecordResponse (evt:ResultEvent) : void { if(evt.result.success) // remember I¹m returning an object with a success¹ and a message¹ { Alert.show(event.result.message) // output query execurted seccessfully¹ } Else if (!evt.result.success) { Alert.show(event.result.message) // outputs record already exists¹ // my custom error message I made in PHP } } This way, every result handler, from every remote object is in my app is structured the same way. Alan
Re: [flexcoders] ADG to .csv - Not finding any solutions out there
When I did this, I just looped though the dataprovider, concatenating values to a string, then save it as a file with a .csv extension. No problem with that. It doesn¹t even matter what kind of component you are using. - you could do it from a combobox. Alan I've seen several solutions for doing this with a standard DataGrid,
Re: [flexcoders] Re: Database Viewer
Dude, 4get that! Lita is where it¹s at. http://www.dehats.com/drupal/?q=node/58 HollA!!! Alan If the DB is SqlLite you can use Christophs Coenraet's application http://coenraets.org/blog/2008/02/sqlite-admin-for-air-10/
Re: [flexcoders] Re: Weborb
One cool thing about WebORB vs AMFPHP is that is how the services-config is handeled. I belevie that if an app is built with AMPFP, your tied to that implementation, whereas WebORB s deployment is more modular. My 2c... I use WebORB with PHP. Alan