I have just had my first experience with PHP services in Adobe Air. It is a
very cool feature for communicating with MySQL. I am also working with
another server interface that is similar to a database and has a PHP
interface to communicate with it. One of its PHP functions returns images
to a
One way would be store the image as a blob in the database and load it as a
bytearray into an image object in Flex. This is a good approach when the
images are not too big. Here is a discussion around doing it with SQLLite;
the approach would be similar [1]
Loading the image as a url over http
OK - made some progress now thanks.
I had everything you said already - the one sticking point I had was
'Adjusting the Imports'.
However it just dawned upon me that if I moved the whole of the iOS7 skin
folder from the 4.15 framework to my projects source folder location:
"src/spark/skins/ios7"
The SQLLite example was just to show that Flex can handle
blobs/bytearrays. You should be able to replicate the same idea using php
+ your backend database.
Thanks,
Om
On Sun, Sep 25, 2016 at 9:22 PM, bilbosax wrote:
> I really appreciate the response, but using SQLite
I cleared a stuck job on the nightly build. I just tested
DataBindingExample on the repo head and it worked for me. Does it work
for you? Hopefully the nightly will also work once it gets built. It
might take several hours: a lot of jobs were queued up behind the stuck
job.
-Alex
On
Peter will hopefully provide an answer on Monday. The old Flex pattern of
bubbling an event from an item renderer is really not a good practice as
has been discussed recently on the dev@ list. For FlexJS we are
suggesting folks use a custom factory and attach listeners as they get
created. I
Thanks for this - been looking at it for a week now but still no joy.
In the past I've used MXML when skinning spark components. This is obviously
pure AS.
Is it possible to apply a pure AS skin directly to component? I can't seem
to find any examples of this online.
Any further pointers would
I really appreciate the response, but using SQLite with AIR does not require
PHP as an intermediary and doesn't really answer the question as to whether
PHP could pass an image to AIR as a service. What I am really looking for is
if this is even possible?
The url approach is a backup and I will
>Thanks for this - been looking at it for a week now but still no joy.
Could you specify what kind of problems do you have?
>Is it possible to apply a pure AS skin directly to component?
Yes, you just have to add the skin class to your component:
<
>Any further pointers would be much