[flashpro] javascript integration kit doesn't work ?

Mike Chambers mchamber at macromedia.com
Mon Jun 27 18:22:45 EDT 2005


Ahh yeah. The code in subversion has actually had some changes, which  
are not in the tutorial yet. We should have a new release this week.

I see, you are trying to d one of the tutorials?

You need to create file called MyClass.as and put it in the same  
directory as your FLA. That will contain the code for the class.

hope that helps...

mike chambers

mesh at macromedia.com



On Jun 27, 2005, at 2:19 PM, eric choisy wrote:

> > whaoo mike him-self...
>
> i'm proud. Really
>
> i've tested patterson's tutorial and i was able to reproduce the  
> tut and  modified the script.
> It works but it's very confused for me with  
> FlashTag.addFlashVar .addFlashVars and setFlashVar syntaxe between  
> your tut, Flastag.js file and the javascriptFlashGateway.js from  
> Patterson...
>
> i've read some help in flash and understood how to put class  
> outside...
> but sorry for my "unkown level"
> how to use the external class ?
>
> like that ? :
>
> import com.macromedia.javascript.JavaScriptProxy;
> import MyClass;
>
> var test:MyClass = new MyClass();
>
> -> Flash say myClass is unknown !
>
> yes i'm sure this very easy... sorry for my stupid/newbies question ;)
>
> best regards
>
> eric
>
>
> Le 27 juin 05, à 20:30, Mike Chambers a écrit :
>
>
>> That is not a bug with the kit. Classes have to be declared in  
>> external files. You can't declare them on a timeline.
>>
>> mike chambers
>>
>> mesh at macromedia.com
>>
>>
>> On Jun 27, 2005, at 4:33 AM, eric choisy wrote:
>>
>>
>>> Hye all
>>>
>>> I've downloaded the integration Kit from Cantrell et M chambers,  
>>> It seemed quite cool but...
>>>
>>> I've tested this tutorial :
>>> http://www.osflash.org/doku.php?id=flashjs:docs:usage:simreturn
>>>
>>> but when i test the flash syntax, flash say that i can't declare  
>>> MyClass in the .fla but in external class !
>>> i don't know how.
>>> somebody i've tried the kit ?
>>> or want to help me ?
>>>
>>> i use flash 7.0.24.0 player version on safari 1.3 on osX 10.3.9...
>>>
>>> best regards
>>>
>>> eric
>>>
>>> ------------------------------------------------------------------
>>> send message to the list:               mailto:flashpro at muinar.org
>>> [FlashPro] list info, subscribe, archive:   http://flash-list.com/
>>> There's also a WebPro mailing list:     http://webdesign-list.com/
>>> cutting-edge sounds for flash:            http://flash-sounds.com/
>>>
>>>
>>
>> ------------------------------------------------------------------
>> send message to the list:               mailto:flashpro at muinar.org
>> [FlashPro] list info, subscribe, archive:   http://flash-list.com/
>> There's also a WebPro mailing list:     http://webdesign-list.com/
>> cutting-edge sounds for flash:            http://flash-sounds.com/
>>
>>
>
> ------------------------------------------------------------------
> send message to the list:               mailto:flashpro at muinar.org
> [FlashPro] list info, subscribe, archive:   http://flash-list.com/
> There's also a WebPro mailing list:     http://webdesign-list.com/
> cutting-edge sounds for flash:            http://flash-sounds.com/
>



More information about the FlashPro mailing list