Questions tagged [moviecliploader]

19 questions
2
votes
1 answer

How do I silently preload a movie clip with sound?

I am writing a program in AS3 and want to preload movie clips that will be needed in the future. Unfortunately, I'm running into a problem: the movie clips play their sound as soon as they are loaded (before I add them to the stage). Stopping the…
Craig Gidney
  • 17,763
  • 5
  • 68
  • 136
1
vote
1 answer

AS2: LoadMovieClip.onError doesn't seem to catch some errors

I have some AS2 code that opens a SWF file through an HttpHandler. I'm trying to get the program to recognize when a requested file is missing. My first attempt involved using LoadVars and "load", and only calling loadMovie if the file…
user304475
1
vote
2 answers

As3 Movieclip loaded in container reports exaggerated .width value

I am trying to load a swf(as3) into another As3 Swf with the Movieclip loader. After loading however Loader.width/loader.content.width returns an exaggerated value than the actual width of the swf being loaded. Any pointers on where to begin looking…
1
vote
1 answer

AS2 fixed sized movieclip

I'm working with a Flash website at the moment, and when clicking on a specific hotspot, it opens up a new .swf over the top. This .swf it opens is styled similar to a Lightbox. It has a (x) to close unLoad the movie, along with a (<) and a (>) to…
1
vote
1 answer

AS2: How do I use addEventListener on an SWF/MovieClip loaded via MovieClipLoader

I'm trying to load a local SWF then catch a few events that are fired but I can't see why this isn't working. Here's the code Parent.swf _mcl = new MovieClipLoader(); _mcl.addListener(this); _mcl.loadClip("Child.swf", rotator_mc); function…
1
vote
4 answers

Actionscript 2: MovieClipLoader.onLoadProgress not firing in production

I'm working in Flash CS3, targeting Actionscript 2, and I'm writing an image preloader. When I test the movie with the download simulation turned on everything works just fine, and my preloader successfully updates the download progress bar I've…
The Brawny Man
  • 661
  • 6
  • 10
0
votes
1 answer

AS2 MovieClipLoader - images from XML. How to skip image loading if not exist?

I'm trying to make thumbnails-grid based on XML. So far I have done code for loading and positioning thumbnails on stage. The code I use: function loadXML(loaded) { if (loaded) { xmlNode = this.firstChild; imgName = []; image = []; …
Artur Filipiak
  • 9,027
  • 4
  • 30
  • 56
0
votes
1 answer

AS2 Gallery swf loaded into Main web AS3 swf

I've loaded a AS2 swf into a AS3 swf but the onLoadInit function for a MovieClipLoader object isn't executing; which leaves my images not centered and not reduced in dimensions (width/height) It works if i run the AS2 swf (gallery) directly. …
0
votes
1 answer

Flash AS2 - MovieClipLoader Class not working as expected

I have a problem with loading an image path reference into a movieClip. On my movie loading I attachMovie according to i (no. of instances) Then I generate a copy of the instances (these are prepared ready for print - I have this working) However,…
user601935
  • 133
  • 1
  • 1
  • 7
0
votes
3 answers

Communicating with a loaded as2 swf in another as2 swf

I have loaded an AS2 swf inside another AS2 swf using MovieClipLoader. I have no control(cannot edit) over the child swf. Is there a way I can communicate with the child swf from the parent swf. The child swf is not accepting any LocalConnection…
0
votes
2 answers

could i get access to the loaded uri in actionscript for "loadmovie"

i wanna load a movieclip inside another movieclip with loadmovie or anything like this. so my question is.... could have i access to the location of the loaded swf-file inside the loaded swf-file? example: swf#1 loads swf#2 inside itself, so now the…
0
votes
1 answer

What is the best way to detect file existence in Flash using as2?

I need to check for file existence in Flash on x number of videos. I've tried LoadVars and MovieClipLoader. LoadVars works but it actually loaded the entire video before reporting its done. Without a way of knowing that its started, I can't delete…
Jordan
  • 1,233
  • 2
  • 12
  • 32
0
votes
3 answers

AS3 Scaling - Clips text and distorts diagonal line on photographs

Hi I used some code that I found, I think even from you guys the scale an external swf being loaded onto a background movie clip. Works great with the exception that it clips some text and creates some funny diagonal lines and some poor picture…
0
votes
1 answer

loadClip as2 not loading swf

can anyone help me figure out why this will not load in my swf? I'm getting no errors. var my_mcl:MovieClipLoader = new MovieClipLoader();//Used to load the image button1_mc.onPress = function() { my_mcl.loadClip(B.swf,container_mc);//loading a…
CsharpBeginner
  • 1,753
  • 8
  • 38
  • 68
0
votes
2 answers

Possible to use MovieClipLoader() to load a swf from a different server?

Having some issues loading files from media hosting into swf shell (a swf loading swfs as assets). Mp3s and images work fine but a swf never loads. Code is like: swfpath =…
MetaGuru
  • 42,847
  • 67
  • 188
  • 294
1
2