Using the vignetting plugin to add dynamic animated swf content

  • Hi.. I had the idea of using the vignetting option to add dynamic animated swf like fog.. I got it kind of working but my code is a bit crappie so I either get the fog animated or the pano showing with the png overlay fog but not both at the same time with the fog over the pano.. There are three layers, the png is there but not the animated feature..

    You can see the source code here.. http://members.westnet.com.au/dps/fog/virtualtour.html

    I have played a lot more with the code but still no joy.. There is an alpha png overlaying firstly with 2 dynamic animated fogs over this...

    It is supposed to look like this but over the pano.. http://members.westnet.com.au/dps/fog/fog.html

    Has anyone gotten an animated swf vignetting to work over a pano.. A normal swf will work with no issues and provide some nice effects as long as its key framed only..

    Destiny...

    Sometimes I might come across as being stupid; But I have an IQ of 137 *tongue*

    Einmal editiert, zuletzt von Destiny (17. November 2012 um 03:43)

  • Hi,

    your 'MyFog.swf' is crashing!
    Use the Debugger Flashplayer plugin to see the error message!

    The reason is probalby the access to the Flash 'stage' without waiting for the ADDED_TO_STAGE event.

    Code you swf like this:

    Code
    if (stage == null)
      addEventListener(Event.ADDED_TO_STAGE, startup);
    else
      startup();
    
    
    function startup()
    {
      // here start with your code
    }

    see also here:
    https://krpano.com/docu/plugininterface/#top

    Best regards,
    Klaus

  • Hi Klaus..

    Thank you for all that information.. I will see how I go with it.. I really want to marry your brain.. *wink*

    Destiny..

    Sometimes I might come across as being stupid; But I have an IQ of 137 *tongue*

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!