Re: [flexcoders] Flex 4.1 , automation_spark.swc and OSMF 1.o issues

2010-08-08 Thread Oleg Sivokon
The one that comes with this SDK: 4.0.0.14159 (this is what was released
with Flash Builder 4).


Re: [flexcoders] Flex 4.1 , automation_spark.swc and OSMF 1.o issues

2010-08-08 Thread superabe superabe
Ok. That's an older version of the OSMF swc. My app depends on some of the
newer features in OSMF 1.0, so have to use that version.
So this seems like version compatibility bug with OSMF1.0 and the
automation_spark.swc.

Any Adobe folks who can confirm this and hopefully suggest a workaround ?

On Sun, Aug 8, 2010 at 4:38 AM, Oleg Sivokon olegsivo...@gmail.com wrote:



 The one that comes with this SDK: 4.0.0.14159 (this is what was released
 with Flash Builder 4).

 



Re: [flexcoders] Flex 4.1 , automation_spark.swc and OSMF 1.o issues

2010-08-08 Thread Oleg Sivokon
I've compiled from trunk (it has revision 17228), and the DimensionEvent is
still there, in the osfm.swc, check the catalog.xml line 957.


Re: [flexcoders] Flex 4.1 , automation_spark.swc and OSMF 1.o issues

2010-08-08 Thread superabe superabe
Thanks for looking into this. Trunk of the Flex 4SDK? That might be the
older OSMF version. Will need to check.

I am using the GM release version of OSMF located here (in source.zip)
http://opensource.adobe.com/wiki/display/osmf/Downloads

That does not include DimensionEvent.

On Sun, Aug 8, 2010 at 8:34 AM, Oleg Sivokon olegsivo...@gmail.com wrote:



 I've compiled from trunk (it has revision 17228), and the DimensionEvent
 is still there, in the osfm.swc, check the catalog.xml line 957.

 



Re: [flexcoders] Flex 4.1 , automation_spark.swc and OSMF 1.o issues

2010-08-07 Thread Oleg Sivokon
Did you try to change the order they are included?


Re: [flexcoders] Flex 4.1 , automation_spark.swc and OSMF 1.o issues

2010-08-07 Thread superabe superabe
Yes. I tried that. Did not seem to help.



On Sat, Aug 7, 2010 at 4:19 AM, Oleg Sivokon olegsivo...@gmail.com wrote:



 Did you try to change the order they are included?

 



Re: [flexcoders] Flex 4.1 , automation_spark.swc and OSMF 1.o issues

2010-08-07 Thread Oleg Sivokon
OK, I've just checked and DimensionEvent is compiled into osmf.swc, so, my
guess is that you need to include that library too. The dependency is made
through VideoDisplay spark component, however, you cannot avoid making that
dependency, it's introduced in the generated code.


Re: [flexcoders] Flex 4.1 , automation_spark.swc and OSMF 1.o issues

2010-08-07 Thread superabe superabe
Which version of OSMF did you see DimensionEvent in ? I am using the OSMF
1.0 version.

On Sat, Aug 7, 2010 at 7:56 AM, Oleg Sivokon olegsivo...@gmail.com wrote:



 OK, I've just checked and DimensionEvent is compiled into osmf.swc, so, my
 guess is that you need to include that library too. The dependency is made
 through VideoDisplay spark component, however, you cannot avoid making that
 dependency, it's introduced in the generated code.

 



[flexcoders] Flex 4.1 , automation_spark.swc and OSMF 1.o issues

2010-08-06 Thread superabe superabe
Hi ,

There seems to an issue when trying to compile in the automation libraries
into a Flex 4.1 app that also includes the OSMF1.0 swc.
I get the compiler error:

Description Resource Path Location Type
1046: Type was not found or was not a compile-time constant:
DimensionEvent. Test  Unknown Flex Problem

The app is essentially a basic empty mxml application, with the OSMF 1.0 swc
added to the build path-libraries and the following mxmlc arguments:

-include-libraries ${flexlib}/libs/automation/automation.swc
${flexlib}/libs/automation/automation_dmv.swc
${flexlib}/libs/automation/automation_agent.swc
${flexlib}/libs/automation/automation_spark.swc

Is there some way to workaround this ?

TIA,