Re: [Flashcoders] [ AS3 ] - Problem with an AS3 application who use a swf AS2 who load images

2008-03-12 Thread Glen Pike
Check for crossdomain problems - look in the HTTP Requests for 
crossdomain.xml - try loading this yourself to check it's there.  If 
it is requesting crossdomain files, you probably need to have one setup 
- this maybe one issue, may not be...


Glen

david costard wrote:

Hey list,

Since few days I'm developping my first AS3 application.
In this project I need to load some swfs who are developped in AS2.

One of them is a diaporama who load images.
The diaporama can load the first images but then he never load the other
images.
In the MovieClipLoader object the method onLoadInit() is never use except at
the end of the first image loading.

I read in the adobe documentation :

   - The AVM1 content cannot load files into levels. For example, it
   cannot load files by calling loadMovieNum(url, levelNum).
   - The AVM1 SWF file that is loaded by an AVM2 SWF file cannot load
   another SWF file into this. That is, it cannot load another SWF file
   over itself. However, child Sprite objects, MovieClip objects, or other AVM1
   SWF files loaded by this SWF file can load into this.


But why I can load the first image only ?

I watched what happened in Fiddler and TamperData.
For the first image there's a reuqest to the server but for the other one
nothing happen.

If I use the diaporama alone there's no problem, everything is OK.
I've got the bug each time I load it in an as3 application.


Thanks for your help.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [ AS3 ] - Problem with an AS3 application who use a swf AS2 who load images

2008-03-12 Thread david costard
Hey Glen thanks for your help.
I check for crossdomain but I think the problem is not with crossdomain.
I've got the problem in local and all of the swf in as2 in need to load are
one the same domain.



2008/3/12, Glen Pike [EMAIL PROTECTED]:

 Check for crossdomain problems - look in the HTTP Requests for
 crossdomain.xml - try loading this yourself to check it's there.  If
 it is requesting crossdomain files, you probably need to have one setup
 - this maybe one issue, may not be...

 Glen


 david costard wrote:
  Hey list,
 
  Since few days I'm developping my first AS3 application.
  In this project I need to load some swfs who are developped in AS2.
 
  One of them is a diaporama who load images.
  The diaporama can load the first images but then he never load the other
  images.
  In the MovieClipLoader object the method onLoadInit() is never use
 except at
  the end of the first image loading.
 
  I read in the adobe documentation :
 
 - The AVM1 content cannot load files into levels. For example, it
 cannot load files by calling loadMovieNum(url, levelNum).
 - The AVM1 SWF file that is loaded by an AVM2 SWF file cannot load
 another SWF file into this. That is, it cannot load another SWF file
 over itself. However, child Sprite objects, MovieClip objects, or
 other AVM1
 SWF files loaded by this SWF file can load into this.
 
 
  But why I can load the first image only ?
 
  I watched what happened in Fiddler and TamperData.
  For the first image there's a reuqest to the server but for the other
 one
  nothing happen.
 
  If I use the diaporama alone there's no problem, everything is OK.
  I've got the bug each time I load it in an as3 application.
 
 
  Thanks for your help.

  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 

 --


 Glen Pike
 01736 759321
 www.glenpike.co.uk http://www.glenpike.co.uk
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [ AS3 ] - Problem with an AS3 application who use a swf AS2 who load images

2008-03-12 Thread Glen Pike

Not sure then, sorry.

david costard wrote:

Hey Glen thanks for your help.
I check for crossdomain but I think the problem is not with crossdomain.
I've got the problem in local and all of the swf in as2 in need to load are
one the same domain.



2008/3/12, Glen Pike [EMAIL PROTECTED]:
  

Check for crossdomain problems - look in the HTTP Requests for
crossdomain.xml - try loading this yourself to check it's there.  If
it is requesting crossdomain files, you probably need to have one setup
- this maybe one issue, may not be...

Glen


david costard wrote:


Hey list,

Since few days I'm developping my first AS3 application.
In this project I need to load some swfs who are developped in AS2.

One of them is a diaporama who load images.
The diaporama can load the first images but then he never load the other
images.
In the MovieClipLoader object the method onLoadInit() is never use
  

except at


the end of the first image loading.

I read in the adobe documentation :

   - The AVM1 content cannot load files into levels. For example, it
   cannot load files by calling loadMovieNum(url, levelNum).
   - The AVM1 SWF file that is loaded by an AVM2 SWF file cannot load
   another SWF file into this. That is, it cannot load another SWF file
   over itself. However, child Sprite objects, MovieClip objects, or
  

other AVM1


   SWF files loaded by this SWF file can load into this.


But why I can load the first image only ?

I watched what happened in Fiddler and TamperData.
For the first image there's a reuqest to the server but for the other
  

one


nothing happen.

If I use the diaporama alone there's no problem, everything is OK.
I've got the bug each time I load it in an as3 application.


Thanks for your help.
  
___

Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



  

--


Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders