Thanks Karl, that probably would work if I had access to the html file and i 
could write individual calls to the swf files but I have a template driven 
learning management system - generates its own html code - managers do not want 
me pulling the package apart after the fact because they don't want to lose 
support on the files
 
I tried using the prewritten object but it doesn't include scale settings.  The 
external callback does allow for a Params setting so maybe I can write 
something through that.  Kinda working blind and guessing what will actually be 
generated. 
all i can do is add code to predetermined js files when setting up the template 
for use.
Thank you so much for your suggestion.  I did try it - by hoping that maybe 
that had set up something for scale in their swobject but wouldn't accept the 
variable :(
 
Patty



 

Date: Wed, 30 Nov 2011 14:55:24 -0600
From: Karl DeSaulniers <[email protected]>
Subject: Re: [Flashcoders] Is it possible to over-ride as3 code in a
    compiled    swf with external javascript?
To: Flash Coders List <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

I'm not entirely sure about AS3, but couldn't you use FlashVars to  
override the stage.scaleMode = StageScaleMode.NO_SCALE; ?
If so, then you would just wrap it in SWFObject for display and use  
flashvars in your setting with that parameter added. I think that  
would be the easiest.
I could be corrected though.

HTH,
Best,
Karl

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to