loading problem



  • 1. Sending Binary data over XML socket?
    Is this possible in flash? I am connecting to a remote socket server that, most of the time, sends me XML and other misc. string commands. However, in some cases there are times this server will send me binary data.. specifically a JPG or GIF image. I have been looking high or low to see if this is even possible in flash, let alone find and example. Has anyone else accomplished this sort of task? Maybe as a MIME encoded string or something? If not possible over a socket, is there an easy way to do this via HTTP? Appreciate any input or advice on this!!
  • 2. using entity references (sensitive chars) in x
    I have still not figured out why Flash doesn't import the characters properly. Someone gave me this code a little while back and it works for me. It's a quick fix, but it works: cleanText = function (txt) { txt = txt.toString(); txt = txt.split("'").join("'"); txt = txt.split(""").join("\""); txt = txt.split("&").join("&"); return txt; } Just use that function to clean the special characters. Add any extra ones you may need.
  • 3. using entity references (sensitive chars) in xml
    Hi, I've just started out with XML and loading it into Flash. I can't seem to get those sensitive characters to display correctly. i.e. putting '<' in my XML doc brings up '<' as opposed to '<' in the flash movie. and using CDATA doesn't seem to work either can anyone tell me what is going on? Many thanks, Pete O'Brien
  • 4. help with setInterval()
    I am having trouble figuring out how to do something with setInterval. I have 5 different movieclips off stage. I want to slide them on a 2 second intervals. I have a function that slides them into place. But can't figure out how to set up the setinterval. How do I pass to the setinterval that the first time it should do movieclip_1, the next time movieclip_2, and so on. Also I'm trying to make this in a way that if I decide later that I need to slide 10 on in 3.5 second intervals it will be easy to change. Any help is appreciated. Thank you.

loading problem

Postby aditya gaur » Fri, 21 May 2004 18:18:44 GMT

hello everybody,
 i loading a image through loadmovie functio() which is of 100 kb.it's loading 
perfectly.but i want to attach a loader with this...that atleast user can know 
that how much percentage will loading.plz help me..thanks

Re: loading problem

Postby Shan-Dysigns » Fri, 21 May 2004 18:39:01 GMT

Add this mc to the timeline at the same level as your empty movie clip that you 
are loading the pic into and change the name (emptyclip) in the code to 
whatever you named your empty mc. Also add the frame actions. This clip I made 
will check to see if everything is loaded into the empty clip, and if not, it 
makes itself visible and shows the loading progress. When everything has been 
loaded, it makes itself invisible again.

 www.shan-dysigns.com/flash examples/preloader.fla


Re: loading problem

Postby aditya gaur » Fri, 21 May 2004 19:37:42 GMT

thanks Shan, it's working....

loading problem

Postby lezar974 » Fri, 06 Aug 2004 09:06:33 GMT

hi, i  have a photo gallery for a website made out of thumbnails, they scroll 
on the y axis. when clicked, they load the main image in the loading screen as 
.swf files. now everything works fine in flash even when i test it. however, 
once inserted in a browser through dreamweaver, the thumbnails scroll and 
buttons still work, but the main image won't load. please help. thank you

Re: loading problem

Postby _jrh_ » Fri, 06 Aug 2004 11:13:43 GMT

make sure you're referencing to the swfs properly. also, make sure the swfs are uploaded as well.

hope this helps.

Re: loading problem

Postby lezar974 » Fri, 06 Aug 2004 11:19:40 GMT

hi thank you for answering, how do i make sure the swf are uploaded. i got this 
gallery from a tutorial and at the end they said to use it on a website, i need 
loader in each file. what does it mean. i am sorry i am a beginner and really 
struggling on this for hours.

Re: loading problem

Postby _jrh_ » Fri, 06 Aug 2004 11:24:02 GMT

well, they probably mean a preloader. you can find different kinds all over the 
place (just search these forums for preloader). but if you have an aboslute 
reference to the swfs, such as www.myurl.com/swfs/swf1.swf, then just make sure 
that when you upload it in dreamweaver the files are located in the /swf/ 

Re: loading problem

Postby lezar974 » Fri, 06 Aug 2004 11:26:51 GMT

thank you very much, last question though, when i find a preloader, what do i with it?

Re: loading problem

Postby _jrh_ » Fri, 06 Aug 2004 11:33:20 GMT

you have to put it in the beginning of each swf. it would be more efficient to 
have a preloader in the main swf.

 for example:

 // begin code //

 loadMovie(" http://www.**--****.com/ ", "_root.placeholder_mc");

 loadInterval = setInterval(checkLoad,10);

 function checkLoad () {
 	percent = 
 	if (percent >= 0) {
 		// before loading..
 	if (percent == 100) {
 		// after loading

 // end code //

 you can put this where you load and have a placeholder for the new swf. hope 
you can adapt this for your use!

Re: loading problem

Postby lezar974 » Fri, 06 Aug 2004 11:39:28 GMT

it is gallery with 7 thumbnails in a scroll. each thumbnail is a button linked 
to upload the 7 swf files. do you mean by main swf file, the actual flash 
gallery? And this code you gave me, where do i put it? sorry to be such a pain 
but i am so glad for your help thanks

Re: loading problem

Postby _jrh_ » Fri, 06 Aug 2004 11:43:00 GMT

put the code wherever you would load your movies, i believe in your main file, the actual gallery. if you're using an on release on the thumnails, do:

on (release) {
//put my code here

Re: loading problem

Postby lezar974 » Fri, 06 Aug 2004 11:47:46 GMT

ok last question really, i have to put this code in the screen i made for those pictures to appear, right? and then within the code, how do i handle clip1.swf, clip2.swf ....to clip7.swf?

Re: loading problem

Postby lezar974 » Fri, 06 Aug 2004 11:49:37 GMT

sorry nevermind the last post, i tried it and it works perfectly the way you said, thank you so much, i spent 15 hours on this. thanks for your help.

Re: loading problem

Postby _jrh_ » Fri, 06 Aug 2004 11:54:40 GMT

sure thing!

Loading Problem

Postby virgil912 » Tue, 14 Mar 2006 13:44:22 GMT


 I'm trying to set up a flash header to display a random image each time a user 
clicks on to the site.  I've successfully followed the kirupa tutorial here:


 The tutorial recommends creating a series of swf's with only an image file in 
them, and then using a blank movie clip and the Loadmovie command to load them 
into the header.  This is accomplished with the following code:

 choice = Math.round(Math.random()*5);
 switch (choice) {
 case 0 :
 case 1 :

 This works fine except the swf's don't preload along with everything else.  
I'm wondering A) If anyone can point to a more efficient method than the one in 
the tutorial, one that is xml or textfile based for example B) If not, can 
someone help me how to get the swf's to preload with everything else.  I'm 
using Flash MX 2004.  Thanks very much.

Similar Threads:

1.html content loading problem using loadVars or XML load

2.Loading Problems - One page won't load!

I'm fairly new to flash.  I have a main movie on top of which I load other 
movies - these act as the different pages of my site.  The site works fine on 
my machine, but when I upload it to the server, one particular page doesn't 
load.   The idea I have why it might not be working is that it is the only swf 
that loads other movies - that act as pop-up windows - on top of it.  But all 
of these movies are very small - less than 10 KB - so I can't figure out why it 
doesn't load.   

 Any ideas what could be wrong?  Any ideas might be useful.  Thanks!

3.flash and IE loading problem

Hi all,

One of my web pages uses flash and for some unknown reasons, on some 
computers(not all), it takes a long time to load this page and virtually 
freeze my IE. The flash does show up, but it seems to me that it's busy 
loading something. Now if I go into the manage add-ons of the IE and disable 
the flash plugin, this page would be loaded just fine. I have tried to 
update Macromedia flash on these computers but it doesn't help. I have also 
tried to compare their security level with those that an load this page 
quickly but I can't find anything difference. Does anyone have any idea why? 
This page works fine with FireFox.



4.Flash Player loading problem

5.flash play on page load problem

helphelphelp please. i'm totally new to dreamweaver, so if this is completely 
pedestrian question i apologize. 
 i've inserted a .swf animation file in a dreamweaver file (insert?media?flash) 
that i want to play when a viewer initially opens the site window on the 
finished site. i've assigned the "onLoad" event in the "control shockwave or 
flash" behavior in the bahavior panel. the file plays in the dw file - but 
nothing shows up when i preview the file in a browser. just a white screen. 
when i control click on the page in the brower it says the movie didn't load.
 where did i go wrong? again, i'm new to this stuff, but as far as i can tell, 
i've gone thorugh all the steps my book says i should. what am i missing?
 thanks in advance-

6. Netscape flash load problem.

7. Presentation Loading Problems

8. movie loading problem

Return to FLASH


Who is online

Users browsing this forum: No registered users and 33 guest