Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have an swf embedded in an HTML p

Status
Not open for further replies.

frozenpeas

Technical User
Sep 13, 2001
893
CA
I have an swf embedded in an HTML page that acts as a shell. I want it to load other swfs into levels 2 - 6.

Nothing is really happening. It is fine with one swf. But when I try to use the shell to load up other ones, nothing happens. It's just blank. The 'showmenu' command is ignored. I've disabled the right-click 'Print' option and that is working properly.

What am I missing?

The shell swf contains one frame and two layers:

Layer 1 (works fine):
Code:
!#p

Layer 2 (doesn't work):
Code:
fscommand ("showmenu", "false");
loadMovieNum ("cursor.swf", 6);
loadMovieNum ("menu_main.swf", 5);
loadMovieNum ("menu_config.swf", 4);
loadMovieNum ("borders.swf", 3);
loadMovieNum ("home.swf", 2);

Thanks.
 
There's nothing wrong with your scripting at all.

May sound silly, but have you checked that your swf files are in the same location as your shell?

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
That doesn't sound too silly. Sometimes it's the simplest things that we overlook...

However, the swf files are in the same location as the shell. I have also tried moving things around, to different locations and changing the links accordingly. It's still not working.

I am at my wit's end.
 
Is this a 1 frame "shell" .swf.
If so, try moving your loadMovie actions to at least the 5th or 6th frames, with obviouly a stop frame on that frame also.
LoadMovie actions don't work well on the few first frames of a movie, especially if theY're not inside a button script, and lying on their own on the timeline.

Regards,
wink4.gif
ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top