FlashComGuru Home InfluxisCDNImediaseeUvault
                                                                                       Forum Index | Active Topics | Register
                                                                                                          List Overview | List Archives
                                                                                                                           About this site | Advertise
 

home

Adobe AIR (11)
Applications (40)
Books & Training (11)
Collaboration (18)
Components (10)
Events (80)
Flash Player (35)
Flex (39)
FMS (110)
General (123)
Hosting (6)
Jobs (17)
Off topic (36)
OSMF (3)
Press Releases (23)
Site Check (11)
Tools (53)
Videos & Players (74)

Follow me on Twitter

 
I've had very little experience with Flash Lite to date, but right now I'm working on a project which requires a mobile element to it. Not satisfied with doing the sensible thing and playing it safe I thought it would be great to offer some real-time features on a mobile, either via AFCS or FMS.
So I set out to see what was possible, in particular I wanted to make sure that Remote SharedObjects (RSOs) and NetConnection methods were available in Flash Lite. Here's what I found.

I remembered that NetConnection and NetStream work fine in later versions of Flash Lite - Doug proved it to me. I can't remember when NetConnection was added, it didn't exist from the start but I was quickly told that RSOs are not supported (something which I haven't yet verified). Still I held out some hope that AFCS could be used in some way, but once again it seems that Flash Lite does not support RTMPS (which is what AFCS uses for security) and therefore that door was quickly closing too.

Even though there was talk on the forums that NetConnection.call was also unsupported I wanted to see it with my own eyes. I built some simple test cases and used the device emulator in Flash CS4 to run the applications. At first it seemed that nc.call was truly unsupported. Fortunately though I quickly noticed that my AS2 skills were not totally up to speed anymore and I had some scoping issues in my code - and after fixing them I was able to successfully call a remote FMS function from Flash Lite 3.1 and receive a return value. What's more, I also managed to successfully receive a client.call. This means that my plans are back on track, and I should be able to support data pushes over RTMP from FMS to Flash Lite 3.1 (and maybe earlier version - I haven't tried).

I haven't given up on RSOs either and will report back with my findings.

Did you build any real-time Flash Lite applications? I'd love to find out what others have achieved. Once my project is ready in a few months I will share more details.

Comments
[Add Comment]
Stefan,

Thanks for the info on the data pushing capabilities to Flash Lite 3.1 clients. We're in the process of building a streaming audio service that leverages a TTS (text to speech) engine to allow folks to hear their favorite blog while they're on the go.

Our app is called, BlogRadio (http://mobile.podblogr.com), and we can give you a beta version if you're interested in trying it out.
# Posted By Bruce Hopkins | 5/20/09 4:47 PM
did you get my last msg?
# Posted By Doug | 6/23/09 8:21 AM
Ok obviously not!

Hi Stefan,

My bad! I'll post my sources here later today... sorry i forgot about your request.

Don't forget i'd love to help out if you need me!

::peace::
# Posted By Doug | 6/23/09 8:25 AM
Have a look at this http://alturl.com/f8uv
# Posted By Doug | 6/23/09 8:28 AM
# Posted By Doug | 6/23/09 9:26 AM
main.asc to follow - sorry!
# Posted By Doug | 6/23/09 9:27 AM
Here's the first revision of the main.asc file i initially used http://www.strangeloopstudios.com/mobile/main.txt - it's changed since and i'll post here as soon as i find it!
# Posted By Doug | 6/23/09 10:33 AM
I've updated the file above with the latest version.
# Posted By Doug | 6/24/09 6:49 AM