[Laszlo-dev] Re: [Laszlo-user] Loading .swf

Henry Minsky henry.minsky at gmail.com
Fri Jul 29 09:14:50 PDT 2005


I will file your initial email  and followup as a bug in JIRA, with
the test case.

On 7/29/05, Henry Minsky <henry.minsky at gmail.com> wrote:
> When you compile a resource .swf into an app, it gets linked in to the
> app main swf file using some routines based on the JGenerator
> libraries, whereas the runtime media loader uses basically loadMovie
> to attach it over the network. So it seems like a place to look for
> trouble is in the JGenerator library routines or the compiler's use of
> them, perhaps some flag on the swf is not getting preserved, or it is
> not being executed in an environment which it expects.
> 
> 
> 
> 
> On 7/29/05, Adeola Awoyemi <adeola at fotango.com> wrote:
> > I also noticed that it renders the gradient correctly when I set the
> > resource to load via http:
> >
> > [code]
> >    <view name="holder" resource="http:hexagon_ai.swf"/>
> > [/code]
> >
> > Adeola.
> >
> > On 29 Jul 2005, at 15:38, Adeola Awoyemi wrote:
> >
> > > Hi all,
> > >
> > > I have found that when I load an swf file that has gradients into
> > > Laszlo it shows the gradient as a solid red color. I have also
> > > tried loading the same swf into a flash movie using <code>loadMovie
> > > ("hexagon_ai.swf",_root);</code> and it seems to show the file
> > > properly with the gradient. The hexagon_ai.swf file was created in
> > > Illustrator and then exported as swf movie.
> > >
> > > Is this a bug with laszlo? I'm not sure what's happening here but i
> > > would be grateful if anyone has a clue.
> > >
> > > The files are attached.
> > >
> > > Thanks,
> > > Adeola.
> > >
> > >
> > > <hexagon_ai.swf>
> > > <load.lzx>
> > > <load.swf>
> > > _______________________________________________
> > > Laszlo-user mailing list
> > > Laszlo-user at openlaszlo.org
> > > http://www.openlaszlo.org/mailman/listinfo/laszlo-user
> > >
> >
> > _______________________________________________
> > Laszlo-user mailing list
> > Laszlo-user at openlaszlo.org
> > http://www.openlaszlo.org/mailman/listinfo/laszlo-user
> >
> 
> 
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
> 


-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com



More information about the Laszlo-dev mailing list