Not knowing anything about the particular swf you are using, I wonder
if you could try loading it dynamically, i.e., use "http:" as a prefix
on the file name, and the compiler will defer
loading it until runtime. Maybe something in it is choking the
compiler, which tries to parse it
and then re-emit it into the compiled binary for the app. Runtime
loading, by contrast, uses
Flash player's loadMovie(), and should be less picky.



On 7/31/07, Roger Howard <[EMAIL PROTECTED]> wrote:
> On Tue, July 31, 2007 5:56 am, Elliot Winard wrote:
> > What problems did you run into incorporating comples SWFs into your
> > Laszlo apps?  I can see problems if your Flash-generated SWFs use _root
> > or _global references that conflict with the ones in
> > OpenLaszlo-generated SWFs.
> >
> > I worked on several medium-sized projects (with OLS 3.1, I believe)
> > where a significant portion of the functionality was done in Flash and
> > Laszlo was used successfully to tie it all together.
>
> Great, you give me hope :)
>
> Ok, I've posted a sample of the SWF I'm trying to incorporate - a simple
> test with:
>
>   <view resource="pano_gg.swf" visible="true"/>
>
> I've posted the pano_gg.swf to:
>
> http://www.evox.com/rogerdev/pano_gg.swf if you want to check out the SWF.
>
> The compile error is:
>
> "cars1.lzx:7:61: Can't import /pano_gg.swf: null"
>
> If I replace this SWF with a much simpler one, I get no error, so I assume
> it's an issue with this SWF.
>
> This SWF is generated by a niche app, and is compatible with Flash 8 Player.
>
> Ideas?
>
> Thanks!
>
>


-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to