Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 25th, 2003, 01:02 PM
shakeit shakeit is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Ottawa, Canada
Posts: 1 shakeit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
loadMovie problems!

Hey,

Ive been having some problems with my site. My site contains multiple swf files, one which is a nav bar..

sometimes when I click on a link on the nav bar, the swf does not load up but most of the time it does.

my code is simple, basicly :
on (release) {
loadMovie("portfolio.swf", "_root.content");
}


Should I add something else? to ensure the movie loaded??
What is the most efficient way of loading a swf? Thanks!

Leonardo

Reply With Quote
  #2  
Old July 25th, 2003, 01:34 PM
panhead490 panhead490 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 51 panhead490 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 7 m 38 sec
Reputation Power: 6
Send a message via AIM to panhead490
Referring to the actionscript dictionary and looking at loadmovie(), it has this:

Quote:
Example

The following loadMovie statement is attached to a navigation button labeled Products. There is an invisible movie clip on the Stage with the instance name dropZone. The loadMovie action uses this movie clip as the target parameter to load the products in the SWF file, into the correct position on the Stage.

on(release) {
loadMovie("products.swf",_root.dropZone);
}



So I think the problem might be in using quotes around the target. I've had problems with loadMovie before so I just use loadMovieNum() and specify a level (greater than or equal to 1) which works just like different layers (0 referring to the root timeline). And you can use unloadMovieNum() just as easy.

Hope this helps,
panhead490

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > loadMovie problems!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway