Yes, there are some differences between the Flash IDE compiler and
mxmlc, even for straight ActionScript projects. One of them is that
mxmlc handles the metadata tags like embed and swf. The Flash IDE
compiler ignores these. In order to embed things using the Flash IDE,
you need to put them in the library and export them for AS, setting
the class name in that dialog.
The SWF options are of course also handled in the IDE by setting the
stage size, background color and frame rate directly in the IDE.
I think it's unfortunate that we have in effect, two different
compilers. But that's the way it is.
kp
On Oct 8, 2007, at 1:01 AM, Jonathan Valliere wrote:
I am not aware of any support for Flex Embed tags in Flash. Look
in the "Help" panel in Flash.
On 10/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi
I'm trying to convert some actionscript created to be compiled in
Flex so that it compiles correctly in the IDE.
The problem I'm having are with the Embed tags....I'm not a Flex
developer by any means.
For example
//CODE BEGIN
[Embed(source='/assets/assets.swf#cursor_main')] public var CMain:
Class;
[SWF( backgroundColor='0x222222', frameRate='200', width='384',
height='258')]
//CODE END
For the Embed tags do I simply include the referenced assets in the
library of my main.fla with the correct linkages??
What about the SWF tag (in my Main.as)?
Thanks in advance
Jim Bachalo
[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca
--------------------------------------------
"...all improvisation is life in search of a style."
- Bruce Mau,'LifeStyle'
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org