I think I got it working.

I noticed that when I built with the Flash IDE the output SWF was
around 56k, while using MTASC it was only 6k (!!), so it looked like
MTASC was removing things that might need to stay.  Running both
through ASV showed that a lot of code in the FlashIDE build that
wasn't in the MTASC one, including lots of mx.* stuff.

So I played around with the build settings in FlashDevelop, and I
think I got it working.  I'm now using code injection, with UseMX
turned on, UseMain turned off (there's code in the FLA's first frame
that calls my main function), Keep turned on.  Between this and the
Stage.align fix everything seems to be working.  Thanks for all your
help everybody!

  -Andy

On 1/23/07, Andy Herrman <[EMAIL PROTECTED]> wrote:
Already set scaleMode, but didn't know about align.  I can try that,
but it still doesn't help with MTASC not resizing.

   -Andy

On 1/23/07, Rákos Attila <[EMAIL PROTECTED]> wrote:
>
> Why don't you set Stage.scaleMode and Stage.align to your preferred
> values at the beginning of your program?
>
>   Attila
>
> AH> There seem to be a couple problems:
> AH>
> AH> 1) when built using the Flash IDE the coordinates (0, 0) on the root
> AH> are at the center.  When built using MTASC (0, 0) seems to be the
> AH> upper left hand corner.  Now, I like MTASC's way better, but since
> AH> I'll be using the IDE for the final build for production this
> AH> difference causes a problem.
> AH>
> AH> 2) When I build the code using MTASC the SWF seems incapable of
> AH> resizing.  When I use the IDE I can resize the window and the movie
> AH> resizes.  However, when I build using MTASC when I resize the window
> AH> the movie never resizes.  This is a problem as the movie I'm working
> AH> on needs to be able to dynamically resize.
>
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to