all groups > flash actionscript > december 2005 >
You're in the

flash actionscript

group:

dynamic content in browser failing


Re: dynamic content in browser failing tralfaz
12/15/2005 1:36:18 PM
flash actionscript:
[quoted text, click to view]

You didn't say specifically what the error message is but just wanted
to mention that the onLoad event has become a real pain in the butt
lately. It doesn't fire on some systems, especially FireFox. For a
test, if you want to find out if the onLoad function is the problem,
substitute the onLoad function with a delay (give it plenty of time to
actually load the file). After the delay then proceed as if the load
was successful and see if it works. If it does work, that means that
the xml loads just fine but never fires the onLoad event. In that
case you can replace the onLoad event with a different scheme. What I
have used before is to set the final value in the XML to number 999.
Then I use a setInterval to keep checking for that last value to
become 999. When it does, it is done loading. I also use a time-out
just in case it never loads so that it won't get hung up. None of
this applies if you are trying to load from another domain. Are you?
tralfaz

Re: dynamic content in browser failing tralfaz
12/15/2005 4:04:24 PM
[quoted text, click to view]

That link doesn't work. (access forbidden message)
Can you say which actual path/file is in the error message? You have
2 flas in the zip file and I can't tell where the error is without
more information since it works locally for me too. Is it a jpg file
that won't load or the XML file?
tralfaz

Re: dynamic content in browser failing tralfaz
12/15/2005 5:54:01 PM
[quoted text, click to view]

The pictures don't seem to be where they need to be. This is where
bogart.jpg should be (for example)
http://www.rudyi.com/clients/jaxonhats/nav_images/bogart.jpg
The nav_images folder doesn't seem to be there.
Watch out for case sensitivity too.
tralfaz

dynamic content in browser failing j_rudy
12/15/2005 6:47:17 PM
Ok, this is probably a stupid question, but I'm pulling my hair out. I have a
movie that's loading images through an xml file. When I test it on a local PC
in the flash environment, it works fine. On my mac, it gives me a failed to
load (image name) message in the ouput dialog box. When I test the movie
through a browser on my local, it also fails. But, I have been able to upload
it through the server and it works when it's by itself. But then I try to load
it into the website on the server, it fails. I have the file if anyone can help
me out on this.
Re: dynamic content in browser failing ssfanetti
12/15/2005 7:28:13 PM
Re: dynamic content in browser failing j_rudy
12/15/2005 7:57:37 PM
I tried including a cross-domain policy file, but either it's not it, or I
didn't execute it correctly. Here's the path to the file (actually it's 2, but
they both have the same issue): http://www.novalogic.com/flash_nav.zip.
Thank you so much for your help!
Re: dynamic content in browser failing j_rudy
12/15/2005 7:58:30 PM
Re: dynamic content in browser failing j_rudy
12/15/2005 10:20:45 PM
Hi tralfaz,
First off, no I'm not trying to load this from another domain. I understand
that if I was, I'd need to have a crossdomain.xml file. Unfortunately, I'm not
the best with AS and have only been able to accomplish this much from learning
other movies that deploy similar things. Could you look at the file I uploaded
( http://www.novalogic.com/flash_nav.zip ) and see if there's anything glaring
that I'm doing incorrectly? I'm going to look up the delay function and see if
I can try that. Thank you so much!
Re: dynamic content in browser failing j_rudy
12/15/2005 10:29:41 PM
BTW, I get an error message on my mac that says ERROR OPENING FILE (file
path/file name). I don't get an error on my PC, because it works in the flash
environment. Once I test it in a browser, it fails.
Re: dynamic content in browser failing j_rudy
12/15/2005 10:30:50 PM
BTW, I get an error message on my mac that says ERROR OPENING FILE (file
path/file name). I don't get an error on my PC, because it works in the flash
environment. Once I test it in a browser in a local environment, it fails and
if I integrate it into a site, it fails. However, I was able to get it to work
on a server by itself:
http://www.rudyi.com/clients/jaxonhats/hats/ff_porkpie_131555_g/
Re: dynamic content in browser failing j_rudy
12/16/2005 12:16:17 AM
I believe it's the jpegs that are not loading in the fla in the hats folder.
I'm not getting any error messages because they are both working on the PC. The
error message I get on the mac is Error loading file (file path/image
name.jpg). The other one is what I'm more concerned about (jax_nav.fla). This
one just doesn't load anything when it's uploaded on the server. It tests fine
locally. If you go here: http://www.rudyi.com/clients/jaxonhats/index.html
you'll see that neither load the content. Do you think it might be a relative
path issue?
AddThis Social Bookmark Button