could it be possible to create a loader swf for each widget that would load the widget as a child and manage things there?
On Thu, Dec 1, 2011 at 6:17 AM, Karl DeSaulniers <[email protected]>wrote: > 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 > > > >> 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 >> <flashcoders@chattyfig.**figleaf.com<[email protected]> >> > >> Message-ID: >> <D7523522-BE53-434F-AC7C-**[email protected]<[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].**com <[email protected]> >> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders<http://chattyfig.figleaf.com/mailman/listinfo/flashcoders> >> > > Karl DeSaulniers > Design Drumm > http://designdrumm.com > > ______________________________**_________________ > Flashcoders mailing list > [email protected].**com <[email protected]> > http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders<http://chattyfig.figleaf.com/mailman/listinfo/flashcoders> > -- Ktu; The information contained in this message may or may not be privileged and/or confidential. If you are NOT the intended recipient, congratulations, you got mail! _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

