A quick example of an idea i had yesterday.
The Gamut Version
Just a small part of the new media player framework i’m building in preparation for the re-launch of MyLiveSession.
[NOTE]: Sometimes Flash Media Server will throw a sandbox error (it’s very random – not something i can fix yet) so if it does you’ll need to refresh your browser.
Anyways here is my SWFObject solution it is ‘simples…’
I hope this zip helps.
Ok so now i’m confused… I’m working on a pure actionscript project in Flex 3 whereby i’m using an RSL (Runtime Shared Library) which contains some visual assets either as graphic only or as a functioning class with associated graphic. I want to test my RSL is loading ok from within Flex IDE but it always gives me a security sandbox error unless i test from a remote server… fair enough (if a little bit annoying). Surely there’s a better way to do this during development…answers on a postcard please!
What i really would like from all this is to be able to find out what the difference is between “Standalone”, “External”, “Plugin” & “ActiveX” player types and how each of these affects the current sandbox. Is “External” a Flash IDE only type? I ask because i can never get this type of player when using Flex. In Flex i can only ever get “Standalone” or “Plugin”/”ActiveX” (if using an html wrapper). Yet if i publish the same source using Flash CS4 i always get “External”. If i can get “External” in Flex does it grant access to remote data, rsl’s etc and allow a local swf any more abilities over a “Standalone” version?
I spent ages yesterday trying to find examples and info about this but nothing i discovered completely answered my question. Every single example of loading and accessing an RSL used a relative (local) path to the loading swf. In the end i did manage to get my RSL to load from a different domain but like i said my main swf has to be served remotely otherwise in the Flex IDE i get:
Error #2142: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property. file:///C:/Documents and Settings/USER/My Documents/Flex Builder 3//bin-debug/DocumentClass.swf was attempting to load http://www.mysite.com/shiz/SharedAsset.swf.
If anyone has experience using this sort of setup please help…
Here’s an example of what i’ve been developing for my current employer:
TextChat With Emoticons View in Firefox (as IE seems to break with the JS i’m using).
It’s not yet completely finished but is progressing nicely… so i have discussed with the relevant parties and we’ve decided to make it public to see if anyone wants to either try to break it or offer some suggestions to make it better.
If you can please spare 5 mins to have a play and of course tell me what you think. Cheers!
I had a very old AS3 visualization that a few people have asked about recently so last night i played with it some more Check It Out.
p.s. I looks better and runs faster when you make your browser window smaller.