I have some compiled captivate files I am troubleshooting.  They have a 
widget.  The widget does not allow scale.  My authors do not have time to re-do 
all the captivate sims - hundreds.
 
I know the widget contains code to over-ride scale
  public function StaticWidget(param1:Number = NaN, param2:Number = NaN, 
param3:ICaptivateWidgetData = null)
        {
            var onStageLoad:Function;
            var propertiesDialogWidth:* = param1;
            var propertiesDialogHeight:* = param2;
            var propertiesObject:* = param3;
            onStageLoad = function (event:Event) : void
            {
                stage.scaleMode = StageScaleMode.NO_SCALE;
                stage.align = StageAlign.TOP_LEFT;
                stage.addEventListener(Event.RESIZE, 
onResizeDispatchEnterPropertiesWindow);
                return;
            }// end function
 
and has some external callback functions
 private function init() : void
        {
            try
            {
                if (ExternalInterface.available == true)
                {
                    ExternalInterface.addCallback("isStatic", this.isStatic);
                    ExternalInterface.addCallback("getInspectorParameters", 
this.getInspectorParameters);
                    ExternalInterface.addCallback("setInspectorParameters", 
this.setInspectorParameters);
                    ExternalInterface.addCallback("setParameters", 
this.setParameters);
                    ExternalInterface.addCallback("cpSetValue", 
this.cpSetValue);
                    ExternalInterface.addCallback("getEditModeWidth", 
this.getEditModeWidth);
                    ExternalInterface.addCallback("getEditModeHeight", 
this.getEditModeHeight);
                    ExternalInterface.addCallback("IsReadyForSnapShot", 
this.IsReadyForSnapShot);
                }
            }
            catch (e:Error)
            {
            }
            return;
        }// end function
        function isStatic() : Boolean
        {
            return true;
        }// end function
 
 
can i use the above external calls in a js file to over-ride the no scale 
option? or will i be fighting with scale the entire length of the animation?
Thanks
Patty
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to