pgaval / red5phone

Automatically exported from code.google.com/p/red5phone
0 stars 0 forks source link

Compile flex project in Flash Builder problem #159

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I download latest version of red5phone sip_r53.zip
2. I import project in Adobe Flash Builder 4 and also try 4.5
3. When I try to export project in swf file I get 3 errors:
Description Resource    Path    Location    Type
1046: Type was not found or was not a compile-time constant: 
MicrophoneEnhancedOptions.  PhoneCanvas.mxml    flex/src    line 163    Flex Problem
1120: Access of undefined property 
MicrophoneEnhancedMode. PhoneCanvas.mxml    flex/src    line 164    Flex Problem
1180: Call to a possibly undefined method 
MicrophoneEnhancedOptions.  PhoneCanvas.mxml    flex/src    line 163    Flex Problem

I am using windows 7,  Adobe Flash Builder 4 and 4.5

Original issue reported on code.google.com by denys.bo...@gmail.com on 25 Jun 2011 at 7:54

GoogleCodeExporter commented 9 years ago
I come across the same problem trying to compile a redfire widget, compiling 
with the SDK.
My problem was that flex SDK had only the playerglobal.swd for the flash player 
10.2 which has not those classes in the flash.media namespace.
I solved it downloading the correct playerglobal.swd for the flash player 10.3 
and 11.

In your case, if you are using windows and Adobe Flash Builder you probably 
solve your problem adding the correct playerglobal.swd to 

C:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\frameworks\libs\player

and changing the build.xml in

C:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\frameworks

with 

<property name="playerglobal.version" value="10.3"/>

Original comment by arfo...@gmail.com on 19 Jul 2011 at 5:10

GoogleCodeExporter commented 9 years ago
I did already it, but it also compile error.

How can i fix the error.

I hope exactly answer..

Thanks.

Original comment by aquaris...@gmail.com on 21 Jul 2011 at 2:52

GoogleCodeExporter commented 9 years ago
you should use the sdk 3.x. Got same error when tried to use the 4.x sdk

Original comment by billythe...@gmail.com on 29 Jul 2011 at 7:59

GoogleCodeExporter commented 9 years ago
Hi All,

I am also got a same problem.

I am using Flex SDK 3 (command line) to build the SWF file and got the same 
error.

please help

Thanks.

Original comment by Nutpatha...@gmail.com on 7 Sep 2011 at 3:39

GoogleCodeExporter commented 9 years ago
Hi,

Just updated, after I do the step of arfonzi's comment that solved my problem.

Thanks.

Original comment by Nutpatha...@gmail.com on 7 Sep 2011 at 6:34

GoogleCodeExporter commented 9 years ago
Hi, i have the same problem, i've done the steps of arfonzi's but i still 
getting the same error... Can somedoby help me please? it's very important for 
me to make changes to the softphone

Original comment by alsalaza...@gmail.com on 20 Jul 2012 at 5:24