[mtasc] Add a swf file to another swf file

erixtekila erixtekila at gmail.com
Sat Dec 17 17:05:30 CET 2005


> So if I have two movies with their own librarys then this will not 
> work ?
Reread please the previous answer.

>
> On December 16, 2005 04:35 pm, erixtekila wrote:
>> The only solution you get, is shared lib.
>> A shared lib is an external swf whom the loader knows his published 
>> url
>> on the web.
>>
>> For ex :
>> shell.swf is the loader swf.
>> shared.swf is the future lib that will share its content to shell.swf
>> But shell.swf has to reference his url on te webserver in order to use
>> it as it was inside him (refer to Ralph previous post)
>>
>> To get shared lib enabled without any hassle, you can use swfmill,
>> which is far the best solution ever.
>> Here is the simple vocabulary to enable this feature that is very
>> interesting when using Ant script to compile.
>> <import file="library/library.swf" url="http://foo.com/library.swf"/>
>>
>> Please refer to this usefull document to get an overview of swfmill
>> siple vocabulary :
>> http://iterative.org/swfmill/doc/using-swfmill.html
>> http://osflash.org/doku.php?id=swfmill
>>
>> HTH
>>
>> Le 16 déc. 05, à 23:14, Ralf Bokelberg a écrit :
>>> It sounds like you are trying to attach items from a different swf?
>>> That's not possible in flash, a swf can only use it's own library.
>>> r.
>>>
>>> Guillaume Démurgé wrote:
>>>> Hi all,
>>>> I asked you something, but i have no answers, so i think it's my
>>>> fault and i will rephrase my question :
>>>> I have one file swf created with mtasc ans swfmill, witch contain 
>>>> one
>>>> font and some pictures. I wrote a main function to be able to open
>>>> the file and it works fine.
>>>> The problem is here : how can i do to create a swf file (with mtasc
>>>> too) witch open the other file in a MovieClip ? but not with 
>>>> swfmill.
>>>> The as files i tried to create load the swf file but not the 
>>>> pictures
>>>> and fonts.
>>>> Can you send me an example of code witch do that please ?
>>>> Thanks a lot for your help, it's very important !
>>>> If you don't understand what i want to do, write me to
>>>> guildem at hotmail.com and i will send you my files. And sorry for my
>>>> english i'm french.
>>>> Guillaume
>>>> --
>>>> MTASC : no more coffee break while compiling
>>>
>>> --
>>> MTASC : no more coffee break while compiling
>>
>> -----------
>> erixtekila
>> http://blog.v-i-a.net/
>>
>>
>> --
>> MTASC : no more coffee break while compiling
>
> --
> MTASC : no more coffee break while compiling
>
>
-----------
erixtekila
http://blog.v-i-a.net/





More information about the mtasc mailing list