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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

load movie

Status
Not open for further replies.

frodiggs

Technical User
Apr 16, 2002
15
US
i'm running in circles with the tell target and load movie concepts. i have a small flash movie (in a table) and am trying to load an entirely different (larger) movie from a button on the smaller movie. the two movies are in seperate HTML pages.

ive used load movie using layers and targets but all i get is a blank movie on the same page. seems to work ok in the editor though! arrrgh!!

please give the some guidance as the correct process and i'll pick it up from there. is this even possible?

mmoore@mooremedia.biz
 
Well... You shouldn't be using tellTarget anyway, it's deprecated in Flash 5. Use the dot syntax when you need it, and you don't need it here. Nor do you need the loadMovie action.
If you two movies are in different htmls, you should be using the getURL action.
Code:
on (press){
getURL("[URL unfurl="true"]http://www.yourserver.com/path/your.html",[/URL] "_blank");
}

Une "_blank" as the second parameter if you want to open a new browser window on top of the other one, or "_self" if you want the movie to replace the one in the existing window.

Regards,
new.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top