Hudson Ansley | 4 Mar 2008 23:38
Picon

recursionLimit tag still working in Flash 9 player?

Hi,
I've got a performance bug ("script is taking too long..." error) that
I can't repro, so I thought I'd try reducing the timout using the
ScriptLimits tag:
	<ScriptLimits maxRecursionDepth="256" timeout="1"/>
The thing is, the code does seem to be taking more than 1 second in
the initialization phase (where the bug report points to), but I get
no error message. I think I am properly applying this tag because when
I lower the maxRecursionDepth, the ap hangs up, and since the timeout
does not seem to be being honored and I thought the recursion limit
being exceeded generated an error, I thought I'd check with the
collective wisdom on this list. Thanks for any ideas.

Regards,
Hudson
Paul Colomiets | 6 Mar 2008 09:25

Re: recursionLimit tag still working in Flash 9 player?

Hi Hudson!

I'm not sure but probably  this limit is applied to a either single 
entry point
or single frame. So if you handling multiple events, or even have
several listeners to a single event, or have huge onEnterFrame handler
your application will be unresponsible for more than 1 second.
Probably in your case a lot of movieclips are initialized and each
constructor/onLoad/whatever takes less than 1 second.

--
Paul

Hudson Ansley wrote:
> Hi,
> I've got a performance bug ("script is taking too long..." error) that
> I can't repro, so I thought I'd try reducing the timout using the
> ScriptLimits tag:
> 	<ScriptLimits maxRecursionDepth="256" timeout="1"/>
> The thing is, the code does seem to be taking more than 1 second in
> the initialization phase (where the bug report points to), but I get
> no error message. I think I am properly applying this tag because when
> I lower the maxRecursionDepth, the ap hangs up, and since the timeout
> does not seem to be being honored and I thought the recursion limit
> being exceeded generated an error, I thought I'd check with the
> collective wisdom on this list. Thanks for any ideas.
>
> Regards,
> Hudson
>
(Continue reading)

Gabino Travassos | 7 Mar 2008 00:04

flv, as, onclick

hi List

Are there examples that work with the items on this page?: 
http://www.swfmill.org/doc/reference.html

I see that there is a DefineVideoStream tag, and VideoFrame, but can you 
provide a sample of them in an swfml file?

I'm not sure how to make a button that moves you back and forth along the 
main timeline, for example.

Many thanks.

Gabino 
necati koptagel | 7 Mar 2008 07:56
Picon
Favicon

Compilation help

Hi,

I am trying to compile swfmill on my shared host, I
get following error. BTW, is there any static compiled
version for 64 bit linux? Would appreciate.

N.

-------------------------------

-gSWFWriteXML.o swfmill-gSWFParser.o
swfmill-gSWFWriter.o swfmill-gSWFDumper.o
swfmill-gSWFBasics.o swfmill-gSWFSize.o
swfmill-swfmill.o  -lm swft/.libs/libswft.so -lexslt
-lxslt -lxml2 -lpthread -lfreetype -lz -lpng12
xslt/.libs/libswfmillxslt.so -Wl,--rpath
-Wl,/usr/local/lib
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64/libxslt.so:
undefined reference to `xmlModuleClose'
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64/libxslt.so:
undefined reference to `xmlModuleOpen'
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64/libxslt.so:
undefined reference to `xmlModuleSymbol'
collect2: ld returned 1 exit status
make[3]: *** [swfmill] Error 1
make[3]: Leaving directory
`/home/xxx/public_html/swfmill/swfmill-0.2.12/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/xxx/public_html/swfmill/swfmill-0.2.12/src'
(Continue reading)

Vince Rhee | 10 Mar 2008 02:15
Picon
Favicon

Font display "corrupted" using swfmill and sIFR3?

I've been using the directions provided at http://www.challenge-tv.com/putty/free-sifr/ to created sIFR2 and sIFR3 .swf movies, but I've noticed something odd (read: not good) when I'm creating sIFR3 movies.

I created a sample .swf movie for sIFR2, and the result can be seen in the top (h1) heading at:

http://lonestaraggie.org/sifr2/framdcn.html

(It's the out-of-the-box sIFR2 zip file, but with a custom .swf for the h1.)

I then created a sample .swf movie for sIFR3 using the same font, the result of which (again for the h1 heading) is found here:

http://lonestaraggie.org/sifr3/demo/framdcn.html

(Again, it's the out-of-the-box sIFR3 nightly with a custom .swf for the h1.)

The exact same TTF (Tw Cent MT) font was used to create both of these, but for the sIFR3 example, you'll notice that some of the characters (especially the uppercase and lowercase 'o') are "corrupted" -- missing bits in some places, extra bits in other places, definitely not nice and round! This behavior is not limited to just this font; I've seen it in many, many others, but it always seems to be limited to one of the "corners" of the corrupted character(s) -- upper left, upper right, lower left, and/or lower right, never the straight-up top or bottom of the character. When creating sIFR2 movies using this technique, the movies come out perfectly every time.

Wasn't sure if you'd seen (or heard of) this or anything like it. The sIFR folks (on the support forum) think the "corruption" is a tool issue, and the author of the tutorial was able to reproduce this corruption using his own font(s) and suggested I ask you swfmill folks for help.

Any idea what's going on here? (Maybe some sort of math bug in swfmill with sIFR3?)

Thanks,
- Vince

Never miss a thing. Make Yahoo your homepage.
_______________________________________________
swfmill mailing list
swfmill@...
http://osflash.org/mailman/listinfo/swfmill_osflash.org
Vince Rhee | 10 Mar 2008 03:00
Picon
Favicon

Re: Font display "corrupted" using swfmill and sIFR3?

(OK, let's try that again, hopefully with word wrapping...)

I've been using the directions provided at:

http://www.challenge-tv.com/putty/free-sifr/

to created sIFR2 and sIFR3 .swf movies, but I've noticed something odd
(read: not good) when I'm creating sIFR3 movies.

I created a sample .swf movie for sIFR2, and the result can be seen in
the top (h1) heading at:

http://lonestaraggie.org/sifr2/framdcn.html

(It's the out-of-the-box sIFR2 zip file, but with a custom .swf for
the h1.) 

I then created a sample .swf movie for sIFR3 using the same font, the
result of which (again for the h1 heading) is found here:

http://lonestaraggie.org/sifr3/demo/framdcn.html

(Again, it's the out-of-the-box sIFR3 nightly with a custom .swf for
the h1.)

The exact same TTF (Tw Cent MT) font was used to create both of these,
but for the sIFR3 example, you'll notice that some of the characters
(especially the uppercase and lowercase 'o') are "corrupted" -- missing
bits in some places, extra bits in other places, definitely not nice
and round! This behavior is not limited to just this font; I've seen it
in many, many others, but it always seems to be limited to one of the
"corners" of the corrupted character(s) -- upper left, upper right,
lower left, and/or lower right, never the straight-up top or bottom of
the character. When creating sIFR2 movies using this technique, the
movies come out perfectly every time.

Wasn't sure if you'd seen (or heard of) this or anything like it. The
sIFR folks (on the support forum) think the "corruption" is a tool
issue, and the author of the tutorial was able to reproduce this
corruption using his own font(s) and suggested I ask you swfmill folks
for help.

Any idea what's going on here? (Maybe some sort of math bug in swfmill
with sIFR3?)

Thanks,
- Vince

      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now. 
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
Quentin | 11 Mar 2008 15:28
Picon

Re: useNetwork bug?

Damn, it seems like I'm the only one waiting for this.
Noaki, did you find a clue?

Quentin.

On Wed, Feb 27, 2008 at 2:31 PM, Quentin <quentin.t-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
You might be interested in reading this previous mail: http://osflash.org/pipermail/swfmill_osflash.org/2007-December/001615.html
If this doesn't help and you've still got questions, I'd be glad to answer questions!

Quentin.


On Wed, Feb 27, 2008 at 12:10 PM, INADA Naoki <inada-n-KBwDDT2uV/A@public.gmane.org> wrote:
I wonder if there are two FileAttribute tags in original swf file.
Would you show us the original swf file?

On Wed, 27 Feb 2008 10:36:49 +0100
Quentin <quentin.t-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> Hello list,
> I didn't get any feedback on it so I thought I might push it up. Sorry for
> being boring but this issue is causing quite a big trouble with the way I'm
> using swfmill and I'd love to see it fixed...
> What I feel most sorry about is that I can't fix the issue myself so I have
> to bother you with it.
>
> I hope someone handles this!
> Quentin.
> http://toki-woki.net
>
> On Fri, Feb 15, 2008 at 4:55 PM, Quentin <quentin.t-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > I there!
> > Sorry for coming back to you once again but it seems like even with the
> > patch applied (I'm running swfmill 0.2.12.6) I still get duplicate
> > FileAttributes tags with different useNetwork attributes...
> >
> > Here are the first lines of an XML got via swf2xml :
> >
> > <?xml version="1.0"?>
> > > <swf version="8" compressed="1">
> > >   <Header framerate="24" frames="1">
> > >     <size>
> > >       <Rectangle left="0" right="11000" top="0" bottom="8000"/>
> > >     </size>
> > >     <tags>
> > >       <FileAttributes hasMetaData="0" useNetwork="0"/>
> > >       <FileAttributes hasMetaData="0" useNetwork="1"/>
> > >
> > >       <SetBackgroundColor>
> > >         <color>
> > >           <Color red="0" green="0" blue="0"/>
> > >         </color>
> > >       </SetBackgroundColor>
> > >       <UnknownTag id="0x18"/>
> > >       <DefineShape3 objectID="2">
> > >
> >
> > We're quite close to perfection...
> > I hope someone can fix this!
> >
> > Quentin.
> > http://toki-woki.net

--
INADA Naoki <inada-n-KBwDDT2uV/A@public.gmane.org>

_______________________________________________
swfmill mailing list
swfmill-AOfRjkeVuXpAfugRpC6u6w@public.gmane.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


_______________________________________________
swfmill mailing list
swfmill@...
http://osflash.org/mailman/listinfo/swfmill_osflash.org
Naoki INADA | 11 Mar 2008 16:39
Picon
Gravatar

Re: useNetwork bug?

I tried following.

1. child.xml
<?xml version="1.0" encoding="utf-8" ?>
<movie width="320" height="240" framerate="12">
    <FileAttributes hasMetaData="0" useNetwork="0"/>
    <background color="#ffffff"/>
    <frame/>
</movie>

2. parent.xml
<?xml version="1.0" encoding="utf-8" ?>
<movie width="320" height="240" framerate="12">
    <FileAttributes hasMetaData="0" useNetwork="1"/>
    <background color="#ffffff"/>
    <frame>
        <library>
            <clip import="child.swf" id="foo"/>
        </library>
        <place id="foo"/>
    </frame>
</movie>

3. compile it.
> swfmill simple child.xml child.swf
> swfmill simple parent.xml parent.swf
> swfmill swf2xml parent.swf out.xml

4. I got out.xml
<?xml version="1.0"?>
<swf version="7" compressed="1">
  <Header framerate="12" frames="1">
    <size>
      <Rectangle left="0" right="6400" top="0" bottom="4800"/>
    </size>
    <tags>
      <FileAttributes hasMetaData="0" useNetwork="1"/>
      <SetBackgroundColor>
        <color>
          <Color red="255" green="255" blue="255"/>
        </color>
<!-- snip -->

There is only one <FileAttributes/> tag.
Does something different?
I tried this with swfmill from svn. May I try again with swfmill that
same yours?

On Tue, Mar 11, 2008 at 11:28 PM, Quentin <quentin.t@...> wrote:
> Damn, it seems like I'm the only one waiting for this.
> Noaki, did you find a clue?
>
> Quentin.
>
> _______________________________________________
>  swfmill mailing list
>  swfmill@...
>  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>

---
INADA Naoki
Quentin | 11 Mar 2008 18:49
Picon

Re: useNetwork bug?

Yes, for complex SWFs it didn't act the same...
I also have the SVN version!

I'll send some files that won't work for you to test.
Thanks!

Quentin.

On Tue, Mar 11, 2008 at 4:39 PM, Naoki INADA <songofacandy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
I tried following.

1. child.xml
<?xml version="1.0" encoding="utf-8" ?>
<movie width="320" height="240" framerate="12">
   <FileAttributes hasMetaData="0" useNetwork="0"/>
   <background color="#ffffff"/>
   <frame/>
</movie>

2. parent.xml
<?xml version="1.0" encoding="utf-8" ?>
<movie width="320" height="240" framerate="12">
   <FileAttributes hasMetaData="0" useNetwork="1"/>
   <background color="#ffffff"/>
   <frame>
       <library>
           <clip import="child.swf" id="foo"/>
       </library>
       <place id="foo"/>
   </frame>
</movie>

3. compile it.
> swfmill simple child.xml child.swf
> swfmill simple parent.xml parent.swf
> swfmill swf2xml parent.swf out.xml

4. I got out.xml
<?xml version="1.0"?>
<swf version="7" compressed="1">
 <Header framerate="12" frames="1">
   <size>
     <Rectangle left="0" right="6400" top="0" bottom="4800"/>
   </size>
   <tags>
     <FileAttributes hasMetaData="0" useNetwork="1"/>
     <SetBackgroundColor>
       <color>
         <Color red="255" green="255" blue="255"/>
       </color>
<!-- snip -->


There is only one <FileAttributes/> tag.
Does something different?
I tried this with swfmill from svn. May I try again with swfmill that
same yours?

On Tue, Mar 11, 2008 at 11:28 PM, Quentin <quentin.t-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Damn, it seems like I'm the only one waiting for this.
> Noaki, did you find a clue?
>
> Quentin.
>
> _______________________________________________
>  swfmill mailing list
>  swfmill-AOfRjkeVuXpAfugRpC6u6w@public.gmane.org
>  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>

---
INADA Naoki

_______________________________________________
swfmill mailing list
swfmill-AOfRjkeVuXpAfugRpC6u6w@public.gmane.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

_______________________________________________
swfmill mailing list
swfmill@...
http://osflash.org/mailman/listinfo/swfmill_osflash.org
Eric Priou | 11 Mar 2008 19:39
Picon

Re: useNetwork bug?


Hi,
> Yes, for complex SWFs it didn't act the same..
What do you mean with complex swf ?
----
Eric Priou
aka  erixtekila
Articles : http://www.v-i-a.net/inprogress
Oregano : http://www.v-i-a.net/inprogress/doku.php/oregano
Oregano forum : http://www.v-i-a.net/forum/

Gmane