[haXe] Re: haXe and sharing loaded swf library assets
Ralf Bokelberg
ralf.bokelberg at gmail.com
Sat Sep 9 08:59:23 CEST 2006
Ok, now i understand better. We need a tool, which extracts a certain
symbol from a rsl and puts it into the resulting code swf. Can't we
use swfmill to do that? (Maybe, if we define a special symbol as
standard share point, we event wouldn't need to read the rsl)
In my experience, rsls aren't very reliable though. That's why most of
my projects work the other way round. The graphics are in the main swf
and the code is either injected by MTASC or loaded at runtime.
Cheers,
Ralf.
On 9/8/06, David Rorex <drorex at gmail.com> wrote:
> On 9/8/06, Marcelo de Moraes Serpa <celoserpa at gmail.com> wrote:
> > >All you do is create a swf using swfMill with the "import file" tag.
> > >Then you can access the movieclip simply by doing an attachMovie, or
> > >using the flash.lib.current.attachMovie in haXe. Finally, compile the
> > >code into the imported resource file using the -swf command line
> > >parameter in MTASC or the equivalent using the haXe compiler.
> >
> > Hello Brent :)
> >
> > No, this would be to include the assets at compile time. What I want to do
> > is to use the library assets of a SWF loaded at runtime
> >
> > Marcelo.
>
> I think you misunderstand...he specifically says they can change the
> art swfs without having to recompile the code swfs. Though I haven't
> used the technique myself, it sounds useful.
>
> -David R
>
> >
> >
> > On 9/8/06, Marcelo de Moraes Serpa <celoserpa at gmail.com> wrote:
> > >
> > > >I don't think, that HaXe is able to change something about that. This
> > > >is flash player specific behaviour.
> > >
> > >
> > > Yes, but HaXe could somehow create an abstraction layer and do the
> > sharepoint trick automatically... so it would be transparent for the
> > developer. Just an idea ;)
> > >
> > >
> > > Marcelo.
> > >
> > >
> > >
> > > On 9/8/06, Ralf Bokelberg < ralf.bokelberg at gmail.com> wrote:
> > > > I don't think, that HaXe is able to change something about that. This
> > > > is flash player specific behaviour.
> > > >
> > > > Cheers,
> > > > Ralf.
> > > >
> > > > On 9/8/06, Nicolas Cannasse < ncannasse at motion-twin.com > wrote:
> > > > > > So... anyone? :)
> > > > >
> > > > > I haven't looked so much into Runtime Shared Symbols, can't tell much
> > > > > about it right now.
> > > > >
> > > > > Nicolas
> > > > >
> > > > > --
> > > > > haXe - an open source web programming language
> > > > > http://haxe.org
> > > > >
> > > >
> > > >
> > > > --
> > > > Ralf Bokelberg < ralf.bokelberg at gmail.com>
> > > > Flex & Flash Consultant based in Cologne/Germany
> > > >
> > > > --
> > > > haXe - an open source web programming language
> > > > http://haxe.org
> > > >
> > >
> > >
> >
> >
> > --
> > haXe - an open source web programming language
> > http://haxe.org
> >
> >
>
> --
> haXe - an open source web programming language
> http://haxe.org
>
--
Ralf Bokelberg <ralf.bokelberg at gmail.com>
Flex & Flash Consultant based in Cologne/Germany
More information about the Haxe
mailing list