[flexcoders] Re: Strange and Frustrating amfPHP behaviour Unsupported Datatype: array

2010-06-17 Thread ouaqa
. What does Charles (http://www.charlesproxy.com) say? What does the PHP error log show? --- In flexcoders@yahoogroups.com, ouaqa abenefice@ wrote: Hello all, I've been stuck for a couple of days with a very weird error provoked by AMFPhp. My Flex client sends to the server

[flexcoders] Strange and Frustrating amfPHP behaviour Unsupported Datatype: array

2010-06-10 Thread ouaqa
Hello all, I've been stuck for a couple of days with a very weird error provoked by AMFPhp. My Flex client sends to the server a fairly complex value object. This object is composed of basic attributes (string , int , ...) , value object attributes and an array of value objects (also complex

[flexcoders] Re: embed images dynamically

2010-05-21 Thread ouaqa
Hello, you could load images dynamically from a given url. what you need to do is make a new url request and use a loader : public function setImage (AnImageSource : String) : void { var request:URLRequest = new URLRequest(AnImageSource); var imageLoader:Loader = new Loader();

[flexcoders] Re: var myVar : Function = new Function ? examples?

2010-05-21 Thread ouaqa
If it may help, this is how I usually manage my remote connections. Before you say it's off-topic, I think it might answer your question : public class LCRemoteConnectionManager { private static var serverRemoteObject : RemoteObject ; // = null

[flexcoders] Re: creating a magnetic grid

2010-05-21 Thread ouaqa
Thanks a lot, I'm gonna look into it --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: You might be able to use this: http://blogs.adobe.com/aharui/2010/01/constrained_drag_and_drop.html On 5/20/10 5:50 AM, ouaqa abenef...@... wrote: Hello, As part of my

[flexcoders] Re: Embed source path issue

2010-05-21 Thread ouaqa
Hello, try removing the / in before com. = [Embed(source=com/domain/assets/images/sm_minus_ro.png)] I think this is the problem. --- In flexcoders@yahoogroups.com, method_air loudj...@... wrote: I'm trying to 'embed source' a .png located in an graphics rsl from a flex project (the rsl is

[flexcoders] Re: creating a magnetic grid

2010-05-21 Thread ouaqa
. If the current position is close enough to a magnetic axis point, it is directly moved to the corresponding coordinate. --- In flexcoders@yahoogroups.com, ouaqa abenef...@... wrote: Thanks a lot, I'm gonna look into it --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: You might be able

[flexcoders] creating a magnetic grid

2010-05-20 Thread ouaqa
Hello, As part of my project, I need to create a magnetic grid, locking moving objects to the grid as they are moved (it's a drawing api). The Graphic Objects (i.e pictures, text, ... ) are Canvas objects that are display on a Canvas (more or less the background of the drawing api). Over this

[flexcoders] Re: adding transparent images to a canvas

2010-05-18 Thread ouaqa
Yes, removed those bits of code in the new BitmapData Calls. It was a desperate try to obtain a satisfying result. It didn't change anything to my problem in good or bad so I removed them, but only after posting my problem. I'm still wondering how my transparent png images becomes opaque when

[flexcoders] adding transparent images to a canvas

2010-05-17 Thread ouaqa
good morning fellow flexers. I've been struggling for the last 3 days with a very frustrating problem. In a photo manipulation project, I use a canvas where I handle images. So, an image is displayed in a canvas and I want to add a new image on top of it, let's say a cool wood-looking frame.

[flexcoders] Re: adding transparent images to a canvas

2010-05-17 Thread ouaqa
. cheers --- In flexcoders@yahoogroups.com, ouaqa abenef...@... wrote: good morning fellow flexers. I've been struggling for the last 3 days with a very frustrating problem. In a photo manipulation project, I use a canvas where I handle images. So, an image is displayed in a canvas and I

[flexcoders] vertical display of text

2010-05-06 Thread ouaqa
Hello, As the topic says, I'm trying to display a TextField element vertically like this : s o m e t e x t Part of the rendering is performed using a textformat object. After reading the specs of both classes (textfield textformat) and googling for answers, I didn't find anything. Any help

[flexcoders] application preload and amf calls

2010-05-05 Thread ouaqa
. Any suggestion would be appreciated. Thanks in advance, ouaqa

[flexcoders] Re: Is there a tool to detect whether the loaded swf is from browser's cache?

2010-04-23 Thread ouaqa
Hello, As far as I know, there is no way to know this. But again, I'm not an expert. When changing our version of the swf, we append it's new version number. This way, we're sure the user is using ourApp-vLastVersion.swf and not ourApp-vOldAndBuggedVersion.swf, the versions being based on the

[flexcoders] applying styles to UITextfield, embeding fonts and more fun stuff

2010-04-09 Thread ouaqa
Hello fellow flexcoders. I'm stuck at a critical point while developing my application. Here's the context : A user can add and style text to a postcard (being a Canvas). The text can then be modified and rotated. The rotation is handled by a library performing well on pictures. The text is a

[flexcoders] Re: applying styles to UITextfield, embeding fonts and more fun stuff

2010-04-09 Thread ouaqa
); for the curious ones, a textfield must be added to a uicomponent before adding it to a canvas, as canvas only accept uicomponents. --- In flexcoders@yahoogroups.com, ouaqa abenef...@... wrote: Hello fellow flexcoders. I'm stuck at a critical point while developing my application. Here's the context

[flexcoders] Re: actionscript project need Vector

2010-03-26 Thread ouaqa
If you're working on a flex project, you might want to read the following article : http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10 note that you should use last stable build of the flex 3.5 sdk instead of the v.3.0 of the sdk as they suggest in the tutorial. --- In

[flexcoders] Re: using Vectors and amfphp

2010-03-26 Thread ouaqa
Thanks Oleg, I'll do that. Still, as a lazy coder, my ideals feel betrayed :) --- In flexcoders@yahoogroups.com, Oleg Sivokon olegsivo...@... wrote: Hi, the easiest way is to make custom serialization routine. Vectors aren't fully serializable anyway - regardless of the type parameter they

[flexcoders] using Vectors and amfphp

2010-03-25 Thread ouaqa
Hello fellow flex coders, I'm wondering if anyone ran into the same situation as I have. I'm working on a flex/php project using amfphp for client/server communication. Since I discovered the magnificent almighty Vector class available in flash 10, I'm using it in order to manipulate typed

[flexcoders] extending the eventDispatcher class.

2010-03-23 Thread ouaqa
I'm still pretty new to flex actionscript coding and sometimes i run on some very frustrating problems. This is one of those. I have an as3, and I want it to dispatch a FlexEvent.creationComplete when instantiation is completed. yet, I can't make it work. I've read a lot of tutorials and my

[flexcoders] Re: extending the eventDispatcher class.

2010-03-23 Thread ouaqa
Thanks a lot Oleg, you just made my day ! and saved me a lot of time. This is a typical example of a situation where you feel very silly when you get the solution. I should've read the manual a bit more seriously. --- In flexcoders@yahoogroups.com, Oleg Sivokon olegsivo...@... wrote: If you

[flexcoders] bind ColorMatrixFilter to php (Apply ActionScript graphic manipulation to php)

2010-03-02 Thread ouaqa
Hello, I am working on an online photo manipulation project. Users load images, modify them, and save modifications. Later, a high quality version of the image is printed. Due to specification constraints, the printing process must be performed by php. I've been looking, without success, for a

Re: [flexcoders] How Could I not map a property to lcds object ?

2009-04-16 Thread ouaqa
* ) ); } -TH --- In flexcoders@yahoogroups.com, Amy amyblankenship@ wrote: --- In flexcoders@yahoogroups.com, ouaqa ab@ wrote: This is an option but i was wondering if you couldn't use some special ninja keyword telling lcds not to map the field to lcds. Transient

Re: [flexcoders] How Could I not map a property to lcds object ?

2009-04-16 Thread ouaqa
Found it !!! thanks to your suggestions ad http://ozeebee.blogspot.com/2008/07/excluding-properties-from-java.html OzeeBee's article , I got a working-yet-not-very-sexy way to bypass the problem using flex.messaging.io.BeanProxy.addIgnoreProperty(My.class, Property); ouaqa wrote

[flexcoders] How Could I not map a property to lcds object ?

2009-04-15 Thread ouaqa
I am developping a J2EE/Flex Application and we recently decided to switch to hibernate to handle our database management strategy. The java/as mapping worked real smoothly before. All properties declared in java objects were also declared in as object. When switching to hibernate, i had to

Re: [flexcoders] How Could I not map a property to lcds object ?

2009-04-15 Thread ouaqa
the java object. Now you can add all the properties that hibernate wants and send it. --- In flexcoders@yahoogroups.com, ouaqa a...@... wrote: I am developping a J2EE/Flex Application and we recently decided to switch to hibernate to handle our database management strategy. The java