PDA

View Full Version : problem with dynamicly import swf


louloule
12-04-2007, 09:24 AM
hello

i heave a problem with a swf who i import in pano.swf

the swf have some dynamic sentences :
http://www.visite-saint-malo.com/hotel/bristol_union.htm

when i put the swf in a simple page no problem .you can see the dynamic sentences after single,double and triple....

but when i import in the pano.swf i cant see the dynamic sentences look that here:

http://www.visite-saint-malo.com/bristol_union.htm

i dont understand why!!!

zleifr
12-04-2007, 01:45 PM
I believe we would need to see the .fla or actionscript to tell you why that's not working. I don't have an answer off the top of my head, and there are too many possible problems for me to even try suggesting them all.

So, post the .fla, or the actionscript.


Alse, there is an error on the third dynamic sentence, that could be part of the problem...

zleifr
12-04-2007, 01:56 PM
Also, I don't see that it is asking for the .php script that supplies the dynamic text from within the pano, that could be the problem, or it could just be the browser, which doesn't always report everything if a bare swf is loading it.

Again, to solve it we need a .fla, or the actionscript.

louloule
12-04-2007, 02:45 PM
ok thank a lot for ur help.i send u the fla

zleifr
12-04-2007, 10:06 PM
Ah, well I see that is a very simple file.

I believe the problem is the "this" object. I think it is a case of flash getting confused as to what "this" refers to when the swf is loaded inside another swf.

you might try writing trace(this); and see what object it outputs, I have a feeling it will be fpp, and not your .swf.

Zephyr