Hi Karl,
awesome suggestions :)   I did laugh when I saw the fiscal comment.  Been 
battling the penny-wise pound foolish for a couple of years :)  
Thank you.
Patty
 
Message: 8
Date: Thu, 1 Dec 2011 05:17:47 -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
Hi Patty,
On Dec 1, 2011, at 4:36 AM, Patricia Britt wrote:
> 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
Well in that case, you might request a copy of the HTML, make your  
modifications (outside their system or a test page on their system)  
and if they work, submit the HTML for consideration as a new template.  
This would keep their HTML code intact (no work for them), but give  
you the advantage of adding your code. Kind-of a "throw me a bone"  
scenario. I feel for you. :)
>
> 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.
I would go this route. Like setting stage directly or importing the  
SWFs into your own container then set that to the stage.
> 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 :(
If at minimum... if they don't want to let you edit their code, have  
them list everything you have at your disposal and see if you can use  
their External callbacks.
I saw a getEditModeWidth and getEditModeHeight. I also saw a var  
propertiesDialogWidth:* = param1; var propertiesDialogHeight:* = param2;
Not sure what these point to exactly, but I would attack these first  
along with setting stage.scaleMode directly. See what bites.
If you find that it would easier to accomplish all this by adding some  
lines of HTML, then demonstrate that to them.
I mean if its an amount of work and hundreds of files, might be the  
more fiscal approach.
GL,
Best,
Karl
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to