| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Senior Member
Join Date: Oct 2003
Location: north carolina
Posts: 344
|
hello;
when I use the object/embed tags to run a .swf, the loadMovie command does not execute; if I instead run the swf from a <iframe src="my.swf"> the loadMovie works fine; any thoughts? thanks dsdsdsdsd |
|
|
|
|
|
#2 |
|
Banned by AS.org Staff
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,075
|
What are you trying to do? Use loadMovie to load a movie in an iframe?
|
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Oct 2003
Location: north carolina
Posts: 344
|
atomic, thanks for responding;
no, the loadmovie command is simply a typical loadMovie command that loads one swf into another, nothing fancy; I mentioned the loadMovie command because it seems to be failing WHEN I insert the swf ( call it parent.swf, or, as in my first post, my.swf ) into the webpage via an object/embed tag; however, if I load that same swf ( call it parent.swf, or, as in my first post, my.swf ) into the webpage via <iframe src="parent.swf">, the loadMovie command within does not succeed; thanks dsdsdsdsd |
|
|
|
|
|
#4 | |
|
Banned by AS.org Staff
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,075
|
Quote:
|
|
|
|
|
|
|
#5 | |
|
Senior Member
Join Date: Oct 2003
Location: north carolina
Posts: 344
|
yikes, I did say that - BRAINFART on my part;
should say: Quote:
|
|
|
|
|
|
|
#6 |
|
Banned by AS.org Staff
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,075
|
When you don't use the object/embed tags, but link directly to your parent .swf, does the loadMovie action work?
If the above works, which I suppose it should, were all your files, including the parent's .html, in the same folder, in your previous attempt? |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Oct 2003
Location: north carolina
Posts: 344
|
atomic, thanks for responding;
my file structure looks like this: my_dir/my.htm my_dir/sub_dir/parent_that_uses_loadMovie.swf my_dir/sub_dir/child_movie_to_be_loaded.swf I have not tried to place the parent.swf in the same directory; I will give it a try; thanks dsdsdsdsd |
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Oct 2003
Location: north carolina
Posts: 344
|
yep, when I place the parent.swf and the child.swf into the same directory as the .html, the object/embed tags do not effect the loadMovie;
so, when I have the parent and child.swf in a subdirectory, the object/embed tags effect the loadMovie ( prevent it ); therefore I am having to rely on an <iframe src="parent.swf"> to load the parent.swf so that the loadMovie will work; Shannon |
|
|
|
|
|
#9 |
|
Banned by AS.org Staff
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,075
|
Best and simple, is to have all files in the same directory.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Loading a swf created using document class gives error #1009 | charlieFlash | ActionScript 3.0 | 1 | 08-30-2007 06:36 PM |
| problem in passing value to dynamic text field of and loadMovie swf from an AS file | jeith | ActionScript 2.0 | 0 | 07-19-2007 07:22 PM |
| How to prevent someone from decompiling your SWF files... | mattkenefick | ActionScript 2.0 | 36 | 07-10-2007 05:30 PM |
| Force loadmovie to scale swf to 100% stage size? | subzerohk | ActionScript 2.0 | 3 | 02-25-2007 07:37 AM |
| a "close" button on child swf | bloombloom | ActionScript 2.0 | 0 | 02-14-2007 02:26 AM |