[Flashjs] hi there

Mike Chambers mchamber at macromedia.com
Wed Jun 15 00:41:11 PDT 2005


Well, I don't know why it would require 7.0.1 to compile. I am trying  
to reproduce your issue in 7.2 and can't.

Try this:

in JavaScriptProxy.as change the following code:

--
         receiving_lc.controller = this;

         receiving_lc.callFlash = callFlash;
--

to this

--
         receiving_lc["controller"] = this;

         receiving_lc["callFlash"] = callFlash;

--

Does that fix your problem?

mike chambers

mesh at macromedia.com

On Jun 15, 2005, at 12:30 AM, Kai Tier wrote:

> no. I'm running 7.01.Do I need that to make it work?
> Guess I should probably get it anyway....
>
>
>
> --- Mike Chambers <mchamber at macromedia.com> wrote:
>
>
>> What version of Flash are you running? Do you have
>> the 7.2 update?
>>
>> mike chambers
>>
>> mesh at macromedia.com
>>
>> On Jun 14, 2005, at 11:12 PM, Kai Tier wrote:
>>
>>
>>> Hi there.
>>>
>>> I have added this code to my actionscript:
>>>
>>> import com.macromedia.javascript.JavaScriptProxy;
>>>
>>> //Add Proxy class you can call Flash functions
>>> directly from JavaScript
>>>  var proxy:JavaScriptProxy = new
>>> JavaScriptProxy(_root.lcId, this);
>>>
>>> but I get this error when I export it to swf:
>>>
>>> **Error** C:\Documents and Settings\Liz\Local
>>> Settings\Application Data\Macromedia\Flash MX
>>>
>>>
>>
>>
> 2004\en\Configuration\Classes\com\macromedia\javascript
>
>>
>>
>>> \JavaScriptProxy.as:
>>> Line 108: There is no property with the name
>>> 'controller'.
>>>              receiving_lc.controller = this;
>>>
>>> **Error** C:\Documents and Settings\Liz\Local
>>> Settings\Application Data\Macromedia\Flash MX
>>>
>>>
>>
>>
> 2004\en\Configuration\Classes\com\macromedia\javascript
>
>>
>>
>>> \JavaScriptProxy.as:
>>> Line 110: There is no property with the name
>>> 'callFlash'.
>>>              receiving_lc.callFlash = callFlash;
>>>
>>> Total ActionScript Errors: 2      Reported Errors:
>>>
>> 2
>>
>>>
>>> Any ideas?
>>>
>>> Cheers,
>>>
>>> Kai
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
> ___________________________________________________________
>
>>> Yahoo! Messenger - NEW crystal clear PC to PC
>>>
>> calling worldwide
>>
>>> with voicemail http://uk.messenger.yahoo.com
>>>
>>> _______________________________________________
>>> Flashjs mailing list
>>> Flashjs at osflash.org
>>>
>>>
>>
>>
> http://osflash.org/mailman/listinfo/flashjs_osflash.org
>
>>>
>>>
>>
>>
>> _______________________________________________
>> Flashjs mailing list
>> Flashjs at osflash.org
>>
>>
> http://osflash.org/mailman/listinfo/flashjs_osflash.org
>
>>
>>
>
>
>
>
>
>
> ___________________________________________________________
> Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide  
> with voicemail http://uk.messenger.yahoo.com
>
> _______________________________________________
> Flashjs mailing list
> Flashjs at osflash.org
> http://osflash.org/mailman/listinfo/flashjs_osflash.org
>




More information about the Flashjs mailing list