There is also System.security stuff. My file started to work inside other
after I added it.
On 2/14/07, Arseniy Shklyaev <[EMAIL PROTECTED]> wrote:
the files AS1 flash 6 will work loaded into AS2 8 player BTW. But there
could be problems with access. It will work in flash but in .swf
outside(web) could be bugs. There possible problems with access between
movies when load pl8 AS2 into pl8 AS2. I dont remember but there was some
stuff for me(I used Loaded vs Total only). Do u put "Access network only"
BTW? in publish window. Maybe to think up the way to use stuff like in
preloaders(loaded/total*100) or use some movieclip which has
onClipEven(load)?
On 2/14/07, Andy Herrman <[EMAIL PROTECTED]> wrote:
>
> I had a similar problem (onInit firing when it actually failed) and I
> found that checking the bytes loaded vs bytes total worked as a way to
> check if it really succeeded or not.
>
> -Andy
>
> On 2/14/07, Danny Kodicek < [EMAIL PROTECTED]> wrote:
> > > On 2/14/07, Danny Kodicek <[EMAIL PROTECTED]> wrote:
> > > > > I thought I saw this discussed recently, but I couldn't find
> > > > > it in the archives. Apologies if I'm repeating something.
> > > >
> > > > You might be thinking about the thread I started with the
> > > opposite problem:
> > > > onLoadInit was called when the load actually failed.
> > >
> > > Ahh, right. Ever find an answer to that?
> >
> > The best I came up with was this (set fileExists to true first):
> >
> > function onLoadComplete(tContainer:MovieClip, tStatus:Number) {
> > if (tStatus >= 300 || tStatus < 200) {
> > fileExists = false;
> > }
> > }
> > function onLoadInit(tContainer:MovieClip) {
> > if (!fileExists) {
> > this.onLoadError(tContainer);
> > } else {
> > // succeeded: do stuff here
> > }
> > }
> >
> > Foolproof? I doubt it. But it works so far.
> >
> > Danny
> >
> > _______________________________________________
> > [email protected]
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
--
-Arseniy Shklyaev
--
-Arseniy Shklyaev
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com