[v4MD] Publishing projector - script error

Martin S. blackfin at elfenherz.de
Tue May 22 09:48:25 CDT 2007


with "modify->movie->xtras" you select only xtras which will be COMPILED IN the Projector (the exe-file itself).
You don't have to do that for all Xtras you need. 
Projector's size gets bigger and bigger as you compile a lot of xtras with it, which will result in a serious performance hit on starting the projector... 

Just create a subfolder "Xtras" in your application directory and copy your x32-files in it.
When deploying your movie, you have to make sure that you include that Xtras-Folder with your application. 

Also you have to make sure that there are no conficts. 
(Example: in old Valentina 1.xx, it was not possible to include the V4MD.x32 and V4MD_CLient.x32 in the Xtras-Folder at the same time because they exported the same function names, which resulted in strange errors..)

A projector always searches for that subfolder and loads all xtras it found in it.
Note: The subfolder's name has to be exactly "Xtras" and must be in the same directory as the projector.exe .


Martin S.



Georgiu Konstantinos schrieb:
> Ok, I just had to set the player type to shockwave and not the standard
> projector (I have external casts and movies). Also I shouldn't include
> any dlls at all as mentioned.
>
> Just a wondering: How is it possible to work with valentina xtra if it
> is not included in the movie's xtras (modify->movie->xtras...)?
>
>
>
>   
>> -----Original Message-----
>> From: valentina-bounces at lists.macserve.net [mailto:valentina-
>> bounces at lists.macserve.net] On Behalf Of Martin S.
>> Sent: Tuesday, May 22, 2007 4:27 PM
>> To: Valentina Developers
>> Subject: Re: [v4MD] Publishing projector - script error
>>
>> When working inside Director, the "Xtras"-Folder of your Application
>> doesn't get touched by Director.
>> Director has its own Xtras-Directory, located in "<Director
>>     
> Installation
>   
>> Folder>\Xtras\
>> (Default:  "C:\Programme\Macromedia\Director\Xtras\")
>> You don't need to include dll's or manifest or something in your App's
>> Xtras-Folder, only the .x32-Files are allowed in it, when testing
>> outside Director. (on Windows)
>> On Mac, these Xtras don't have a .x32 extension.
>>
>> Is it possible that the V4MD.x32 in your Director-Folder and your
>> Appliaction-Xtra-Folder differ in version?
>> Try to copy the Xtra from your Director-Xtra-Folder to your
>> Application-Xtra-Folder.
>> The V4MD.x32 is needed in your Application-Xtras-Folder when testing
>> outside Director, whereas Director itself loads it from its own
>>     
> Folder,
>   
>> as said above.
>>
>>
>> I hope I could help,
>>
>> Martin Sturz
>>
>>
>> Georgiu Konstantinos schrieb:
>>     
>>> Probably you are working on Mac. I have copied these files on
>>>       
> projectors
>   
>>> folder and the xtra in a folder called "Xtras" in the projectors
>>>       
> folder.
>   
>>> It still crashes with "Script Error".
>>>
>>> dnssd.dll
>>> icudt30.dll
>>> icuin30.dll
>>> icuio30.dll
>>> icuuc30.dll
>>> Iml32.dll
>>> libeay32.dll
>>> msvcp80.dll
>>> msvcr80.dll
>>> msvcrt.dll
>>> Proj.dll
>>> Kernel_Win32_Release.dll
>>> libnspr4.dll
>>> ssleay32.dll
>>> VClient_Win32_Release_VC.dll
>>> VDK_VC.dll
>>> VShared_Win32_Release_VC.dll
>>> Microsoft.VC80.CRT.manifest
>>>
>>>
>>> Suppose you have one of the many examples you provide (just a dir
>>> movie). What are the steps to follow so as to publish it as .exe ?
>>> Something I found strange is that the VDMD.x32 xtra isn't necessary
>>>       
> to
>   
>>> be included in the xtras of the movie so as to work fine  from
>>>       
> inside
>   
>>> director.
>>>
>>> Thanks for the help,
>>> Kostas
>>>
>>>
>>>
>>>       
>>>> -----Original Message-----
>>>> From: valentina-bounces at lists.macserve.net [mailto:valentina-
>>>> bounces at lists.macserve.net] On Behalf Of Court Batson
>>>> Sent: Monday, May 21, 2007 6:00 PM
>>>> To: Valentina Developers
>>>> Subject: Re: [v4MD] Publishing projector - script error
>>>>
>>>> did you include these files?
>>>>
>>>> Kernel_Carbon_Final.shlb
>>>> MSL_All_Carbon.Shlb
>>>> VDK_PPC.shlb
>>>> icudt30b.dat
>>>> icudt30b_cw.shlb
>>>> icuin30_cw.shlb
>>>> icuio30_cw.shlb
>>>> icuuc30_cw.shlb
>>>> msvcp71.dll
>>>> msvcr71.dll
>>>> vclient_carbon_cw.shlb
>>>> vshared_carbon_cw.shlb
>>>>
>>>>
>>>>
>>>> On May 21, 2007, at 8:30 AM, Georgiu Konstantinos wrote:
>>>>
>>>>
>>>>         
>>>>> Hello,
>>>>> What is the proper structure of valentina db files and xtra to
>>>>> publish a
>>>>> projector (in .exe format)? I mean should I include it in
>>>>>           
> Projector?
>   
>>>>> Should I make a folder called "xtra" on root folder and put inside
>>>>>
>>>>>           
>>> the
>>>
>>>       
>>>>> valentina xtra and the dlls?
>>>>>
>>>>> I have tried these but I always "get Script Error: Continue? Yes,
>>>>> No" .
>>>>> The problem lies on Example_init handler somewhere. Within
>>>>>           
> director
>   
>>> it
>>>
>>>       
>>>>> doesn't raise an error, although when published it raises.
>>>>>
>>>>> Any ideas?
>>>>> Best regards,
>>>>> Kostas
>>>>> _______________________________________________
>>>>> Valentina mailing list
>>>>> Valentina at lists.macserve.net
>>>>> http://lists.macserve.net/mailman/listinfo/valentina
>>>>>
>>>>>           
>>>> _______________________________________________
>>>> Valentina mailing list
>>>> Valentina at lists.macserve.net
>>>> http://lists.macserve.net/mailman/listinfo/valentina
>>>>
>>>>         
>>> _______________________________________________
>>> Valentina mailing list
>>> Valentina at lists.macserve.net
>>> http://lists.macserve.net/mailman/listinfo/valentina
>>>
>>>
>>>       
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
>   



More information about the Valentina mailing list