1 Reply Latest reply: Jul 20, 2010 12:32 AM by funkysoul RSS

    Flash components are not working together

    rlafoto1 Community Member

      Hi All,

      I have tried many things but I am a novice when it comes to Flash and AS3…

      I have 2 components in my Flash doc called “slideshowpro (SSP)” and “thumbgrid (TG2)” with corresponding linkages “net.slideshowpro.slideshopro.SlideShowPro” and “net.slideshowpro.thumbgrid.ThumbGrid”.

      When I publish and upload the SWF to my website, www.rannallenphotography.com, SSP and TG2 are not linked and only SSP resizes to browser and functions in full screen mode.  SSP works great but TG2 does not move. 

      How do I link SSP and TG2 so that they both act in sync when full screen function is used and when resizing to fit browser. I used the following AS3 for SSP:

      import net.slideshowpro.slideshowpro.*;

      stage.align = StageAlign.TOP_LEFT;

      stage.scaleMode = StageScaleMode.NO_SCALE;

      resizeHandler(null);

      function resizeHandler(event:Event)

          my_ssp.setSize(stage.stageWidth,stage.stageHeight);

      }

      stage.addEventListener(Event.RESIZE, resizeHandler);

       

      Thanks,

      Randy