loading external images and txt files

This is a discussion on "loading external images and txt files" within the Flash & Multimedia Forum section. This forum, and the thread "loading external images and txt files are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack (1) Thread Tools
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old Aug 1st, 2005, 12:16
ST ST is offline
Junior Member
Join Date: Jul 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
loading external images and txt files

Hi everyone!

Here I have another question/problem that bothers me a lot:

Introduction:
I have a flash movie “A” that loads an external flash movie “B”.
In “B” I have a script that loads an image and a txt file from the same server.

Problem:
When “B” is loaded it takes some time to see that text or the image. And even in occasions they don’t load at all.

Code:
Text: this.loadVariables("toph.txt?Ran="+random(999), "top_texto");
Image: loadMovie("musica/d1.jpg", this.h1);

Solution?
Does some one know how to make the flash movie loads those external objects?


Thanks in advanced!
Reply With Quote

  #2 (permalink)  
Old Aug 1st, 2005, 12:56
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
How long is 'some time'? If you test this locally, is it instantaneous?
Reply With Quote
  #3 (permalink)  
Old Aug 1st, 2005, 14:01
ST ST is offline
Junior Member
Join Date: Jul 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
The time depends...from 3-5 sec or it doesn't appear at all.
Locally it works fine, without any lag.
Reply With Quote
  #4 (permalink)  
Old Aug 1st, 2005, 15:44
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Technically, if your hosting is reliable and you've coded this correctly then it should always display. Some aspect of your code must be slightly broken.

Shouldn't this.h1 be in quotes?
Reply With Quote
  #5 (permalink)  
Old Aug 1st, 2005, 15:53
ST ST is offline
Junior Member
Join Date: Jul 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Hosting is in Huston, they supposed to be good... I don’t dare to say the hosting company (spam)

"this.h1" mmm….do you think it would make any difference on the speed?
Reply With Quote
  #6 (permalink)  
Old Aug 1st, 2005, 20:07
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
I'm just telling you what I can based on the information you've given me. I see no reason for it to be that slow for you. You need to try from another computer or get a friend to try.
Reply With Quote
  #7 (permalink)  
Old Aug 2nd, 2005, 05:30
ST ST is offline
Junior Member
Join Date: Jul 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Ah, ok…


mmm…how can I help you help me?

About testing…
I’m now in Spain. Before I was in Belgium, there I didn’t notice the lag (I had 4 mb cable connection). Here (in Spain) I have a 1mb dsl connection, and its here where I noticed the lag. Friends in Belgium say its ok, but some friends in Spain Noticed the same latency (as well as my “client”).

One of the problems is that I don’t know how to explain it to my client so he doesn’t think I ‘m just giving him a cheap excuse and that I do not know nothing about the stuff.

Any suggestion?
Reply With Quote
  #8 (permalink)  
Old Aug 2nd, 2005, 14:46
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Where it the hosting based?

You could also try doing a trace route to the website and seeing where the signal latency occurs.
Reply With Quote
  #9 (permalink)  
Old Aug 2nd, 2005, 14:53
ST ST is offline
Junior Member
Join Date: Jul 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
“Where it the hosting based?”
You mean where I put the site? In www.speedpacket.com
It was actually for an other site, but its close, so we use the web space for this project for the same guy.




”You could also try doing a trace route to the website and seeing where the signal latency occurs.”
Do you mean the ping? Its 93ms from this computer
Reply With Quote
  #10 (permalink)  
Old Aug 2nd, 2005, 17:20
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
By 'where is the hosting based' I mean geographical location, where in the world?

And as for trace route, open up a cmd window as if you were going to ping, but instead do:
tracert www.google.com
or whatever address you want to trace.

It will show you all the computers that your packets go through in order to reach the address. It also shows the time to get to each address, so if the time suddently increases for one 'hop' between servers, you know that there could be a problem there.
Reply With Quote
Reply

Tags
loading, external, images, txt, files

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.webforumz.com/flash-and-multimedia-forum/2836-loading-external-images-and-txt-files.htm
Posted By For Type Date
flash load external text This thread Refback Oct 27th, 2006 04:46

Similar Threads
Thread Thread Starter Forum Replies Last Post
loading external swf crazytyler34 Flash & Multimedia Forum 3 Nov 15th, 2007 21:38
Loading external movies typeofdoug Flash & Multimedia Forum 4 Mar 7th, 2007 19:43
loading external swf worldheadja Flash & Multimedia Forum 3 Feb 7th, 2007 19:06
loading external swf razor Flash & Multimedia Forum 1 Nov 30th, 2005 15:40
loading external images into array geminity Flash & Multimedia Forum 2 Feb 14th, 2005 21:29


All times are GMT. The time now is 15:08.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43