Posted by: Doug | June 25, 2009

I call this one IE-EI-OH!

A whole day… that’s what it took…

All we wanted was for our swf to talk to javascript and back using our friend mr ExternalInterface.

SwfObject was mandatory and within about 20 minutes it worked… or did it hmmm (not coconutty enough! – Igor).

As always mr dependable (aka the I to the E) stepped in to prevent me – and he did so with much rage and anger ;)

Anyways here is my solution it’s ’simples…’ to quote Aleksandr Orlov!

I hope this zip helps.

::peace out::

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…

Posted by: Doug | March 26, 2009

PaperVision 2 Charting & Memory Leak…

I’m working on a reporting application using PaperVision2 and have just noticed a memory leak which is either my fault or that of PV.

Have a look here:
PaperVision 2 Charting Demo

If i navigate the scene using the z,x,c,v,b and arrow keys the memory usage continuously increases until i drill down into another data set (by clicking a bar within the graph). I’m using a custom destroy function to fix this here (and it works) but only when i clean out absolutely everything… is that right? All that’s happening in this context is the camera is moving then pv is re-rendering.

I found this post over at Seb Lee-Delisle’s blog so i’ve updated my PV source and revised my code but it doesn’t make any difference.

Anyone got any suggestions please?

Posted by: Doug | January 23, 2009

A Sneak Peek At My 2nd Flash Lite Prototype.

Sorry it’s so blurry but still you should get the general idea of what i made :)

A quick peek at what i made during a recent 4 week contract. In a nutshell it’s an application downloader that can also play streaming FLV files. The general idea was to make a fully configurable application for installing and interacting with applications installed on a Nokia N95 running Flash Lite 3.

View My Flash Lite Prototype

Posted by: Doug | December 3, 2008

New Flash Lite Contract Working For Orange

I’ve just started a new project developing a Flash Lite 3 application for Orange.

I can’t talk about the application at this time except to say it’s a cool idea and hopefully i’ll be able to make something that will help promote Flash Lite as a serious alternative to the typical technologies used by Orange.

Anyway because i haven’t touched FL3 since my live streaming video demo i’ve now got my head down learning and experimenting… What ever i discover during this quest i will post here for all to see as long as it doesn’t compromise my contractual obligations. :)

So here’s some of my recent findings:

Older Posts »

Categories